Documentation
¶
Index ¶
- func CreateAppsDeleteRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateAppsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateAppsPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateCheckRunsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateContextsDeleteRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateContextsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateContextsPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateDeployment_protection_rulePostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsArtifactsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsJobsItemRerunPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsOidcCustomizationSubPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsOrganizationSecretsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsOrganizationVariablesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsPermissionsPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsRunnersGenerateJitconfigPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsRunnersGenerateJitconfigPostResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsRunnersGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsRunnersItemLabelsDeleteResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsRunnersItemLabelsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsRunnersItemLabelsItemWithNameDeleteResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsRunnersItemLabelsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsRunnersItemLabelsPostResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsRunnersItemLabelsPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsRunnersItemLabelsPutResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsRunsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsRunsItemArtifactsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsRunsItemAttemptsItemJobsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsRunsItemJobsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsRunsItemPending_deploymentsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsRunsItemRerunFailedJobsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsRunsItemRerunPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsSecretsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsVariablesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsVariablesItemWithNamePatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsVariablesPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsWorkflowsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsWorkflowsItemDispatchesPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputsFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemActionsWorkflowsItemRunsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemAutolinksPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemProtectionPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviewsFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowancesFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictionsFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemProtectionPutRequestBody_required_status_checksFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checksFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemProtectionPutRequestBody_restrictionsFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowancesFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictionsFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemProtectionRequired_status_checksPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checksFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemBranchesItemRenamePostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemCheckRunsPostRequestBodyMember1FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemCheckRunsPostRequestBodyMember2FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemCheckSuitesItemCheckRunsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemCheckSuitesPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemCheckSuitesPreferencesPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checksFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemCodeScanningSarifsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemCollaboratorsItemWithUsernamePutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemCommentsItemReactionsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemCommentsItemWithComment_PatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemCommitsItemCheckRunsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemCommitsItemCheckSuitesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemCommitsItemCommentsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemContentsItemWithPathDeleteRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemContentsItemWithPathDeleteRequestBody_authorFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemContentsItemWithPathDeleteRequestBody_committerFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemContentsItemWithPathPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemContentsItemWithPathPutRequestBody_authorFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemContentsItemWithPathPutRequestBody_committerFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemDependabotAlertsItemWithAlert_numberPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemDependabotSecretsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemDependabotSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemDependencyGraphSnapshotsPostResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemDeploymentsItemStatusesPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemDeploymentsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemDispatchesPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemDispatchesPostRequestBody_client_payloadFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemEnvironmentsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemEnvironmentsItemDeployment_protection_rulesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemEnvironmentsItemSecretsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemEnvironmentsItemVariablesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemEnvironmentsItemVariablesPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemEnvironmentsItemWithEnvironment_namePutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewersFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemForksPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemGeneratePostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemGitBlobsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemGitCommitsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemGitCommitsPostRequestBody_authorFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemGitCommitsPostRequestBody_committerFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemGitRefsItemWithRefPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemGitRefsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemGitTagsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemGitTagsPostRequestBody_taggerFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemGitTreesPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemGitTreesPostRequestBody_treeFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemHooksItemConfigPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemHooksItemDeliveriesItemAttemptsPostResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemHooksItemWithHook_PatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemHooksPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemHooksPostRequestBody_configFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemInvitationsItemWithInvitation_PatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemIssuesCommentsItemReactionsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemIssuesCommentsItemWithComment_PatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemIssuesItemAssigneesDeleteRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemIssuesItemAssigneesPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemIssuesItemCommentsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemIssuesItemLabelsPostRequestBodyMember1FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemIssuesItemLabelsPostRequestBodyMember2FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemIssuesItemLabelsPostRequestBodyMember2_labelsFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemIssuesItemLabelsPostRequestBodyMember3FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemIssuesItemLabelsPutRequestBodyMember1FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemIssuesItemLabelsPutRequestBodyMember2FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemIssuesItemLabelsPutRequestBodyMember2_labelsFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemIssuesItemLabelsPutRequestBodyMember3FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemIssuesItemLockPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemIssuesItemReactionsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemIssuesItemWithIssue_numberPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestoneFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_titleFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemIssuesPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestoneFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemIssuesPostRequestBody_IssuesPostRequestBody_titleFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemKeysPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemLabelsItemWithNamePatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemLabelsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemLfsPutResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemMergeUpstreamPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemMergesPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemMilestonesItemWithMilestone_numberPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemMilestonesPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemNotificationsPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemNotificationsPutResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPagesDeploymentsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPagesPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPagesPostRequestBody_sourceFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPagesPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPagesPutRequestBody_PagesPutRequestBody_sourceFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPagesPutRequestBody_sourceMember1FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemProjectsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPullsCommentsItemReactionsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPullsCommentsItemWithComment_PatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPullsItemCommentsItemRepliesPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPullsItemCommentsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPullsItemMergePutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPullsItemPullRequestMergeResult405ErrorFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPullsItemPullRequestMergeResult409ErrorFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPullsItemRequested_reviewersDeleteRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPullsItemRequested_reviewersPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPullsItemReviewsItemDismissalsPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPullsItemReviewsItemEventsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPullsItemReviewsItemWithReview_PutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPullsItemReviewsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPullsItemReviewsPostRequestBody_commentsFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPullsItemUpdateBranchPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPullsItemUpdateBranchPutResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPullsItemWithPull_numberPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemPullsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemReleasesAssetsItemWithAsset_PatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemReleasesGenerateNotesPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemReleasesItemReactionsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemReleasesItemWithRelease_PatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemReleasesPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemReplicasCachesFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemReplicasCaches_gitFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemRepo403ErrorFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemRepoPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemRepoPatchRequestBody_security_and_analysisFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemRepoPatchRequestBody_security_and_analysis_advanced_securityFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemRepoPatchRequestBody_security_and_analysis_secret_scanningFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protectionFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemStargazersSimpleUserFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemStargazersStargazerFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemStatusesItemWithShaPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemSubscriptionPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemTagsProtectionPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemTopicsPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemTransferPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateLabelsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateLabelsPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateStargazersGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateTeamsDeleteRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateTeamsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateTeamsPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateUsersDeleteRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateUsersPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateUsersPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateWithCheck_run_PatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateWithPathGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type AppsDeleteRequestBody
- func (m *AppsDeleteRequestBody) GetAppsDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1able
- func (m *AppsDeleteRequestBody) GetAppsDeleteRequestBodyString() *string
- func (m *AppsDeleteRequestBody) GetFieldDeserializers() ...
- func (m *AppsDeleteRequestBody) GetIsComposedType() bool
- func (m *AppsDeleteRequestBody) GetItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1able
- func (m *AppsDeleteRequestBody) GetString() *string
- func (m *AppsDeleteRequestBody) Serialize(...) error
- func (m *AppsDeleteRequestBody) SetAppsDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1(...)
- func (m *AppsDeleteRequestBody) SetAppsDeleteRequestBodyString(value *string)
- func (m *AppsDeleteRequestBody) SetItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1(...)
- func (m *AppsDeleteRequestBody) SetString(value *string)
- type AppsDeleteRequestBodyable
- type AppsPostRequestBody
- func (m *AppsPostRequestBody) GetAppsPostRequestBodyItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1able
- func (m *AppsPostRequestBody) GetAppsPostRequestBodyString() *string
- func (m *AppsPostRequestBody) GetFieldDeserializers() ...
- func (m *AppsPostRequestBody) GetIsComposedType() bool
- func (m *AppsPostRequestBody) GetItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1able
- func (m *AppsPostRequestBody) GetString() *string
- func (m *AppsPostRequestBody) Serialize(...) error
- func (m *AppsPostRequestBody) SetAppsPostRequestBodyItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1able)
- func (m *AppsPostRequestBody) SetAppsPostRequestBodyString(value *string)
- func (m *AppsPostRequestBody) SetItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1able)
- func (m *AppsPostRequestBody) SetString(value *string)
- type AppsPostRequestBodyable
- type AppsPutRequestBody
- func (m *AppsPutRequestBody) GetAppsPutRequestBodyItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1able
- func (m *AppsPutRequestBody) GetAppsPutRequestBodyString() *string
- func (m *AppsPutRequestBody) GetFieldDeserializers() ...
- func (m *AppsPutRequestBody) GetIsComposedType() bool
- func (m *AppsPutRequestBody) GetItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1able
- func (m *AppsPutRequestBody) GetString() *string
- func (m *AppsPutRequestBody) Serialize(...) error
- func (m *AppsPutRequestBody) SetAppsPutRequestBodyItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1able)
- func (m *AppsPutRequestBody) SetAppsPutRequestBodyString(value *string)
- func (m *AppsPutRequestBody) SetItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1able)
- func (m *AppsPutRequestBody) SetString(value *string)
- type AppsPutRequestBodyable
- type CheckRunsPostRequestBody
- func (m *CheckRunsPostRequestBody) GetCheckRunsPostRequestBodyItemItemCheckRunsPostRequestBodyMember1() ItemItemCheckRunsPostRequestBodyMember1able
- func (m *CheckRunsPostRequestBody) GetCheckRunsPostRequestBodyItemItemCheckRunsPostRequestBodyMember2() ItemItemCheckRunsPostRequestBodyMember2able
- func (m *CheckRunsPostRequestBody) GetFieldDeserializers() ...
- func (m *CheckRunsPostRequestBody) GetIsComposedType() bool
- func (m *CheckRunsPostRequestBody) GetItemItemCheckRunsPostRequestBodyMember1() ItemItemCheckRunsPostRequestBodyMember1able
- func (m *CheckRunsPostRequestBody) GetItemItemCheckRunsPostRequestBodyMember2() ItemItemCheckRunsPostRequestBodyMember2able
- func (m *CheckRunsPostRequestBody) Serialize(...) error
- func (m *CheckRunsPostRequestBody) SetCheckRunsPostRequestBodyItemItemCheckRunsPostRequestBodyMember1(value ItemItemCheckRunsPostRequestBodyMember1able)
- func (m *CheckRunsPostRequestBody) SetCheckRunsPostRequestBodyItemItemCheckRunsPostRequestBodyMember2(value ItemItemCheckRunsPostRequestBodyMember2able)
- func (m *CheckRunsPostRequestBody) SetItemItemCheckRunsPostRequestBodyMember1(value ItemItemCheckRunsPostRequestBodyMember1able)
- func (m *CheckRunsPostRequestBody) SetItemItemCheckRunsPostRequestBodyMember2(value ItemItemCheckRunsPostRequestBodyMember2able)
- type CheckRunsPostRequestBodyable
- type ContextsDeleteRequestBody
- func (m *ContextsDeleteRequestBody) GetContextsDeleteRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsDeleteRequestBodyMember1() ...
- func (m *ContextsDeleteRequestBody) GetContextsDeleteRequestBodyString() *string
- func (m *ContextsDeleteRequestBody) GetFieldDeserializers() ...
- func (m *ContextsDeleteRequestBody) GetIsComposedType() bool
- func (m *ContextsDeleteRequestBody) GetItemItemBranchesItemProtectionRequiredStatusChecksContextsDeleteRequestBodyMember1() ...
- func (m *ContextsDeleteRequestBody) GetString() *string
- func (m *ContextsDeleteRequestBody) Serialize(...) error
- func (m *ContextsDeleteRequestBody) SetContextsDeleteRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsDeleteRequestBodyMember1(...)
- func (m *ContextsDeleteRequestBody) SetContextsDeleteRequestBodyString(value *string)
- func (m *ContextsDeleteRequestBody) SetItemItemBranchesItemProtectionRequiredStatusChecksContextsDeleteRequestBodyMember1(...)
- func (m *ContextsDeleteRequestBody) SetString(value *string)
- type ContextsDeleteRequestBodyable
- type ContextsPostRequestBody
- func (m *ContextsPostRequestBody) GetContextsPostRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsPostRequestBodyMember1() ...
- func (m *ContextsPostRequestBody) GetContextsPostRequestBodyString() *string
- func (m *ContextsPostRequestBody) GetFieldDeserializers() ...
- func (m *ContextsPostRequestBody) GetIsComposedType() bool
- func (m *ContextsPostRequestBody) GetItemItemBranchesItemProtectionRequiredStatusChecksContextsPostRequestBodyMember1() ...
- func (m *ContextsPostRequestBody) GetString() *string
- func (m *ContextsPostRequestBody) Serialize(...) error
- func (m *ContextsPostRequestBody) SetContextsPostRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsPostRequestBodyMember1(...)
- func (m *ContextsPostRequestBody) SetContextsPostRequestBodyString(value *string)
- func (m *ContextsPostRequestBody) SetItemItemBranchesItemProtectionRequiredStatusChecksContextsPostRequestBodyMember1(...)
- func (m *ContextsPostRequestBody) SetString(value *string)
- type ContextsPostRequestBodyable
- type ContextsPutRequestBody
- func (m *ContextsPutRequestBody) GetContextsPutRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsPutRequestBodyMember1() ...
- func (m *ContextsPutRequestBody) GetContextsPutRequestBodyString() *string
- func (m *ContextsPutRequestBody) GetFieldDeserializers() ...
- func (m *ContextsPutRequestBody) GetIsComposedType() bool
- func (m *ContextsPutRequestBody) GetItemItemBranchesItemProtectionRequiredStatusChecksContextsPutRequestBodyMember1() ...
- func (m *ContextsPutRequestBody) GetString() *string
- func (m *ContextsPutRequestBody) Serialize(...) error
- func (m *ContextsPutRequestBody) SetContextsPutRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsPutRequestBodyMember1(...)
- func (m *ContextsPutRequestBody) SetContextsPutRequestBodyString(value *string)
- func (m *ContextsPutRequestBody) SetItemItemBranchesItemProtectionRequiredStatusChecksContextsPutRequestBodyMember1(...)
- func (m *ContextsPutRequestBody) SetString(value *string)
- type ContextsPutRequestBodyable
- type Deployment_protection_rulePostRequestBody
- func (m *Deployment_protection_rulePostRequestBody) GetDeploymentProtectionRulePostRequestBodyReviewCustomGatesCommentRequired() ...
- func (m *Deployment_protection_rulePostRequestBody) GetDeploymentProtectionRulePostRequestBodyReviewCustomGatesStateRequired() ...
- func (m *Deployment_protection_rulePostRequestBody) GetFieldDeserializers() ...
- func (m *Deployment_protection_rulePostRequestBody) GetIsComposedType() bool
- func (m *Deployment_protection_rulePostRequestBody) GetReviewCustomGatesCommentRequired() ...
- func (m *Deployment_protection_rulePostRequestBody) GetReviewCustomGatesStateRequired() ...
- func (m *Deployment_protection_rulePostRequestBody) Serialize(...) error
- func (m *Deployment_protection_rulePostRequestBody) SetDeploymentProtectionRulePostRequestBodyReviewCustomGatesCommentRequired(...)
- func (m *Deployment_protection_rulePostRequestBody) SetDeploymentProtectionRulePostRequestBodyReviewCustomGatesStateRequired(...)
- func (m *Deployment_protection_rulePostRequestBody) SetReviewCustomGatesCommentRequired(...)
- func (m *Deployment_protection_rulePostRequestBody) SetReviewCustomGatesStateRequired(...)
- type Deployment_protection_rulePostRequestBodyable
- type ItemItemActionsArtifactsGetResponse
- func (m *ItemItemActionsArtifactsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemItemActionsArtifactsGetResponse) GetArtifacts() ...
- func (m *ItemItemActionsArtifactsGetResponse) GetFieldDeserializers() ...
- func (m *ItemItemActionsArtifactsGetResponse) GetTotalCount() *int32
- func (m *ItemItemActionsArtifactsGetResponse) Serialize(...) error
- func (m *ItemItemActionsArtifactsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsArtifactsGetResponse) SetArtifacts(...)
- func (m *ItemItemActionsArtifactsGetResponse) SetTotalCount(value *int32)
- type ItemItemActionsArtifactsGetResponseable
- type ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder
- func NewItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder(rawUrl string, ...) *ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder
- func NewItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder
- func (m *ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder) Get(ctx context.Context, ...) error
- func (m *ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder
- type ItemItemActionsArtifactsRequestBuilder
- func (m *ItemItemActionsArtifactsRequestBuilder) ByArtifact_id(artifact_id int32) *ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder
- func (m *ItemItemActionsArtifactsRequestBuilder) Get(ctx context.Context, ...) (ItemItemActionsArtifactsGetResponseable, error)
- func (m *ItemItemActionsArtifactsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsArtifactsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsArtifactsRequestBuilder
- type ItemItemActionsArtifactsRequestBuilderGetQueryParameters
- type ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder
- func NewItemItemActionsArtifactsWithArtifact_ItemRequestBuilder(rawUrl string, ...) *ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder
- func NewItemItemActionsArtifactsWithArtifact_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder
- func (m *ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder) ByArchive_format(archive_format string) *ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder
- func (m *ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder) Get(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Artifactable, ...)
- func (m *ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder
- type ItemItemActionsCacheRequestBuilder
- type ItemItemActionsCacheUsagePolicyRequestBuilder
- func (m *ItemItemActionsCacheUsagePolicyRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemActionsCacheUsagePolicyRequestBuilder) Patch(ctx context.Context, ...) error
- func (m *ItemItemActionsCacheUsagePolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsCacheUsagePolicyRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsCacheUsagePolicyRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsCacheUsagePolicyRequestBuilder
- type ItemItemActionsCacheUsageRequestBuilder
- func (m *ItemItemActionsCacheUsageRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemActionsCacheUsageRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsCacheUsageRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsCacheUsageRequestBuilder
- type ItemItemActionsCachesRequestBuilder
- func (m *ItemItemActionsCachesRequestBuilder) ByCache_id(cache_id int32) *ItemItemActionsCachesWithCache_ItemRequestBuilder
- func (m *ItemItemActionsCachesRequestBuilder) Delete(ctx context.Context, ...) (...)
- func (m *ItemItemActionsCachesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemActionsCachesRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsCachesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsCachesRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsCachesRequestBuilder
- type ItemItemActionsCachesRequestBuilderDeleteQueryParameters
- type ItemItemActionsCachesRequestBuilderGetQueryParameters
- type ItemItemActionsCachesWithCache_ItemRequestBuilder
- func (m *ItemItemActionsCachesWithCache_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemActionsCachesWithCache_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsCachesWithCache_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsCachesWithCache_ItemRequestBuilder
- type ItemItemActionsJobsItemLogsRequestBuilder
- func (m *ItemItemActionsJobsItemLogsRequestBuilder) Get(ctx context.Context, ...) error
- func (m *ItemItemActionsJobsItemLogsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsJobsItemLogsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsJobsItemLogsRequestBuilder
- type ItemItemActionsJobsItemRerunPostRequestBody
- func (m *ItemItemActionsJobsItemRerunPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemActionsJobsItemRerunPostRequestBody) GetEnableDebugLogging() *bool
- func (m *ItemItemActionsJobsItemRerunPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemActionsJobsItemRerunPostRequestBody) Serialize(...) error
- func (m *ItemItemActionsJobsItemRerunPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsJobsItemRerunPostRequestBody) SetEnableDebugLogging(value *bool)
- type ItemItemActionsJobsItemRerunPostRequestBodyable
- type ItemItemActionsJobsItemRerunRequestBuilder
- func (m *ItemItemActionsJobsItemRerunRequestBuilder) Post(ctx context.Context, body ItemItemActionsJobsItemRerunPostRequestBodyable, ...) (...)
- func (m *ItemItemActionsJobsItemRerunRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemActionsJobsItemRerunPostRequestBodyable, ...) (...)
- func (m *ItemItemActionsJobsItemRerunRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsJobsItemRerunRequestBuilder
- type ItemItemActionsJobsRequestBuilder
- type ItemItemActionsJobsWithJob_ItemRequestBuilder
- func (m *ItemItemActionsJobsWithJob_ItemRequestBuilder) Get(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Jobable, ...)
- func (m *ItemItemActionsJobsWithJob_ItemRequestBuilder) Logs() *ItemItemActionsJobsItemLogsRequestBuilder
- func (m *ItemItemActionsJobsWithJob_ItemRequestBuilder) Rerun() *ItemItemActionsJobsItemRerunRequestBuilder
- func (m *ItemItemActionsJobsWithJob_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsJobsWithJob_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsJobsWithJob_ItemRequestBuilder
- type ItemItemActionsOidcCustomizationRequestBuilder
- type ItemItemActionsOidcCustomizationSubPutRequestBody
- func (m *ItemItemActionsOidcCustomizationSubPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemActionsOidcCustomizationSubPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemActionsOidcCustomizationSubPutRequestBody) GetIncludeClaimKeys() []string
- func (m *ItemItemActionsOidcCustomizationSubPutRequestBody) GetUseDefault() *bool
- func (m *ItemItemActionsOidcCustomizationSubPutRequestBody) Serialize(...) error
- func (m *ItemItemActionsOidcCustomizationSubPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsOidcCustomizationSubPutRequestBody) SetIncludeClaimKeys(value []string)
- func (m *ItemItemActionsOidcCustomizationSubPutRequestBody) SetUseDefault(value *bool)
- type ItemItemActionsOidcCustomizationSubPutRequestBodyable
- type ItemItemActionsOidcCustomizationSubRequestBuilder
- func (m *ItemItemActionsOidcCustomizationSubRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemActionsOidcCustomizationSubRequestBuilder) Put(ctx context.Context, ...) (...)
- func (m *ItemItemActionsOidcCustomizationSubRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsOidcCustomizationSubRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsOidcCustomizationSubRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsOidcCustomizationSubRequestBuilder
- type ItemItemActionsOidcRequestBuilder
- type ItemItemActionsOrganizationSecretsGetResponse
- func (m *ItemItemActionsOrganizationSecretsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemItemActionsOrganizationSecretsGetResponse) GetFieldDeserializers() ...
- func (m *ItemItemActionsOrganizationSecretsGetResponse) GetSecrets() ...
- func (m *ItemItemActionsOrganizationSecretsGetResponse) GetTotalCount() *int32
- func (m *ItemItemActionsOrganizationSecretsGetResponse) Serialize(...) error
- func (m *ItemItemActionsOrganizationSecretsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsOrganizationSecretsGetResponse) SetSecrets(...)
- func (m *ItemItemActionsOrganizationSecretsGetResponse) SetTotalCount(value *int32)
- type ItemItemActionsOrganizationSecretsGetResponseable
- type ItemItemActionsOrganizationSecretsRequestBuilder
- func (m *ItemItemActionsOrganizationSecretsRequestBuilder) Get(ctx context.Context, ...) (ItemItemActionsOrganizationSecretsGetResponseable, error)
- func (m *ItemItemActionsOrganizationSecretsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsOrganizationSecretsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsOrganizationSecretsRequestBuilder
- type ItemItemActionsOrganizationSecretsRequestBuilderGetQueryParameters
- type ItemItemActionsOrganizationVariablesGetResponse
- func (m *ItemItemActionsOrganizationVariablesGetResponse) GetAdditionalData() map[string]any
- func (m *ItemItemActionsOrganizationVariablesGetResponse) GetFieldDeserializers() ...
- func (m *ItemItemActionsOrganizationVariablesGetResponse) GetTotalCount() *int32
- func (m *ItemItemActionsOrganizationVariablesGetResponse) GetVariables() ...
- func (m *ItemItemActionsOrganizationVariablesGetResponse) Serialize(...) error
- func (m *ItemItemActionsOrganizationVariablesGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsOrganizationVariablesGetResponse) SetTotalCount(value *int32)
- func (m *ItemItemActionsOrganizationVariablesGetResponse) SetVariables(...)
- type ItemItemActionsOrganizationVariablesGetResponseable
- type ItemItemActionsOrganizationVariablesRequestBuilder
- func (m *ItemItemActionsOrganizationVariablesRequestBuilder) Get(ctx context.Context, ...) (ItemItemActionsOrganizationVariablesGetResponseable, error)
- func (m *ItemItemActionsOrganizationVariablesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsOrganizationVariablesRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsOrganizationVariablesRequestBuilder
- type ItemItemActionsOrganizationVariablesRequestBuilderGetQueryParameters
- type ItemItemActionsPermissionsAccessRequestBuilder
- func (m *ItemItemActionsPermissionsAccessRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemActionsPermissionsAccessRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemItemActionsPermissionsAccessRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsPermissionsAccessRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsPermissionsAccessRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsPermissionsAccessRequestBuilder
- type ItemItemActionsPermissionsPutRequestBody
- func (m *ItemItemActionsPermissionsPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemActionsPermissionsPutRequestBody) GetAllowedActions() ...
- func (m *ItemItemActionsPermissionsPutRequestBody) GetEnabled() *bool
- func (m *ItemItemActionsPermissionsPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemActionsPermissionsPutRequestBody) Serialize(...) error
- func (m *ItemItemActionsPermissionsPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsPermissionsPutRequestBody) SetAllowedActions(...)
- func (m *ItemItemActionsPermissionsPutRequestBody) SetEnabled(value *bool)
- type ItemItemActionsPermissionsPutRequestBodyable
- type ItemItemActionsPermissionsRequestBuilder
- func (m *ItemItemActionsPermissionsRequestBuilder) Access() *ItemItemActionsPermissionsAccessRequestBuilder
- func (m *ItemItemActionsPermissionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemActionsPermissionsRequestBuilder) Put(ctx context.Context, body ItemItemActionsPermissionsPutRequestBodyable, ...) error
- func (m *ItemItemActionsPermissionsRequestBuilder) SelectedActions() *ItemItemActionsPermissionsSelectedActionsRequestBuilder
- func (m *ItemItemActionsPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsPermissionsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemActionsPermissionsPutRequestBodyable, ...) (...)
- func (m *ItemItemActionsPermissionsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsPermissionsRequestBuilder
- func (m *ItemItemActionsPermissionsRequestBuilder) Workflow() *ItemItemActionsPermissionsWorkflowRequestBuilder
- type ItemItemActionsPermissionsSelectedActionsRequestBuilder
- func NewItemItemActionsPermissionsSelectedActionsRequestBuilder(rawUrl string, ...) *ItemItemActionsPermissionsSelectedActionsRequestBuilder
- func NewItemItemActionsPermissionsSelectedActionsRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemActionsPermissionsSelectedActionsRequestBuilder
- func (m *ItemItemActionsPermissionsSelectedActionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemActionsPermissionsSelectedActionsRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemItemActionsPermissionsSelectedActionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsPermissionsSelectedActionsRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsPermissionsSelectedActionsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsPermissionsSelectedActionsRequestBuilder
- type ItemItemActionsPermissionsWorkflowRequestBuilder
- func (m *ItemItemActionsPermissionsWorkflowRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemActionsPermissionsWorkflowRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemItemActionsPermissionsWorkflowRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsPermissionsWorkflowRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsPermissionsWorkflowRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsPermissionsWorkflowRequestBuilder
- type ItemItemActionsRequestBuilder
- func (m *ItemItemActionsRequestBuilder) Artifacts() *ItemItemActionsArtifactsRequestBuilder
- func (m *ItemItemActionsRequestBuilder) Cache() *ItemItemActionsCacheRequestBuilder
- func (m *ItemItemActionsRequestBuilder) Caches() *ItemItemActionsCachesRequestBuilder
- func (m *ItemItemActionsRequestBuilder) Jobs() *ItemItemActionsJobsRequestBuilder
- func (m *ItemItemActionsRequestBuilder) Oidc() *ItemItemActionsOidcRequestBuilder
- func (m *ItemItemActionsRequestBuilder) OrganizationSecrets() *ItemItemActionsOrganizationSecretsRequestBuilder
- func (m *ItemItemActionsRequestBuilder) OrganizationVariables() *ItemItemActionsOrganizationVariablesRequestBuilder
- func (m *ItemItemActionsRequestBuilder) Permissions() *ItemItemActionsPermissionsRequestBuilder
- func (m *ItemItemActionsRequestBuilder) Runners() *ItemItemActionsRunnersRequestBuilder
- func (m *ItemItemActionsRequestBuilder) Runs() *ItemItemActionsRunsRequestBuilder
- func (m *ItemItemActionsRequestBuilder) Secrets() *ItemItemActionsSecretsRequestBuilder
- func (m *ItemItemActionsRequestBuilder) Variables() *ItemItemActionsVariablesRequestBuilder
- func (m *ItemItemActionsRequestBuilder) Workflows() *ItemItemActionsWorkflowsRequestBuilder
- type ItemItemActionsRunnersDownloadsRequestBuilder
- func (m *ItemItemActionsRunnersDownloadsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunnersDownloadsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunnersDownloadsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunnersDownloadsRequestBuilder
- type ItemItemActionsRunnersGenerateJitconfigPostRequestBody
- func (m *ItemItemActionsRunnersGenerateJitconfigPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemActionsRunnersGenerateJitconfigPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemActionsRunnersGenerateJitconfigPostRequestBody) GetLabels() []string
- func (m *ItemItemActionsRunnersGenerateJitconfigPostRequestBody) GetName() *string
- func (m *ItemItemActionsRunnersGenerateJitconfigPostRequestBody) GetRunnerGroupId() *int32
- func (m *ItemItemActionsRunnersGenerateJitconfigPostRequestBody) GetWorkFolder() *string
- func (m *ItemItemActionsRunnersGenerateJitconfigPostRequestBody) Serialize(...) error
- func (m *ItemItemActionsRunnersGenerateJitconfigPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsRunnersGenerateJitconfigPostRequestBody) SetLabels(value []string)
- func (m *ItemItemActionsRunnersGenerateJitconfigPostRequestBody) SetName(value *string)
- func (m *ItemItemActionsRunnersGenerateJitconfigPostRequestBody) SetRunnerGroupId(value *int32)
- func (m *ItemItemActionsRunnersGenerateJitconfigPostRequestBody) SetWorkFolder(value *string)
- type ItemItemActionsRunnersGenerateJitconfigPostRequestBodyable
- type ItemItemActionsRunnersGenerateJitconfigPostResponse
- func (m *ItemItemActionsRunnersGenerateJitconfigPostResponse) GetAdditionalData() map[string]any
- func (m *ItemItemActionsRunnersGenerateJitconfigPostResponse) GetEncodedJitConfig() *string
- func (m *ItemItemActionsRunnersGenerateJitconfigPostResponse) GetFieldDeserializers() ...
- func (m *ItemItemActionsRunnersGenerateJitconfigPostResponse) GetRunner() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable
- func (m *ItemItemActionsRunnersGenerateJitconfigPostResponse) Serialize(...) error
- func (m *ItemItemActionsRunnersGenerateJitconfigPostResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsRunnersGenerateJitconfigPostResponse) SetEncodedJitConfig(value *string)
- func (m *ItemItemActionsRunnersGenerateJitconfigPostResponse) SetRunner(...)
- type ItemItemActionsRunnersGenerateJitconfigPostResponseable
- type ItemItemActionsRunnersGenerateJitconfigRequestBuilder
- func NewItemItemActionsRunnersGenerateJitconfigRequestBuilder(rawUrl string, ...) *ItemItemActionsRunnersGenerateJitconfigRequestBuilder
- func NewItemItemActionsRunnersGenerateJitconfigRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemActionsRunnersGenerateJitconfigRequestBuilder
- func (m *ItemItemActionsRunnersGenerateJitconfigRequestBuilder) Post(ctx context.Context, ...) (ItemItemActionsRunnersGenerateJitconfigPostResponseable, error)
- func (m *ItemItemActionsRunnersGenerateJitconfigRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunnersGenerateJitconfigRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunnersGenerateJitconfigRequestBuilder
- type ItemItemActionsRunnersGetResponse
- func (m *ItemItemActionsRunnersGetResponse) GetAdditionalData() map[string]any
- func (m *ItemItemActionsRunnersGetResponse) GetFieldDeserializers() ...
- func (m *ItemItemActionsRunnersGetResponse) GetRunners() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable
- func (m *ItemItemActionsRunnersGetResponse) GetTotalCount() *int32
- func (m *ItemItemActionsRunnersGetResponse) Serialize(...) error
- func (m *ItemItemActionsRunnersGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsRunnersGetResponse) SetRunners(...)
- func (m *ItemItemActionsRunnersGetResponse) SetTotalCount(value *int32)
- type ItemItemActionsRunnersGetResponseable
- type ItemItemActionsRunnersItemLabelsDeleteResponse
- func (m *ItemItemActionsRunnersItemLabelsDeleteResponse) GetAdditionalData() map[string]any
- func (m *ItemItemActionsRunnersItemLabelsDeleteResponse) GetFieldDeserializers() ...
- func (m *ItemItemActionsRunnersItemLabelsDeleteResponse) GetLabels() ...
- func (m *ItemItemActionsRunnersItemLabelsDeleteResponse) GetTotalCount() *int32
- func (m *ItemItemActionsRunnersItemLabelsDeleteResponse) Serialize(...) error
- func (m *ItemItemActionsRunnersItemLabelsDeleteResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsRunnersItemLabelsDeleteResponse) SetLabels(...)
- func (m *ItemItemActionsRunnersItemLabelsDeleteResponse) SetTotalCount(value *int32)
- type ItemItemActionsRunnersItemLabelsDeleteResponseable
- type ItemItemActionsRunnersItemLabelsGetResponse
- func (m *ItemItemActionsRunnersItemLabelsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemItemActionsRunnersItemLabelsGetResponse) GetFieldDeserializers() ...
- func (m *ItemItemActionsRunnersItemLabelsGetResponse) GetLabels() ...
- func (m *ItemItemActionsRunnersItemLabelsGetResponse) GetTotalCount() *int32
- func (m *ItemItemActionsRunnersItemLabelsGetResponse) Serialize(...) error
- func (m *ItemItemActionsRunnersItemLabelsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsRunnersItemLabelsGetResponse) SetLabels(...)
- func (m *ItemItemActionsRunnersItemLabelsGetResponse) SetTotalCount(value *int32)
- type ItemItemActionsRunnersItemLabelsGetResponseable
- type ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse
- func (m *ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetAdditionalData() map[string]any
- func (m *ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetFieldDeserializers() ...
- func (m *ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetLabels() ...
- func (m *ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetTotalCount() *int32
- func (m *ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) Serialize(...) error
- func (m *ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetLabels(...)
- func (m *ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetTotalCount(value *int32)
- type ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponseable
- type ItemItemActionsRunnersItemLabelsPostRequestBody
- func (m *ItemItemActionsRunnersItemLabelsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemActionsRunnersItemLabelsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemActionsRunnersItemLabelsPostRequestBody) GetLabels() []string
- func (m *ItemItemActionsRunnersItemLabelsPostRequestBody) Serialize(...) error
- func (m *ItemItemActionsRunnersItemLabelsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsRunnersItemLabelsPostRequestBody) SetLabels(value []string)
- type ItemItemActionsRunnersItemLabelsPostRequestBodyable
- type ItemItemActionsRunnersItemLabelsPostResponse
- func (m *ItemItemActionsRunnersItemLabelsPostResponse) GetAdditionalData() map[string]any
- func (m *ItemItemActionsRunnersItemLabelsPostResponse) GetFieldDeserializers() ...
- func (m *ItemItemActionsRunnersItemLabelsPostResponse) GetLabels() ...
- func (m *ItemItemActionsRunnersItemLabelsPostResponse) GetTotalCount() *int32
- func (m *ItemItemActionsRunnersItemLabelsPostResponse) Serialize(...) error
- func (m *ItemItemActionsRunnersItemLabelsPostResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsRunnersItemLabelsPostResponse) SetLabels(...)
- func (m *ItemItemActionsRunnersItemLabelsPostResponse) SetTotalCount(value *int32)
- type ItemItemActionsRunnersItemLabelsPostResponseable
- type ItemItemActionsRunnersItemLabelsPutRequestBody
- func (m *ItemItemActionsRunnersItemLabelsPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemActionsRunnersItemLabelsPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemActionsRunnersItemLabelsPutRequestBody) GetLabels() []string
- func (m *ItemItemActionsRunnersItemLabelsPutRequestBody) Serialize(...) error
- func (m *ItemItemActionsRunnersItemLabelsPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsRunnersItemLabelsPutRequestBody) SetLabels(value []string)
- type ItemItemActionsRunnersItemLabelsPutRequestBodyable
- type ItemItemActionsRunnersItemLabelsPutResponse
- func (m *ItemItemActionsRunnersItemLabelsPutResponse) GetAdditionalData() map[string]any
- func (m *ItemItemActionsRunnersItemLabelsPutResponse) GetFieldDeserializers() ...
- func (m *ItemItemActionsRunnersItemLabelsPutResponse) GetLabels() ...
- func (m *ItemItemActionsRunnersItemLabelsPutResponse) GetTotalCount() *int32
- func (m *ItemItemActionsRunnersItemLabelsPutResponse) Serialize(...) error
- func (m *ItemItemActionsRunnersItemLabelsPutResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsRunnersItemLabelsPutResponse) SetLabels(...)
- func (m *ItemItemActionsRunnersItemLabelsPutResponse) SetTotalCount(value *int32)
- type ItemItemActionsRunnersItemLabelsPutResponseable
- type ItemItemActionsRunnersItemLabelsRequestBuilder
- func (m *ItemItemActionsRunnersItemLabelsRequestBuilder) ByName(name string) *ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder
- func (m *ItemItemActionsRunnersItemLabelsRequestBuilder) Delete(ctx context.Context, ...) (ItemItemActionsRunnersItemLabelsDeleteResponseable, error)
- func (m *ItemItemActionsRunnersItemLabelsRequestBuilder) Get(ctx context.Context, ...) (ItemItemActionsRunnersItemLabelsGetResponseable, error)
- func (m *ItemItemActionsRunnersItemLabelsRequestBuilder) Post(ctx context.Context, body ItemItemActionsRunnersItemLabelsPostRequestBodyable, ...) (ItemItemActionsRunnersItemLabelsPostResponseable, error)
- func (m *ItemItemActionsRunnersItemLabelsRequestBuilder) Put(ctx context.Context, body ItemItemActionsRunnersItemLabelsPutRequestBodyable, ...) (ItemItemActionsRunnersItemLabelsPutResponseable, error)
- func (m *ItemItemActionsRunnersItemLabelsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunnersItemLabelsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunnersItemLabelsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemActionsRunnersItemLabelsPostRequestBodyable, ...) (...)
- func (m *ItemItemActionsRunnersItemLabelsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemActionsRunnersItemLabelsPutRequestBodyable, ...) (...)
- func (m *ItemItemActionsRunnersItemLabelsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunnersItemLabelsRequestBuilder
- type ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder
- func NewItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder(rawUrl string, ...) *ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder
- func NewItemItemActionsRunnersItemLabelsWithNameItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder
- func (m *ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder) Delete(ctx context.Context, ...) (ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponseable, error)
- func (m *ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder
- type ItemItemActionsRunnersRegistrationTokenRequestBuilder
- func NewItemItemActionsRunnersRegistrationTokenRequestBuilder(rawUrl string, ...) *ItemItemActionsRunnersRegistrationTokenRequestBuilder
- func NewItemItemActionsRunnersRegistrationTokenRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemActionsRunnersRegistrationTokenRequestBuilder
- func (m *ItemItemActionsRunnersRegistrationTokenRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunnersRegistrationTokenRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunnersRegistrationTokenRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunnersRegistrationTokenRequestBuilder
- type ItemItemActionsRunnersRemoveTokenRequestBuilder
- func (m *ItemItemActionsRunnersRemoveTokenRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunnersRemoveTokenRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunnersRemoveTokenRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunnersRemoveTokenRequestBuilder
- type ItemItemActionsRunnersRequestBuilder
- func (m *ItemItemActionsRunnersRequestBuilder) ByRunner_id(runner_id int32) *ItemItemActionsRunnersWithRunner_ItemRequestBuilder
- func (m *ItemItemActionsRunnersRequestBuilder) Downloads() *ItemItemActionsRunnersDownloadsRequestBuilder
- func (m *ItemItemActionsRunnersRequestBuilder) GenerateJitconfig() *ItemItemActionsRunnersGenerateJitconfigRequestBuilder
- func (m *ItemItemActionsRunnersRequestBuilder) Get(ctx context.Context, ...) (ItemItemActionsRunnersGetResponseable, error)
- func (m *ItemItemActionsRunnersRequestBuilder) RegistrationToken() *ItemItemActionsRunnersRegistrationTokenRequestBuilder
- func (m *ItemItemActionsRunnersRequestBuilder) RemoveToken() *ItemItemActionsRunnersRemoveTokenRequestBuilder
- func (m *ItemItemActionsRunnersRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunnersRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunnersRequestBuilder
- type ItemItemActionsRunnersRequestBuilderGetQueryParameters
- type ItemItemActionsRunnersWithRunner_ItemRequestBuilder
- func (m *ItemItemActionsRunnersWithRunner_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemActionsRunnersWithRunner_ItemRequestBuilder) Get(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable, ...)
- func (m *ItemItemActionsRunnersWithRunner_ItemRequestBuilder) Labels() *ItemItemActionsRunnersItemLabelsRequestBuilder
- func (m *ItemItemActionsRunnersWithRunner_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunnersWithRunner_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunnersWithRunner_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunnersWithRunner_ItemRequestBuilder
- type ItemItemActionsRunsGetResponse
- func (m *ItemItemActionsRunsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemItemActionsRunsGetResponse) GetFieldDeserializers() ...
- func (m *ItemItemActionsRunsGetResponse) GetTotalCount() *int32
- func (m *ItemItemActionsRunsGetResponse) GetWorkflowRuns() ...
- func (m *ItemItemActionsRunsGetResponse) Serialize(...) error
- func (m *ItemItemActionsRunsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsRunsGetResponse) SetTotalCount(value *int32)
- func (m *ItemItemActionsRunsGetResponse) SetWorkflowRuns(...)
- type ItemItemActionsRunsGetResponseable
- type ItemItemActionsRunsItemApprovalsRequestBuilder
- func (m *ItemItemActionsRunsItemApprovalsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunsItemApprovalsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunsItemApprovalsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsItemApprovalsRequestBuilder
- type ItemItemActionsRunsItemArtifactsGetResponse
- func (m *ItemItemActionsRunsItemArtifactsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemItemActionsRunsItemArtifactsGetResponse) GetArtifacts() ...
- func (m *ItemItemActionsRunsItemArtifactsGetResponse) GetFieldDeserializers() ...
- func (m *ItemItemActionsRunsItemArtifactsGetResponse) GetTotalCount() *int32
- func (m *ItemItemActionsRunsItemArtifactsGetResponse) Serialize(...) error
- func (m *ItemItemActionsRunsItemArtifactsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsRunsItemArtifactsGetResponse) SetArtifacts(...)
- func (m *ItemItemActionsRunsItemArtifactsGetResponse) SetTotalCount(value *int32)
- type ItemItemActionsRunsItemArtifactsGetResponseable
- type ItemItemActionsRunsItemArtifactsRequestBuilder
- func (m *ItemItemActionsRunsItemArtifactsRequestBuilder) Get(ctx context.Context, ...) (ItemItemActionsRunsItemArtifactsGetResponseable, error)
- func (m *ItemItemActionsRunsItemArtifactsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunsItemArtifactsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsItemArtifactsRequestBuilder
- type ItemItemActionsRunsItemArtifactsRequestBuilderGetQueryParameters
- type ItemItemActionsRunsItemAttemptsItemJobsGetResponse
- func (m *ItemItemActionsRunsItemAttemptsItemJobsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemItemActionsRunsItemAttemptsItemJobsGetResponse) GetFieldDeserializers() ...
- func (m *ItemItemActionsRunsItemAttemptsItemJobsGetResponse) GetJobs() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Jobable
- func (m *ItemItemActionsRunsItemAttemptsItemJobsGetResponse) GetTotalCount() *int32
- func (m *ItemItemActionsRunsItemAttemptsItemJobsGetResponse) Serialize(...) error
- func (m *ItemItemActionsRunsItemAttemptsItemJobsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsRunsItemAttemptsItemJobsGetResponse) SetJobs(...)
- func (m *ItemItemActionsRunsItemAttemptsItemJobsGetResponse) SetTotalCount(value *int32)
- type ItemItemActionsRunsItemAttemptsItemJobsGetResponseable
- type ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder
- func NewItemItemActionsRunsItemAttemptsItemJobsRequestBuilder(rawUrl string, ...) *ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder
- func NewItemItemActionsRunsItemAttemptsItemJobsRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder
- func (m *ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder) Get(ctx context.Context, ...) (ItemItemActionsRunsItemAttemptsItemJobsGetResponseable, error)
- func (m *ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder
- type ItemItemActionsRunsItemAttemptsItemJobsRequestBuilderGetQueryParameters
- type ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder
- func NewItemItemActionsRunsItemAttemptsItemLogsRequestBuilder(rawUrl string, ...) *ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder
- func NewItemItemActionsRunsItemAttemptsItemLogsRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder
- func (m *ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder) Get(ctx context.Context, ...) error
- func (m *ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder
- type ItemItemActionsRunsItemAttemptsRequestBuilder
- type ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder
- func NewItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder(rawUrl string, ...) *ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder
- func NewItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder
- func (m *ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder) Jobs() *ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder
- func (m *ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder) Logs() *ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder
- func (m *ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder
- type ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilderGetQueryParameters
- type ItemItemActionsRunsItemCancelRequestBuilder
- func (m *ItemItemActionsRunsItemCancelRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunsItemCancelRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunsItemCancelRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsItemCancelRequestBuilder
- type ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder
- func NewItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder(rawUrl string, ...) *ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder
- func NewItemItemActionsRunsItemDeployment_protection_ruleRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder
- func (m *ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder) Post(ctx context.Context, body Deployment_protection_rulePostRequestBodyable, ...) error
- func (m *ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder) ToPostRequestInformation(ctx context.Context, body Deployment_protection_rulePostRequestBodyable, ...) (...)
- func (m *ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder
- type ItemItemActionsRunsItemJobsGetResponse
- func (m *ItemItemActionsRunsItemJobsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemItemActionsRunsItemJobsGetResponse) GetFieldDeserializers() ...
- func (m *ItemItemActionsRunsItemJobsGetResponse) GetJobs() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Jobable
- func (m *ItemItemActionsRunsItemJobsGetResponse) GetTotalCount() *int32
- func (m *ItemItemActionsRunsItemJobsGetResponse) Serialize(...) error
- func (m *ItemItemActionsRunsItemJobsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsRunsItemJobsGetResponse) SetJobs(...)
- func (m *ItemItemActionsRunsItemJobsGetResponse) SetTotalCount(value *int32)
- type ItemItemActionsRunsItemJobsGetResponseable
- type ItemItemActionsRunsItemJobsRequestBuilder
- func (m *ItemItemActionsRunsItemJobsRequestBuilder) Get(ctx context.Context, ...) (ItemItemActionsRunsItemJobsGetResponseable, error)
- func (m *ItemItemActionsRunsItemJobsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunsItemJobsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsItemJobsRequestBuilder
- type ItemItemActionsRunsItemJobsRequestBuilderGetQueryParameters
- type ItemItemActionsRunsItemLogsRequestBuilder
- func (m *ItemItemActionsRunsItemLogsRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemActionsRunsItemLogsRequestBuilder) Get(ctx context.Context, ...) error
- func (m *ItemItemActionsRunsItemLogsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunsItemLogsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunsItemLogsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsItemLogsRequestBuilder
- type ItemItemActionsRunsItemPending_deploymentsPostRequestBody
- func (m *ItemItemActionsRunsItemPending_deploymentsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemActionsRunsItemPending_deploymentsPostRequestBody) GetComment() *string
- func (m *ItemItemActionsRunsItemPending_deploymentsPostRequestBody) GetEnvironmentIds() []int32
- func (m *ItemItemActionsRunsItemPending_deploymentsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemActionsRunsItemPending_deploymentsPostRequestBody) Serialize(...) error
- func (m *ItemItemActionsRunsItemPending_deploymentsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsRunsItemPending_deploymentsPostRequestBody) SetComment(value *string)
- func (m *ItemItemActionsRunsItemPending_deploymentsPostRequestBody) SetEnvironmentIds(value []int32)
- type ItemItemActionsRunsItemPending_deploymentsPostRequestBodyable
- type ItemItemActionsRunsItemPending_deploymentsRequestBuilder
- func NewItemItemActionsRunsItemPending_deploymentsRequestBuilder(rawUrl string, ...) *ItemItemActionsRunsItemPending_deploymentsRequestBuilder
- func NewItemItemActionsRunsItemPending_deploymentsRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemActionsRunsItemPending_deploymentsRequestBuilder
- func (m *ItemItemActionsRunsItemPending_deploymentsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunsItemPending_deploymentsRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunsItemPending_deploymentsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunsItemPending_deploymentsRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunsItemPending_deploymentsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsItemPending_deploymentsRequestBuilder
- type ItemItemActionsRunsItemRerunFailedJobsPostRequestBody
- func (m *ItemItemActionsRunsItemRerunFailedJobsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemActionsRunsItemRerunFailedJobsPostRequestBody) GetEnableDebugLogging() *bool
- func (m *ItemItemActionsRunsItemRerunFailedJobsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemActionsRunsItemRerunFailedJobsPostRequestBody) Serialize(...) error
- func (m *ItemItemActionsRunsItemRerunFailedJobsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsRunsItemRerunFailedJobsPostRequestBody) SetEnableDebugLogging(value *bool)
- type ItemItemActionsRunsItemRerunFailedJobsPostRequestBodyable
- type ItemItemActionsRunsItemRerunFailedJobsRequestBuilder
- func (m *ItemItemActionsRunsItemRerunFailedJobsRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunsItemRerunFailedJobsRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunsItemRerunFailedJobsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsItemRerunFailedJobsRequestBuilder
- type ItemItemActionsRunsItemRerunPostRequestBody
- func (m *ItemItemActionsRunsItemRerunPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemActionsRunsItemRerunPostRequestBody) GetEnableDebugLogging() *bool
- func (m *ItemItemActionsRunsItemRerunPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemActionsRunsItemRerunPostRequestBody) Serialize(...) error
- func (m *ItemItemActionsRunsItemRerunPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsRunsItemRerunPostRequestBody) SetEnableDebugLogging(value *bool)
- type ItemItemActionsRunsItemRerunPostRequestBodyable
- type ItemItemActionsRunsItemRerunRequestBuilder
- func (m *ItemItemActionsRunsItemRerunRequestBuilder) Post(ctx context.Context, body ItemItemActionsRunsItemRerunPostRequestBodyable, ...) (...)
- func (m *ItemItemActionsRunsItemRerunRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemActionsRunsItemRerunPostRequestBodyable, ...) (...)
- func (m *ItemItemActionsRunsItemRerunRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsItemRerunRequestBuilder
- type ItemItemActionsRunsRequestBuilder
- func (m *ItemItemActionsRunsRequestBuilder) ByRun_id(run_id int32) *ItemItemActionsRunsWithRun_ItemRequestBuilder
- func (m *ItemItemActionsRunsRequestBuilder) Get(ctx context.Context, ...) (ItemItemActionsRunsGetResponseable, error)
- func (m *ItemItemActionsRunsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsRequestBuilder
- type ItemItemActionsRunsRequestBuilderGetQueryParameters
- type ItemItemActionsRunsWithRun_ItemRequestBuilder
- func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) Approvals() *ItemItemActionsRunsItemApprovalsRequestBuilder
- func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) Artifacts() *ItemItemActionsRunsItemArtifactsRequestBuilder
- func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) Attempts() *ItemItemActionsRunsItemAttemptsRequestBuilder
- func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) Cancel() *ItemItemActionsRunsItemCancelRequestBuilder
- func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) Deployment_protection_rule() *ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder
- func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) Jobs() *ItemItemActionsRunsItemJobsRequestBuilder
- func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) Logs() *ItemItemActionsRunsItemLogsRequestBuilder
- func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) Pending_deployments() *ItemItemActionsRunsItemPending_deploymentsRequestBuilder
- func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) Rerun() *ItemItemActionsRunsItemRerunRequestBuilder
- func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) RerunFailedJobs() *ItemItemActionsRunsItemRerunFailedJobsRequestBuilder
- func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsWithRun_ItemRequestBuilder
- type ItemItemActionsRunsWithRun_ItemRequestBuilderGetQueryParameters
- type ItemItemActionsSecretsGetResponse
- func (m *ItemItemActionsSecretsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemItemActionsSecretsGetResponse) GetFieldDeserializers() ...
- func (m *ItemItemActionsSecretsGetResponse) GetSecrets() ...
- func (m *ItemItemActionsSecretsGetResponse) GetTotalCount() *int32
- func (m *ItemItemActionsSecretsGetResponse) Serialize(...) error
- func (m *ItemItemActionsSecretsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsSecretsGetResponse) SetSecrets(...)
- func (m *ItemItemActionsSecretsGetResponse) SetTotalCount(value *int32)
- type ItemItemActionsSecretsGetResponseable
- type ItemItemActionsSecretsItemWithSecret_namePutRequestBody
- func (m *ItemItemActionsSecretsItemWithSecret_namePutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemActionsSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue() *string
- func (m *ItemItemActionsSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemActionsSecretsItemWithSecret_namePutRequestBody) GetKeyId() *string
- func (m *ItemItemActionsSecretsItemWithSecret_namePutRequestBody) Serialize(...) error
- func (m *ItemItemActionsSecretsItemWithSecret_namePutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsSecretsItemWithSecret_namePutRequestBody) SetEncryptedValue(value *string)
- func (m *ItemItemActionsSecretsItemWithSecret_namePutRequestBody) SetKeyId(value *string)
- type ItemItemActionsSecretsItemWithSecret_namePutRequestBodyable
- type ItemItemActionsSecretsPublicKeyRequestBuilder
- func (m *ItemItemActionsSecretsPublicKeyRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemActionsSecretsPublicKeyRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsSecretsPublicKeyRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsSecretsPublicKeyRequestBuilder
- type ItemItemActionsSecretsRequestBuilder
- func (m *ItemItemActionsSecretsRequestBuilder) BySecret_name(secret_name string) *ItemItemActionsSecretsWithSecret_nameItemRequestBuilder
- func (m *ItemItemActionsSecretsRequestBuilder) Get(ctx context.Context, ...) (ItemItemActionsSecretsGetResponseable, error)
- func (m *ItemItemActionsSecretsRequestBuilder) PublicKey() *ItemItemActionsSecretsPublicKeyRequestBuilder
- func (m *ItemItemActionsSecretsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsSecretsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsSecretsRequestBuilder
- type ItemItemActionsSecretsRequestBuilderGetQueryParameters
- type ItemItemActionsSecretsWithSecret_nameItemRequestBuilder
- func NewItemItemActionsSecretsWithSecret_nameItemRequestBuilder(rawUrl string, ...) *ItemItemActionsSecretsWithSecret_nameItemRequestBuilder
- func NewItemItemActionsSecretsWithSecret_nameItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemActionsSecretsWithSecret_nameItemRequestBuilder
- func (m *ItemItemActionsSecretsWithSecret_nameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemActionsSecretsWithSecret_nameItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemActionsSecretsWithSecret_nameItemRequestBuilder) Put(ctx context.Context, ...) (...)
- func (m *ItemItemActionsSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsSecretsWithSecret_nameItemRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsSecretsWithSecret_nameItemRequestBuilder
- type ItemItemActionsVariablesGetResponse
- func (m *ItemItemActionsVariablesGetResponse) GetAdditionalData() map[string]any
- func (m *ItemItemActionsVariablesGetResponse) GetFieldDeserializers() ...
- func (m *ItemItemActionsVariablesGetResponse) GetTotalCount() *int32
- func (m *ItemItemActionsVariablesGetResponse) GetVariables() ...
- func (m *ItemItemActionsVariablesGetResponse) Serialize(...) error
- func (m *ItemItemActionsVariablesGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsVariablesGetResponse) SetTotalCount(value *int32)
- func (m *ItemItemActionsVariablesGetResponse) SetVariables(...)
- type ItemItemActionsVariablesGetResponseable
- type ItemItemActionsVariablesItemWithNamePatchRequestBody
- func (m *ItemItemActionsVariablesItemWithNamePatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemActionsVariablesItemWithNamePatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemActionsVariablesItemWithNamePatchRequestBody) GetName() *string
- func (m *ItemItemActionsVariablesItemWithNamePatchRequestBody) GetValue() *string
- func (m *ItemItemActionsVariablesItemWithNamePatchRequestBody) Serialize(...) error
- func (m *ItemItemActionsVariablesItemWithNamePatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsVariablesItemWithNamePatchRequestBody) SetName(value *string)
- func (m *ItemItemActionsVariablesItemWithNamePatchRequestBody) SetValue(value *string)
- type ItemItemActionsVariablesItemWithNamePatchRequestBodyable
- type ItemItemActionsVariablesPostRequestBody
- func (m *ItemItemActionsVariablesPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemActionsVariablesPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemActionsVariablesPostRequestBody) GetName() *string
- func (m *ItemItemActionsVariablesPostRequestBody) GetValue() *string
- func (m *ItemItemActionsVariablesPostRequestBody) Serialize(...) error
- func (m *ItemItemActionsVariablesPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsVariablesPostRequestBody) SetName(value *string)
- func (m *ItemItemActionsVariablesPostRequestBody) SetValue(value *string)
- type ItemItemActionsVariablesPostRequestBodyable
- type ItemItemActionsVariablesRequestBuilder
- func (m *ItemItemActionsVariablesRequestBuilder) ByName(name string) *ItemItemActionsVariablesWithNameItemRequestBuilder
- func (m *ItemItemActionsVariablesRequestBuilder) Get(ctx context.Context, ...) (ItemItemActionsVariablesGetResponseable, error)
- func (m *ItemItemActionsVariablesRequestBuilder) Post(ctx context.Context, body ItemItemActionsVariablesPostRequestBodyable, ...) (...)
- func (m *ItemItemActionsVariablesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsVariablesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemActionsVariablesPostRequestBodyable, ...) (...)
- func (m *ItemItemActionsVariablesRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsVariablesRequestBuilder
- type ItemItemActionsVariablesRequestBuilderGetQueryParameters
- type ItemItemActionsVariablesWithNameItemRequestBuilder
- func (m *ItemItemActionsVariablesWithNameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemActionsVariablesWithNameItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemActionsVariablesWithNameItemRequestBuilder) Patch(ctx context.Context, ...) error
- func (m *ItemItemActionsVariablesWithNameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsVariablesWithNameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsVariablesWithNameItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsVariablesWithNameItemRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsVariablesWithNameItemRequestBuilder
- type ItemItemActionsWorkflowsGetResponse
- func (m *ItemItemActionsWorkflowsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemItemActionsWorkflowsGetResponse) GetFieldDeserializers() ...
- func (m *ItemItemActionsWorkflowsGetResponse) GetTotalCount() *int32
- func (m *ItemItemActionsWorkflowsGetResponse) GetWorkflows() ...
- func (m *ItemItemActionsWorkflowsGetResponse) Serialize(...) error
- func (m *ItemItemActionsWorkflowsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsWorkflowsGetResponse) SetTotalCount(value *int32)
- func (m *ItemItemActionsWorkflowsGetResponse) SetWorkflows(...)
- type ItemItemActionsWorkflowsGetResponseable
- type ItemItemActionsWorkflowsItemDisableRequestBuilder
- func (m *ItemItemActionsWorkflowsItemDisableRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemItemActionsWorkflowsItemDisableRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsWorkflowsItemDisableRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsWorkflowsItemDisableRequestBuilder
- type ItemItemActionsWorkflowsItemDispatchesPostRequestBody
- func (m *ItemItemActionsWorkflowsItemDispatchesPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemActionsWorkflowsItemDispatchesPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemActionsWorkflowsItemDispatchesPostRequestBody) GetInputs() ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputsable
- func (m *ItemItemActionsWorkflowsItemDispatchesPostRequestBody) GetRef() *string
- func (m *ItemItemActionsWorkflowsItemDispatchesPostRequestBody) Serialize(...) error
- func (m *ItemItemActionsWorkflowsItemDispatchesPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsWorkflowsItemDispatchesPostRequestBody) SetInputs(value ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputsable)
- func (m *ItemItemActionsWorkflowsItemDispatchesPostRequestBody) SetRef(value *string)
- type ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputs
- func (m *ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputs) GetAdditionalData() map[string]any
- func (m *ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputs) GetFieldDeserializers() ...
- func (m *ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputs) Serialize(...) error
- func (m *ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputs) SetAdditionalData(value map[string]any)
- type ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputsable
- type ItemItemActionsWorkflowsItemDispatchesPostRequestBodyable
- type ItemItemActionsWorkflowsItemDispatchesRequestBuilder
- func (m *ItemItemActionsWorkflowsItemDispatchesRequestBuilder) Post(ctx context.Context, ...) error
- func (m *ItemItemActionsWorkflowsItemDispatchesRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsWorkflowsItemDispatchesRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsWorkflowsItemDispatchesRequestBuilder
- type ItemItemActionsWorkflowsItemEnableRequestBuilder
- func (m *ItemItemActionsWorkflowsItemEnableRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemItemActionsWorkflowsItemEnableRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsWorkflowsItemEnableRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsWorkflowsItemEnableRequestBuilder
- type ItemItemActionsWorkflowsItemRunsGetResponse
- func (m *ItemItemActionsWorkflowsItemRunsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemItemActionsWorkflowsItemRunsGetResponse) GetFieldDeserializers() ...
- func (m *ItemItemActionsWorkflowsItemRunsGetResponse) GetTotalCount() *int32
- func (m *ItemItemActionsWorkflowsItemRunsGetResponse) GetWorkflowRuns() ...
- func (m *ItemItemActionsWorkflowsItemRunsGetResponse) Serialize(...) error
- func (m *ItemItemActionsWorkflowsItemRunsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemActionsWorkflowsItemRunsGetResponse) SetTotalCount(value *int32)
- func (m *ItemItemActionsWorkflowsItemRunsGetResponse) SetWorkflowRuns(...)
- type ItemItemActionsWorkflowsItemRunsGetResponseable
- type ItemItemActionsWorkflowsItemRunsRequestBuilder
- func (m *ItemItemActionsWorkflowsItemRunsRequestBuilder) Get(ctx context.Context, ...) (ItemItemActionsWorkflowsItemRunsGetResponseable, error)
- func (m *ItemItemActionsWorkflowsItemRunsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsWorkflowsItemRunsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsWorkflowsItemRunsRequestBuilder
- type ItemItemActionsWorkflowsItemRunsRequestBuilderGetQueryParameters
- type ItemItemActionsWorkflowsRequestBuilder
- func (m *ItemItemActionsWorkflowsRequestBuilder) ByWorkflow_id(workflow_id int32) *ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder
- func (m *ItemItemActionsWorkflowsRequestBuilder) Get(ctx context.Context, ...) (ItemItemActionsWorkflowsGetResponseable, error)
- func (m *ItemItemActionsWorkflowsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsWorkflowsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsWorkflowsRequestBuilder
- type ItemItemActionsWorkflowsRequestBuilderGetQueryParameters
- type ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder
- func NewItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder(rawUrl string, ...) *ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder
- func NewItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder
- func (m *ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) Disable() *ItemItemActionsWorkflowsItemDisableRequestBuilder
- func (m *ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) Dispatches() *ItemItemActionsWorkflowsItemDispatchesRequestBuilder
- func (m *ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) Enable() *ItemItemActionsWorkflowsItemEnableRequestBuilder
- func (m *ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) Get(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Workflowable, ...)
- func (m *ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) Runs() *ItemItemActionsWorkflowsItemRunsRequestBuilder
- func (m *ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder
- type ItemItemAssigneesRequestBuilder
- func (m *ItemItemAssigneesRequestBuilder) ByAssignee(assignee string) *ItemItemAssigneesWithAssigneeItemRequestBuilder
- func (m *ItemItemAssigneesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemAssigneesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemAssigneesRequestBuilder) WithUrl(rawUrl string) *ItemItemAssigneesRequestBuilder
- type ItemItemAssigneesRequestBuilderGetQueryParameters
- type ItemItemAssigneesWithAssigneeItemRequestBuilder
- func (m *ItemItemAssigneesWithAssigneeItemRequestBuilder) Get(ctx context.Context, ...) error
- func (m *ItemItemAssigneesWithAssigneeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemAssigneesWithAssigneeItemRequestBuilder) WithUrl(rawUrl string) *ItemItemAssigneesWithAssigneeItemRequestBuilder
- type ItemItemAutolinksPostRequestBody
- func (m *ItemItemAutolinksPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemAutolinksPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemAutolinksPostRequestBody) GetIsAlphanumeric() *bool
- func (m *ItemItemAutolinksPostRequestBody) GetKeyPrefix() *string
- func (m *ItemItemAutolinksPostRequestBody) GetUrlTemplate() *string
- func (m *ItemItemAutolinksPostRequestBody) Serialize(...) error
- func (m *ItemItemAutolinksPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemAutolinksPostRequestBody) SetIsAlphanumeric(value *bool)
- func (m *ItemItemAutolinksPostRequestBody) SetKeyPrefix(value *string)
- func (m *ItemItemAutolinksPostRequestBody) SetUrlTemplate(value *string)
- type ItemItemAutolinksPostRequestBodyable
- type ItemItemAutolinksRequestBuilder
- func (m *ItemItemAutolinksRequestBuilder) ByAutolink_id(autolink_id int32) *ItemItemAutolinksWithAutolink_ItemRequestBuilder
- func (m *ItemItemAutolinksRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemAutolinksRequestBuilder) Post(ctx context.Context, body ItemItemAutolinksPostRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Autolinkable, ...)
- func (m *ItemItemAutolinksRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemAutolinksRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemAutolinksPostRequestBodyable, ...) (...)
- func (m *ItemItemAutolinksRequestBuilder) WithUrl(rawUrl string) *ItemItemAutolinksRequestBuilder
- type ItemItemAutolinksWithAutolink_ItemRequestBuilder
- func (m *ItemItemAutolinksWithAutolink_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemAutolinksWithAutolink_ItemRequestBuilder) Get(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Autolinkable, ...)
- func (m *ItemItemAutolinksWithAutolink_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemAutolinksWithAutolink_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemAutolinksWithAutolink_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemAutolinksWithAutolink_ItemRequestBuilder
- type ItemItemAutomatedSecurityFixesRequestBuilder
- func (m *ItemItemAutomatedSecurityFixesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemAutomatedSecurityFixesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemAutomatedSecurityFixesRequestBuilder) WithUrl(rawUrl string) *ItemItemAutomatedSecurityFixesRequestBuilder
- type ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder
- func NewItemItemBranchesItemProtectionEnforce_adminsRequestBuilder(rawUrl string, ...) *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder
- func NewItemItemBranchesItemProtectionEnforce_adminsRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder
- func (m *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder
- type ItemItemBranchesItemProtectionPutRequestBody
- func (m *ItemItemBranchesItemProtectionPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemProtectionPutRequestBody) GetAllowDeletions() *bool
- func (m *ItemItemBranchesItemProtectionPutRequestBody) GetAllowForcePushes() *bool
- func (m *ItemItemBranchesItemProtectionPutRequestBody) GetAllowForkSyncing() *bool
- func (m *ItemItemBranchesItemProtectionPutRequestBody) GetBlockCreations() *bool
- func (m *ItemItemBranchesItemProtectionPutRequestBody) GetEnforceAdmins() *bool
- func (m *ItemItemBranchesItemProtectionPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemProtectionPutRequestBody) GetLockBranch() *bool
- func (m *ItemItemBranchesItemProtectionPutRequestBody) GetRequiredConversationResolution() *bool
- func (m *ItemItemBranchesItemProtectionPutRequestBody) GetRequiredLinearHistory() *bool
- func (m *ItemItemBranchesItemProtectionPutRequestBody) GetRequiredPullRequestReviews() ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviewsable
- func (m *ItemItemBranchesItemProtectionPutRequestBody) GetRequiredStatusChecks() ItemItemBranchesItemProtectionPutRequestBody_required_status_checksable
- func (m *ItemItemBranchesItemProtectionPutRequestBody) GetRestrictions() ItemItemBranchesItemProtectionPutRequestBody_restrictionsable
- func (m *ItemItemBranchesItemProtectionPutRequestBody) Serialize(...) error
- func (m *ItemItemBranchesItemProtectionPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemProtectionPutRequestBody) SetAllowDeletions(value *bool)
- func (m *ItemItemBranchesItemProtectionPutRequestBody) SetAllowForcePushes(value *bool)
- func (m *ItemItemBranchesItemProtectionPutRequestBody) SetAllowForkSyncing(value *bool)
- func (m *ItemItemBranchesItemProtectionPutRequestBody) SetBlockCreations(value *bool)
- func (m *ItemItemBranchesItemProtectionPutRequestBody) SetEnforceAdmins(value *bool)
- func (m *ItemItemBranchesItemProtectionPutRequestBody) SetLockBranch(value *bool)
- func (m *ItemItemBranchesItemProtectionPutRequestBody) SetRequiredConversationResolution(value *bool)
- func (m *ItemItemBranchesItemProtectionPutRequestBody) SetRequiredLinearHistory(value *bool)
- func (m *ItemItemBranchesItemProtectionPutRequestBody) SetRequiredPullRequestReviews(...)
- func (m *ItemItemBranchesItemProtectionPutRequestBody) SetRequiredStatusChecks(value ItemItemBranchesItemProtectionPutRequestBody_required_status_checksable)
- func (m *ItemItemBranchesItemProtectionPutRequestBody) SetRestrictions(value ItemItemBranchesItemProtectionPutRequestBody_restrictionsable)
- type ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) GetBypassPullRequestAllowances() ...
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) GetDismissStaleReviews() *bool
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) GetDismissalRestrictions() ...
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) GetRequireCodeOwnerReviews() *bool
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) GetRequireLastPushApproval() *bool
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) GetRequiredApprovingReviewCount() *int32
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) Serialize(...) error
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) SetBypassPullRequestAllowances(...)
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) SetDismissStaleReviews(value *bool)
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) SetDismissalRestrictions(...)
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) SetRequireCodeOwnerReviews(value *bool)
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) SetRequireLastPushApproval(value *bool)
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) SetRequiredApprovingReviewCount(value *int32)
- type ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) GetApps() []string
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) GetTeams() []string
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) GetUsers() []string
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) Serialize(...) error
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) SetApps(value []string)
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) SetTeams(value []string)
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) SetUsers(value []string)
- type ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowancesable
- type ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) GetApps() []string
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) GetTeams() []string
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) GetUsers() []string
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) Serialize(...) error
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) SetApps(value []string)
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) SetTeams(value []string)
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) SetUsers(value []string)
- type ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictionsable
- type ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviewsable
- type ItemItemBranchesItemProtectionPutRequestBody_required_status_checks
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) GetChecks() ...
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) GetContexts() []string
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) GetStrict() *bool
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) Serialize(...) error
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) SetChecks(...)
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) SetContexts(value []string)
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) SetStrict(value *bool)
- type ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) GetAppId() *int32
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) GetContext() *string
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) Serialize(...) error
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) SetAppId(value *int32)
- func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) SetContext(value *string)
- type ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checksable
- type ItemItemBranchesItemProtectionPutRequestBody_required_status_checksable
- type ItemItemBranchesItemProtectionPutRequestBody_restrictions
- func (m *ItemItemBranchesItemProtectionPutRequestBody_restrictions) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemProtectionPutRequestBody_restrictions) GetApps() []string
- func (m *ItemItemBranchesItemProtectionPutRequestBody_restrictions) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemProtectionPutRequestBody_restrictions) GetTeams() []string
- func (m *ItemItemBranchesItemProtectionPutRequestBody_restrictions) GetUsers() []string
- func (m *ItemItemBranchesItemProtectionPutRequestBody_restrictions) Serialize(...) error
- func (m *ItemItemBranchesItemProtectionPutRequestBody_restrictions) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemProtectionPutRequestBody_restrictions) SetApps(value []string)
- func (m *ItemItemBranchesItemProtectionPutRequestBody_restrictions) SetTeams(value []string)
- func (m *ItemItemBranchesItemProtectionPutRequestBody_restrictions) SetUsers(value []string)
- type ItemItemBranchesItemProtectionPutRequestBody_restrictionsable
- type ItemItemBranchesItemProtectionPutRequestBodyable
- type ItemItemBranchesItemProtectionRequestBuilder
- func (m *ItemItemBranchesItemProtectionRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemBranchesItemProtectionRequestBuilder) Enforce_admins() *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder
- func (m *ItemItemBranchesItemProtectionRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRequestBuilder) Put(ctx context.Context, body ItemItemBranchesItemProtectionPutRequestBodyable, ...) (...)
- func (m *ItemItemBranchesItemProtectionRequestBuilder) Required_pull_request_reviews() *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder
- func (m *ItemItemBranchesItemProtectionRequestBuilder) Required_signatures() *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder
- func (m *ItemItemBranchesItemProtectionRequestBuilder) Required_status_checks() *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder
- func (m *ItemItemBranchesItemProtectionRequestBuilder) Restrictions() *ItemItemBranchesItemProtectionRestrictionsRequestBuilder
- func (m *ItemItemBranchesItemProtectionRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemBranchesItemProtectionPutRequestBodyable, ...) (...)
- func (m *ItemItemBranchesItemProtectionRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesItemProtectionRequestBuilder
- type ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) GetBypassPullRequestAllowances() ...
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) GetDismissStaleReviews() *bool
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) GetDismissalRestrictions() ...
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) GetRequireCodeOwnerReviews() *bool
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) GetRequireLastPushApproval() *bool
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) GetRequiredApprovingReviewCount() *int32
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) Serialize(...) error
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) SetBypassPullRequestAllowances(...)
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) SetDismissStaleReviews(value *bool)
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) SetDismissalRestrictions(...)
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) SetRequireCodeOwnerReviews(value *bool)
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) SetRequireLastPushApproval(value *bool)
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) SetRequiredApprovingReviewCount(value *int32)
- type ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) GetApps() []string
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) GetTeams() []string
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) GetUsers() []string
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) Serialize(...) error
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) SetApps(value []string)
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) SetTeams(value []string)
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) SetUsers(value []string)
- type ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowancesable
- type ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) GetApps() []string
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) GetTeams() []string
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) GetUsers() []string
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) Serialize(...) error
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) SetApps(value []string)
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) SetTeams(value []string)
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) SetUsers(value []string)
- type ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictionsable
- type ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBodyable
- type ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder
- func NewItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder(rawUrl string, ...) *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder
- func NewItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder
- type ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder
- func NewItemItemBranchesItemProtectionRequired_signaturesRequestBuilder(rawUrl string, ...) *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder
- func NewItemItemBranchesItemProtectionRequired_signaturesRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder
- func (m *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder
- type ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1) GetContexts() []string
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1) Serialize(...) error
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1) SetContexts(value []string)
- type ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1able
- type ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1) GetContexts() []string
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1) Serialize(...) error
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1) SetContexts(value []string)
- type ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1able
- type ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1) GetContexts() []string
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1) Serialize(...) error
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1) SetContexts(value []string)
- type ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1able
- type ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder
- func NewItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder(rawUrl string, ...) *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder
- func NewItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) Delete(ctx context.Context, body ContextsDeleteRequestBodyable, ...) ([]string, error)
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) Get(ctx context.Context, ...) ([]string, error)
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) Post(ctx context.Context, body ContextsPostRequestBodyable, ...) ([]string, error)
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) Put(ctx context.Context, body ContextsPutRequestBodyable, ...) ([]string, error)
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, body ContextsDeleteRequestBodyable, ...) (...)
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ContextsPostRequestBodyable, ...) (...)
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ContextsPutRequestBodyable, ...) (...)
- func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder
- type ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody
- func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) GetChecks() ...
- func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) GetContexts() []string
- func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) GetStrict() *bool
- func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) Serialize(...) error
- func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) SetChecks(...)
- func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) SetContexts(value []string)
- func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) SetStrict(value *bool)
- type ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks
- func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) GetAppId() *int32
- func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) GetContext() *string
- func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) Serialize(...) error
- func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) SetAppId(value *int32)
- func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) SetContext(value *string)
- type ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checksable
- type ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBodyable
- type ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder
- func NewItemItemBranchesItemProtectionRequired_status_checksRequestBuilder(rawUrl string, ...) *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder
- func NewItemItemBranchesItemProtectionRequired_status_checksRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder
- func (m *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) Contexts() *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder
- func (m *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder
- type ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1) GetApps() []string
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1) Serialize(...) error
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1) SetApps(value []string)
- type ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1able
- type ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1) GetApps() []string
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1) Serialize(...) error
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1) SetApps(value []string)
- type ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1able
- type ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1) GetApps() []string
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1) Serialize(...) error
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1) SetApps(value []string)
- type ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1able
- type ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder
- func NewItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder(rawUrl string, ...) *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder
- func NewItemItemBranchesItemProtectionRestrictionsAppsRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) Delete(ctx context.Context, body AppsDeleteRequestBodyable, ...) (...)
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) Post(ctx context.Context, body AppsPostRequestBodyable, ...) (...)
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) Put(ctx context.Context, body AppsPutRequestBodyable, ...) (...)
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, body AppsDeleteRequestBodyable, ...) (...)
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) ToPostRequestInformation(ctx context.Context, body AppsPostRequestBodyable, ...) (...)
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) ToPutRequestInformation(ctx context.Context, body AppsPutRequestBodyable, ...) (...)
- func (m *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder
- type ItemItemBranchesItemProtectionRestrictionsRequestBuilder
- func NewItemItemBranchesItemProtectionRestrictionsRequestBuilder(rawUrl string, ...) *ItemItemBranchesItemProtectionRestrictionsRequestBuilder
- func NewItemItemBranchesItemProtectionRestrictionsRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemBranchesItemProtectionRestrictionsRequestBuilder
- func (m *ItemItemBranchesItemProtectionRestrictionsRequestBuilder) Apps() *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder
- func (m *ItemItemBranchesItemProtectionRestrictionsRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemBranchesItemProtectionRestrictionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRestrictionsRequestBuilder) Teams() *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder
- func (m *ItemItemBranchesItemProtectionRestrictionsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRestrictionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRestrictionsRequestBuilder) Users() *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder
- func (m *ItemItemBranchesItemProtectionRestrictionsRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesItemProtectionRestrictionsRequestBuilder
- type ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1) GetTeams() []string
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1) Serialize(...) error
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1) SetTeams(value []string)
- type ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1able
- type ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1) GetTeams() []string
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1) Serialize(...) error
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1) SetTeams(value []string)
- type ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1able
- type ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1) GetTeams() []string
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1) Serialize(...) error
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1) SetTeams(value []string)
- type ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1able
- type ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder
- func NewItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder(rawUrl string, ...) *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder
- func NewItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) Delete(ctx context.Context, body TeamsDeleteRequestBodyable, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Teamable, ...)
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) Get(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Teamable, ...)
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) Post(ctx context.Context, body TeamsPostRequestBodyable, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Teamable, ...)
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) Put(ctx context.Context, body TeamsPutRequestBodyable, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Teamable, ...)
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, body TeamsDeleteRequestBodyable, ...) (...)
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) ToPostRequestInformation(ctx context.Context, body TeamsPostRequestBodyable, ...) (...)
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) ToPutRequestInformation(ctx context.Context, body TeamsPutRequestBodyable, ...) (...)
- func (m *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder
- type ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1) GetUsers() []string
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1) Serialize(...) error
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1) SetUsers(value []string)
- type ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1able
- type ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1) GetUsers() []string
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1) Serialize(...) error
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1) SetUsers(value []string)
- type ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1able
- type ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1) GetUsers() []string
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1) Serialize(...) error
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1) SetUsers(value []string)
- type ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1able
- type ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder
- func NewItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder(rawUrl string, ...) *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder
- func NewItemItemBranchesItemProtectionRestrictionsUsersRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) Delete(ctx context.Context, body UsersDeleteRequestBodyable, ...) (...)
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) Post(ctx context.Context, body UsersPostRequestBodyable, ...) (...)
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) Put(ctx context.Context, body UsersPutRequestBodyable, ...) (...)
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) ToDeleteRequestInformation(ctx context.Context, body UsersDeleteRequestBodyable, ...) (...)
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) ToPostRequestInformation(ctx context.Context, body UsersPostRequestBodyable, ...) (...)
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) ToPutRequestInformation(ctx context.Context, body UsersPutRequestBodyable, ...) (...)
- func (m *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder
- type ItemItemBranchesItemRenamePostRequestBody
- func (m *ItemItemBranchesItemRenamePostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemBranchesItemRenamePostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemBranchesItemRenamePostRequestBody) GetNewName() *string
- func (m *ItemItemBranchesItemRenamePostRequestBody) Serialize(...) error
- func (m *ItemItemBranchesItemRenamePostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemBranchesItemRenamePostRequestBody) SetNewName(value *string)
- type ItemItemBranchesItemRenamePostRequestBodyable
- type ItemItemBranchesItemRenameRequestBuilder
- func (m *ItemItemBranchesItemRenameRequestBuilder) Post(ctx context.Context, body ItemItemBranchesItemRenamePostRequestBodyable, ...) (...)
- func (m *ItemItemBranchesItemRenameRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemBranchesItemRenamePostRequestBodyable, ...) (...)
- func (m *ItemItemBranchesItemRenameRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesItemRenameRequestBuilder
- type ItemItemBranchesRequestBuilder
- func (m *ItemItemBranchesRequestBuilder) ByBranch(branch string) *ItemItemBranchesWithBranchItemRequestBuilder
- func (m *ItemItemBranchesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesRequestBuilder
- type ItemItemBranchesRequestBuilderGetQueryParameters
- type ItemItemBranchesWithBranchItemRequestBuilder
- func (m *ItemItemBranchesWithBranchItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesWithBranchItemRequestBuilder) Protection() *ItemItemBranchesItemProtectionRequestBuilder
- func (m *ItemItemBranchesWithBranchItemRequestBuilder) Rename() *ItemItemBranchesItemRenameRequestBuilder
- func (m *ItemItemBranchesWithBranchItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemBranchesWithBranchItemRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesWithBranchItemRequestBuilder
- type ItemItemCheckRunsItemAnnotationsRequestBuilder
- func (m *ItemItemCheckRunsItemAnnotationsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemCheckRunsItemAnnotationsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCheckRunsItemAnnotationsRequestBuilder) WithUrl(rawUrl string) *ItemItemCheckRunsItemAnnotationsRequestBuilder
- type ItemItemCheckRunsItemAnnotationsRequestBuilderGetQueryParameters
- type ItemItemCheckRunsItemRerequestRequestBuilder
- func (m *ItemItemCheckRunsItemRerequestRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemItemCheckRunsItemRerequestRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCheckRunsItemRerequestRequestBuilder) WithUrl(rawUrl string) *ItemItemCheckRunsItemRerequestRequestBuilder
- type ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1
- func (m *ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1) GetAdditionalData() map[string]any
- func (m *ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1) GetFieldDeserializers() ...
- func (m *ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1) Serialize(...) error
- func (m *ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1) SetAdditionalData(value map[string]any)
- type ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1able
- type ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2
- func (m *ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2) GetAdditionalData() map[string]any
- func (m *ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2) GetFieldDeserializers() ...
- func (m *ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2) Serialize(...) error
- func (m *ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2) SetAdditionalData(value map[string]any)
- type ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2able
- type ItemItemCheckRunsPostRequestBodyMember1
- func (m *ItemItemCheckRunsPostRequestBodyMember1) GetAdditionalData() map[string]any
- func (m *ItemItemCheckRunsPostRequestBodyMember1) GetFieldDeserializers() ...
- func (m *ItemItemCheckRunsPostRequestBodyMember1) Serialize(...) error
- func (m *ItemItemCheckRunsPostRequestBodyMember1) SetAdditionalData(value map[string]any)
- type ItemItemCheckRunsPostRequestBodyMember1able
- type ItemItemCheckRunsPostRequestBodyMember2
- func (m *ItemItemCheckRunsPostRequestBodyMember2) GetAdditionalData() map[string]any
- func (m *ItemItemCheckRunsPostRequestBodyMember2) GetFieldDeserializers() ...
- func (m *ItemItemCheckRunsPostRequestBodyMember2) Serialize(...) error
- func (m *ItemItemCheckRunsPostRequestBodyMember2) SetAdditionalData(value map[string]any)
- type ItemItemCheckRunsPostRequestBodyMember2able
- type ItemItemCheckRunsRequestBuilder
- func (m *ItemItemCheckRunsRequestBuilder) ByCheck_run_id(check_run_id int32) *ItemItemCheckRunsWithCheck_run_ItemRequestBuilder
- func (m *ItemItemCheckRunsRequestBuilder) Post(ctx context.Context, body CheckRunsPostRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CheckRunable, ...)
- func (m *ItemItemCheckRunsRequestBuilder) ToPostRequestInformation(ctx context.Context, body CheckRunsPostRequestBodyable, ...) (...)
- func (m *ItemItemCheckRunsRequestBuilder) WithUrl(rawUrl string) *ItemItemCheckRunsRequestBuilder
- type ItemItemCheckRunsWithCheck_run_ItemRequestBuilder
- func (m *ItemItemCheckRunsWithCheck_run_ItemRequestBuilder) Annotations() *ItemItemCheckRunsItemAnnotationsRequestBuilder
- func (m *ItemItemCheckRunsWithCheck_run_ItemRequestBuilder) Get(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CheckRunable, ...)
- func (m *ItemItemCheckRunsWithCheck_run_ItemRequestBuilder) Patch(ctx context.Context, body WithCheck_run_PatchRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CheckRunable, ...)
- func (m *ItemItemCheckRunsWithCheck_run_ItemRequestBuilder) Rerequest() *ItemItemCheckRunsItemRerequestRequestBuilder
- func (m *ItemItemCheckRunsWithCheck_run_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCheckRunsWithCheck_run_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body WithCheck_run_PatchRequestBodyable, ...) (...)
- func (m *ItemItemCheckRunsWithCheck_run_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemCheckRunsWithCheck_run_ItemRequestBuilder
- type ItemItemCheckSuitesItemCheckRunsGetResponse
- func (m *ItemItemCheckSuitesItemCheckRunsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemItemCheckSuitesItemCheckRunsGetResponse) GetCheckRuns() ...
- func (m *ItemItemCheckSuitesItemCheckRunsGetResponse) GetFieldDeserializers() ...
- func (m *ItemItemCheckSuitesItemCheckRunsGetResponse) GetTotalCount() *int32
- func (m *ItemItemCheckSuitesItemCheckRunsGetResponse) Serialize(...) error
- func (m *ItemItemCheckSuitesItemCheckRunsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemCheckSuitesItemCheckRunsGetResponse) SetCheckRuns(...)
- func (m *ItemItemCheckSuitesItemCheckRunsGetResponse) SetTotalCount(value *int32)
- type ItemItemCheckSuitesItemCheckRunsGetResponseable
- type ItemItemCheckSuitesItemCheckRunsRequestBuilder
- func (m *ItemItemCheckSuitesItemCheckRunsRequestBuilder) Get(ctx context.Context, ...) (ItemItemCheckSuitesItemCheckRunsGetResponseable, error)
- func (m *ItemItemCheckSuitesItemCheckRunsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCheckSuitesItemCheckRunsRequestBuilder) WithUrl(rawUrl string) *ItemItemCheckSuitesItemCheckRunsRequestBuilder
- type ItemItemCheckSuitesItemCheckRunsRequestBuilderGetQueryParameters
- type ItemItemCheckSuitesItemRerequestRequestBuilder
- func (m *ItemItemCheckSuitesItemRerequestRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemItemCheckSuitesItemRerequestRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCheckSuitesItemRerequestRequestBuilder) WithUrl(rawUrl string) *ItemItemCheckSuitesItemRerequestRequestBuilder
- type ItemItemCheckSuitesPostRequestBody
- func (m *ItemItemCheckSuitesPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemCheckSuitesPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemCheckSuitesPostRequestBody) GetHeadSha() *string
- func (m *ItemItemCheckSuitesPostRequestBody) Serialize(...) error
- func (m *ItemItemCheckSuitesPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemCheckSuitesPostRequestBody) SetHeadSha(value *string)
- type ItemItemCheckSuitesPostRequestBodyable
- type ItemItemCheckSuitesPreferencesPatchRequestBody
- func (m *ItemItemCheckSuitesPreferencesPatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemCheckSuitesPreferencesPatchRequestBody) GetAutoTriggerChecks() []ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checksable
- func (m *ItemItemCheckSuitesPreferencesPatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemCheckSuitesPreferencesPatchRequestBody) Serialize(...) error
- func (m *ItemItemCheckSuitesPreferencesPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemCheckSuitesPreferencesPatchRequestBody) SetAutoTriggerChecks(value []ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checksable)
- type ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks
- func (m *ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) GetAdditionalData() map[string]any
- func (m *ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) GetAppId() *int32
- func (m *ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) GetFieldDeserializers() ...
- func (m *ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) GetSetting() *bool
- func (m *ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) Serialize(...) error
- func (m *ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) SetAdditionalData(value map[string]any)
- func (m *ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) SetAppId(value *int32)
- func (m *ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) SetSetting(value *bool)
- type ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checksable
- type ItemItemCheckSuitesPreferencesPatchRequestBodyable
- type ItemItemCheckSuitesPreferencesRequestBuilder
- func (m *ItemItemCheckSuitesPreferencesRequestBuilder) Patch(ctx context.Context, body ItemItemCheckSuitesPreferencesPatchRequestBodyable, ...) (...)
- func (m *ItemItemCheckSuitesPreferencesRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemCheckSuitesPreferencesPatchRequestBodyable, ...) (...)
- func (m *ItemItemCheckSuitesPreferencesRequestBuilder) WithUrl(rawUrl string) *ItemItemCheckSuitesPreferencesRequestBuilder
- type ItemItemCheckSuitesRequestBuilder
- func (m *ItemItemCheckSuitesRequestBuilder) ByCheck_suite_id(check_suite_id int32) *ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder
- func (m *ItemItemCheckSuitesRequestBuilder) Post(ctx context.Context, body ItemItemCheckSuitesPostRequestBodyable, ...) (...)
- func (m *ItemItemCheckSuitesRequestBuilder) Preferences() *ItemItemCheckSuitesPreferencesRequestBuilder
- func (m *ItemItemCheckSuitesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemCheckSuitesPostRequestBodyable, ...) (...)
- func (m *ItemItemCheckSuitesRequestBuilder) WithUrl(rawUrl string) *ItemItemCheckSuitesRequestBuilder
- type ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder
- func NewItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder(rawUrl string, ...) *ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder
- func NewItemItemCheckSuitesWithCheck_suite_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder
- func (m *ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder) CheckRuns() *ItemItemCheckSuitesItemCheckRunsRequestBuilder
- func (m *ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder) Rerequest() *ItemItemCheckSuitesItemRerequestRequestBuilder
- func (m *ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder
- type ItemItemCodeScanningAlertsItemInstancesRequestBuilder
- func NewItemItemCodeScanningAlertsItemInstancesRequestBuilder(rawUrl string, ...) *ItemItemCodeScanningAlertsItemInstancesRequestBuilder
- func NewItemItemCodeScanningAlertsItemInstancesRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemCodeScanningAlertsItemInstancesRequestBuilder
- func (m *ItemItemCodeScanningAlertsItemInstancesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemCodeScanningAlertsItemInstancesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCodeScanningAlertsItemInstancesRequestBuilder) WithUrl(rawUrl string) *ItemItemCodeScanningAlertsItemInstancesRequestBuilder
- type ItemItemCodeScanningAlertsItemInstancesRequestBuilderGetQueryParameters
- type ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody
- func (m *ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) GetDismissedComment() *string
- func (m *ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) GetDismissedReason() ...
- func (m *ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) GetState() ...
- func (m *ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) Serialize(...) error
- func (m *ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) SetDismissedComment(value *string)
- func (m *ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) SetDismissedReason(...)
- func (m *ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) SetState(...)
- type ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBodyable
- type ItemItemCodeScanningAlertsRequestBuilder
- func (m *ItemItemCodeScanningAlertsRequestBuilder) ByAlert_number(alert_number int32) *ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder
- func (m *ItemItemCodeScanningAlertsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemCodeScanningAlertsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCodeScanningAlertsRequestBuilder) WithUrl(rawUrl string) *ItemItemCodeScanningAlertsRequestBuilder
- type ItemItemCodeScanningAlertsRequestBuilderGetQueryParameters
- type ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder
- func NewItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder(rawUrl string, ...) *ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder
- func NewItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder
- func (m *ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder) Instances() *ItemItemCodeScanningAlertsItemInstancesRequestBuilder
- func (m *ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder) WithUrl(rawUrl string) *ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder
- type ItemItemCodeScanningAnalysesRequestBuilder
- func (m *ItemItemCodeScanningAnalysesRequestBuilder) ByAnalysis_id(analysis_id int32) *ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder
- func (m *ItemItemCodeScanningAnalysesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemCodeScanningAnalysesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCodeScanningAnalysesRequestBuilder) WithUrl(rawUrl string) *ItemItemCodeScanningAnalysesRequestBuilder
- type ItemItemCodeScanningAnalysesRequestBuilderGetQueryParameters
- type ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder
- func NewItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder(rawUrl string, ...) *ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder
- func NewItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder
- func (m *ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder) Delete(ctx context.Context, ...) (...)
- func (m *ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder
- type ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilderDeleteQueryParameters
- type ItemItemCodeScanningDefaultSetupRequestBuilder
- func (m *ItemItemCodeScanningDefaultSetupRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemCodeScanningDefaultSetupRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *ItemItemCodeScanningDefaultSetupRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCodeScanningDefaultSetupRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCodeScanningDefaultSetupRequestBuilder) WithUrl(rawUrl string) *ItemItemCodeScanningDefaultSetupRequestBuilder
- type ItemItemCodeScanningRequestBuilder
- func (m *ItemItemCodeScanningRequestBuilder) Alerts() *ItemItemCodeScanningAlertsRequestBuilder
- func (m *ItemItemCodeScanningRequestBuilder) Analyses() *ItemItemCodeScanningAnalysesRequestBuilder
- func (m *ItemItemCodeScanningRequestBuilder) DefaultSetup() *ItemItemCodeScanningDefaultSetupRequestBuilder
- func (m *ItemItemCodeScanningRequestBuilder) Sarifs() *ItemItemCodeScanningSarifsRequestBuilder
- type ItemItemCodeScanningSarifsPostRequestBody
- func (m *ItemItemCodeScanningSarifsPostRequestBody) GetCheckoutUri() *string
- func (m *ItemItemCodeScanningSarifsPostRequestBody) GetCommitSha() *string
- func (m *ItemItemCodeScanningSarifsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemCodeScanningSarifsPostRequestBody) GetRef() *string
- func (m *ItemItemCodeScanningSarifsPostRequestBody) GetSarif() *string
- func (m *ItemItemCodeScanningSarifsPostRequestBody) GetStartedAt() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
- func (m *ItemItemCodeScanningSarifsPostRequestBody) GetToolName() *string
- func (m *ItemItemCodeScanningSarifsPostRequestBody) Serialize(...) error
- func (m *ItemItemCodeScanningSarifsPostRequestBody) SetCheckoutUri(value *string)
- func (m *ItemItemCodeScanningSarifsPostRequestBody) SetCommitSha(value *string)
- func (m *ItemItemCodeScanningSarifsPostRequestBody) SetRef(value *string)
- func (m *ItemItemCodeScanningSarifsPostRequestBody) SetSarif(value *string)
- func (m *ItemItemCodeScanningSarifsPostRequestBody) SetStartedAt(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
- func (m *ItemItemCodeScanningSarifsPostRequestBody) SetToolName(value *string)
- type ItemItemCodeScanningSarifsPostRequestBodyable
- type ItemItemCodeScanningSarifsRequestBuilder
- func (m *ItemItemCodeScanningSarifsRequestBuilder) BySarif_id(sarif_id string) *ItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder
- func (m *ItemItemCodeScanningSarifsRequestBuilder) Post(ctx context.Context, body ItemItemCodeScanningSarifsPostRequestBodyable, ...) (...)
- func (m *ItemItemCodeScanningSarifsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemCodeScanningSarifsPostRequestBodyable, ...) (...)
- func (m *ItemItemCodeScanningSarifsRequestBuilder) WithUrl(rawUrl string) *ItemItemCodeScanningSarifsRequestBuilder
- type ItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder
- func NewItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder(rawUrl string, ...) *ItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder
- func NewItemItemCodeScanningSarifsWithSarif_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder
- func (m *ItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder
- type ItemItemCodeownersErrorsRequestBuilder
- func (m *ItemItemCodeownersErrorsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemCodeownersErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCodeownersErrorsRequestBuilder) WithUrl(rawUrl string) *ItemItemCodeownersErrorsRequestBuilder
- type ItemItemCodeownersErrorsRequestBuilderGetQueryParameters
- type ItemItemCodeownersRequestBuilder
- type ItemItemCollaboratorsItemPermissionRequestBuilder
- func (m *ItemItemCollaboratorsItemPermissionRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemCollaboratorsItemPermissionRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCollaboratorsItemPermissionRequestBuilder) WithUrl(rawUrl string) *ItemItemCollaboratorsItemPermissionRequestBuilder
- type ItemItemCollaboratorsItemWithUsernamePutRequestBody
- func (m *ItemItemCollaboratorsItemWithUsernamePutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemCollaboratorsItemWithUsernamePutRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemCollaboratorsItemWithUsernamePutRequestBody) GetPermission() *string
- func (m *ItemItemCollaboratorsItemWithUsernamePutRequestBody) Serialize(...) error
- func (m *ItemItemCollaboratorsItemWithUsernamePutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemCollaboratorsItemWithUsernamePutRequestBody) SetPermission(value *string)
- type ItemItemCollaboratorsItemWithUsernamePutRequestBodyable
- type ItemItemCollaboratorsRequestBuilder
- func (m *ItemItemCollaboratorsRequestBuilder) ByUsername(username string) *ItemItemCollaboratorsWithUsernameItemRequestBuilder
- func (m *ItemItemCollaboratorsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemCollaboratorsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCollaboratorsRequestBuilder) WithUrl(rawUrl string) *ItemItemCollaboratorsRequestBuilder
- type ItemItemCollaboratorsRequestBuilderGetQueryParameters
- type ItemItemCollaboratorsWithUsernameItemRequestBuilder
- func (m *ItemItemCollaboratorsWithUsernameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemCollaboratorsWithUsernameItemRequestBuilder) Get(ctx context.Context, ...) error
- func (m *ItemItemCollaboratorsWithUsernameItemRequestBuilder) Permission() *ItemItemCollaboratorsItemPermissionRequestBuilder
- func (m *ItemItemCollaboratorsWithUsernameItemRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemItemCollaboratorsWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCollaboratorsWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCollaboratorsWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCollaboratorsWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *ItemItemCollaboratorsWithUsernameItemRequestBuilder
- type ItemItemCommentsItemReactionsPostRequestBody
- func (m *ItemItemCommentsItemReactionsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemCommentsItemReactionsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemCommentsItemReactionsPostRequestBody) Serialize(...) error
- func (m *ItemItemCommentsItemReactionsPostRequestBody) SetAdditionalData(value map[string]any)
- type ItemItemCommentsItemReactionsPostRequestBodyable
- type ItemItemCommentsItemReactionsRequestBuilder
- func (m *ItemItemCommentsItemReactionsRequestBuilder) ByReaction_id(reaction_id int32) *ItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder
- func (m *ItemItemCommentsItemReactionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemCommentsItemReactionsRequestBuilder) Post(ctx context.Context, body ItemItemCommentsItemReactionsPostRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Reactionable, ...)
- func (m *ItemItemCommentsItemReactionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCommentsItemReactionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemCommentsItemReactionsPostRequestBodyable, ...) (...)
- func (m *ItemItemCommentsItemReactionsRequestBuilder) WithUrl(rawUrl string) *ItemItemCommentsItemReactionsRequestBuilder
- type ItemItemCommentsItemReactionsRequestBuilderGetQueryParameters
- type ItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder
- func NewItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder(rawUrl string, ...) *ItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder
- func NewItemItemCommentsItemReactionsWithReaction_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder
- func (m *ItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder
- type ItemItemCommentsItemWithComment_PatchRequestBody
- func (m *ItemItemCommentsItemWithComment_PatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemCommentsItemWithComment_PatchRequestBody) GetBody() *string
- func (m *ItemItemCommentsItemWithComment_PatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemCommentsItemWithComment_PatchRequestBody) Serialize(...) error
- func (m *ItemItemCommentsItemWithComment_PatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemCommentsItemWithComment_PatchRequestBody) SetBody(value *string)
- type ItemItemCommentsItemWithComment_PatchRequestBodyable
- type ItemItemCommentsRequestBuilder
- func (m *ItemItemCommentsRequestBuilder) ByComment_id(comment_id int32) *ItemItemCommentsWithComment_ItemRequestBuilder
- func (m *ItemItemCommentsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemCommentsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCommentsRequestBuilder) WithUrl(rawUrl string) *ItemItemCommentsRequestBuilder
- type ItemItemCommentsRequestBuilderGetQueryParameters
- type ItemItemCommentsWithComment_ItemRequestBuilder
- func (m *ItemItemCommentsWithComment_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemCommentsWithComment_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemCommentsWithComment_ItemRequestBuilder) Patch(ctx context.Context, body ItemItemCommentsItemWithComment_PatchRequestBodyable, ...) (...)
- func (m *ItemItemCommentsWithComment_ItemRequestBuilder) Reactions() *ItemItemCommentsItemReactionsRequestBuilder
- func (m *ItemItemCommentsWithComment_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCommentsWithComment_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCommentsWithComment_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemCommentsItemWithComment_PatchRequestBodyable, ...) (...)
- func (m *ItemItemCommentsWithComment_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemCommentsWithComment_ItemRequestBuilder
- type ItemItemCommitsCommit_shaItemRequestBuilder
- func (m *ItemItemCommitsCommit_shaItemRequestBuilder) BranchesWhereHead() *ItemItemCommitsItemBranchesWhereHeadRequestBuilder
- func (m *ItemItemCommitsCommit_shaItemRequestBuilder) CheckRuns() *ItemItemCommitsItemCheckRunsRequestBuilder
- func (m *ItemItemCommitsCommit_shaItemRequestBuilder) CheckSuites() *ItemItemCommitsItemCheckSuitesRequestBuilder
- func (m *ItemItemCommitsCommit_shaItemRequestBuilder) Comments() *ItemItemCommitsItemCommentsRequestBuilder
- func (m *ItemItemCommitsCommit_shaItemRequestBuilder) Get(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Commitable, ...)
- func (m *ItemItemCommitsCommit_shaItemRequestBuilder) Pulls() *ItemItemCommitsItemPullsRequestBuilder
- func (m *ItemItemCommitsCommit_shaItemRequestBuilder) Status() *ItemItemCommitsItemStatusRequestBuilder
- func (m *ItemItemCommitsCommit_shaItemRequestBuilder) Statuses() *ItemItemCommitsItemStatusesRequestBuilder
- func (m *ItemItemCommitsCommit_shaItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCommitsCommit_shaItemRequestBuilder) WithUrl(rawUrl string) *ItemItemCommitsCommit_shaItemRequestBuilder
- type ItemItemCommitsCommit_shaItemRequestBuilderGetQueryParameters
- type ItemItemCommitsItemBranchesWhereHeadRequestBuilder
- func (m *ItemItemCommitsItemBranchesWhereHeadRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemCommitsItemBranchesWhereHeadRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCommitsItemBranchesWhereHeadRequestBuilder) WithUrl(rawUrl string) *ItemItemCommitsItemBranchesWhereHeadRequestBuilder
- type ItemItemCommitsItemCheckRunsGetResponse
- func (m *ItemItemCommitsItemCheckRunsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemItemCommitsItemCheckRunsGetResponse) GetCheckRuns() ...
- func (m *ItemItemCommitsItemCheckRunsGetResponse) GetFieldDeserializers() ...
- func (m *ItemItemCommitsItemCheckRunsGetResponse) GetTotalCount() *int32
- func (m *ItemItemCommitsItemCheckRunsGetResponse) Serialize(...) error
- func (m *ItemItemCommitsItemCheckRunsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemCommitsItemCheckRunsGetResponse) SetCheckRuns(...)
- func (m *ItemItemCommitsItemCheckRunsGetResponse) SetTotalCount(value *int32)
- type ItemItemCommitsItemCheckRunsGetResponseable
- type ItemItemCommitsItemCheckRunsRequestBuilder
- func (m *ItemItemCommitsItemCheckRunsRequestBuilder) Get(ctx context.Context, ...) (ItemItemCommitsItemCheckRunsGetResponseable, error)
- func (m *ItemItemCommitsItemCheckRunsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCommitsItemCheckRunsRequestBuilder) WithUrl(rawUrl string) *ItemItemCommitsItemCheckRunsRequestBuilder
- type ItemItemCommitsItemCheckRunsRequestBuilderGetQueryParameters
- type ItemItemCommitsItemCheckSuitesGetResponse
- func (m *ItemItemCommitsItemCheckSuitesGetResponse) GetAdditionalData() map[string]any
- func (m *ItemItemCommitsItemCheckSuitesGetResponse) GetCheckSuites() ...
- func (m *ItemItemCommitsItemCheckSuitesGetResponse) GetFieldDeserializers() ...
- func (m *ItemItemCommitsItemCheckSuitesGetResponse) GetTotalCount() *int32
- func (m *ItemItemCommitsItemCheckSuitesGetResponse) Serialize(...) error
- func (m *ItemItemCommitsItemCheckSuitesGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemCommitsItemCheckSuitesGetResponse) SetCheckSuites(...)
- func (m *ItemItemCommitsItemCheckSuitesGetResponse) SetTotalCount(value *int32)
- type ItemItemCommitsItemCheckSuitesGetResponseable
- type ItemItemCommitsItemCheckSuitesRequestBuilder
- func (m *ItemItemCommitsItemCheckSuitesRequestBuilder) Get(ctx context.Context, ...) (ItemItemCommitsItemCheckSuitesGetResponseable, error)
- func (m *ItemItemCommitsItemCheckSuitesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCommitsItemCheckSuitesRequestBuilder) WithUrl(rawUrl string) *ItemItemCommitsItemCheckSuitesRequestBuilder
- type ItemItemCommitsItemCheckSuitesRequestBuilderGetQueryParameters
- type ItemItemCommitsItemCommentsPostRequestBody
- func (m *ItemItemCommitsItemCommentsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemCommitsItemCommentsPostRequestBody) GetBody() *string
- func (m *ItemItemCommitsItemCommentsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemCommitsItemCommentsPostRequestBody) GetLine() *int32
- func (m *ItemItemCommitsItemCommentsPostRequestBody) GetPath() *string
- func (m *ItemItemCommitsItemCommentsPostRequestBody) GetPosition() *int32
- func (m *ItemItemCommitsItemCommentsPostRequestBody) Serialize(...) error
- func (m *ItemItemCommitsItemCommentsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemCommitsItemCommentsPostRequestBody) SetBody(value *string)
- func (m *ItemItemCommitsItemCommentsPostRequestBody) SetLine(value *int32)
- func (m *ItemItemCommitsItemCommentsPostRequestBody) SetPath(value *string)
- func (m *ItemItemCommitsItemCommentsPostRequestBody) SetPosition(value *int32)
- type ItemItemCommitsItemCommentsPostRequestBodyable
- type ItemItemCommitsItemCommentsRequestBuilder
- func (m *ItemItemCommitsItemCommentsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemCommitsItemCommentsRequestBuilder) Post(ctx context.Context, body ItemItemCommitsItemCommentsPostRequestBodyable, ...) (...)
- func (m *ItemItemCommitsItemCommentsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCommitsItemCommentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemCommitsItemCommentsPostRequestBodyable, ...) (...)
- func (m *ItemItemCommitsItemCommentsRequestBuilder) WithUrl(rawUrl string) *ItemItemCommitsItemCommentsRequestBuilder
- type ItemItemCommitsItemCommentsRequestBuilderGetQueryParameters
- type ItemItemCommitsItemPullsRequestBuilder
- func (m *ItemItemCommitsItemPullsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemCommitsItemPullsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCommitsItemPullsRequestBuilder) WithUrl(rawUrl string) *ItemItemCommitsItemPullsRequestBuilder
- type ItemItemCommitsItemPullsRequestBuilderGetQueryParameters
- type ItemItemCommitsItemStatusRequestBuilder
- func (m *ItemItemCommitsItemStatusRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemCommitsItemStatusRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCommitsItemStatusRequestBuilder) WithUrl(rawUrl string) *ItemItemCommitsItemStatusRequestBuilder
- type ItemItemCommitsItemStatusRequestBuilderGetQueryParameters
- type ItemItemCommitsItemStatusesRequestBuilder
- func (m *ItemItemCommitsItemStatusesRequestBuilder) Get(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Statusable, ...)
- func (m *ItemItemCommitsItemStatusesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCommitsItemStatusesRequestBuilder) WithUrl(rawUrl string) *ItemItemCommitsItemStatusesRequestBuilder
- type ItemItemCommitsItemStatusesRequestBuilderGetQueryParameters
- type ItemItemCommitsRequestBuilder
- func (m *ItemItemCommitsRequestBuilder) ByCommit_shaId(commit_shaId string) *ItemItemCommitsCommit_shaItemRequestBuilder
- func (m *ItemItemCommitsRequestBuilder) Get(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Commitable, ...)
- func (m *ItemItemCommitsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCommitsRequestBuilder) WithUrl(rawUrl string) *ItemItemCommitsRequestBuilder
- type ItemItemCommitsRequestBuilderGetQueryParameters
- type ItemItemCompareRequestBuilder
- type ItemItemCompareWithBaseheadItemRequestBuilder
- func (m *ItemItemCompareWithBaseheadItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemCompareWithBaseheadItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemCompareWithBaseheadItemRequestBuilder) WithUrl(rawUrl string) *ItemItemCompareWithBaseheadItemRequestBuilder
- type ItemItemCompareWithBaseheadItemRequestBuilderGetQueryParameters
- type ItemItemContentsItemWithPathDeleteRequestBody
- func (m *ItemItemContentsItemWithPathDeleteRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemContentsItemWithPathDeleteRequestBody) GetAuthor() ItemItemContentsItemWithPathDeleteRequestBody_authorable
- func (m *ItemItemContentsItemWithPathDeleteRequestBody) GetBranch() *string
- func (m *ItemItemContentsItemWithPathDeleteRequestBody) GetCommitter() ItemItemContentsItemWithPathDeleteRequestBody_committerable
- func (m *ItemItemContentsItemWithPathDeleteRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemContentsItemWithPathDeleteRequestBody) GetMessage() *string
- func (m *ItemItemContentsItemWithPathDeleteRequestBody) GetSha() *string
- func (m *ItemItemContentsItemWithPathDeleteRequestBody) Serialize(...) error
- func (m *ItemItemContentsItemWithPathDeleteRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemContentsItemWithPathDeleteRequestBody) SetAuthor(value ItemItemContentsItemWithPathDeleteRequestBody_authorable)
- func (m *ItemItemContentsItemWithPathDeleteRequestBody) SetBranch(value *string)
- func (m *ItemItemContentsItemWithPathDeleteRequestBody) SetCommitter(value ItemItemContentsItemWithPathDeleteRequestBody_committerable)
- func (m *ItemItemContentsItemWithPathDeleteRequestBody) SetMessage(value *string)
- func (m *ItemItemContentsItemWithPathDeleteRequestBody) SetSha(value *string)
- type ItemItemContentsItemWithPathDeleteRequestBody_author
- func (m *ItemItemContentsItemWithPathDeleteRequestBody_author) GetAdditionalData() map[string]any
- func (m *ItemItemContentsItemWithPathDeleteRequestBody_author) GetEmail() *string
- func (m *ItemItemContentsItemWithPathDeleteRequestBody_author) GetFieldDeserializers() ...
- func (m *ItemItemContentsItemWithPathDeleteRequestBody_author) GetName() *string
- func (m *ItemItemContentsItemWithPathDeleteRequestBody_author) Serialize(...) error
- func (m *ItemItemContentsItemWithPathDeleteRequestBody_author) SetAdditionalData(value map[string]any)
- func (m *ItemItemContentsItemWithPathDeleteRequestBody_author) SetEmail(value *string)
- func (m *ItemItemContentsItemWithPathDeleteRequestBody_author) SetName(value *string)
- type ItemItemContentsItemWithPathDeleteRequestBody_authorable
- type ItemItemContentsItemWithPathDeleteRequestBody_committer
- func (m *ItemItemContentsItemWithPathDeleteRequestBody_committer) GetAdditionalData() map[string]any
- func (m *ItemItemContentsItemWithPathDeleteRequestBody_committer) GetEmail() *string
- func (m *ItemItemContentsItemWithPathDeleteRequestBody_committer) GetFieldDeserializers() ...
- func (m *ItemItemContentsItemWithPathDeleteRequestBody_committer) GetName() *string
- func (m *ItemItemContentsItemWithPathDeleteRequestBody_committer) Serialize(...) error
- func (m *ItemItemContentsItemWithPathDeleteRequestBody_committer) SetAdditionalData(value map[string]any)
- func (m *ItemItemContentsItemWithPathDeleteRequestBody_committer) SetEmail(value *string)
- func (m *ItemItemContentsItemWithPathDeleteRequestBody_committer) SetName(value *string)
- type ItemItemContentsItemWithPathDeleteRequestBody_committerable
- type ItemItemContentsItemWithPathDeleteRequestBodyable
- type ItemItemContentsItemWithPathPutRequestBody
- func (m *ItemItemContentsItemWithPathPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemContentsItemWithPathPutRequestBody) GetAuthor() ItemItemContentsItemWithPathPutRequestBody_authorable
- func (m *ItemItemContentsItemWithPathPutRequestBody) GetBranch() *string
- func (m *ItemItemContentsItemWithPathPutRequestBody) GetCommitter() ItemItemContentsItemWithPathPutRequestBody_committerable
- func (m *ItemItemContentsItemWithPathPutRequestBody) GetContent() *string
- func (m *ItemItemContentsItemWithPathPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemContentsItemWithPathPutRequestBody) GetMessage() *string
- func (m *ItemItemContentsItemWithPathPutRequestBody) GetSha() *string
- func (m *ItemItemContentsItemWithPathPutRequestBody) Serialize(...) error
- func (m *ItemItemContentsItemWithPathPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemContentsItemWithPathPutRequestBody) SetAuthor(value ItemItemContentsItemWithPathPutRequestBody_authorable)
- func (m *ItemItemContentsItemWithPathPutRequestBody) SetBranch(value *string)
- func (m *ItemItemContentsItemWithPathPutRequestBody) SetCommitter(value ItemItemContentsItemWithPathPutRequestBody_committerable)
- func (m *ItemItemContentsItemWithPathPutRequestBody) SetContent(value *string)
- func (m *ItemItemContentsItemWithPathPutRequestBody) SetMessage(value *string)
- func (m *ItemItemContentsItemWithPathPutRequestBody) SetSha(value *string)
- type ItemItemContentsItemWithPathPutRequestBody_author
- func (m *ItemItemContentsItemWithPathPutRequestBody_author) GetAdditionalData() map[string]any
- func (m *ItemItemContentsItemWithPathPutRequestBody_author) GetDate() *string
- func (m *ItemItemContentsItemWithPathPutRequestBody_author) GetEmail() *string
- func (m *ItemItemContentsItemWithPathPutRequestBody_author) GetFieldDeserializers() ...
- func (m *ItemItemContentsItemWithPathPutRequestBody_author) GetName() *string
- func (m *ItemItemContentsItemWithPathPutRequestBody_author) Serialize(...) error
- func (m *ItemItemContentsItemWithPathPutRequestBody_author) SetAdditionalData(value map[string]any)
- func (m *ItemItemContentsItemWithPathPutRequestBody_author) SetDate(value *string)
- func (m *ItemItemContentsItemWithPathPutRequestBody_author) SetEmail(value *string)
- func (m *ItemItemContentsItemWithPathPutRequestBody_author) SetName(value *string)
- type ItemItemContentsItemWithPathPutRequestBody_authorable
- type ItemItemContentsItemWithPathPutRequestBody_committer
- func (m *ItemItemContentsItemWithPathPutRequestBody_committer) GetAdditionalData() map[string]any
- func (m *ItemItemContentsItemWithPathPutRequestBody_committer) GetDate() *string
- func (m *ItemItemContentsItemWithPathPutRequestBody_committer) GetEmail() *string
- func (m *ItemItemContentsItemWithPathPutRequestBody_committer) GetFieldDeserializers() ...
- func (m *ItemItemContentsItemWithPathPutRequestBody_committer) GetName() *string
- func (m *ItemItemContentsItemWithPathPutRequestBody_committer) Serialize(...) error
- func (m *ItemItemContentsItemWithPathPutRequestBody_committer) SetAdditionalData(value map[string]any)
- func (m *ItemItemContentsItemWithPathPutRequestBody_committer) SetDate(value *string)
- func (m *ItemItemContentsItemWithPathPutRequestBody_committer) SetEmail(value *string)
- func (m *ItemItemContentsItemWithPathPutRequestBody_committer) SetName(value *string)
- type ItemItemContentsItemWithPathPutRequestBody_committerable
- type ItemItemContentsItemWithPathPutRequestBodyable
- type ItemItemContentsRequestBuilder
- type ItemItemContentsWithPathItemRequestBuilder
- func (m *ItemItemContentsWithPathItemRequestBuilder) Delete(ctx context.Context, body ItemItemContentsItemWithPathDeleteRequestBodyable, ...) (...)
- func (m *ItemItemContentsWithPathItemRequestBuilder) Get(ctx context.Context, ...) (WithPathGetResponseable, error)
- func (m *ItemItemContentsWithPathItemRequestBuilder) Put(ctx context.Context, body ItemItemContentsItemWithPathPutRequestBodyable, ...) (...)
- func (m *ItemItemContentsWithPathItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, body ItemItemContentsItemWithPathDeleteRequestBodyable, ...) (...)
- func (m *ItemItemContentsWithPathItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemContentsWithPathItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemContentsItemWithPathPutRequestBodyable, ...) (...)
- func (m *ItemItemContentsWithPathItemRequestBuilder) WithUrl(rawUrl string) *ItemItemContentsWithPathItemRequestBuilder
- type ItemItemContentsWithPathItemRequestBuilderGetQueryParameters
- type ItemItemContributorsRequestBuilder
- type ItemItemContributorsRequestBuilderGetQueryParameters
- type ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBody
- func (m *ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBody) GetDismissedComment() *string
- func (m *ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBody) Serialize(...) error
- func (m *ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBody) SetDismissedComment(value *string)
- type ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBodyable
- type ItemItemDependabotAlertsRequestBuilder
- func (m *ItemItemDependabotAlertsRequestBuilder) ByAlert_number(alert_number int32) *ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder
- func (m *ItemItemDependabotAlertsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemDependabotAlertsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemDependabotAlertsRequestBuilder) WithUrl(rawUrl string) *ItemItemDependabotAlertsRequestBuilder
- type ItemItemDependabotAlertsRequestBuilderGetQueryParameters
- type ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder
- func NewItemItemDependabotAlertsWithAlert_numberItemRequestBuilder(rawUrl string, ...) *ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder
- func NewItemItemDependabotAlertsWithAlert_numberItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder
- func (m *ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder) WithUrl(rawUrl string) *ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder
- type ItemItemDependabotRequestBuilder
- type ItemItemDependabotSecretsGetResponse
- func (m *ItemItemDependabotSecretsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemItemDependabotSecretsGetResponse) GetFieldDeserializers() ...
- func (m *ItemItemDependabotSecretsGetResponse) GetSecrets() ...
- func (m *ItemItemDependabotSecretsGetResponse) GetTotalCount() *int32
- func (m *ItemItemDependabotSecretsGetResponse) Serialize(...) error
- func (m *ItemItemDependabotSecretsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemDependabotSecretsGetResponse) SetSecrets(...)
- func (m *ItemItemDependabotSecretsGetResponse) SetTotalCount(value *int32)
- type ItemItemDependabotSecretsGetResponseable
- type ItemItemDependabotSecretsItemWithSecret_namePutRequestBody
- func (m *ItemItemDependabotSecretsItemWithSecret_namePutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemDependabotSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue() *string
- func (m *ItemItemDependabotSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemDependabotSecretsItemWithSecret_namePutRequestBody) GetKeyId() *string
- func (m *ItemItemDependabotSecretsItemWithSecret_namePutRequestBody) Serialize(...) error
- func (m *ItemItemDependabotSecretsItemWithSecret_namePutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemDependabotSecretsItemWithSecret_namePutRequestBody) SetEncryptedValue(value *string)
- func (m *ItemItemDependabotSecretsItemWithSecret_namePutRequestBody) SetKeyId(value *string)
- type ItemItemDependabotSecretsItemWithSecret_namePutRequestBodyable
- type ItemItemDependabotSecretsPublicKeyRequestBuilder
- func (m *ItemItemDependabotSecretsPublicKeyRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemDependabotSecretsPublicKeyRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemDependabotSecretsPublicKeyRequestBuilder) WithUrl(rawUrl string) *ItemItemDependabotSecretsPublicKeyRequestBuilder
- type ItemItemDependabotSecretsRequestBuilder
- func (m *ItemItemDependabotSecretsRequestBuilder) BySecret_name(secret_name string) *ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder
- func (m *ItemItemDependabotSecretsRequestBuilder) Get(ctx context.Context, ...) (ItemItemDependabotSecretsGetResponseable, error)
- func (m *ItemItemDependabotSecretsRequestBuilder) PublicKey() *ItemItemDependabotSecretsPublicKeyRequestBuilder
- func (m *ItemItemDependabotSecretsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemDependabotSecretsRequestBuilder) WithUrl(rawUrl string) *ItemItemDependabotSecretsRequestBuilder
- type ItemItemDependabotSecretsRequestBuilderGetQueryParameters
- type ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder
- func NewItemItemDependabotSecretsWithSecret_nameItemRequestBuilder(rawUrl string, ...) *ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder
- func NewItemItemDependabotSecretsWithSecret_nameItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder
- func (m *ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder) Put(ctx context.Context, ...) (...)
- func (m *ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder) WithUrl(rawUrl string) *ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder
- type ItemItemDependencyGraphCompareRequestBuilder
- type ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder
- func NewItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder(rawUrl string, ...) *ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder
- func NewItemItemDependencyGraphCompareWithBaseheadItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder
- func (m *ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder) WithUrl(rawUrl string) *ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder
- type ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilderGetQueryParameters
- type ItemItemDependencyGraphRequestBuilder
- func (m *ItemItemDependencyGraphRequestBuilder) Compare() *ItemItemDependencyGraphCompareRequestBuilder
- func (m *ItemItemDependencyGraphRequestBuilder) Sbom() *ItemItemDependencyGraphSbomRequestBuilder
- func (m *ItemItemDependencyGraphRequestBuilder) Snapshots() *ItemItemDependencyGraphSnapshotsRequestBuilder
- type ItemItemDependencyGraphSbomRequestBuilder
- func (m *ItemItemDependencyGraphSbomRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemDependencyGraphSbomRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemDependencyGraphSbomRequestBuilder) WithUrl(rawUrl string) *ItemItemDependencyGraphSbomRequestBuilder
- type ItemItemDependencyGraphSnapshotsPostResponse
- func (m *ItemItemDependencyGraphSnapshotsPostResponse) GetAdditionalData() map[string]any
- func (m *ItemItemDependencyGraphSnapshotsPostResponse) GetCreatedAt() *string
- func (m *ItemItemDependencyGraphSnapshotsPostResponse) GetFieldDeserializers() ...
- func (m *ItemItemDependencyGraphSnapshotsPostResponse) GetId() *int32
- func (m *ItemItemDependencyGraphSnapshotsPostResponse) GetMessage() *string
- func (m *ItemItemDependencyGraphSnapshotsPostResponse) GetResult() *string
- func (m *ItemItemDependencyGraphSnapshotsPostResponse) Serialize(...) error
- func (m *ItemItemDependencyGraphSnapshotsPostResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemDependencyGraphSnapshotsPostResponse) SetCreatedAt(value *string)
- func (m *ItemItemDependencyGraphSnapshotsPostResponse) SetId(value *int32)
- func (m *ItemItemDependencyGraphSnapshotsPostResponse) SetMessage(value *string)
- func (m *ItemItemDependencyGraphSnapshotsPostResponse) SetResult(value *string)
- type ItemItemDependencyGraphSnapshotsPostResponseable
- type ItemItemDependencyGraphSnapshotsRequestBuilder
- func (m *ItemItemDependencyGraphSnapshotsRequestBuilder) Post(ctx context.Context, ...) (ItemItemDependencyGraphSnapshotsPostResponseable, error)
- func (m *ItemItemDependencyGraphSnapshotsRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemDependencyGraphSnapshotsRequestBuilder) WithUrl(rawUrl string) *ItemItemDependencyGraphSnapshotsRequestBuilder
- type ItemItemDeploymentsItemStatusesPostRequestBody
- func (m *ItemItemDeploymentsItemStatusesPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemDeploymentsItemStatusesPostRequestBody) GetAutoInactive() *bool
- func (m *ItemItemDeploymentsItemStatusesPostRequestBody) GetDescription() *string
- func (m *ItemItemDeploymentsItemStatusesPostRequestBody) GetEnvironment() *string
- func (m *ItemItemDeploymentsItemStatusesPostRequestBody) GetEnvironmentUrl() *string
- func (m *ItemItemDeploymentsItemStatusesPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemDeploymentsItemStatusesPostRequestBody) GetLogUrl() *string
- func (m *ItemItemDeploymentsItemStatusesPostRequestBody) GetTargetUrl() *string
- func (m *ItemItemDeploymentsItemStatusesPostRequestBody) Serialize(...) error
- func (m *ItemItemDeploymentsItemStatusesPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemDeploymentsItemStatusesPostRequestBody) SetAutoInactive(value *bool)
- func (m *ItemItemDeploymentsItemStatusesPostRequestBody) SetDescription(value *string)
- func (m *ItemItemDeploymentsItemStatusesPostRequestBody) SetEnvironment(value *string)
- func (m *ItemItemDeploymentsItemStatusesPostRequestBody) SetEnvironmentUrl(value *string)
- func (m *ItemItemDeploymentsItemStatusesPostRequestBody) SetLogUrl(value *string)
- func (m *ItemItemDeploymentsItemStatusesPostRequestBody) SetTargetUrl(value *string)
- type ItemItemDeploymentsItemStatusesPostRequestBodyable
- type ItemItemDeploymentsItemStatusesRequestBuilder
- func (m *ItemItemDeploymentsItemStatusesRequestBuilder) ByStatus_id(status_id int32) *ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder
- func (m *ItemItemDeploymentsItemStatusesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemDeploymentsItemStatusesRequestBuilder) Post(ctx context.Context, body ItemItemDeploymentsItemStatusesPostRequestBodyable, ...) (...)
- func (m *ItemItemDeploymentsItemStatusesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemDeploymentsItemStatusesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemDeploymentsItemStatusesPostRequestBodyable, ...) (...)
- func (m *ItemItemDeploymentsItemStatusesRequestBuilder) WithUrl(rawUrl string) *ItemItemDeploymentsItemStatusesRequestBuilder
- type ItemItemDeploymentsItemStatusesRequestBuilderGetQueryParameters
- type ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder
- func NewItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder(rawUrl string, ...) *ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder
- func NewItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder
- func (m *ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder
- type ItemItemDeploymentsPostRequestBody
- func (m *ItemItemDeploymentsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemDeploymentsPostRequestBody) GetAutoMerge() *bool
- func (m *ItemItemDeploymentsPostRequestBody) GetDescription() *string
- func (m *ItemItemDeploymentsPostRequestBody) GetEnvironment() *string
- func (m *ItemItemDeploymentsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemDeploymentsPostRequestBody) GetPayload() *string
- func (m *ItemItemDeploymentsPostRequestBody) GetProductionEnvironment() *bool
- func (m *ItemItemDeploymentsPostRequestBody) GetRef() *string
- func (m *ItemItemDeploymentsPostRequestBody) GetRequiredContexts() []string
- func (m *ItemItemDeploymentsPostRequestBody) GetTask() *string
- func (m *ItemItemDeploymentsPostRequestBody) GetTransientEnvironment() *bool
- func (m *ItemItemDeploymentsPostRequestBody) Serialize(...) error
- func (m *ItemItemDeploymentsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemDeploymentsPostRequestBody) SetAutoMerge(value *bool)
- func (m *ItemItemDeploymentsPostRequestBody) SetDescription(value *string)
- func (m *ItemItemDeploymentsPostRequestBody) SetEnvironment(value *string)
- func (m *ItemItemDeploymentsPostRequestBody) SetPayload(value *string)
- func (m *ItemItemDeploymentsPostRequestBody) SetProductionEnvironment(value *bool)
- func (m *ItemItemDeploymentsPostRequestBody) SetRef(value *string)
- func (m *ItemItemDeploymentsPostRequestBody) SetRequiredContexts(value []string)
- func (m *ItemItemDeploymentsPostRequestBody) SetTask(value *string)
- func (m *ItemItemDeploymentsPostRequestBody) SetTransientEnvironment(value *bool)
- type ItemItemDeploymentsPostRequestBodyable
- type ItemItemDeploymentsRequestBuilder
- func (m *ItemItemDeploymentsRequestBuilder) ByDeployment_id(deployment_id int32) *ItemItemDeploymentsWithDeployment_ItemRequestBuilder
- func (m *ItemItemDeploymentsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemDeploymentsRequestBuilder) Post(ctx context.Context, body ItemItemDeploymentsPostRequestBodyable, ...) (...)
- func (m *ItemItemDeploymentsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemDeploymentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemDeploymentsPostRequestBodyable, ...) (...)
- func (m *ItemItemDeploymentsRequestBuilder) WithUrl(rawUrl string) *ItemItemDeploymentsRequestBuilder
- type ItemItemDeploymentsRequestBuilderGetQueryParameters
- type ItemItemDeploymentsWithDeployment_ItemRequestBuilder
- func (m *ItemItemDeploymentsWithDeployment_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemDeploymentsWithDeployment_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemDeploymentsWithDeployment_ItemRequestBuilder) Statuses() *ItemItemDeploymentsItemStatusesRequestBuilder
- func (m *ItemItemDeploymentsWithDeployment_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemDeploymentsWithDeployment_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemDeploymentsWithDeployment_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemDeploymentsWithDeployment_ItemRequestBuilder
- type ItemItemDispatchesPostRequestBody
- func (m *ItemItemDispatchesPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemDispatchesPostRequestBody) GetClientPayload() ItemItemDispatchesPostRequestBody_client_payloadable
- func (m *ItemItemDispatchesPostRequestBody) GetEventType() *string
- func (m *ItemItemDispatchesPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemDispatchesPostRequestBody) Serialize(...) error
- func (m *ItemItemDispatchesPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemDispatchesPostRequestBody) SetClientPayload(value ItemItemDispatchesPostRequestBody_client_payloadable)
- func (m *ItemItemDispatchesPostRequestBody) SetEventType(value *string)
- type ItemItemDispatchesPostRequestBody_client_payload
- func (m *ItemItemDispatchesPostRequestBody_client_payload) GetAdditionalData() map[string]any
- func (m *ItemItemDispatchesPostRequestBody_client_payload) GetFieldDeserializers() ...
- func (m *ItemItemDispatchesPostRequestBody_client_payload) Serialize(...) error
- func (m *ItemItemDispatchesPostRequestBody_client_payload) SetAdditionalData(value map[string]any)
- type ItemItemDispatchesPostRequestBody_client_payloadable
- type ItemItemDispatchesPostRequestBodyable
- type ItemItemDispatchesRequestBuilder
- func (m *ItemItemDispatchesRequestBuilder) Post(ctx context.Context, body ItemItemDispatchesPostRequestBodyable, ...) error
- func (m *ItemItemDispatchesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemDispatchesPostRequestBodyable, ...) (...)
- func (m *ItemItemDispatchesRequestBuilder) WithUrl(rawUrl string) *ItemItemDispatchesRequestBuilder
- type ItemItemEnvironmentsGetResponse
- func (m *ItemItemEnvironmentsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemItemEnvironmentsGetResponse) GetEnvironments() ...
- func (m *ItemItemEnvironmentsGetResponse) GetFieldDeserializers() ...
- func (m *ItemItemEnvironmentsGetResponse) GetTotalCount() *int32
- func (m *ItemItemEnvironmentsGetResponse) Serialize(...) error
- func (m *ItemItemEnvironmentsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemEnvironmentsGetResponse) SetEnvironments(...)
- func (m *ItemItemEnvironmentsGetResponse) SetTotalCount(value *int32)
- type ItemItemEnvironmentsGetResponseable
- type ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse
- func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) GetAdditionalData() map[string]any
- func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) GetBranchPolicies() ...
- func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) GetFieldDeserializers() ...
- func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) GetTotalCount() *int32
- func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) Serialize(...) error
- func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) SetBranchPolicies(...)
- func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) SetTotalCount(value *int32)
- type ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponseable
- type ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder
- func NewItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder(rawUrl string, ...) *ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder
- func NewItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder
- func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder) ByBranch_policy_id(branch_policy_id int32) ...
- func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder) Get(ctx context.Context, ...) (ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponseable, error)
- func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder) WithUrl(rawUrl string) *ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder
- type ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilderGetQueryParameters
- type ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder
- func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder) Put(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder) WithUrl(rawUrl string) ...
- type ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) GetAvailableCustomDeploymentProtectionRuleIntegrations() ...
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) GetFieldDeserializers() ...
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) GetTotalCount() *int32
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) Serialize(...) error
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) SetAvailableCustomDeploymentProtectionRuleIntegrations(...)
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) SetTotalCount(value *int32)
- type ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponseable
- type ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder
- func NewItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder(rawUrl string, ...) *ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder
- func NewItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder) Get(ctx context.Context, ...) (ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponseable, error)
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder) WithUrl(rawUrl string) *ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder
- type ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilderGetQueryParameters
- type ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) GetAdditionalData() map[string]any
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) GetCustomDeploymentProtectionRules() ...
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) GetFieldDeserializers() ...
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) GetTotalCount() *int32
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) Serialize(...) error
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) SetCustomDeploymentProtectionRules(...)
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) SetTotalCount(value *int32)
- type ItemItemEnvironmentsItemDeployment_protection_rulesGetResponseable
- type ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody) GetIntegrationId() *int32
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody) Serialize(...) error
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody) SetIntegrationId(value *int32)
- type ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBodyable
- type ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder
- func NewItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder(rawUrl string, ...) *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder
- func NewItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder) Apps() *ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder) ByProtection_rule_id(protection_rule_id int32) ...
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder) Get(ctx context.Context, ...) (ItemItemEnvironmentsItemDeployment_protection_rulesGetResponseable, error)
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder) WithUrl(rawUrl string) *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder
- type ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder) WithUrl(rawUrl string) ...
- type ItemItemEnvironmentsItemSecretsGetResponse
- func (m *ItemItemEnvironmentsItemSecretsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemItemEnvironmentsItemSecretsGetResponse) GetFieldDeserializers() ...
- func (m *ItemItemEnvironmentsItemSecretsGetResponse) GetSecrets() ...
- func (m *ItemItemEnvironmentsItemSecretsGetResponse) GetTotalCount() *int32
- func (m *ItemItemEnvironmentsItemSecretsGetResponse) Serialize(...) error
- func (m *ItemItemEnvironmentsItemSecretsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemEnvironmentsItemSecretsGetResponse) SetSecrets(...)
- func (m *ItemItemEnvironmentsItemSecretsGetResponse) SetTotalCount(value *int32)
- type ItemItemEnvironmentsItemSecretsGetResponseable
- type ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody
- func (m *ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue() *string
- func (m *ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) GetKeyId() *string
- func (m *ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) Serialize(...) error
- func (m *ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) SetEncryptedValue(value *string)
- func (m *ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) SetKeyId(value *string)
- type ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBodyable
- type ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder
- func NewItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder(rawUrl string, ...) *ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder
- func NewItemItemEnvironmentsItemSecretsPublicKeyRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder
- func (m *ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder) WithUrl(rawUrl string) *ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder
- type ItemItemEnvironmentsItemSecretsRequestBuilder
- func (m *ItemItemEnvironmentsItemSecretsRequestBuilder) BySecret_name(secret_name string) *ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder
- func (m *ItemItemEnvironmentsItemSecretsRequestBuilder) Get(ctx context.Context, ...) (ItemItemEnvironmentsItemSecretsGetResponseable, error)
- func (m *ItemItemEnvironmentsItemSecretsRequestBuilder) PublicKey() *ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder
- func (m *ItemItemEnvironmentsItemSecretsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemSecretsRequestBuilder) WithUrl(rawUrl string) *ItemItemEnvironmentsItemSecretsRequestBuilder
- type ItemItemEnvironmentsItemSecretsRequestBuilderGetQueryParameters
- type ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder
- func NewItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder(rawUrl string, ...) *ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder
- func NewItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder
- func (m *ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) Put(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) WithUrl(rawUrl string) *ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder
- type ItemItemEnvironmentsItemVariablesGetResponse
- func (m *ItemItemEnvironmentsItemVariablesGetResponse) GetAdditionalData() map[string]any
- func (m *ItemItemEnvironmentsItemVariablesGetResponse) GetFieldDeserializers() ...
- func (m *ItemItemEnvironmentsItemVariablesGetResponse) GetTotalCount() *int32
- func (m *ItemItemEnvironmentsItemVariablesGetResponse) GetVariables() ...
- func (m *ItemItemEnvironmentsItemVariablesGetResponse) Serialize(...) error
- func (m *ItemItemEnvironmentsItemVariablesGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemEnvironmentsItemVariablesGetResponse) SetTotalCount(value *int32)
- func (m *ItemItemEnvironmentsItemVariablesGetResponse) SetVariables(...)
- type ItemItemEnvironmentsItemVariablesGetResponseable
- type ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody
- func (m *ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) GetName() *string
- func (m *ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) GetValue() *string
- func (m *ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) Serialize(...) error
- func (m *ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) SetName(value *string)
- func (m *ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) SetValue(value *string)
- type ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBodyable
- type ItemItemEnvironmentsItemVariablesPostRequestBody
- func (m *ItemItemEnvironmentsItemVariablesPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemEnvironmentsItemVariablesPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemEnvironmentsItemVariablesPostRequestBody) GetName() *string
- func (m *ItemItemEnvironmentsItemVariablesPostRequestBody) GetValue() *string
- func (m *ItemItemEnvironmentsItemVariablesPostRequestBody) Serialize(...) error
- func (m *ItemItemEnvironmentsItemVariablesPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemEnvironmentsItemVariablesPostRequestBody) SetName(value *string)
- func (m *ItemItemEnvironmentsItemVariablesPostRequestBody) SetValue(value *string)
- type ItemItemEnvironmentsItemVariablesPostRequestBodyable
- type ItemItemEnvironmentsItemVariablesRequestBuilder
- func (m *ItemItemEnvironmentsItemVariablesRequestBuilder) ByName(name string) *ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder
- func (m *ItemItemEnvironmentsItemVariablesRequestBuilder) Get(ctx context.Context, ...) (ItemItemEnvironmentsItemVariablesGetResponseable, error)
- func (m *ItemItemEnvironmentsItemVariablesRequestBuilder) Post(ctx context.Context, body ItemItemEnvironmentsItemVariablesPostRequestBodyable, ...) (...)
- func (m *ItemItemEnvironmentsItemVariablesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemVariablesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemEnvironmentsItemVariablesPostRequestBodyable, ...) (...)
- func (m *ItemItemEnvironmentsItemVariablesRequestBuilder) WithUrl(rawUrl string) *ItemItemEnvironmentsItemVariablesRequestBuilder
- type ItemItemEnvironmentsItemVariablesRequestBuilderGetQueryParameters
- type ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder
- func NewItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder(rawUrl string, ...) *ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder
- func NewItemItemEnvironmentsItemVariablesWithNameItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder
- func (m *ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder) Patch(ctx context.Context, ...) error
- func (m *ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder) WithUrl(rawUrl string) *ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder
- type ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody
- func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) GetDeploymentBranchPolicy() ...
- func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) GetReviewers() []ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewersable
- func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) GetWaitTimer() *int32
- func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) Serialize(...) error
- func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) SetDeploymentBranchPolicy(...)
- func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) SetReviewers(...)
- func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) SetWaitTimer(value *int32)
- type ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers
- func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) GetAdditionalData() map[string]any
- func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) GetFieldDeserializers() ...
- func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) GetId() *int32
- func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) GetTypeEscaped() ...
- func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) Serialize(...) error
- func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) SetAdditionalData(value map[string]any)
- func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) SetId(value *int32)
- func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) SetTypeEscaped(...)
- type ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewersable
- type ItemItemEnvironmentsItemWithEnvironment_namePutRequestBodyable
- type ItemItemEnvironmentsRequestBuilder
- func (m *ItemItemEnvironmentsRequestBuilder) ByEnvironment_name(environment_name string) *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder
- func (m *ItemItemEnvironmentsRequestBuilder) Get(ctx context.Context, ...) (ItemItemEnvironmentsGetResponseable, error)
- func (m *ItemItemEnvironmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsRequestBuilder) WithUrl(rawUrl string) *ItemItemEnvironmentsRequestBuilder
- type ItemItemEnvironmentsRequestBuilderGetQueryParameters
- type ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder
- func NewItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder(rawUrl string, ...) *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder
- func NewItemItemEnvironmentsWithEnvironment_nameItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder
- func (m *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) DeploymentBranchPolicies() *ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder
- func (m *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) Deployment_protection_rules() *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder
- func (m *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) Put(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) Secrets() *ItemItemEnvironmentsItemSecretsRequestBuilder
- func (m *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) Variables() *ItemItemEnvironmentsItemVariablesRequestBuilder
- func (m *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) WithUrl(rawUrl string) *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder
- type ItemItemEventsRequestBuilder
- func (m *ItemItemEventsRequestBuilder) Get(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Eventable, ...)
- func (m *ItemItemEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemEventsRequestBuilder) WithUrl(rawUrl string) *ItemItemEventsRequestBuilder
- type ItemItemEventsRequestBuilderGetQueryParameters
- type ItemItemForksPostRequestBody
- func (m *ItemItemForksPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemForksPostRequestBody) GetDefaultBranchOnly() *bool
- func (m *ItemItemForksPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemForksPostRequestBody) GetName() *string
- func (m *ItemItemForksPostRequestBody) GetOrganization() *string
- func (m *ItemItemForksPostRequestBody) Serialize(...) error
- func (m *ItemItemForksPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemForksPostRequestBody) SetDefaultBranchOnly(value *bool)
- func (m *ItemItemForksPostRequestBody) SetName(value *string)
- func (m *ItemItemForksPostRequestBody) SetOrganization(value *string)
- type ItemItemForksPostRequestBodyable
- type ItemItemForksRequestBuilder
- func (m *ItemItemForksRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemForksRequestBuilder) Post(ctx context.Context, body ItemItemForksPostRequestBodyable, ...) (...)
- func (m *ItemItemForksRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemForksRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemForksPostRequestBodyable, ...) (...)
- func (m *ItemItemForksRequestBuilder) WithUrl(rawUrl string) *ItemItemForksRequestBuilder
- type ItemItemForksRequestBuilderGetQueryParameters
- type ItemItemGeneratePostRequestBody
- func (m *ItemItemGeneratePostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemGeneratePostRequestBody) GetDescription() *string
- func (m *ItemItemGeneratePostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemGeneratePostRequestBody) GetIncludeAllBranches() *bool
- func (m *ItemItemGeneratePostRequestBody) GetName() *string
- func (m *ItemItemGeneratePostRequestBody) GetOwner() *string
- func (m *ItemItemGeneratePostRequestBody) GetPrivate() *bool
- func (m *ItemItemGeneratePostRequestBody) Serialize(...) error
- func (m *ItemItemGeneratePostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemGeneratePostRequestBody) SetDescription(value *string)
- func (m *ItemItemGeneratePostRequestBody) SetIncludeAllBranches(value *bool)
- func (m *ItemItemGeneratePostRequestBody) SetName(value *string)
- func (m *ItemItemGeneratePostRequestBody) SetOwner(value *string)
- func (m *ItemItemGeneratePostRequestBody) SetPrivate(value *bool)
- type ItemItemGeneratePostRequestBodyable
- type ItemItemGenerateRequestBuilder
- func (m *ItemItemGenerateRequestBuilder) Post(ctx context.Context, body ItemItemGeneratePostRequestBodyable, ...) (...)
- func (m *ItemItemGenerateRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemGeneratePostRequestBodyable, ...) (...)
- func (m *ItemItemGenerateRequestBuilder) WithUrl(rawUrl string) *ItemItemGenerateRequestBuilder
- type ItemItemGitBlobsPostRequestBody
- func (m *ItemItemGitBlobsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemGitBlobsPostRequestBody) GetContent() *string
- func (m *ItemItemGitBlobsPostRequestBody) GetEncoding() *string
- func (m *ItemItemGitBlobsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemGitBlobsPostRequestBody) Serialize(...) error
- func (m *ItemItemGitBlobsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemGitBlobsPostRequestBody) SetContent(value *string)
- func (m *ItemItemGitBlobsPostRequestBody) SetEncoding(value *string)
- type ItemItemGitBlobsPostRequestBodyable
- type ItemItemGitBlobsRequestBuilder
- func (m *ItemItemGitBlobsRequestBuilder) ByFile_sha(file_sha string) *ItemItemGitBlobsWithFile_shaItemRequestBuilder
- func (m *ItemItemGitBlobsRequestBuilder) Post(ctx context.Context, body ItemItemGitBlobsPostRequestBodyable, ...) (...)
- func (m *ItemItemGitBlobsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemGitBlobsPostRequestBodyable, ...) (...)
- func (m *ItemItemGitBlobsRequestBuilder) WithUrl(rawUrl string) *ItemItemGitBlobsRequestBuilder
- type ItemItemGitBlobsWithFile_shaItemRequestBuilder
- func (m *ItemItemGitBlobsWithFile_shaItemRequestBuilder) Get(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Blobable, ...)
- func (m *ItemItemGitBlobsWithFile_shaItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemGitBlobsWithFile_shaItemRequestBuilder) WithUrl(rawUrl string) *ItemItemGitBlobsWithFile_shaItemRequestBuilder
- type ItemItemGitCommitsPostRequestBody
- func (m *ItemItemGitCommitsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemGitCommitsPostRequestBody) GetAuthor() ItemItemGitCommitsPostRequestBody_authorable
- func (m *ItemItemGitCommitsPostRequestBody) GetCommitter() ItemItemGitCommitsPostRequestBody_committerable
- func (m *ItemItemGitCommitsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemGitCommitsPostRequestBody) GetMessage() *string
- func (m *ItemItemGitCommitsPostRequestBody) GetParents() []string
- func (m *ItemItemGitCommitsPostRequestBody) GetSignature() *string
- func (m *ItemItemGitCommitsPostRequestBody) GetTree() *string
- func (m *ItemItemGitCommitsPostRequestBody) Serialize(...) error
- func (m *ItemItemGitCommitsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemGitCommitsPostRequestBody) SetAuthor(value ItemItemGitCommitsPostRequestBody_authorable)
- func (m *ItemItemGitCommitsPostRequestBody) SetCommitter(value ItemItemGitCommitsPostRequestBody_committerable)
- func (m *ItemItemGitCommitsPostRequestBody) SetMessage(value *string)
- func (m *ItemItemGitCommitsPostRequestBody) SetParents(value []string)
- func (m *ItemItemGitCommitsPostRequestBody) SetSignature(value *string)
- func (m *ItemItemGitCommitsPostRequestBody) SetTree(value *string)
- type ItemItemGitCommitsPostRequestBody_author
- func (m *ItemItemGitCommitsPostRequestBody_author) GetAdditionalData() map[string]any
- func (m *ItemItemGitCommitsPostRequestBody_author) GetDate() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
- func (m *ItemItemGitCommitsPostRequestBody_author) GetEmail() *string
- func (m *ItemItemGitCommitsPostRequestBody_author) GetFieldDeserializers() ...
- func (m *ItemItemGitCommitsPostRequestBody_author) GetName() *string
- func (m *ItemItemGitCommitsPostRequestBody_author) Serialize(...) error
- func (m *ItemItemGitCommitsPostRequestBody_author) SetAdditionalData(value map[string]any)
- func (m *ItemItemGitCommitsPostRequestBody_author) SetDate(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
- func (m *ItemItemGitCommitsPostRequestBody_author) SetEmail(value *string)
- func (m *ItemItemGitCommitsPostRequestBody_author) SetName(value *string)
- type ItemItemGitCommitsPostRequestBody_authorable
- type ItemItemGitCommitsPostRequestBody_committer
- func (m *ItemItemGitCommitsPostRequestBody_committer) GetAdditionalData() map[string]any
- func (m *ItemItemGitCommitsPostRequestBody_committer) GetDate() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
- func (m *ItemItemGitCommitsPostRequestBody_committer) GetEmail() *string
- func (m *ItemItemGitCommitsPostRequestBody_committer) GetFieldDeserializers() ...
- func (m *ItemItemGitCommitsPostRequestBody_committer) GetName() *string
- func (m *ItemItemGitCommitsPostRequestBody_committer) Serialize(...) error
- func (m *ItemItemGitCommitsPostRequestBody_committer) SetAdditionalData(value map[string]any)
- func (m *ItemItemGitCommitsPostRequestBody_committer) SetDate(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
- func (m *ItemItemGitCommitsPostRequestBody_committer) SetEmail(value *string)
- func (m *ItemItemGitCommitsPostRequestBody_committer) SetName(value *string)
- type ItemItemGitCommitsPostRequestBody_committerable
- type ItemItemGitCommitsPostRequestBodyable
- type ItemItemGitCommitsRequestBuilder
- func (m *ItemItemGitCommitsRequestBuilder) ByCommit_sha(commit_sha string) *ItemItemGitCommitsWithCommit_shaItemRequestBuilder
- func (m *ItemItemGitCommitsRequestBuilder) Post(ctx context.Context, body ItemItemGitCommitsPostRequestBodyable, ...) (...)
- func (m *ItemItemGitCommitsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemGitCommitsPostRequestBodyable, ...) (...)
- func (m *ItemItemGitCommitsRequestBuilder) WithUrl(rawUrl string) *ItemItemGitCommitsRequestBuilder
- type ItemItemGitCommitsWithCommit_shaItemRequestBuilder
- func (m *ItemItemGitCommitsWithCommit_shaItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemGitCommitsWithCommit_shaItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemGitCommitsWithCommit_shaItemRequestBuilder) WithUrl(rawUrl string) *ItemItemGitCommitsWithCommit_shaItemRequestBuilder
- type ItemItemGitMatchingRefsRequestBuilder
- type ItemItemGitMatchingRefsWithRefItemRequestBuilder
- func (m *ItemItemGitMatchingRefsWithRefItemRequestBuilder) Get(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.GitRefable, ...)
- func (m *ItemItemGitMatchingRefsWithRefItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemGitMatchingRefsWithRefItemRequestBuilder) WithUrl(rawUrl string) *ItemItemGitMatchingRefsWithRefItemRequestBuilder
- type ItemItemGitRefRequestBuilder
- type ItemItemGitRefWithRefItemRequestBuilder
- func (m *ItemItemGitRefWithRefItemRequestBuilder) Get(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.GitRefable, ...)
- func (m *ItemItemGitRefWithRefItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemGitRefWithRefItemRequestBuilder) WithUrl(rawUrl string) *ItemItemGitRefWithRefItemRequestBuilder
- type ItemItemGitRefsItemWithRefPatchRequestBody
- func (m *ItemItemGitRefsItemWithRefPatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemGitRefsItemWithRefPatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemGitRefsItemWithRefPatchRequestBody) GetForce() *bool
- func (m *ItemItemGitRefsItemWithRefPatchRequestBody) GetSha() *string
- func (m *ItemItemGitRefsItemWithRefPatchRequestBody) Serialize(...) error
- func (m *ItemItemGitRefsItemWithRefPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemGitRefsItemWithRefPatchRequestBody) SetForce(value *bool)
- func (m *ItemItemGitRefsItemWithRefPatchRequestBody) SetSha(value *string)
- type ItemItemGitRefsItemWithRefPatchRequestBodyable
- type ItemItemGitRefsPostRequestBody
- func (m *ItemItemGitRefsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemGitRefsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemGitRefsPostRequestBody) GetRef() *string
- func (m *ItemItemGitRefsPostRequestBody) GetSha() *string
- func (m *ItemItemGitRefsPostRequestBody) Serialize(...) error
- func (m *ItemItemGitRefsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemGitRefsPostRequestBody) SetRef(value *string)
- func (m *ItemItemGitRefsPostRequestBody) SetSha(value *string)
- type ItemItemGitRefsPostRequestBodyable
- type ItemItemGitRefsRequestBuilder
- func (m *ItemItemGitRefsRequestBuilder) ByRef(ref string) *ItemItemGitRefsWithRefItemRequestBuilder
- func (m *ItemItemGitRefsRequestBuilder) Post(ctx context.Context, body ItemItemGitRefsPostRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.GitRefable, ...)
- func (m *ItemItemGitRefsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemGitRefsPostRequestBodyable, ...) (...)
- func (m *ItemItemGitRefsRequestBuilder) WithUrl(rawUrl string) *ItemItemGitRefsRequestBuilder
- type ItemItemGitRefsWithRefItemRequestBuilder
- func (m *ItemItemGitRefsWithRefItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemGitRefsWithRefItemRequestBuilder) Patch(ctx context.Context, body ItemItemGitRefsItemWithRefPatchRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.GitRefable, ...)
- func (m *ItemItemGitRefsWithRefItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemGitRefsWithRefItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemGitRefsItemWithRefPatchRequestBodyable, ...) (...)
- func (m *ItemItemGitRefsWithRefItemRequestBuilder) WithUrl(rawUrl string) *ItemItemGitRefsWithRefItemRequestBuilder
- type ItemItemGitRequestBuilder
- func (m *ItemItemGitRequestBuilder) Blobs() *ItemItemGitBlobsRequestBuilder
- func (m *ItemItemGitRequestBuilder) Commits() *ItemItemGitCommitsRequestBuilder
- func (m *ItemItemGitRequestBuilder) MatchingRefs() *ItemItemGitMatchingRefsRequestBuilder
- func (m *ItemItemGitRequestBuilder) Ref() *ItemItemGitRefRequestBuilder
- func (m *ItemItemGitRequestBuilder) Refs() *ItemItemGitRefsRequestBuilder
- func (m *ItemItemGitRequestBuilder) Tags() *ItemItemGitTagsRequestBuilder
- func (m *ItemItemGitRequestBuilder) Trees() *ItemItemGitTreesRequestBuilder
- type ItemItemGitTagsPostRequestBody
- func (m *ItemItemGitTagsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemGitTagsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemGitTagsPostRequestBody) GetMessage() *string
- func (m *ItemItemGitTagsPostRequestBody) GetObject() *string
- func (m *ItemItemGitTagsPostRequestBody) GetTag() *string
- func (m *ItemItemGitTagsPostRequestBody) GetTagger() ItemItemGitTagsPostRequestBody_taggerable
- func (m *ItemItemGitTagsPostRequestBody) Serialize(...) error
- func (m *ItemItemGitTagsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemGitTagsPostRequestBody) SetMessage(value *string)
- func (m *ItemItemGitTagsPostRequestBody) SetObject(value *string)
- func (m *ItemItemGitTagsPostRequestBody) SetTag(value *string)
- func (m *ItemItemGitTagsPostRequestBody) SetTagger(value ItemItemGitTagsPostRequestBody_taggerable)
- type ItemItemGitTagsPostRequestBody_tagger
- func (m *ItemItemGitTagsPostRequestBody_tagger) GetAdditionalData() map[string]any
- func (m *ItemItemGitTagsPostRequestBody_tagger) GetDate() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
- func (m *ItemItemGitTagsPostRequestBody_tagger) GetEmail() *string
- func (m *ItemItemGitTagsPostRequestBody_tagger) GetFieldDeserializers() ...
- func (m *ItemItemGitTagsPostRequestBody_tagger) GetName() *string
- func (m *ItemItemGitTagsPostRequestBody_tagger) Serialize(...) error
- func (m *ItemItemGitTagsPostRequestBody_tagger) SetAdditionalData(value map[string]any)
- func (m *ItemItemGitTagsPostRequestBody_tagger) SetDate(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
- func (m *ItemItemGitTagsPostRequestBody_tagger) SetEmail(value *string)
- func (m *ItemItemGitTagsPostRequestBody_tagger) SetName(value *string)
- type ItemItemGitTagsPostRequestBody_taggerable
- type ItemItemGitTagsPostRequestBodyable
- type ItemItemGitTagsRequestBuilder
- func (m *ItemItemGitTagsRequestBuilder) ByTag_sha(tag_sha string) *ItemItemGitTagsWithTag_shaItemRequestBuilder
- func (m *ItemItemGitTagsRequestBuilder) Post(ctx context.Context, body ItemItemGitTagsPostRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.GitTagable, ...)
- func (m *ItemItemGitTagsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemGitTagsPostRequestBodyable, ...) (...)
- func (m *ItemItemGitTagsRequestBuilder) WithUrl(rawUrl string) *ItemItemGitTagsRequestBuilder
- type ItemItemGitTagsWithTag_shaItemRequestBuilder
- func (m *ItemItemGitTagsWithTag_shaItemRequestBuilder) Get(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.GitTagable, ...)
- func (m *ItemItemGitTagsWithTag_shaItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemGitTagsWithTag_shaItemRequestBuilder) WithUrl(rawUrl string) *ItemItemGitTagsWithTag_shaItemRequestBuilder
- type ItemItemGitTreesPostRequestBody
- func (m *ItemItemGitTreesPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemGitTreesPostRequestBody) GetBaseTree() *string
- func (m *ItemItemGitTreesPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemGitTreesPostRequestBody) GetTree() []ItemItemGitTreesPostRequestBody_treeable
- func (m *ItemItemGitTreesPostRequestBody) Serialize(...) error
- func (m *ItemItemGitTreesPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemGitTreesPostRequestBody) SetBaseTree(value *string)
- func (m *ItemItemGitTreesPostRequestBody) SetTree(value []ItemItemGitTreesPostRequestBody_treeable)
- type ItemItemGitTreesPostRequestBody_tree
- func (m *ItemItemGitTreesPostRequestBody_tree) GetAdditionalData() map[string]any
- func (m *ItemItemGitTreesPostRequestBody_tree) GetContent() *string
- func (m *ItemItemGitTreesPostRequestBody_tree) GetFieldDeserializers() ...
- func (m *ItemItemGitTreesPostRequestBody_tree) GetPath() *string
- func (m *ItemItemGitTreesPostRequestBody_tree) GetSha() *string
- func (m *ItemItemGitTreesPostRequestBody_tree) Serialize(...) error
- func (m *ItemItemGitTreesPostRequestBody_tree) SetAdditionalData(value map[string]any)
- func (m *ItemItemGitTreesPostRequestBody_tree) SetContent(value *string)
- func (m *ItemItemGitTreesPostRequestBody_tree) SetPath(value *string)
- func (m *ItemItemGitTreesPostRequestBody_tree) SetSha(value *string)
- type ItemItemGitTreesPostRequestBody_treeable
- type ItemItemGitTreesPostRequestBodyable
- type ItemItemGitTreesRequestBuilder
- func (m *ItemItemGitTreesRequestBuilder) ByTree_sha(tree_sha string) *ItemItemGitTreesWithTree_shaItemRequestBuilder
- func (m *ItemItemGitTreesRequestBuilder) Post(ctx context.Context, body ItemItemGitTreesPostRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.GitTreeable, ...)
- func (m *ItemItemGitTreesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemGitTreesPostRequestBodyable, ...) (...)
- func (m *ItemItemGitTreesRequestBuilder) WithUrl(rawUrl string) *ItemItemGitTreesRequestBuilder
- type ItemItemGitTreesWithTree_shaItemRequestBuilder
- func (m *ItemItemGitTreesWithTree_shaItemRequestBuilder) Get(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.GitTreeable, ...)
- func (m *ItemItemGitTreesWithTree_shaItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemGitTreesWithTree_shaItemRequestBuilder) WithUrl(rawUrl string) *ItemItemGitTreesWithTree_shaItemRequestBuilder
- type ItemItemGitTreesWithTree_shaItemRequestBuilderGetQueryParameters
- type ItemItemHooksItemConfigPatchRequestBody
- func (m *ItemItemHooksItemConfigPatchRequestBody) GetContentType() *string
- func (m *ItemItemHooksItemConfigPatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemHooksItemConfigPatchRequestBody) GetInsecureSsl() ...
- func (m *ItemItemHooksItemConfigPatchRequestBody) GetSecret() *string
- func (m *ItemItemHooksItemConfigPatchRequestBody) GetUrl() *string
- func (m *ItemItemHooksItemConfigPatchRequestBody) Serialize(...) error
- func (m *ItemItemHooksItemConfigPatchRequestBody) SetContentType(value *string)
- func (m *ItemItemHooksItemConfigPatchRequestBody) SetInsecureSsl(...)
- func (m *ItemItemHooksItemConfigPatchRequestBody) SetSecret(value *string)
- func (m *ItemItemHooksItemConfigPatchRequestBody) SetUrl(value *string)
- type ItemItemHooksItemConfigPatchRequestBodyable
- type ItemItemHooksItemConfigRequestBuilder
- func (m *ItemItemHooksItemConfigRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemHooksItemConfigRequestBuilder) Patch(ctx context.Context, body ItemItemHooksItemConfigPatchRequestBodyable, ...) (...)
- func (m *ItemItemHooksItemConfigRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemHooksItemConfigRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemHooksItemConfigPatchRequestBodyable, ...) (...)
- func (m *ItemItemHooksItemConfigRequestBuilder) WithUrl(rawUrl string) *ItemItemHooksItemConfigRequestBuilder
- type ItemItemHooksItemDeliveriesItemAttemptsPostResponse
- func (m *ItemItemHooksItemDeliveriesItemAttemptsPostResponse) GetAdditionalData() map[string]any
- func (m *ItemItemHooksItemDeliveriesItemAttemptsPostResponse) GetFieldDeserializers() ...
- func (m *ItemItemHooksItemDeliveriesItemAttemptsPostResponse) Serialize(...) error
- func (m *ItemItemHooksItemDeliveriesItemAttemptsPostResponse) SetAdditionalData(value map[string]any)
- type ItemItemHooksItemDeliveriesItemAttemptsPostResponseable
- type ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder
- func NewItemItemHooksItemDeliveriesItemAttemptsRequestBuilder(rawUrl string, ...) *ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder
- func NewItemItemHooksItemDeliveriesItemAttemptsRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder
- func (m *ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder) Post(ctx context.Context, ...) (ItemItemHooksItemDeliveriesItemAttemptsPostResponseable, error)
- func (m *ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder) WithUrl(rawUrl string) *ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder
- type ItemItemHooksItemDeliveriesRequestBuilder
- func (m *ItemItemHooksItemDeliveriesRequestBuilder) ByDelivery_id(delivery_id int32) *ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder
- func (m *ItemItemHooksItemDeliveriesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemHooksItemDeliveriesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemHooksItemDeliveriesRequestBuilder) WithUrl(rawUrl string) *ItemItemHooksItemDeliveriesRequestBuilder
- type ItemItemHooksItemDeliveriesRequestBuilderGetQueryParameters
- type ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder
- func NewItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder(rawUrl string, ...) *ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder
- func NewItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder
- func (m *ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) Attempts() *ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder
- func (m *ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder
- type ItemItemHooksItemPingsRequestBuilder
- type ItemItemHooksItemTestsRequestBuilder
- type ItemItemHooksItemWithHook_PatchRequestBody
- func (m *ItemItemHooksItemWithHook_PatchRequestBody) GetActive() *bool
- func (m *ItemItemHooksItemWithHook_PatchRequestBody) GetAddEvents() []string
- func (m *ItemItemHooksItemWithHook_PatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemHooksItemWithHook_PatchRequestBody) GetConfig() ...
- func (m *ItemItemHooksItemWithHook_PatchRequestBody) GetEvents() []string
- func (m *ItemItemHooksItemWithHook_PatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemHooksItemWithHook_PatchRequestBody) GetRemoveEvents() []string
- func (m *ItemItemHooksItemWithHook_PatchRequestBody) Serialize(...) error
- func (m *ItemItemHooksItemWithHook_PatchRequestBody) SetActive(value *bool)
- func (m *ItemItemHooksItemWithHook_PatchRequestBody) SetAddEvents(value []string)
- func (m *ItemItemHooksItemWithHook_PatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemHooksItemWithHook_PatchRequestBody) SetConfig(...)
- func (m *ItemItemHooksItemWithHook_PatchRequestBody) SetEvents(value []string)
- func (m *ItemItemHooksItemWithHook_PatchRequestBody) SetRemoveEvents(value []string)
- type ItemItemHooksItemWithHook_PatchRequestBodyable
- type ItemItemHooksPostRequestBody
- func (m *ItemItemHooksPostRequestBody) GetActive() *bool
- func (m *ItemItemHooksPostRequestBody) GetConfig() ItemItemHooksPostRequestBody_configable
- func (m *ItemItemHooksPostRequestBody) GetEvents() []string
- func (m *ItemItemHooksPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemHooksPostRequestBody) GetName() *string
- func (m *ItemItemHooksPostRequestBody) Serialize(...) error
- func (m *ItemItemHooksPostRequestBody) SetActive(value *bool)
- func (m *ItemItemHooksPostRequestBody) SetConfig(value ItemItemHooksPostRequestBody_configable)
- func (m *ItemItemHooksPostRequestBody) SetEvents(value []string)
- func (m *ItemItemHooksPostRequestBody) SetName(value *string)
- type ItemItemHooksPostRequestBody_config
- func (m *ItemItemHooksPostRequestBody_config) GetAdditionalData() map[string]any
- func (m *ItemItemHooksPostRequestBody_config) GetContentType() *string
- func (m *ItemItemHooksPostRequestBody_config) GetFieldDeserializers() ...
- func (m *ItemItemHooksPostRequestBody_config) GetInsecureSsl() ...
- func (m *ItemItemHooksPostRequestBody_config) GetSecret() *string
- func (m *ItemItemHooksPostRequestBody_config) GetUrl() *string
- func (m *ItemItemHooksPostRequestBody_config) Serialize(...) error
- func (m *ItemItemHooksPostRequestBody_config) SetAdditionalData(value map[string]any)
- func (m *ItemItemHooksPostRequestBody_config) SetContentType(value *string)
- func (m *ItemItemHooksPostRequestBody_config) SetInsecureSsl(...)
- func (m *ItemItemHooksPostRequestBody_config) SetSecret(value *string)
- func (m *ItemItemHooksPostRequestBody_config) SetUrl(value *string)
- type ItemItemHooksPostRequestBody_configable
- type ItemItemHooksPostRequestBodyable
- type ItemItemHooksRequestBuilder
- func (m *ItemItemHooksRequestBuilder) ByHook_id(hook_id int32) *ItemItemHooksWithHook_ItemRequestBuilder
- func (m *ItemItemHooksRequestBuilder) Get(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Hookable, ...)
- func (m *ItemItemHooksRequestBuilder) Post(ctx context.Context, body ItemItemHooksPostRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Hookable, ...)
- func (m *ItemItemHooksRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemHooksRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemHooksPostRequestBodyable, ...) (...)
- func (m *ItemItemHooksRequestBuilder) WithUrl(rawUrl string) *ItemItemHooksRequestBuilder
- type ItemItemHooksRequestBuilderGetQueryParameters
- type ItemItemHooksWithHook_ItemRequestBuilder
- func (m *ItemItemHooksWithHook_ItemRequestBuilder) Config() *ItemItemHooksItemConfigRequestBuilder
- func (m *ItemItemHooksWithHook_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemHooksWithHook_ItemRequestBuilder) Deliveries() *ItemItemHooksItemDeliveriesRequestBuilder
- func (m *ItemItemHooksWithHook_ItemRequestBuilder) Get(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Hookable, ...)
- func (m *ItemItemHooksWithHook_ItemRequestBuilder) Patch(ctx context.Context, body ItemItemHooksItemWithHook_PatchRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Hookable, ...)
- func (m *ItemItemHooksWithHook_ItemRequestBuilder) Pings() *ItemItemHooksItemPingsRequestBuilder
- func (m *ItemItemHooksWithHook_ItemRequestBuilder) Tests() *ItemItemHooksItemTestsRequestBuilder
- func (m *ItemItemHooksWithHook_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemHooksWithHook_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemHooksWithHook_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemHooksItemWithHook_PatchRequestBodyable, ...) (...)
- func (m *ItemItemHooksWithHook_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemHooksWithHook_ItemRequestBuilder
- type ItemItemInstallationRequestBuilder
- type ItemItemInvitationsItemWithInvitation_PatchRequestBody
- func (m *ItemItemInvitationsItemWithInvitation_PatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemInvitationsItemWithInvitation_PatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemInvitationsItemWithInvitation_PatchRequestBody) Serialize(...) error
- func (m *ItemItemInvitationsItemWithInvitation_PatchRequestBody) SetAdditionalData(value map[string]any)
- type ItemItemInvitationsItemWithInvitation_PatchRequestBodyable
- type ItemItemInvitationsRequestBuilder
- func (m *ItemItemInvitationsRequestBuilder) ByInvitation_id(invitation_id int32) *ItemItemInvitationsWithInvitation_ItemRequestBuilder
- func (m *ItemItemInvitationsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemInvitationsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemInvitationsRequestBuilder) WithUrl(rawUrl string) *ItemItemInvitationsRequestBuilder
- type ItemItemInvitationsRequestBuilderGetQueryParameters
- type ItemItemInvitationsWithInvitation_ItemRequestBuilder
- func (m *ItemItemInvitationsWithInvitation_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemInvitationsWithInvitation_ItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *ItemItemInvitationsWithInvitation_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemInvitationsWithInvitation_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemInvitationsWithInvitation_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemInvitationsWithInvitation_ItemRequestBuilder
- type ItemItemIssuesCommentsItemReactionsPostRequestBody
- func (m *ItemItemIssuesCommentsItemReactionsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemIssuesCommentsItemReactionsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemIssuesCommentsItemReactionsPostRequestBody) Serialize(...) error
- func (m *ItemItemIssuesCommentsItemReactionsPostRequestBody) SetAdditionalData(value map[string]any)
- type ItemItemIssuesCommentsItemReactionsPostRequestBodyable
- type ItemItemIssuesCommentsItemReactionsRequestBuilder
- func (m *ItemItemIssuesCommentsItemReactionsRequestBuilder) ByReaction_id(reaction_id int32) *ItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder
- func (m *ItemItemIssuesCommentsItemReactionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesCommentsItemReactionsRequestBuilder) Post(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Reactionable, ...)
- func (m *ItemItemIssuesCommentsItemReactionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesCommentsItemReactionsRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesCommentsItemReactionsRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesCommentsItemReactionsRequestBuilder
- type ItemItemIssuesCommentsItemReactionsRequestBuilderGetQueryParameters
- type ItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder
- func NewItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder(rawUrl string, ...) *ItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder
- func NewItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder
- func (m *ItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder
- type ItemItemIssuesCommentsItemWithComment_PatchRequestBody
- func (m *ItemItemIssuesCommentsItemWithComment_PatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemIssuesCommentsItemWithComment_PatchRequestBody) GetBody() *string
- func (m *ItemItemIssuesCommentsItemWithComment_PatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemIssuesCommentsItemWithComment_PatchRequestBody) Serialize(...) error
- func (m *ItemItemIssuesCommentsItemWithComment_PatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemIssuesCommentsItemWithComment_PatchRequestBody) SetBody(value *string)
- type ItemItemIssuesCommentsItemWithComment_PatchRequestBodyable
- type ItemItemIssuesCommentsRequestBuilder
- func (m *ItemItemIssuesCommentsRequestBuilder) ByComment_id(comment_id int32) *ItemItemIssuesCommentsWithComment_ItemRequestBuilder
- func (m *ItemItemIssuesCommentsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesCommentsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesCommentsRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesCommentsRequestBuilder
- type ItemItemIssuesCommentsRequestBuilderGetQueryParameters
- type ItemItemIssuesCommentsWithComment_ItemRequestBuilder
- func (m *ItemItemIssuesCommentsWithComment_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemIssuesCommentsWithComment_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesCommentsWithComment_ItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesCommentsWithComment_ItemRequestBuilder) Reactions() *ItemItemIssuesCommentsItemReactionsRequestBuilder
- func (m *ItemItemIssuesCommentsWithComment_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesCommentsWithComment_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesCommentsWithComment_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesCommentsWithComment_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesCommentsWithComment_ItemRequestBuilder
- type ItemItemIssuesEventsRequestBuilder
- func (m *ItemItemIssuesEventsRequestBuilder) ByEvent_id(event_id int32) *ItemItemIssuesEventsWithEvent_ItemRequestBuilder
- func (m *ItemItemIssuesEventsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesEventsRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesEventsRequestBuilder
- type ItemItemIssuesEventsRequestBuilderGetQueryParameters
- type ItemItemIssuesEventsWithEvent_ItemRequestBuilder
- func (m *ItemItemIssuesEventsWithEvent_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesEventsWithEvent_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesEventsWithEvent_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesEventsWithEvent_ItemRequestBuilder
- type ItemItemIssuesItemAssigneesDeleteRequestBody
- func (m *ItemItemIssuesItemAssigneesDeleteRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemIssuesItemAssigneesDeleteRequestBody) GetAssignees() []string
- func (m *ItemItemIssuesItemAssigneesDeleteRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemIssuesItemAssigneesDeleteRequestBody) Serialize(...) error
- func (m *ItemItemIssuesItemAssigneesDeleteRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemIssuesItemAssigneesDeleteRequestBody) SetAssignees(value []string)
- type ItemItemIssuesItemAssigneesDeleteRequestBodyable
- type ItemItemIssuesItemAssigneesPostRequestBody
- func (m *ItemItemIssuesItemAssigneesPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemIssuesItemAssigneesPostRequestBody) GetAssignees() []string
- func (m *ItemItemIssuesItemAssigneesPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemIssuesItemAssigneesPostRequestBody) Serialize(...) error
- func (m *ItemItemIssuesItemAssigneesPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemIssuesItemAssigneesPostRequestBody) SetAssignees(value []string)
- type ItemItemIssuesItemAssigneesPostRequestBodyable
- type ItemItemIssuesItemAssigneesRequestBuilder
- func (m *ItemItemIssuesItemAssigneesRequestBuilder) ByAssignee(assignee string) *ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder
- func (m *ItemItemIssuesItemAssigneesRequestBuilder) Delete(ctx context.Context, body ItemItemIssuesItemAssigneesDeleteRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Issueable, ...)
- func (m *ItemItemIssuesItemAssigneesRequestBuilder) Post(ctx context.Context, body ItemItemIssuesItemAssigneesPostRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Issueable, ...)
- func (m *ItemItemIssuesItemAssigneesRequestBuilder) ToDeleteRequestInformation(ctx context.Context, body ItemItemIssuesItemAssigneesDeleteRequestBodyable, ...) (...)
- func (m *ItemItemIssuesItemAssigneesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemIssuesItemAssigneesPostRequestBodyable, ...) (...)
- func (m *ItemItemIssuesItemAssigneesRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesItemAssigneesRequestBuilder
- type ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder
- func NewItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder(rawUrl string, ...) *ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder
- func NewItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder
- func (m *ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder) Get(ctx context.Context, ...) error
- func (m *ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder
- type ItemItemIssuesItemCommentsPostRequestBody
- func (m *ItemItemIssuesItemCommentsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemIssuesItemCommentsPostRequestBody) GetBody() *string
- func (m *ItemItemIssuesItemCommentsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemIssuesItemCommentsPostRequestBody) Serialize(...) error
- func (m *ItemItemIssuesItemCommentsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemIssuesItemCommentsPostRequestBody) SetBody(value *string)
- type ItemItemIssuesItemCommentsPostRequestBodyable
- type ItemItemIssuesItemCommentsRequestBuilder
- func (m *ItemItemIssuesItemCommentsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesItemCommentsRequestBuilder) Post(ctx context.Context, body ItemItemIssuesItemCommentsPostRequestBodyable, ...) (...)
- func (m *ItemItemIssuesItemCommentsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesItemCommentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemIssuesItemCommentsPostRequestBodyable, ...) (...)
- func (m *ItemItemIssuesItemCommentsRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesItemCommentsRequestBuilder
- type ItemItemIssuesItemCommentsRequestBuilderGetQueryParameters
- type ItemItemIssuesItemEventsRequestBuilder
- func (m *ItemItemIssuesItemEventsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesItemEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesItemEventsRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesItemEventsRequestBuilder
- type ItemItemIssuesItemEventsRequestBuilderGetQueryParameters
- type ItemItemIssuesItemLabelsPostRequestBodyMember1
- func (m *ItemItemIssuesItemLabelsPostRequestBodyMember1) GetAdditionalData() map[string]any
- func (m *ItemItemIssuesItemLabelsPostRequestBodyMember1) GetFieldDeserializers() ...
- func (m *ItemItemIssuesItemLabelsPostRequestBodyMember1) GetLabels() []string
- func (m *ItemItemIssuesItemLabelsPostRequestBodyMember1) Serialize(...) error
- func (m *ItemItemIssuesItemLabelsPostRequestBodyMember1) SetAdditionalData(value map[string]any)
- func (m *ItemItemIssuesItemLabelsPostRequestBodyMember1) SetLabels(value []string)
- type ItemItemIssuesItemLabelsPostRequestBodyMember1able
- type ItemItemIssuesItemLabelsPostRequestBodyMember2
- func (m *ItemItemIssuesItemLabelsPostRequestBodyMember2) GetAdditionalData() map[string]any
- func (m *ItemItemIssuesItemLabelsPostRequestBodyMember2) GetFieldDeserializers() ...
- func (m *ItemItemIssuesItemLabelsPostRequestBodyMember2) GetLabels() []ItemItemIssuesItemLabelsPostRequestBodyMember2_labelsable
- func (m *ItemItemIssuesItemLabelsPostRequestBodyMember2) Serialize(...) error
- func (m *ItemItemIssuesItemLabelsPostRequestBodyMember2) SetAdditionalData(value map[string]any)
- func (m *ItemItemIssuesItemLabelsPostRequestBodyMember2) SetLabels(value []ItemItemIssuesItemLabelsPostRequestBodyMember2_labelsable)
- type ItemItemIssuesItemLabelsPostRequestBodyMember2_labels
- func (m *ItemItemIssuesItemLabelsPostRequestBodyMember2_labels) GetAdditionalData() map[string]any
- func (m *ItemItemIssuesItemLabelsPostRequestBodyMember2_labels) GetFieldDeserializers() ...
- func (m *ItemItemIssuesItemLabelsPostRequestBodyMember2_labels) GetName() *string
- func (m *ItemItemIssuesItemLabelsPostRequestBodyMember2_labels) Serialize(...) error
- func (m *ItemItemIssuesItemLabelsPostRequestBodyMember2_labels) SetAdditionalData(value map[string]any)
- func (m *ItemItemIssuesItemLabelsPostRequestBodyMember2_labels) SetName(value *string)
- type ItemItemIssuesItemLabelsPostRequestBodyMember2_labelsable
- type ItemItemIssuesItemLabelsPostRequestBodyMember2able
- type ItemItemIssuesItemLabelsPostRequestBodyMember3
- func (m *ItemItemIssuesItemLabelsPostRequestBodyMember3) GetAdditionalData() map[string]any
- func (m *ItemItemIssuesItemLabelsPostRequestBodyMember3) GetFieldDeserializers() ...
- func (m *ItemItemIssuesItemLabelsPostRequestBodyMember3) Serialize(...) error
- func (m *ItemItemIssuesItemLabelsPostRequestBodyMember3) SetAdditionalData(value map[string]any)
- type ItemItemIssuesItemLabelsPostRequestBodyMember3able
- type ItemItemIssuesItemLabelsPutRequestBodyMember1
- func (m *ItemItemIssuesItemLabelsPutRequestBodyMember1) GetAdditionalData() map[string]any
- func (m *ItemItemIssuesItemLabelsPutRequestBodyMember1) GetFieldDeserializers() ...
- func (m *ItemItemIssuesItemLabelsPutRequestBodyMember1) GetLabels() []string
- func (m *ItemItemIssuesItemLabelsPutRequestBodyMember1) Serialize(...) error
- func (m *ItemItemIssuesItemLabelsPutRequestBodyMember1) SetAdditionalData(value map[string]any)
- func (m *ItemItemIssuesItemLabelsPutRequestBodyMember1) SetLabels(value []string)
- type ItemItemIssuesItemLabelsPutRequestBodyMember1able
- type ItemItemIssuesItemLabelsPutRequestBodyMember2
- func (m *ItemItemIssuesItemLabelsPutRequestBodyMember2) GetAdditionalData() map[string]any
- func (m *ItemItemIssuesItemLabelsPutRequestBodyMember2) GetFieldDeserializers() ...
- func (m *ItemItemIssuesItemLabelsPutRequestBodyMember2) GetLabels() []ItemItemIssuesItemLabelsPutRequestBodyMember2_labelsable
- func (m *ItemItemIssuesItemLabelsPutRequestBodyMember2) Serialize(...) error
- func (m *ItemItemIssuesItemLabelsPutRequestBodyMember2) SetAdditionalData(value map[string]any)
- func (m *ItemItemIssuesItemLabelsPutRequestBodyMember2) SetLabels(value []ItemItemIssuesItemLabelsPutRequestBodyMember2_labelsable)
- type ItemItemIssuesItemLabelsPutRequestBodyMember2_labels
- func (m *ItemItemIssuesItemLabelsPutRequestBodyMember2_labels) GetAdditionalData() map[string]any
- func (m *ItemItemIssuesItemLabelsPutRequestBodyMember2_labels) GetFieldDeserializers() ...
- func (m *ItemItemIssuesItemLabelsPutRequestBodyMember2_labels) GetName() *string
- func (m *ItemItemIssuesItemLabelsPutRequestBodyMember2_labels) Serialize(...) error
- func (m *ItemItemIssuesItemLabelsPutRequestBodyMember2_labels) SetAdditionalData(value map[string]any)
- func (m *ItemItemIssuesItemLabelsPutRequestBodyMember2_labels) SetName(value *string)
- type ItemItemIssuesItemLabelsPutRequestBodyMember2_labelsable
- type ItemItemIssuesItemLabelsPutRequestBodyMember2able
- type ItemItemIssuesItemLabelsPutRequestBodyMember3
- func (m *ItemItemIssuesItemLabelsPutRequestBodyMember3) GetAdditionalData() map[string]any
- func (m *ItemItemIssuesItemLabelsPutRequestBodyMember3) GetFieldDeserializers() ...
- func (m *ItemItemIssuesItemLabelsPutRequestBodyMember3) Serialize(...) error
- func (m *ItemItemIssuesItemLabelsPutRequestBodyMember3) SetAdditionalData(value map[string]any)
- type ItemItemIssuesItemLabelsPutRequestBodyMember3able
- type ItemItemIssuesItemLabelsRequestBuilder
- func (m *ItemItemIssuesItemLabelsRequestBuilder) ByName(name string) *ItemItemIssuesItemLabelsWithNameItemRequestBuilder
- func (m *ItemItemIssuesItemLabelsRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemIssuesItemLabelsRequestBuilder) Get(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Labelable, ...)
- func (m *ItemItemIssuesItemLabelsRequestBuilder) Post(ctx context.Context, body LabelsPostRequestBodyable, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Labelable, ...)
- func (m *ItemItemIssuesItemLabelsRequestBuilder) Put(ctx context.Context, body LabelsPutRequestBodyable, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Labelable, ...)
- func (m *ItemItemIssuesItemLabelsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesItemLabelsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesItemLabelsRequestBuilder) ToPostRequestInformation(ctx context.Context, body LabelsPostRequestBodyable, ...) (...)
- func (m *ItemItemIssuesItemLabelsRequestBuilder) ToPutRequestInformation(ctx context.Context, body LabelsPutRequestBodyable, ...) (...)
- func (m *ItemItemIssuesItemLabelsRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesItemLabelsRequestBuilder
- type ItemItemIssuesItemLabelsRequestBuilderGetQueryParameters
- type ItemItemIssuesItemLabelsWithNameItemRequestBuilder
- func (m *ItemItemIssuesItemLabelsWithNameItemRequestBuilder) Delete(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Labelable, ...)
- func (m *ItemItemIssuesItemLabelsWithNameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesItemLabelsWithNameItemRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesItemLabelsWithNameItemRequestBuilder
- type ItemItemIssuesItemLockPutRequestBody
- func (m *ItemItemIssuesItemLockPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemIssuesItemLockPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemIssuesItemLockPutRequestBody) Serialize(...) error
- func (m *ItemItemIssuesItemLockPutRequestBody) SetAdditionalData(value map[string]any)
- type ItemItemIssuesItemLockPutRequestBodyable
- type ItemItemIssuesItemLockRequestBuilder
- func (m *ItemItemIssuesItemLockRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemIssuesItemLockRequestBuilder) Put(ctx context.Context, body ItemItemIssuesItemLockPutRequestBodyable, ...) error
- func (m *ItemItemIssuesItemLockRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesItemLockRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemIssuesItemLockPutRequestBodyable, ...) (...)
- func (m *ItemItemIssuesItemLockRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesItemLockRequestBuilder
- type ItemItemIssuesItemReactionsPostRequestBody
- func (m *ItemItemIssuesItemReactionsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemIssuesItemReactionsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemIssuesItemReactionsPostRequestBody) Serialize(...) error
- func (m *ItemItemIssuesItemReactionsPostRequestBody) SetAdditionalData(value map[string]any)
- type ItemItemIssuesItemReactionsPostRequestBodyable
- type ItemItemIssuesItemReactionsRequestBuilder
- func (m *ItemItemIssuesItemReactionsRequestBuilder) ByReaction_id(reaction_id int32) *ItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder
- func (m *ItemItemIssuesItemReactionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesItemReactionsRequestBuilder) Post(ctx context.Context, body ItemItemIssuesItemReactionsPostRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Reactionable, ...)
- func (m *ItemItemIssuesItemReactionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesItemReactionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemIssuesItemReactionsPostRequestBodyable, ...) (...)
- func (m *ItemItemIssuesItemReactionsRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesItemReactionsRequestBuilder
- type ItemItemIssuesItemReactionsRequestBuilderGetQueryParameters
- type ItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder
- func NewItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder(rawUrl string, ...) *ItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder
- func NewItemItemIssuesItemReactionsWithReaction_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder
- func (m *ItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder
- type ItemItemIssuesItemTimelineRequestBuilder
- func (m *ItemItemIssuesItemTimelineRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesItemTimelineRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesItemTimelineRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesItemTimelineRequestBuilder
- type ItemItemIssuesItemTimelineRequestBuilderGetQueryParameters
- type ItemItemIssuesItemWithIssue_numberPatchRequestBody
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetAssignee() *string
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetAssignees() []string
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetBody() *string
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetLabels() []string
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetMilestone() ...
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetTitle() ...
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) Serialize(...) error
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) SetAssignee(value *string)
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) SetAssignees(value []string)
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) SetBody(value *string)
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) SetLabels(value []string)
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) SetMilestone(...)
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) SetTitle(...)
- type ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) GetFieldDeserializers() ...
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) GetInteger() *int32
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) GetIsComposedType() bool
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) GetString() *string
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) Serialize(...) error
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) SetInteger(value *int32)
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) SetString(value *string)
- type ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestoneable
- type ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) GetFieldDeserializers() ...
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) GetInteger() *int32
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) GetIsComposedType() bool
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) GetString() *string
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) Serialize(...) error
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) SetInteger(value *int32)
- func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) SetString(value *string)
- type ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_titleable
- type ItemItemIssuesItemWithIssue_numberPatchRequestBodyable
- type ItemItemIssuesPostRequestBody
- func (m *ItemItemIssuesPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemIssuesPostRequestBody) GetAssignee() *string
- func (m *ItemItemIssuesPostRequestBody) GetAssignees() []string
- func (m *ItemItemIssuesPostRequestBody) GetBody() *string
- func (m *ItemItemIssuesPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemIssuesPostRequestBody) GetLabels() []string
- func (m *ItemItemIssuesPostRequestBody) GetMilestone() ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestoneable
- func (m *ItemItemIssuesPostRequestBody) GetTitle() ItemItemIssuesPostRequestBody_IssuesPostRequestBody_titleable
- func (m *ItemItemIssuesPostRequestBody) Serialize(...) error
- func (m *ItemItemIssuesPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemIssuesPostRequestBody) SetAssignee(value *string)
- func (m *ItemItemIssuesPostRequestBody) SetAssignees(value []string)
- func (m *ItemItemIssuesPostRequestBody) SetBody(value *string)
- func (m *ItemItemIssuesPostRequestBody) SetLabels(value []string)
- func (m *ItemItemIssuesPostRequestBody) SetMilestone(value ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestoneable)
- func (m *ItemItemIssuesPostRequestBody) SetTitle(value ItemItemIssuesPostRequestBody_IssuesPostRequestBody_titleable)
- type ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone
- func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) GetFieldDeserializers() ...
- func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) GetInteger() *int32
- func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) GetIsComposedType() bool
- func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) GetString() *string
- func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) Serialize(...) error
- func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) SetInteger(value *int32)
- func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) SetString(value *string)
- type ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestoneable
- type ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title
- func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) GetFieldDeserializers() ...
- func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) GetInteger() *int32
- func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) GetIsComposedType() bool
- func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) GetString() *string
- func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) Serialize(...) error
- func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) SetInteger(value *int32)
- func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) SetString(value *string)
- type ItemItemIssuesPostRequestBody_IssuesPostRequestBody_titleable
- type ItemItemIssuesPostRequestBodyable
- type ItemItemIssuesRequestBuilder
- func (m *ItemItemIssuesRequestBuilder) ByIssue_number(issue_number int32) *ItemItemIssuesWithIssue_numberItemRequestBuilder
- func (m *ItemItemIssuesRequestBuilder) Comments() *ItemItemIssuesCommentsRequestBuilder
- func (m *ItemItemIssuesRequestBuilder) Events() *ItemItemIssuesEventsRequestBuilder
- func (m *ItemItemIssuesRequestBuilder) Get(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Issueable, ...)
- func (m *ItemItemIssuesRequestBuilder) Post(ctx context.Context, body ItemItemIssuesPostRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Issueable, ...)
- func (m *ItemItemIssuesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemIssuesPostRequestBodyable, ...) (...)
- func (m *ItemItemIssuesRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesRequestBuilder
- type ItemItemIssuesRequestBuilderGetQueryParameters
- type ItemItemIssuesWithIssue_numberItemRequestBuilder
- func (m *ItemItemIssuesWithIssue_numberItemRequestBuilder) Assignees() *ItemItemIssuesItemAssigneesRequestBuilder
- func (m *ItemItemIssuesWithIssue_numberItemRequestBuilder) Comments() *ItemItemIssuesItemCommentsRequestBuilder
- func (m *ItemItemIssuesWithIssue_numberItemRequestBuilder) Events() *ItemItemIssuesItemEventsRequestBuilder
- func (m *ItemItemIssuesWithIssue_numberItemRequestBuilder) Get(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Issueable, ...)
- func (m *ItemItemIssuesWithIssue_numberItemRequestBuilder) Labels() *ItemItemIssuesItemLabelsRequestBuilder
- func (m *ItemItemIssuesWithIssue_numberItemRequestBuilder) Lock() *ItemItemIssuesItemLockRequestBuilder
- func (m *ItemItemIssuesWithIssue_numberItemRequestBuilder) Patch(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Issueable, ...)
- func (m *ItemItemIssuesWithIssue_numberItemRequestBuilder) Reactions() *ItemItemIssuesItemReactionsRequestBuilder
- func (m *ItemItemIssuesWithIssue_numberItemRequestBuilder) Timeline() *ItemItemIssuesItemTimelineRequestBuilder
- func (m *ItemItemIssuesWithIssue_numberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesWithIssue_numberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemIssuesWithIssue_numberItemRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesWithIssue_numberItemRequestBuilder
- type ItemItemKeysPostRequestBody
- func (m *ItemItemKeysPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemKeysPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemKeysPostRequestBody) GetKey() *string
- func (m *ItemItemKeysPostRequestBody) GetReadOnly() *bool
- func (m *ItemItemKeysPostRequestBody) GetTitle() *string
- func (m *ItemItemKeysPostRequestBody) Serialize(...) error
- func (m *ItemItemKeysPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemKeysPostRequestBody) SetKey(value *string)
- func (m *ItemItemKeysPostRequestBody) SetReadOnly(value *bool)
- func (m *ItemItemKeysPostRequestBody) SetTitle(value *string)
- type ItemItemKeysPostRequestBodyable
- type ItemItemKeysRequestBuilder
- func (m *ItemItemKeysRequestBuilder) ByKey_id(key_id int32) *ItemItemKeysWithKey_ItemRequestBuilder
- func (m *ItemItemKeysRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemKeysRequestBuilder) Post(ctx context.Context, body ItemItemKeysPostRequestBodyable, ...) (...)
- func (m *ItemItemKeysRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemKeysRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemKeysPostRequestBodyable, ...) (...)
- func (m *ItemItemKeysRequestBuilder) WithUrl(rawUrl string) *ItemItemKeysRequestBuilder
- type ItemItemKeysRequestBuilderGetQueryParameters
- type ItemItemKeysWithKey_ItemRequestBuilder
- func (m *ItemItemKeysWithKey_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemKeysWithKey_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemKeysWithKey_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemKeysWithKey_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemKeysWithKey_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemKeysWithKey_ItemRequestBuilder
- type ItemItemLabelsItemWithNamePatchRequestBody
- func (m *ItemItemLabelsItemWithNamePatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemLabelsItemWithNamePatchRequestBody) GetColor() *string
- func (m *ItemItemLabelsItemWithNamePatchRequestBody) GetDescription() *string
- func (m *ItemItemLabelsItemWithNamePatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemLabelsItemWithNamePatchRequestBody) GetNewName() *string
- func (m *ItemItemLabelsItemWithNamePatchRequestBody) Serialize(...) error
- func (m *ItemItemLabelsItemWithNamePatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemLabelsItemWithNamePatchRequestBody) SetColor(value *string)
- func (m *ItemItemLabelsItemWithNamePatchRequestBody) SetDescription(value *string)
- func (m *ItemItemLabelsItemWithNamePatchRequestBody) SetNewName(value *string)
- type ItemItemLabelsItemWithNamePatchRequestBodyable
- type ItemItemLabelsPostRequestBody
- func (m *ItemItemLabelsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemLabelsPostRequestBody) GetColor() *string
- func (m *ItemItemLabelsPostRequestBody) GetDescription() *string
- func (m *ItemItemLabelsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemLabelsPostRequestBody) GetName() *string
- func (m *ItemItemLabelsPostRequestBody) Serialize(...) error
- func (m *ItemItemLabelsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemLabelsPostRequestBody) SetColor(value *string)
- func (m *ItemItemLabelsPostRequestBody) SetDescription(value *string)
- func (m *ItemItemLabelsPostRequestBody) SetName(value *string)
- type ItemItemLabelsPostRequestBodyable
- type ItemItemLabelsRequestBuilder
- func (m *ItemItemLabelsRequestBuilder) ByName(name string) *ItemItemLabelsWithNameItemRequestBuilder
- func (m *ItemItemLabelsRequestBuilder) Get(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Labelable, ...)
- func (m *ItemItemLabelsRequestBuilder) Post(ctx context.Context, body ItemItemLabelsPostRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Labelable, ...)
- func (m *ItemItemLabelsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemLabelsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemLabelsPostRequestBodyable, ...) (...)
- func (m *ItemItemLabelsRequestBuilder) WithUrl(rawUrl string) *ItemItemLabelsRequestBuilder
- type ItemItemLabelsRequestBuilderGetQueryParameters
- type ItemItemLabelsWithNameItemRequestBuilder
- func (m *ItemItemLabelsWithNameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemLabelsWithNameItemRequestBuilder) Get(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Labelable, ...)
- func (m *ItemItemLabelsWithNameItemRequestBuilder) Patch(ctx context.Context, body ItemItemLabelsItemWithNamePatchRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Labelable, ...)
- func (m *ItemItemLabelsWithNameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemLabelsWithNameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemLabelsWithNameItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemLabelsItemWithNamePatchRequestBodyable, ...) (...)
- func (m *ItemItemLabelsWithNameItemRequestBuilder) WithUrl(rawUrl string) *ItemItemLabelsWithNameItemRequestBuilder
- type ItemItemLanguagesRequestBuilder
- func (m *ItemItemLanguagesRequestBuilder) Get(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Languageable, ...)
- func (m *ItemItemLanguagesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemLanguagesRequestBuilder) WithUrl(rawUrl string) *ItemItemLanguagesRequestBuilder
- type ItemItemLfsPutResponse
- type ItemItemLfsPutResponseable
- type ItemItemLfsRequestBuilder
- func (m *ItemItemLfsRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemLfsRequestBuilder) Put(ctx context.Context, ...) (ItemItemLfsPutResponseable, error)
- func (m *ItemItemLfsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemLfsRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemLfsRequestBuilder) WithUrl(rawUrl string) *ItemItemLfsRequestBuilder
- type ItemItemLicenseRequestBuilder
- type ItemItemMergeUpstreamPostRequestBody
- func (m *ItemItemMergeUpstreamPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemMergeUpstreamPostRequestBody) GetBranch() *string
- func (m *ItemItemMergeUpstreamPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemMergeUpstreamPostRequestBody) Serialize(...) error
- func (m *ItemItemMergeUpstreamPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemMergeUpstreamPostRequestBody) SetBranch(value *string)
- type ItemItemMergeUpstreamPostRequestBodyable
- type ItemItemMergeUpstreamRequestBuilder
- func (m *ItemItemMergeUpstreamRequestBuilder) Post(ctx context.Context, body ItemItemMergeUpstreamPostRequestBodyable, ...) (...)
- func (m *ItemItemMergeUpstreamRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemMergeUpstreamPostRequestBodyable, ...) (...)
- func (m *ItemItemMergeUpstreamRequestBuilder) WithUrl(rawUrl string) *ItemItemMergeUpstreamRequestBuilder
- type ItemItemMergesPostRequestBody
- func (m *ItemItemMergesPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemMergesPostRequestBody) GetBase() *string
- func (m *ItemItemMergesPostRequestBody) GetCommitMessage() *string
- func (m *ItemItemMergesPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemMergesPostRequestBody) GetHead() *string
- func (m *ItemItemMergesPostRequestBody) Serialize(...) error
- func (m *ItemItemMergesPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemMergesPostRequestBody) SetBase(value *string)
- func (m *ItemItemMergesPostRequestBody) SetCommitMessage(value *string)
- func (m *ItemItemMergesPostRequestBody) SetHead(value *string)
- type ItemItemMergesPostRequestBodyable
- type ItemItemMergesRequestBuilder
- func (m *ItemItemMergesRequestBuilder) Post(ctx context.Context, body ItemItemMergesPostRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Commitable, ...)
- func (m *ItemItemMergesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemMergesPostRequestBodyable, ...) (...)
- func (m *ItemItemMergesRequestBuilder) WithUrl(rawUrl string) *ItemItemMergesRequestBuilder
- type ItemItemMilestonesItemLabelsRequestBuilder
- func (m *ItemItemMilestonesItemLabelsRequestBuilder) Get(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Labelable, ...)
- func (m *ItemItemMilestonesItemLabelsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemMilestonesItemLabelsRequestBuilder) WithUrl(rawUrl string) *ItemItemMilestonesItemLabelsRequestBuilder
- type ItemItemMilestonesItemLabelsRequestBuilderGetQueryParameters
- type ItemItemMilestonesItemWithMilestone_numberPatchRequestBody
- func (m *ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) GetDescription() *string
- func (m *ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) GetDueOn() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
- func (m *ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) GetTitle() *string
- func (m *ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) Serialize(...) error
- func (m *ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) SetDescription(value *string)
- func (m *ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) SetDueOn(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
- func (m *ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) SetTitle(value *string)
- type ItemItemMilestonesItemWithMilestone_numberPatchRequestBodyable
- type ItemItemMilestonesPostRequestBody
- func (m *ItemItemMilestonesPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemMilestonesPostRequestBody) GetDescription() *string
- func (m *ItemItemMilestonesPostRequestBody) GetDueOn() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
- func (m *ItemItemMilestonesPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemMilestonesPostRequestBody) GetTitle() *string
- func (m *ItemItemMilestonesPostRequestBody) Serialize(...) error
- func (m *ItemItemMilestonesPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemMilestonesPostRequestBody) SetDescription(value *string)
- func (m *ItemItemMilestonesPostRequestBody) SetDueOn(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
- func (m *ItemItemMilestonesPostRequestBody) SetTitle(value *string)
- type ItemItemMilestonesPostRequestBodyable
- type ItemItemMilestonesRequestBuilder
- func (m *ItemItemMilestonesRequestBuilder) ByMilestone_number(milestone_number int32) *ItemItemMilestonesWithMilestone_numberItemRequestBuilder
- func (m *ItemItemMilestonesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemMilestonesRequestBuilder) Post(ctx context.Context, body ItemItemMilestonesPostRequestBodyable, ...) (...)
- func (m *ItemItemMilestonesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemMilestonesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemMilestonesPostRequestBodyable, ...) (...)
- func (m *ItemItemMilestonesRequestBuilder) WithUrl(rawUrl string) *ItemItemMilestonesRequestBuilder
- type ItemItemMilestonesRequestBuilderGetQueryParameters
- type ItemItemMilestonesWithMilestone_numberItemRequestBuilder
- func NewItemItemMilestonesWithMilestone_numberItemRequestBuilder(rawUrl string, ...) *ItemItemMilestonesWithMilestone_numberItemRequestBuilder
- func NewItemItemMilestonesWithMilestone_numberItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemMilestonesWithMilestone_numberItemRequestBuilder
- func (m *ItemItemMilestonesWithMilestone_numberItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemMilestonesWithMilestone_numberItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemMilestonesWithMilestone_numberItemRequestBuilder) Labels() *ItemItemMilestonesItemLabelsRequestBuilder
- func (m *ItemItemMilestonesWithMilestone_numberItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *ItemItemMilestonesWithMilestone_numberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemMilestonesWithMilestone_numberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemMilestonesWithMilestone_numberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemMilestonesWithMilestone_numberItemRequestBuilder) WithUrl(rawUrl string) *ItemItemMilestonesWithMilestone_numberItemRequestBuilder
- type ItemItemNotificationsPutRequestBody
- func (m *ItemItemNotificationsPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemNotificationsPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemNotificationsPutRequestBody) GetLastReadAt() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
- func (m *ItemItemNotificationsPutRequestBody) Serialize(...) error
- func (m *ItemItemNotificationsPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemNotificationsPutRequestBody) SetLastReadAt(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
- type ItemItemNotificationsPutRequestBodyable
- type ItemItemNotificationsPutResponse
- func (m *ItemItemNotificationsPutResponse) GetAdditionalData() map[string]any
- func (m *ItemItemNotificationsPutResponse) GetFieldDeserializers() ...
- func (m *ItemItemNotificationsPutResponse) GetMessage() *string
- func (m *ItemItemNotificationsPutResponse) GetUrl() *string
- func (m *ItemItemNotificationsPutResponse) Serialize(...) error
- func (m *ItemItemNotificationsPutResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemNotificationsPutResponse) SetMessage(value *string)
- func (m *ItemItemNotificationsPutResponse) SetUrl(value *string)
- type ItemItemNotificationsPutResponseable
- type ItemItemNotificationsRequestBuilder
- func (m *ItemItemNotificationsRequestBuilder) Get(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Threadable, ...)
- func (m *ItemItemNotificationsRequestBuilder) Put(ctx context.Context, body ItemItemNotificationsPutRequestBodyable, ...) (ItemItemNotificationsPutResponseable, error)
- func (m *ItemItemNotificationsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemNotificationsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemNotificationsPutRequestBodyable, ...) (...)
- func (m *ItemItemNotificationsRequestBuilder) WithUrl(rawUrl string) *ItemItemNotificationsRequestBuilder
- type ItemItemNotificationsRequestBuilderGetQueryParameters
- type ItemItemPagesBuildsLatestRequestBuilder
- func (m *ItemItemPagesBuildsLatestRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemPagesBuildsLatestRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPagesBuildsLatestRequestBuilder) WithUrl(rawUrl string) *ItemItemPagesBuildsLatestRequestBuilder
- type ItemItemPagesBuildsRequestBuilder
- func (m *ItemItemPagesBuildsRequestBuilder) ByBuild_id(build_id int32) *ItemItemPagesBuildsWithBuild_ItemRequestBuilder
- func (m *ItemItemPagesBuildsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemPagesBuildsRequestBuilder) Latest() *ItemItemPagesBuildsLatestRequestBuilder
- func (m *ItemItemPagesBuildsRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemItemPagesBuildsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPagesBuildsRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPagesBuildsRequestBuilder) WithUrl(rawUrl string) *ItemItemPagesBuildsRequestBuilder
- type ItemItemPagesBuildsRequestBuilderGetQueryParameters
- type ItemItemPagesBuildsWithBuild_ItemRequestBuilder
- func (m *ItemItemPagesBuildsWithBuild_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemPagesBuildsWithBuild_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPagesBuildsWithBuild_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemPagesBuildsWithBuild_ItemRequestBuilder
- type ItemItemPagesDeploymentsPostRequestBody
- func (m *ItemItemPagesDeploymentsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemPagesDeploymentsPostRequestBody) GetArtifactUrl() *string
- func (m *ItemItemPagesDeploymentsPostRequestBody) GetEnvironment() *string
- func (m *ItemItemPagesDeploymentsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemPagesDeploymentsPostRequestBody) GetOidcToken() *string
- func (m *ItemItemPagesDeploymentsPostRequestBody) GetPagesBuildVersion() *string
- func (m *ItemItemPagesDeploymentsPostRequestBody) Serialize(...) error
- func (m *ItemItemPagesDeploymentsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemPagesDeploymentsPostRequestBody) SetArtifactUrl(value *string)
- func (m *ItemItemPagesDeploymentsPostRequestBody) SetEnvironment(value *string)
- func (m *ItemItemPagesDeploymentsPostRequestBody) SetOidcToken(value *string)
- func (m *ItemItemPagesDeploymentsPostRequestBody) SetPagesBuildVersion(value *string)
- type ItemItemPagesDeploymentsPostRequestBodyable
- type ItemItemPagesDeploymentsRequestBuilder
- func (m *ItemItemPagesDeploymentsRequestBuilder) Post(ctx context.Context, body ItemItemPagesDeploymentsPostRequestBodyable, ...) (...)
- func (m *ItemItemPagesDeploymentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemPagesDeploymentsPostRequestBodyable, ...) (...)
- func (m *ItemItemPagesDeploymentsRequestBuilder) WithUrl(rawUrl string) *ItemItemPagesDeploymentsRequestBuilder
- type ItemItemPagesPostRequestBody
- func (m *ItemItemPagesPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemPagesPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemPagesPostRequestBody) GetSource() ItemItemPagesPostRequestBody_sourceable
- func (m *ItemItemPagesPostRequestBody) Serialize(...) error
- func (m *ItemItemPagesPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemPagesPostRequestBody) SetSource(value ItemItemPagesPostRequestBody_sourceable)
- type ItemItemPagesPostRequestBody_source
- func (m *ItemItemPagesPostRequestBody_source) GetAdditionalData() map[string]any
- func (m *ItemItemPagesPostRequestBody_source) GetBranch() *string
- func (m *ItemItemPagesPostRequestBody_source) GetFieldDeserializers() ...
- func (m *ItemItemPagesPostRequestBody_source) Serialize(...) error
- func (m *ItemItemPagesPostRequestBody_source) SetAdditionalData(value map[string]any)
- func (m *ItemItemPagesPostRequestBody_source) SetBranch(value *string)
- type ItemItemPagesPostRequestBody_sourceable
- type ItemItemPagesPostRequestBodyable
- type ItemItemPagesPutRequestBody
- func (m *ItemItemPagesPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemPagesPutRequestBody) GetCname() *string
- func (m *ItemItemPagesPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemPagesPutRequestBody) GetHttpsEnforced() *bool
- func (m *ItemItemPagesPutRequestBody) GetSource() ItemItemPagesPutRequestBody_PagesPutRequestBody_sourceable
- func (m *ItemItemPagesPutRequestBody) Serialize(...) error
- func (m *ItemItemPagesPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemPagesPutRequestBody) SetCname(value *string)
- func (m *ItemItemPagesPutRequestBody) SetHttpsEnforced(value *bool)
- func (m *ItemItemPagesPutRequestBody) SetSource(value ItemItemPagesPutRequestBody_PagesPutRequestBody_sourceable)
- type ItemItemPagesPutRequestBody_PagesPutRequestBody_source
- func (m *ItemItemPagesPutRequestBody_PagesPutRequestBody_source) GetFieldDeserializers() ...
- func (m *ItemItemPagesPutRequestBody_PagesPutRequestBody_source) GetIsComposedType() bool
- func (m *ItemItemPagesPutRequestBody_PagesPutRequestBody_source) GetItemItemPagesPutRequestBodySourceMember1() ItemItemPagesPutRequestBody_sourceMember1able
- func (m *ItemItemPagesPutRequestBody_PagesPutRequestBody_source) GetString() *string
- func (m *ItemItemPagesPutRequestBody_PagesPutRequestBody_source) Serialize(...) error
- func (m *ItemItemPagesPutRequestBody_PagesPutRequestBody_source) SetItemItemPagesPutRequestBodySourceMember1(value ItemItemPagesPutRequestBody_sourceMember1able)
- func (m *ItemItemPagesPutRequestBody_PagesPutRequestBody_source) SetString(value *string)
- type ItemItemPagesPutRequestBody_PagesPutRequestBody_sourceable
- type ItemItemPagesPutRequestBody_sourceMember1
- func (m *ItemItemPagesPutRequestBody_sourceMember1) GetAdditionalData() map[string]any
- func (m *ItemItemPagesPutRequestBody_sourceMember1) GetBranch() *string
- func (m *ItemItemPagesPutRequestBody_sourceMember1) GetFieldDeserializers() ...
- func (m *ItemItemPagesPutRequestBody_sourceMember1) Serialize(...) error
- func (m *ItemItemPagesPutRequestBody_sourceMember1) SetAdditionalData(value map[string]any)
- func (m *ItemItemPagesPutRequestBody_sourceMember1) SetBranch(value *string)
- type ItemItemPagesPutRequestBody_sourceMember1able
- type ItemItemPagesPutRequestBodyable
- type ItemItemPagesRequestBuilder
- func (m *ItemItemPagesRequestBuilder) Builds() *ItemItemPagesBuildsRequestBuilder
- func (m *ItemItemPagesRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemPagesRequestBuilder) Deployments() *ItemItemPagesDeploymentsRequestBuilder
- func (m *ItemItemPagesRequestBuilder) Get(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Pageable, ...)
- func (m *ItemItemPagesRequestBuilder) Post(ctx context.Context, body ItemItemPagesPostRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Pageable, ...)
- func (m *ItemItemPagesRequestBuilder) Put(ctx context.Context, body ItemItemPagesPutRequestBodyable, ...) error
- func (m *ItemItemPagesRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPagesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemPagesPostRequestBodyable, ...) (...)
- func (m *ItemItemPagesRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemPagesPutRequestBodyable, ...) (...)
- func (m *ItemItemPagesRequestBuilder) WithUrl(rawUrl string) *ItemItemPagesRequestBuilder
- type ItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody
- func (m *ItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) Serialize(...) error
- func (m *ItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetAdditionalData(value map[string]any)
- type ItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyable
- type ItemItemPreReceiveHooksRequestBuilder
- func (m *ItemItemPreReceiveHooksRequestBuilder) ByPre_receive_hook_id(pre_receive_hook_id int32) *ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder
- func (m *ItemItemPreReceiveHooksRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemPreReceiveHooksRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPreReceiveHooksRequestBuilder) WithUrl(rawUrl string) *ItemItemPreReceiveHooksRequestBuilder
- type ItemItemPreReceiveHooksRequestBuilderGetQueryParameters
- type ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder
- func NewItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder(rawUrl string, ...) *ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder
- func NewItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder
- func (m *ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Delete(ctx context.Context, ...) (...)
- func (m *ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder
- type ItemItemProjectsPostRequestBody
- func (m *ItemItemProjectsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemProjectsPostRequestBody) GetBody() *string
- func (m *ItemItemProjectsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemProjectsPostRequestBody) GetName() *string
- func (m *ItemItemProjectsPostRequestBody) Serialize(...) error
- func (m *ItemItemProjectsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemProjectsPostRequestBody) SetBody(value *string)
- func (m *ItemItemProjectsPostRequestBody) SetName(value *string)
- type ItemItemProjectsPostRequestBodyable
- type ItemItemProjectsRequestBuilder
- func (m *ItemItemProjectsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemProjectsRequestBuilder) Post(ctx context.Context, body ItemItemProjectsPostRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Projectable, ...)
- func (m *ItemItemProjectsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemProjectsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemProjectsPostRequestBodyable, ...) (...)
- func (m *ItemItemProjectsRequestBuilder) WithUrl(rawUrl string) *ItemItemProjectsRequestBuilder
- type ItemItemProjectsRequestBuilderGetQueryParameters
- type ItemItemPullsCommentsItemReactionsPostRequestBody
- func (m *ItemItemPullsCommentsItemReactionsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemPullsCommentsItemReactionsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemPullsCommentsItemReactionsPostRequestBody) Serialize(...) error
- func (m *ItemItemPullsCommentsItemReactionsPostRequestBody) SetAdditionalData(value map[string]any)
- type ItemItemPullsCommentsItemReactionsPostRequestBodyable
- type ItemItemPullsCommentsItemReactionsRequestBuilder
- func (m *ItemItemPullsCommentsItemReactionsRequestBuilder) ByReaction_id(reaction_id int32) *ItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder
- func (m *ItemItemPullsCommentsItemReactionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemPullsCommentsItemReactionsRequestBuilder) Post(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Reactionable, ...)
- func (m *ItemItemPullsCommentsItemReactionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPullsCommentsItemReactionsRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPullsCommentsItemReactionsRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsCommentsItemReactionsRequestBuilder
- type ItemItemPullsCommentsItemReactionsRequestBuilderGetQueryParameters
- type ItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder
- func NewItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder(rawUrl string, ...) *ItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder
- func NewItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder
- func (m *ItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder
- type ItemItemPullsCommentsItemWithComment_PatchRequestBody
- func (m *ItemItemPullsCommentsItemWithComment_PatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemPullsCommentsItemWithComment_PatchRequestBody) GetBody() *string
- func (m *ItemItemPullsCommentsItemWithComment_PatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemPullsCommentsItemWithComment_PatchRequestBody) Serialize(...) error
- func (m *ItemItemPullsCommentsItemWithComment_PatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemPullsCommentsItemWithComment_PatchRequestBody) SetBody(value *string)
- type ItemItemPullsCommentsItemWithComment_PatchRequestBodyable
- type ItemItemPullsCommentsRequestBuilder
- func (m *ItemItemPullsCommentsRequestBuilder) ByComment_id(comment_id int32) *ItemItemPullsCommentsWithComment_ItemRequestBuilder
- func (m *ItemItemPullsCommentsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemPullsCommentsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPullsCommentsRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsCommentsRequestBuilder
- type ItemItemPullsCommentsRequestBuilderGetQueryParameters
- type ItemItemPullsCommentsWithComment_ItemRequestBuilder
- func (m *ItemItemPullsCommentsWithComment_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemPullsCommentsWithComment_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemPullsCommentsWithComment_ItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *ItemItemPullsCommentsWithComment_ItemRequestBuilder) Reactions() *ItemItemPullsCommentsItemReactionsRequestBuilder
- func (m *ItemItemPullsCommentsWithComment_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPullsCommentsWithComment_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPullsCommentsWithComment_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPullsCommentsWithComment_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsCommentsWithComment_ItemRequestBuilder
- type ItemItemPullsItemCommentsItemRepliesPostRequestBody
- func (m *ItemItemPullsItemCommentsItemRepliesPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemPullsItemCommentsItemRepliesPostRequestBody) GetBody() *string
- func (m *ItemItemPullsItemCommentsItemRepliesPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemPullsItemCommentsItemRepliesPostRequestBody) Serialize(...) error
- func (m *ItemItemPullsItemCommentsItemRepliesPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemPullsItemCommentsItemRepliesPostRequestBody) SetBody(value *string)
- type ItemItemPullsItemCommentsItemRepliesPostRequestBodyable
- type ItemItemPullsItemCommentsItemRepliesRequestBuilder
- func (m *ItemItemPullsItemCommentsItemRepliesRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemCommentsItemRepliesRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemCommentsItemRepliesRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsItemCommentsItemRepliesRequestBuilder
- type ItemItemPullsItemCommentsPostRequestBody
- func (m *ItemItemPullsItemCommentsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemPullsItemCommentsPostRequestBody) GetBody() *string
- func (m *ItemItemPullsItemCommentsPostRequestBody) GetCommitId() *string
- func (m *ItemItemPullsItemCommentsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemPullsItemCommentsPostRequestBody) GetInReplyTo() *int32
- func (m *ItemItemPullsItemCommentsPostRequestBody) GetLine() *int32
- func (m *ItemItemPullsItemCommentsPostRequestBody) GetPath() *string
- func (m *ItemItemPullsItemCommentsPostRequestBody) GetPosition() *int32
- func (m *ItemItemPullsItemCommentsPostRequestBody) GetStartLine() *int32
- func (m *ItemItemPullsItemCommentsPostRequestBody) Serialize(...) error
- func (m *ItemItemPullsItemCommentsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemPullsItemCommentsPostRequestBody) SetBody(value *string)
- func (m *ItemItemPullsItemCommentsPostRequestBody) SetCommitId(value *string)
- func (m *ItemItemPullsItemCommentsPostRequestBody) SetInReplyTo(value *int32)
- func (m *ItemItemPullsItemCommentsPostRequestBody) SetLine(value *int32)
- func (m *ItemItemPullsItemCommentsPostRequestBody) SetPath(value *string)
- func (m *ItemItemPullsItemCommentsPostRequestBody) SetPosition(value *int32)
- func (m *ItemItemPullsItemCommentsPostRequestBody) SetStartLine(value *int32)
- type ItemItemPullsItemCommentsPostRequestBodyable
- type ItemItemPullsItemCommentsRequestBuilder
- func (m *ItemItemPullsItemCommentsRequestBuilder) ByComment_id(comment_id int32) *ItemItemPullsItemCommentsWithComment_ItemRequestBuilder
- func (m *ItemItemPullsItemCommentsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemCommentsRequestBuilder) Post(ctx context.Context, body ItemItemPullsItemCommentsPostRequestBodyable, ...) (...)
- func (m *ItemItemPullsItemCommentsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemCommentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemPullsItemCommentsPostRequestBodyable, ...) (...)
- func (m *ItemItemPullsItemCommentsRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsItemCommentsRequestBuilder
- type ItemItemPullsItemCommentsRequestBuilderGetQueryParameters
- type ItemItemPullsItemCommentsWithComment_ItemRequestBuilder
- func NewItemItemPullsItemCommentsWithComment_ItemRequestBuilder(rawUrl string, ...) *ItemItemPullsItemCommentsWithComment_ItemRequestBuilder
- func NewItemItemPullsItemCommentsWithComment_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemPullsItemCommentsWithComment_ItemRequestBuilder
- type ItemItemPullsItemCommitsRequestBuilder
- func (m *ItemItemPullsItemCommitsRequestBuilder) Get(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Commitable, ...)
- func (m *ItemItemPullsItemCommitsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemCommitsRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsItemCommitsRequestBuilder
- type ItemItemPullsItemCommitsRequestBuilderGetQueryParameters
- type ItemItemPullsItemFilesRequestBuilder
- type ItemItemPullsItemFilesRequestBuilderGetQueryParameters
- type ItemItemPullsItemMergePutRequestBody
- func (m *ItemItemPullsItemMergePutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemPullsItemMergePutRequestBody) GetCommitMessage() *string
- func (m *ItemItemPullsItemMergePutRequestBody) GetCommitTitle() *string
- func (m *ItemItemPullsItemMergePutRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemPullsItemMergePutRequestBody) GetSha() *string
- func (m *ItemItemPullsItemMergePutRequestBody) Serialize(...) error
- func (m *ItemItemPullsItemMergePutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemPullsItemMergePutRequestBody) SetCommitMessage(value *string)
- func (m *ItemItemPullsItemMergePutRequestBody) SetCommitTitle(value *string)
- func (m *ItemItemPullsItemMergePutRequestBody) SetSha(value *string)
- type ItemItemPullsItemMergePutRequestBodyable
- type ItemItemPullsItemMergeRequestBuilder
- func (m *ItemItemPullsItemMergeRequestBuilder) Get(ctx context.Context, ...) error
- func (m *ItemItemPullsItemMergeRequestBuilder) Put(ctx context.Context, body ItemItemPullsItemMergePutRequestBodyable, ...) (...)
- func (m *ItemItemPullsItemMergeRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemMergeRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemPullsItemMergePutRequestBodyable, ...) (...)
- func (m *ItemItemPullsItemMergeRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsItemMergeRequestBuilder
- type ItemItemPullsItemPullRequestMergeResult405Error
- func (m *ItemItemPullsItemPullRequestMergeResult405Error) Error() string
- func (m *ItemItemPullsItemPullRequestMergeResult405Error) GetAdditionalData() map[string]any
- func (m *ItemItemPullsItemPullRequestMergeResult405Error) GetDocumentationUrl() *string
- func (m *ItemItemPullsItemPullRequestMergeResult405Error) GetFieldDeserializers() ...
- func (m *ItemItemPullsItemPullRequestMergeResult405Error) GetMessage() *string
- func (m *ItemItemPullsItemPullRequestMergeResult405Error) Serialize(...) error
- func (m *ItemItemPullsItemPullRequestMergeResult405Error) SetAdditionalData(value map[string]any)
- func (m *ItemItemPullsItemPullRequestMergeResult405Error) SetDocumentationUrl(value *string)
- func (m *ItemItemPullsItemPullRequestMergeResult405Error) SetMessage(value *string)
- type ItemItemPullsItemPullRequestMergeResult405Errorable
- type ItemItemPullsItemPullRequestMergeResult409Error
- func (m *ItemItemPullsItemPullRequestMergeResult409Error) Error() string
- func (m *ItemItemPullsItemPullRequestMergeResult409Error) GetAdditionalData() map[string]any
- func (m *ItemItemPullsItemPullRequestMergeResult409Error) GetDocumentationUrl() *string
- func (m *ItemItemPullsItemPullRequestMergeResult409Error) GetFieldDeserializers() ...
- func (m *ItemItemPullsItemPullRequestMergeResult409Error) GetMessage() *string
- func (m *ItemItemPullsItemPullRequestMergeResult409Error) Serialize(...) error
- func (m *ItemItemPullsItemPullRequestMergeResult409Error) SetAdditionalData(value map[string]any)
- func (m *ItemItemPullsItemPullRequestMergeResult409Error) SetDocumentationUrl(value *string)
- func (m *ItemItemPullsItemPullRequestMergeResult409Error) SetMessage(value *string)
- type ItemItemPullsItemPullRequestMergeResult409Errorable
- type ItemItemPullsItemRequested_reviewersDeleteRequestBody
- func (m *ItemItemPullsItemRequested_reviewersDeleteRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemPullsItemRequested_reviewersDeleteRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemPullsItemRequested_reviewersDeleteRequestBody) GetReviewers() []string
- func (m *ItemItemPullsItemRequested_reviewersDeleteRequestBody) GetTeamReviewers() []string
- func (m *ItemItemPullsItemRequested_reviewersDeleteRequestBody) Serialize(...) error
- func (m *ItemItemPullsItemRequested_reviewersDeleteRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemPullsItemRequested_reviewersDeleteRequestBody) SetReviewers(value []string)
- func (m *ItemItemPullsItemRequested_reviewersDeleteRequestBody) SetTeamReviewers(value []string)
- type ItemItemPullsItemRequested_reviewersDeleteRequestBodyable
- type ItemItemPullsItemRequested_reviewersPostRequestBody
- func (m *ItemItemPullsItemRequested_reviewersPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemPullsItemRequested_reviewersPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemPullsItemRequested_reviewersPostRequestBody) GetReviewers() []string
- func (m *ItemItemPullsItemRequested_reviewersPostRequestBody) GetTeamReviewers() []string
- func (m *ItemItemPullsItemRequested_reviewersPostRequestBody) Serialize(...) error
- func (m *ItemItemPullsItemRequested_reviewersPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemPullsItemRequested_reviewersPostRequestBody) SetReviewers(value []string)
- func (m *ItemItemPullsItemRequested_reviewersPostRequestBody) SetTeamReviewers(value []string)
- type ItemItemPullsItemRequested_reviewersPostRequestBodyable
- type ItemItemPullsItemRequested_reviewersRequestBuilder
- func (m *ItemItemPullsItemRequested_reviewersRequestBuilder) Delete(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemRequested_reviewersRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemRequested_reviewersRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemRequested_reviewersRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemRequested_reviewersRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemRequested_reviewersRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemRequested_reviewersRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsItemRequested_reviewersRequestBuilder
- type ItemItemPullsItemReviewsItemCommentsRequestBuilder
- func (m *ItemItemPullsItemReviewsItemCommentsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemReviewsItemCommentsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemReviewsItemCommentsRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsItemReviewsItemCommentsRequestBuilder
- type ItemItemPullsItemReviewsItemCommentsRequestBuilderGetQueryParameters
- type ItemItemPullsItemReviewsItemDismissalsPutRequestBody
- func (m *ItemItemPullsItemReviewsItemDismissalsPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemPullsItemReviewsItemDismissalsPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemPullsItemReviewsItemDismissalsPutRequestBody) GetMessage() *string
- func (m *ItemItemPullsItemReviewsItemDismissalsPutRequestBody) Serialize(...) error
- func (m *ItemItemPullsItemReviewsItemDismissalsPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemPullsItemReviewsItemDismissalsPutRequestBody) SetMessage(value *string)
- type ItemItemPullsItemReviewsItemDismissalsPutRequestBodyable
- type ItemItemPullsItemReviewsItemDismissalsRequestBuilder
- func (m *ItemItemPullsItemReviewsItemDismissalsRequestBuilder) Put(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemReviewsItemDismissalsRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemReviewsItemDismissalsRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsItemReviewsItemDismissalsRequestBuilder
- type ItemItemPullsItemReviewsItemEventsPostRequestBody
- func (m *ItemItemPullsItemReviewsItemEventsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemPullsItemReviewsItemEventsPostRequestBody) GetBody() *string
- func (m *ItemItemPullsItemReviewsItemEventsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemPullsItemReviewsItemEventsPostRequestBody) Serialize(...) error
- func (m *ItemItemPullsItemReviewsItemEventsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemPullsItemReviewsItemEventsPostRequestBody) SetBody(value *string)
- type ItemItemPullsItemReviewsItemEventsPostRequestBodyable
- type ItemItemPullsItemReviewsItemEventsRequestBuilder
- func (m *ItemItemPullsItemReviewsItemEventsRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemReviewsItemEventsRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemReviewsItemEventsRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsItemReviewsItemEventsRequestBuilder
- type ItemItemPullsItemReviewsItemWithReview_PutRequestBody
- func (m *ItemItemPullsItemReviewsItemWithReview_PutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemPullsItemReviewsItemWithReview_PutRequestBody) GetBody() *string
- func (m *ItemItemPullsItemReviewsItemWithReview_PutRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemPullsItemReviewsItemWithReview_PutRequestBody) Serialize(...) error
- func (m *ItemItemPullsItemReviewsItemWithReview_PutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemPullsItemReviewsItemWithReview_PutRequestBody) SetBody(value *string)
- type ItemItemPullsItemReviewsItemWithReview_PutRequestBodyable
- type ItemItemPullsItemReviewsPostRequestBody
- func (m *ItemItemPullsItemReviewsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemPullsItemReviewsPostRequestBody) GetBody() *string
- func (m *ItemItemPullsItemReviewsPostRequestBody) GetComments() []ItemItemPullsItemReviewsPostRequestBody_commentsable
- func (m *ItemItemPullsItemReviewsPostRequestBody) GetCommitId() *string
- func (m *ItemItemPullsItemReviewsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemPullsItemReviewsPostRequestBody) Serialize(...) error
- func (m *ItemItemPullsItemReviewsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemPullsItemReviewsPostRequestBody) SetBody(value *string)
- func (m *ItemItemPullsItemReviewsPostRequestBody) SetComments(value []ItemItemPullsItemReviewsPostRequestBody_commentsable)
- func (m *ItemItemPullsItemReviewsPostRequestBody) SetCommitId(value *string)
- type ItemItemPullsItemReviewsPostRequestBody_comments
- func (m *ItemItemPullsItemReviewsPostRequestBody_comments) GetAdditionalData() map[string]any
- func (m *ItemItemPullsItemReviewsPostRequestBody_comments) GetBody() *string
- func (m *ItemItemPullsItemReviewsPostRequestBody_comments) GetFieldDeserializers() ...
- func (m *ItemItemPullsItemReviewsPostRequestBody_comments) GetLine() *int32
- func (m *ItemItemPullsItemReviewsPostRequestBody_comments) GetPath() *string
- func (m *ItemItemPullsItemReviewsPostRequestBody_comments) GetPosition() *int32
- func (m *ItemItemPullsItemReviewsPostRequestBody_comments) GetSide() *string
- func (m *ItemItemPullsItemReviewsPostRequestBody_comments) GetStartLine() *int32
- func (m *ItemItemPullsItemReviewsPostRequestBody_comments) GetStartSide() *string
- func (m *ItemItemPullsItemReviewsPostRequestBody_comments) Serialize(...) error
- func (m *ItemItemPullsItemReviewsPostRequestBody_comments) SetAdditionalData(value map[string]any)
- func (m *ItemItemPullsItemReviewsPostRequestBody_comments) SetBody(value *string)
- func (m *ItemItemPullsItemReviewsPostRequestBody_comments) SetLine(value *int32)
- func (m *ItemItemPullsItemReviewsPostRequestBody_comments) SetPath(value *string)
- func (m *ItemItemPullsItemReviewsPostRequestBody_comments) SetPosition(value *int32)
- func (m *ItemItemPullsItemReviewsPostRequestBody_comments) SetSide(value *string)
- func (m *ItemItemPullsItemReviewsPostRequestBody_comments) SetStartLine(value *int32)
- func (m *ItemItemPullsItemReviewsPostRequestBody_comments) SetStartSide(value *string)
- type ItemItemPullsItemReviewsPostRequestBody_commentsable
- type ItemItemPullsItemReviewsPostRequestBodyable
- type ItemItemPullsItemReviewsRequestBuilder
- func (m *ItemItemPullsItemReviewsRequestBuilder) ByReview_id(review_id int32) *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder
- func (m *ItemItemPullsItemReviewsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemReviewsRequestBuilder) Post(ctx context.Context, body ItemItemPullsItemReviewsPostRequestBodyable, ...) (...)
- func (m *ItemItemPullsItemReviewsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemReviewsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemPullsItemReviewsPostRequestBodyable, ...) (...)
- func (m *ItemItemPullsItemReviewsRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsItemReviewsRequestBuilder
- type ItemItemPullsItemReviewsRequestBuilderGetQueryParameters
- type ItemItemPullsItemReviewsWithReview_ItemRequestBuilder
- func NewItemItemPullsItemReviewsWithReview_ItemRequestBuilder(rawUrl string, ...) *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder
- func NewItemItemPullsItemReviewsWithReview_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder
- func (m *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) Comments() *ItemItemPullsItemReviewsItemCommentsRequestBuilder
- func (m *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) Delete(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) Dismissals() *ItemItemPullsItemReviewsItemDismissalsRequestBuilder
- func (m *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) Events() *ItemItemPullsItemReviewsItemEventsRequestBuilder
- func (m *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) Put(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder
- type ItemItemPullsItemUpdateBranchPutRequestBody
- func (m *ItemItemPullsItemUpdateBranchPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemPullsItemUpdateBranchPutRequestBody) GetExpectedHeadSha() *string
- func (m *ItemItemPullsItemUpdateBranchPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemPullsItemUpdateBranchPutRequestBody) Serialize(...) error
- func (m *ItemItemPullsItemUpdateBranchPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemPullsItemUpdateBranchPutRequestBody) SetExpectedHeadSha(value *string)
- type ItemItemPullsItemUpdateBranchPutRequestBodyable
- type ItemItemPullsItemUpdateBranchPutResponse
- func (m *ItemItemPullsItemUpdateBranchPutResponse) GetAdditionalData() map[string]any
- func (m *ItemItemPullsItemUpdateBranchPutResponse) GetFieldDeserializers() ...
- func (m *ItemItemPullsItemUpdateBranchPutResponse) GetMessage() *string
- func (m *ItemItemPullsItemUpdateBranchPutResponse) GetUrl() *string
- func (m *ItemItemPullsItemUpdateBranchPutResponse) Serialize(...) error
- func (m *ItemItemPullsItemUpdateBranchPutResponse) SetAdditionalData(value map[string]any)
- func (m *ItemItemPullsItemUpdateBranchPutResponse) SetMessage(value *string)
- func (m *ItemItemPullsItemUpdateBranchPutResponse) SetUrl(value *string)
- type ItemItemPullsItemUpdateBranchPutResponseable
- type ItemItemPullsItemUpdateBranchRequestBuilder
- func (m *ItemItemPullsItemUpdateBranchRequestBuilder) Put(ctx context.Context, body ItemItemPullsItemUpdateBranchPutRequestBodyable, ...) (ItemItemPullsItemUpdateBranchPutResponseable, error)
- func (m *ItemItemPullsItemUpdateBranchRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemPullsItemUpdateBranchPutRequestBodyable, ...) (...)
- func (m *ItemItemPullsItemUpdateBranchRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsItemUpdateBranchRequestBuilder
- type ItemItemPullsItemWithPull_numberPatchRequestBody
- func (m *ItemItemPullsItemWithPull_numberPatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemPullsItemWithPull_numberPatchRequestBody) GetBase() *string
- func (m *ItemItemPullsItemWithPull_numberPatchRequestBody) GetBody() *string
- func (m *ItemItemPullsItemWithPull_numberPatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemPullsItemWithPull_numberPatchRequestBody) GetMaintainerCanModify() *bool
- func (m *ItemItemPullsItemWithPull_numberPatchRequestBody) GetTitle() *string
- func (m *ItemItemPullsItemWithPull_numberPatchRequestBody) Serialize(...) error
- func (m *ItemItemPullsItemWithPull_numberPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemPullsItemWithPull_numberPatchRequestBody) SetBase(value *string)
- func (m *ItemItemPullsItemWithPull_numberPatchRequestBody) SetBody(value *string)
- func (m *ItemItemPullsItemWithPull_numberPatchRequestBody) SetMaintainerCanModify(value *bool)
- func (m *ItemItemPullsItemWithPull_numberPatchRequestBody) SetTitle(value *string)
- type ItemItemPullsItemWithPull_numberPatchRequestBodyable
- type ItemItemPullsPostRequestBody
- func (m *ItemItemPullsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemPullsPostRequestBody) GetBase() *string
- func (m *ItemItemPullsPostRequestBody) GetBody() *string
- func (m *ItemItemPullsPostRequestBody) GetDraft() *bool
- func (m *ItemItemPullsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemPullsPostRequestBody) GetHead() *string
- func (m *ItemItemPullsPostRequestBody) GetHeadRepo() *string
- func (m *ItemItemPullsPostRequestBody) GetIssue() *int64
- func (m *ItemItemPullsPostRequestBody) GetMaintainerCanModify() *bool
- func (m *ItemItemPullsPostRequestBody) GetTitle() *string
- func (m *ItemItemPullsPostRequestBody) Serialize(...) error
- func (m *ItemItemPullsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemPullsPostRequestBody) SetBase(value *string)
- func (m *ItemItemPullsPostRequestBody) SetBody(value *string)
- func (m *ItemItemPullsPostRequestBody) SetDraft(value *bool)
- func (m *ItemItemPullsPostRequestBody) SetHead(value *string)
- func (m *ItemItemPullsPostRequestBody) SetHeadRepo(value *string)
- func (m *ItemItemPullsPostRequestBody) SetIssue(value *int64)
- func (m *ItemItemPullsPostRequestBody) SetMaintainerCanModify(value *bool)
- func (m *ItemItemPullsPostRequestBody) SetTitle(value *string)
- type ItemItemPullsPostRequestBodyable
- type ItemItemPullsRequestBuilder
- func (m *ItemItemPullsRequestBuilder) ByPull_number(pull_number int32) *ItemItemPullsWithPull_numberItemRequestBuilder
- func (m *ItemItemPullsRequestBuilder) Comments() *ItemItemPullsCommentsRequestBuilder
- func (m *ItemItemPullsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemPullsRequestBuilder) Post(ctx context.Context, body ItemItemPullsPostRequestBodyable, ...) (...)
- func (m *ItemItemPullsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPullsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemPullsPostRequestBodyable, ...) (...)
- func (m *ItemItemPullsRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsRequestBuilder
- type ItemItemPullsRequestBuilderGetQueryParameters
- type ItemItemPullsWithPull_numberItemRequestBuilder
- func (m *ItemItemPullsWithPull_numberItemRequestBuilder) Comments() *ItemItemPullsItemCommentsRequestBuilder
- func (m *ItemItemPullsWithPull_numberItemRequestBuilder) Commits() *ItemItemPullsItemCommitsRequestBuilder
- func (m *ItemItemPullsWithPull_numberItemRequestBuilder) Files() *ItemItemPullsItemFilesRequestBuilder
- func (m *ItemItemPullsWithPull_numberItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemPullsWithPull_numberItemRequestBuilder) Merge() *ItemItemPullsItemMergeRequestBuilder
- func (m *ItemItemPullsWithPull_numberItemRequestBuilder) Patch(ctx context.Context, body ItemItemPullsItemWithPull_numberPatchRequestBodyable, ...) (...)
- func (m *ItemItemPullsWithPull_numberItemRequestBuilder) Requested_reviewers() *ItemItemPullsItemRequested_reviewersRequestBuilder
- func (m *ItemItemPullsWithPull_numberItemRequestBuilder) Reviews() *ItemItemPullsItemReviewsRequestBuilder
- func (m *ItemItemPullsWithPull_numberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemPullsWithPull_numberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemPullsItemWithPull_numberPatchRequestBodyable, ...) (...)
- func (m *ItemItemPullsWithPull_numberItemRequestBuilder) UpdateBranch() *ItemItemPullsItemUpdateBranchRequestBuilder
- func (m *ItemItemPullsWithPull_numberItemRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsWithPull_numberItemRequestBuilder
- type ItemItemReadmeRequestBuilder
- func (m *ItemItemReadmeRequestBuilder) ByDir(dir string) *ItemItemReadmeWithDirItemRequestBuilder
- func (m *ItemItemReadmeRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemReadmeRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemReadmeRequestBuilder) WithUrl(rawUrl string) *ItemItemReadmeRequestBuilder
- type ItemItemReadmeRequestBuilderGetQueryParameters
- type ItemItemReadmeWithDirItemRequestBuilder
- func (m *ItemItemReadmeWithDirItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemReadmeWithDirItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemReadmeWithDirItemRequestBuilder) WithUrl(rawUrl string) *ItemItemReadmeWithDirItemRequestBuilder
- type ItemItemReadmeWithDirItemRequestBuilderGetQueryParameters
- type ItemItemReleasesAssetsItemWithAsset_PatchRequestBody
- func (m *ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) GetLabel() *string
- func (m *ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) GetName() *string
- func (m *ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) GetState() *string
- func (m *ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) Serialize(...) error
- func (m *ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) SetLabel(value *string)
- func (m *ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) SetName(value *string)
- func (m *ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) SetState(value *string)
- type ItemItemReleasesAssetsItemWithAsset_PatchRequestBodyable
- type ItemItemReleasesAssetsRequestBuilder
- type ItemItemReleasesAssetsWithAsset_ItemRequestBuilder
- func (m *ItemItemReleasesAssetsWithAsset_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemReleasesAssetsWithAsset_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemReleasesAssetsWithAsset_ItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *ItemItemReleasesAssetsWithAsset_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemReleasesAssetsWithAsset_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemReleasesAssetsWithAsset_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemReleasesAssetsWithAsset_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemReleasesAssetsWithAsset_ItemRequestBuilder
- type ItemItemReleasesGenerateNotesPostRequestBody
- func (m *ItemItemReleasesGenerateNotesPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemReleasesGenerateNotesPostRequestBody) GetConfigurationFilePath() *string
- func (m *ItemItemReleasesGenerateNotesPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemReleasesGenerateNotesPostRequestBody) GetPreviousTagName() *string
- func (m *ItemItemReleasesGenerateNotesPostRequestBody) GetTagName() *string
- func (m *ItemItemReleasesGenerateNotesPostRequestBody) GetTargetCommitish() *string
- func (m *ItemItemReleasesGenerateNotesPostRequestBody) Serialize(...) error
- func (m *ItemItemReleasesGenerateNotesPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemReleasesGenerateNotesPostRequestBody) SetConfigurationFilePath(value *string)
- func (m *ItemItemReleasesGenerateNotesPostRequestBody) SetPreviousTagName(value *string)
- func (m *ItemItemReleasesGenerateNotesPostRequestBody) SetTagName(value *string)
- func (m *ItemItemReleasesGenerateNotesPostRequestBody) SetTargetCommitish(value *string)
- type ItemItemReleasesGenerateNotesPostRequestBodyable
- type ItemItemReleasesGenerateNotesRequestBuilder
- func (m *ItemItemReleasesGenerateNotesRequestBuilder) Post(ctx context.Context, body ItemItemReleasesGenerateNotesPostRequestBodyable, ...) (...)
- func (m *ItemItemReleasesGenerateNotesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemReleasesGenerateNotesPostRequestBodyable, ...) (...)
- func (m *ItemItemReleasesGenerateNotesRequestBuilder) WithUrl(rawUrl string) *ItemItemReleasesGenerateNotesRequestBuilder
- type ItemItemReleasesItemAssetsRequestBuilder
- func (m *ItemItemReleasesItemAssetsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemReleasesItemAssetsRequestBuilder) Post(ctx context.Context, body []byte, ...) (...)
- func (m *ItemItemReleasesItemAssetsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemReleasesItemAssetsRequestBuilder) ToPostRequestInformation(ctx context.Context, body []byte, ...) (...)
- func (m *ItemItemReleasesItemAssetsRequestBuilder) WithUrl(rawUrl string) *ItemItemReleasesItemAssetsRequestBuilder
- type ItemItemReleasesItemAssetsRequestBuilderGetQueryParameters
- type ItemItemReleasesItemAssetsRequestBuilderPostQueryParameters
- type ItemItemReleasesItemReactionsPostRequestBody
- func (m *ItemItemReleasesItemReactionsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemReleasesItemReactionsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemReleasesItemReactionsPostRequestBody) Serialize(...) error
- func (m *ItemItemReleasesItemReactionsPostRequestBody) SetAdditionalData(value map[string]any)
- type ItemItemReleasesItemReactionsPostRequestBodyable
- type ItemItemReleasesItemReactionsRequestBuilder
- func (m *ItemItemReleasesItemReactionsRequestBuilder) ByReaction_id(reaction_id int32) *ItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder
- func (m *ItemItemReleasesItemReactionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemReleasesItemReactionsRequestBuilder) Post(ctx context.Context, body ItemItemReleasesItemReactionsPostRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Reactionable, ...)
- func (m *ItemItemReleasesItemReactionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemReleasesItemReactionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemReleasesItemReactionsPostRequestBodyable, ...) (...)
- func (m *ItemItemReleasesItemReactionsRequestBuilder) WithUrl(rawUrl string) *ItemItemReleasesItemReactionsRequestBuilder
- type ItemItemReleasesItemReactionsRequestBuilderGetQueryParameters
- type ItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder
- func NewItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder(rawUrl string, ...) *ItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder
- func NewItemItemReleasesItemReactionsWithReaction_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder
- func (m *ItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder
- type ItemItemReleasesItemWithRelease_PatchRequestBody
- func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) GetBody() *string
- func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) GetDraft() *bool
- func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) GetName() *string
- func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) GetPrerelease() *bool
- func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) GetTagName() *string
- func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) GetTargetCommitish() *string
- func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) Serialize(...) error
- func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) SetBody(value *string)
- func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) SetDraft(value *bool)
- func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) SetName(value *string)
- func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) SetPrerelease(value *bool)
- func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) SetTagName(value *string)
- func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) SetTargetCommitish(value *string)
- type ItemItemReleasesItemWithRelease_PatchRequestBodyable
- type ItemItemReleasesLatestRequestBuilder
- func (m *ItemItemReleasesLatestRequestBuilder) Get(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Releaseable, ...)
- func (m *ItemItemReleasesLatestRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemReleasesLatestRequestBuilder) WithUrl(rawUrl string) *ItemItemReleasesLatestRequestBuilder
- type ItemItemReleasesPostRequestBody
- func (m *ItemItemReleasesPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemReleasesPostRequestBody) GetBody() *string
- func (m *ItemItemReleasesPostRequestBody) GetDraft() *bool
- func (m *ItemItemReleasesPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemReleasesPostRequestBody) GetGenerateReleaseNotes() *bool
- func (m *ItemItemReleasesPostRequestBody) GetName() *string
- func (m *ItemItemReleasesPostRequestBody) GetPrerelease() *bool
- func (m *ItemItemReleasesPostRequestBody) GetTagName() *string
- func (m *ItemItemReleasesPostRequestBody) GetTargetCommitish() *string
- func (m *ItemItemReleasesPostRequestBody) Serialize(...) error
- func (m *ItemItemReleasesPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemReleasesPostRequestBody) SetBody(value *string)
- func (m *ItemItemReleasesPostRequestBody) SetDraft(value *bool)
- func (m *ItemItemReleasesPostRequestBody) SetGenerateReleaseNotes(value *bool)
- func (m *ItemItemReleasesPostRequestBody) SetName(value *string)
- func (m *ItemItemReleasesPostRequestBody) SetPrerelease(value *bool)
- func (m *ItemItemReleasesPostRequestBody) SetTagName(value *string)
- func (m *ItemItemReleasesPostRequestBody) SetTargetCommitish(value *string)
- type ItemItemReleasesPostRequestBodyable
- type ItemItemReleasesRequestBuilder
- func (m *ItemItemReleasesRequestBuilder) Assets() *ItemItemReleasesAssetsRequestBuilder
- func (m *ItemItemReleasesRequestBuilder) ByRelease_id(release_id int32) *ItemItemReleasesWithRelease_ItemRequestBuilder
- func (m *ItemItemReleasesRequestBuilder) GenerateNotes() *ItemItemReleasesGenerateNotesRequestBuilder
- func (m *ItemItemReleasesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemReleasesRequestBuilder) Latest() *ItemItemReleasesLatestRequestBuilder
- func (m *ItemItemReleasesRequestBuilder) Post(ctx context.Context, body ItemItemReleasesPostRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Releaseable, ...)
- func (m *ItemItemReleasesRequestBuilder) Tags() *ItemItemReleasesTagsRequestBuilder
- func (m *ItemItemReleasesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemReleasesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemReleasesPostRequestBodyable, ...) (...)
- func (m *ItemItemReleasesRequestBuilder) WithUrl(rawUrl string) *ItemItemReleasesRequestBuilder
- type ItemItemReleasesRequestBuilderGetQueryParameters
- type ItemItemReleasesTagsRequestBuilder
- type ItemItemReleasesTagsWithTagItemRequestBuilder
- func (m *ItemItemReleasesTagsWithTagItemRequestBuilder) Get(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Releaseable, ...)
- func (m *ItemItemReleasesTagsWithTagItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemReleasesTagsWithTagItemRequestBuilder) WithUrl(rawUrl string) *ItemItemReleasesTagsWithTagItemRequestBuilder
- type ItemItemReleasesWithRelease_ItemRequestBuilder
- func (m *ItemItemReleasesWithRelease_ItemRequestBuilder) Assets() *ItemItemReleasesItemAssetsRequestBuilder
- func (m *ItemItemReleasesWithRelease_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemReleasesWithRelease_ItemRequestBuilder) Get(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Releaseable, ...)
- func (m *ItemItemReleasesWithRelease_ItemRequestBuilder) Patch(ctx context.Context, body ItemItemReleasesItemWithRelease_PatchRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Releaseable, ...)
- func (m *ItemItemReleasesWithRelease_ItemRequestBuilder) Reactions() *ItemItemReleasesItemReactionsRequestBuilder
- func (m *ItemItemReleasesWithRelease_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemReleasesWithRelease_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemReleasesWithRelease_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemReleasesItemWithRelease_PatchRequestBodyable, ...) (...)
- func (m *ItemItemReleasesWithRelease_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemReleasesWithRelease_ItemRequestBuilder
- type ItemItemReplicasCaches
- func (m *ItemItemReplicasCaches) GetAdditionalData() map[string]any
- func (m *ItemItemReplicasCaches) GetFieldDeserializers() ...
- func (m *ItemItemReplicasCaches) GetGit() ItemItemReplicasCaches_gitable
- func (m *ItemItemReplicasCaches) GetHost() *string
- func (m *ItemItemReplicasCaches) GetLocation() *string
- func (m *ItemItemReplicasCaches) Serialize(...) error
- func (m *ItemItemReplicasCaches) SetAdditionalData(value map[string]any)
- func (m *ItemItemReplicasCaches) SetGit(value ItemItemReplicasCaches_gitable)
- func (m *ItemItemReplicasCaches) SetHost(value *string)
- func (m *ItemItemReplicasCaches) SetLocation(value *string)
- type ItemItemReplicasCachesRequestBuilder
- func (m *ItemItemReplicasCachesRequestBuilder) Get(ctx context.Context, ...) ([]ItemItemReplicasCachesable, error)
- func (m *ItemItemReplicasCachesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemReplicasCachesRequestBuilder) WithUrl(rawUrl string) *ItemItemReplicasCachesRequestBuilder
- type ItemItemReplicasCachesRequestBuilderGetQueryParameters
- type ItemItemReplicasCaches_git
- func (m *ItemItemReplicasCaches_git) GetAdditionalData() map[string]any
- func (m *ItemItemReplicasCaches_git) GetFieldDeserializers() ...
- func (m *ItemItemReplicasCaches_git) GetLastSync() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
- func (m *ItemItemReplicasCaches_git) Serialize(...) error
- func (m *ItemItemReplicasCaches_git) SetAdditionalData(value map[string]any)
- func (m *ItemItemReplicasCaches_git) SetLastSync(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
- type ItemItemReplicasCaches_gitable
- type ItemItemReplicasCachesable
- type ItemItemReplicasRequestBuilder
- type ItemItemRepo403Error
- func (m *ItemItemRepo403Error) Error() string
- func (m *ItemItemRepo403Error) GetAdditionalData() map[string]any
- func (m *ItemItemRepo403Error) GetDocumentationUrl() *string
- func (m *ItemItemRepo403Error) GetFieldDeserializers() ...
- func (m *ItemItemRepo403Error) GetMessage() *string
- func (m *ItemItemRepo403Error) Serialize(...) error
- func (m *ItemItemRepo403Error) SetAdditionalData(value map[string]any)
- func (m *ItemItemRepo403Error) SetDocumentationUrl(value *string)
- func (m *ItemItemRepo403Error) SetMessage(value *string)
- type ItemItemRepo403Errorable
- type ItemItemRepoPatchRequestBody
- func (m *ItemItemRepoPatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemRepoPatchRequestBody) GetAllowForking() *bool
- func (m *ItemItemRepoPatchRequestBody) GetAllowMergeCommit() *bool
- func (m *ItemItemRepoPatchRequestBody) GetAllowRebaseMerge() *bool
- func (m *ItemItemRepoPatchRequestBody) GetAllowSquashMerge() *bool
- func (m *ItemItemRepoPatchRequestBody) GetAllowUpdateBranch() *bool
- func (m *ItemItemRepoPatchRequestBody) GetArchived() *bool
- func (m *ItemItemRepoPatchRequestBody) GetDefaultBranch() *string
- func (m *ItemItemRepoPatchRequestBody) GetDeleteBranchOnMerge() *bool
- func (m *ItemItemRepoPatchRequestBody) GetDescription() *string
- func (m *ItemItemRepoPatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemRepoPatchRequestBody) GetHasIssues() *bool
- func (m *ItemItemRepoPatchRequestBody) GetHasProjects() *bool
- func (m *ItemItemRepoPatchRequestBody) GetHasWiki() *bool
- func (m *ItemItemRepoPatchRequestBody) GetHomepage() *string
- func (m *ItemItemRepoPatchRequestBody) GetIsTemplate() *bool
- func (m *ItemItemRepoPatchRequestBody) GetName() *string
- func (m *ItemItemRepoPatchRequestBody) GetPrivate() *bool
- func (m *ItemItemRepoPatchRequestBody) GetSecurityAndAnalysis() ItemItemRepoPatchRequestBody_security_and_analysisable
- func (m *ItemItemRepoPatchRequestBody) GetUseSquashPrTitleAsDefault() *bool
- func (m *ItemItemRepoPatchRequestBody) GetWebCommitSignoffRequired() *bool
- func (m *ItemItemRepoPatchRequestBody) Serialize(...) error
- func (m *ItemItemRepoPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemRepoPatchRequestBody) SetAllowForking(value *bool)
- func (m *ItemItemRepoPatchRequestBody) SetAllowMergeCommit(value *bool)
- func (m *ItemItemRepoPatchRequestBody) SetAllowRebaseMerge(value *bool)
- func (m *ItemItemRepoPatchRequestBody) SetAllowSquashMerge(value *bool)
- func (m *ItemItemRepoPatchRequestBody) SetAllowUpdateBranch(value *bool)
- func (m *ItemItemRepoPatchRequestBody) SetArchived(value *bool)
- func (m *ItemItemRepoPatchRequestBody) SetDefaultBranch(value *string)
- func (m *ItemItemRepoPatchRequestBody) SetDeleteBranchOnMerge(value *bool)
- func (m *ItemItemRepoPatchRequestBody) SetDescription(value *string)
- func (m *ItemItemRepoPatchRequestBody) SetHasIssues(value *bool)
- func (m *ItemItemRepoPatchRequestBody) SetHasProjects(value *bool)
- func (m *ItemItemRepoPatchRequestBody) SetHasWiki(value *bool)
- func (m *ItemItemRepoPatchRequestBody) SetHomepage(value *string)
- func (m *ItemItemRepoPatchRequestBody) SetIsTemplate(value *bool)
- func (m *ItemItemRepoPatchRequestBody) SetName(value *string)
- func (m *ItemItemRepoPatchRequestBody) SetPrivate(value *bool)
- func (m *ItemItemRepoPatchRequestBody) SetSecurityAndAnalysis(value ItemItemRepoPatchRequestBody_security_and_analysisable)
- func (m *ItemItemRepoPatchRequestBody) SetUseSquashPrTitleAsDefault(value *bool)
- func (m *ItemItemRepoPatchRequestBody) SetWebCommitSignoffRequired(value *bool)
- type ItemItemRepoPatchRequestBody_security_and_analysis
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis) GetAdditionalData() map[string]any
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis) GetAdvancedSecurity() ItemItemRepoPatchRequestBody_security_and_analysis_advanced_securityable
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis) GetFieldDeserializers() ...
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis) GetSecretScanning() ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanningable
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis) GetSecretScanningPushProtection() ...
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis) Serialize(...) error
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis) SetAdditionalData(value map[string]any)
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis) SetAdvancedSecurity(value ItemItemRepoPatchRequestBody_security_and_analysis_advanced_securityable)
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis) SetSecretScanning(value ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanningable)
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis) SetSecretScanningPushProtection(...)
- type ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security) GetAdditionalData() map[string]any
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security) GetFieldDeserializers() ...
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security) GetStatus() *string
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security) Serialize(...) error
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security) SetAdditionalData(value map[string]any)
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security) SetStatus(value *string)
- type ItemItemRepoPatchRequestBody_security_and_analysis_advanced_securityable
- type ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning) GetAdditionalData() map[string]any
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning) GetFieldDeserializers() ...
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning) GetStatus() *string
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning) Serialize(...) error
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning) SetAdditionalData(value map[string]any)
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning) SetStatus(value *string)
- type ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection) GetAdditionalData() map[string]any
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection) GetFieldDeserializers() ...
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection) GetStatus() *string
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection) Serialize(...) error
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection) SetAdditionalData(value map[string]any)
- func (m *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection) SetStatus(value *string)
- type ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protectionable
- type ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanningable
- type ItemItemRepoPatchRequestBody_security_and_analysisable
- type ItemItemRepoPatchRequestBodyable
- type ItemItemSecretScanningAlertsItemLocationsRequestBuilder
- func NewItemItemSecretScanningAlertsItemLocationsRequestBuilder(rawUrl string, ...) *ItemItemSecretScanningAlertsItemLocationsRequestBuilder
- func NewItemItemSecretScanningAlertsItemLocationsRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemSecretScanningAlertsItemLocationsRequestBuilder
- func (m *ItemItemSecretScanningAlertsItemLocationsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemSecretScanningAlertsItemLocationsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemSecretScanningAlertsItemLocationsRequestBuilder) WithUrl(rawUrl string) *ItemItemSecretScanningAlertsItemLocationsRequestBuilder
- type ItemItemSecretScanningAlertsItemLocationsRequestBuilderGetQueryParameters
- type ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody
- func (m *ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) GetResolution() ...
- func (m *ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) GetResolutionComment() *string
- func (m *ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) GetState() ...
- func (m *ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) Serialize(...) error
- func (m *ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) SetResolution(...)
- func (m *ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) SetResolutionComment(value *string)
- func (m *ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) SetState(...)
- type ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBodyable
- type ItemItemSecretScanningAlertsRequestBuilder
- func (m *ItemItemSecretScanningAlertsRequestBuilder) ByAlert_number(alert_number int32) *ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder
- func (m *ItemItemSecretScanningAlertsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemSecretScanningAlertsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemSecretScanningAlertsRequestBuilder) WithUrl(rawUrl string) *ItemItemSecretScanningAlertsRequestBuilder
- type ItemItemSecretScanningAlertsRequestBuilderGetQueryParameters
- type ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder
- func NewItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder(rawUrl string, ...) *ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder
- func NewItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder
- func (m *ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder) Locations() *ItemItemSecretScanningAlertsItemLocationsRequestBuilder
- func (m *ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder) WithUrl(rawUrl string) *ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder
- type ItemItemSecretScanningRequestBuilder
- type ItemItemStargazersRequestBuilder
- func (m *ItemItemStargazersRequestBuilder) Get(ctx context.Context, ...) (StargazersGetResponseable, error)
- func (m *ItemItemStargazersRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemStargazersRequestBuilder) WithUrl(rawUrl string) *ItemItemStargazersRequestBuilder
- type ItemItemStargazersRequestBuilderGetQueryParameters
- type ItemItemStargazersSimpleUser
- type ItemItemStargazersSimpleUserable
- type ItemItemStargazersStargazer
- type ItemItemStargazersStargazerable
- type ItemItemStatsCode_frequencyRequestBuilder
- func (m *ItemItemStatsCode_frequencyRequestBuilder) Get(ctx context.Context, ...) ([]int32, error)
- func (m *ItemItemStatsCode_frequencyRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemStatsCode_frequencyRequestBuilder) WithUrl(rawUrl string) *ItemItemStatsCode_frequencyRequestBuilder
- type ItemItemStatsCommit_activityRequestBuilder
- func (m *ItemItemStatsCommit_activityRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemStatsCommit_activityRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemStatsCommit_activityRequestBuilder) WithUrl(rawUrl string) *ItemItemStatsCommit_activityRequestBuilder
- type ItemItemStatsContributorsRequestBuilder
- func (m *ItemItemStatsContributorsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemStatsContributorsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemStatsContributorsRequestBuilder) WithUrl(rawUrl string) *ItemItemStatsContributorsRequestBuilder
- type ItemItemStatsParticipationRequestBuilder
- func (m *ItemItemStatsParticipationRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemStatsParticipationRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemStatsParticipationRequestBuilder) WithUrl(rawUrl string) *ItemItemStatsParticipationRequestBuilder
- type ItemItemStatsPunch_cardRequestBuilder
- func (m *ItemItemStatsPunch_cardRequestBuilder) Get(ctx context.Context, ...) ([]int32, error)
- func (m *ItemItemStatsPunch_cardRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemStatsPunch_cardRequestBuilder) WithUrl(rawUrl string) *ItemItemStatsPunch_cardRequestBuilder
- type ItemItemStatsRequestBuilder
- func (m *ItemItemStatsRequestBuilder) Code_frequency() *ItemItemStatsCode_frequencyRequestBuilder
- func (m *ItemItemStatsRequestBuilder) Commit_activity() *ItemItemStatsCommit_activityRequestBuilder
- func (m *ItemItemStatsRequestBuilder) Contributors() *ItemItemStatsContributorsRequestBuilder
- func (m *ItemItemStatsRequestBuilder) Participation() *ItemItemStatsParticipationRequestBuilder
- func (m *ItemItemStatsRequestBuilder) Punch_card() *ItemItemStatsPunch_cardRequestBuilder
- type ItemItemStatusesItemWithShaPostRequestBody
- func (m *ItemItemStatusesItemWithShaPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemStatusesItemWithShaPostRequestBody) GetContext() *string
- func (m *ItemItemStatusesItemWithShaPostRequestBody) GetDescription() *string
- func (m *ItemItemStatusesItemWithShaPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemStatusesItemWithShaPostRequestBody) GetTargetUrl() *string
- func (m *ItemItemStatusesItemWithShaPostRequestBody) Serialize(...) error
- func (m *ItemItemStatusesItemWithShaPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemStatusesItemWithShaPostRequestBody) SetContext(value *string)
- func (m *ItemItemStatusesItemWithShaPostRequestBody) SetDescription(value *string)
- func (m *ItemItemStatusesItemWithShaPostRequestBody) SetTargetUrl(value *string)
- type ItemItemStatusesItemWithShaPostRequestBodyable
- type ItemItemStatusesRequestBuilder
- type ItemItemStatusesWithShaItemRequestBuilder
- func (m *ItemItemStatusesWithShaItemRequestBuilder) Post(ctx context.Context, body ItemItemStatusesItemWithShaPostRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Statusable, ...)
- func (m *ItemItemStatusesWithShaItemRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemStatusesItemWithShaPostRequestBodyable, ...) (...)
- func (m *ItemItemStatusesWithShaItemRequestBuilder) WithUrl(rawUrl string) *ItemItemStatusesWithShaItemRequestBuilder
- type ItemItemSubscribersRequestBuilder
- type ItemItemSubscribersRequestBuilderGetQueryParameters
- type ItemItemSubscriptionPutRequestBody
- func (m *ItemItemSubscriptionPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemSubscriptionPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemSubscriptionPutRequestBody) GetIgnored() *bool
- func (m *ItemItemSubscriptionPutRequestBody) GetSubscribed() *bool
- func (m *ItemItemSubscriptionPutRequestBody) Serialize(...) error
- func (m *ItemItemSubscriptionPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemSubscriptionPutRequestBody) SetIgnored(value *bool)
- func (m *ItemItemSubscriptionPutRequestBody) SetSubscribed(value *bool)
- type ItemItemSubscriptionPutRequestBodyable
- type ItemItemSubscriptionRequestBuilder
- func (m *ItemItemSubscriptionRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemSubscriptionRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemSubscriptionRequestBuilder) Put(ctx context.Context, body ItemItemSubscriptionPutRequestBodyable, ...) (...)
- func (m *ItemItemSubscriptionRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemSubscriptionRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemSubscriptionRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemSubscriptionPutRequestBodyable, ...) (...)
- func (m *ItemItemSubscriptionRequestBuilder) WithUrl(rawUrl string) *ItemItemSubscriptionRequestBuilder
- type ItemItemTagsProtectionPostRequestBody
- func (m *ItemItemTagsProtectionPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemTagsProtectionPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemTagsProtectionPostRequestBody) GetPattern() *string
- func (m *ItemItemTagsProtectionPostRequestBody) Serialize(...) error
- func (m *ItemItemTagsProtectionPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemTagsProtectionPostRequestBody) SetPattern(value *string)
- type ItemItemTagsProtectionPostRequestBodyable
- type ItemItemTagsProtectionRequestBuilder
- func (m *ItemItemTagsProtectionRequestBuilder) ByTag_protection_id(tag_protection_id int32) *ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder
- func (m *ItemItemTagsProtectionRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemItemTagsProtectionRequestBuilder) Post(ctx context.Context, body ItemItemTagsProtectionPostRequestBodyable, ...) (...)
- func (m *ItemItemTagsProtectionRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemTagsProtectionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemTagsProtectionPostRequestBodyable, ...) (...)
- func (m *ItemItemTagsProtectionRequestBuilder) WithUrl(rawUrl string) *ItemItemTagsProtectionRequestBuilder
- type ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder
- func NewItemItemTagsProtectionWithTag_protection_ItemRequestBuilder(rawUrl string, ...) *ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder
- func NewItemItemTagsProtectionWithTag_protection_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder
- func (m *ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder
- type ItemItemTagsRequestBuilder
- func (m *ItemItemTagsRequestBuilder) Get(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Tagable, ...)
- func (m *ItemItemTagsRequestBuilder) Protection() *ItemItemTagsProtectionRequestBuilder
- func (m *ItemItemTagsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemTagsRequestBuilder) WithUrl(rawUrl string) *ItemItemTagsRequestBuilder
- type ItemItemTagsRequestBuilderGetQueryParameters
- type ItemItemTarballRequestBuilder
- type ItemItemTarballWithRefItemRequestBuilder
- func (m *ItemItemTarballWithRefItemRequestBuilder) Get(ctx context.Context, ...) error
- func (m *ItemItemTarballWithRefItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemTarballWithRefItemRequestBuilder) WithUrl(rawUrl string) *ItemItemTarballWithRefItemRequestBuilder
- type ItemItemTeamsRequestBuilder
- func (m *ItemItemTeamsRequestBuilder) Get(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Teamable, ...)
- func (m *ItemItemTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemTeamsRequestBuilder) WithUrl(rawUrl string) *ItemItemTeamsRequestBuilder
- type ItemItemTeamsRequestBuilderGetQueryParameters
- type ItemItemTopicsPutRequestBody
- func (m *ItemItemTopicsPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemTopicsPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemTopicsPutRequestBody) GetNames() []string
- func (m *ItemItemTopicsPutRequestBody) Serialize(...) error
- func (m *ItemItemTopicsPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemTopicsPutRequestBody) SetNames(value []string)
- type ItemItemTopicsPutRequestBodyable
- type ItemItemTopicsRequestBuilder
- func (m *ItemItemTopicsRequestBuilder) Get(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Topicable, ...)
- func (m *ItemItemTopicsRequestBuilder) Put(ctx context.Context, body ItemItemTopicsPutRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Topicable, ...)
- func (m *ItemItemTopicsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemTopicsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemTopicsPutRequestBodyable, ...) (...)
- func (m *ItemItemTopicsRequestBuilder) WithUrl(rawUrl string) *ItemItemTopicsRequestBuilder
- type ItemItemTopicsRequestBuilderGetQueryParameters
- type ItemItemTransferPostRequestBody
- func (m *ItemItemTransferPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemTransferPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemTransferPostRequestBody) GetNewName() *string
- func (m *ItemItemTransferPostRequestBody) GetNewOwner() *string
- func (m *ItemItemTransferPostRequestBody) GetTeamIds() []int32
- func (m *ItemItemTransferPostRequestBody) Serialize(...) error
- func (m *ItemItemTransferPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemItemTransferPostRequestBody) SetNewName(value *string)
- func (m *ItemItemTransferPostRequestBody) SetNewOwner(value *string)
- func (m *ItemItemTransferPostRequestBody) SetTeamIds(value []int32)
- type ItemItemTransferPostRequestBodyable
- type ItemItemTransferRequestBuilder
- func (m *ItemItemTransferRequestBuilder) Post(ctx context.Context, body ItemItemTransferPostRequestBodyable, ...) (...)
- func (m *ItemItemTransferRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemTransferPostRequestBodyable, ...) (...)
- func (m *ItemItemTransferRequestBuilder) WithUrl(rawUrl string) *ItemItemTransferRequestBuilder
- type ItemItemVulnerabilityAlertsRequestBuilder
- func (m *ItemItemVulnerabilityAlertsRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemItemVulnerabilityAlertsRequestBuilder) Get(ctx context.Context, ...) error
- func (m *ItemItemVulnerabilityAlertsRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemItemVulnerabilityAlertsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemVulnerabilityAlertsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemVulnerabilityAlertsRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemVulnerabilityAlertsRequestBuilder) WithUrl(rawUrl string) *ItemItemVulnerabilityAlertsRequestBuilder
- type ItemItemZipballRequestBuilder
- type ItemItemZipballWithRefItemRequestBuilder
- func (m *ItemItemZipballWithRefItemRequestBuilder) Get(ctx context.Context, ...) error
- func (m *ItemItemZipballWithRefItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemZipballWithRefItemRequestBuilder) WithUrl(rawUrl string) *ItemItemZipballWithRefItemRequestBuilder
- type ItemRepoItemRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Actions() *ItemItemActionsRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Assignees() *ItemItemAssigneesRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Autolinks() *ItemItemAutolinksRequestBuilder
- func (m *ItemRepoItemRequestBuilder) AutomatedSecurityFixes() *ItemItemAutomatedSecurityFixesRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Branches() *ItemItemBranchesRequestBuilder
- func (m *ItemRepoItemRequestBuilder) CheckRuns() *ItemItemCheckRunsRequestBuilder
- func (m *ItemRepoItemRequestBuilder) CheckSuites() *ItemItemCheckSuitesRequestBuilder
- func (m *ItemRepoItemRequestBuilder) CodeScanning() *ItemItemCodeScanningRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Codeowners() *ItemItemCodeownersRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Collaborators() *ItemItemCollaboratorsRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Comments() *ItemItemCommentsRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Commits() *ItemItemCommitsRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Compare() *ItemItemCompareRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Contents() *ItemItemContentsRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Contributors() *ItemItemContributorsRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemRepoItemRequestBuilder) Dependabot() *ItemItemDependabotRequestBuilder
- func (m *ItemRepoItemRequestBuilder) DependencyGraph() *ItemItemDependencyGraphRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Deployments() *ItemItemDeploymentsRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Dispatches() *ItemItemDispatchesRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Environments() *ItemItemEnvironmentsRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Events() *ItemItemEventsRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Forks() *ItemItemForksRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Generate() *ItemItemGenerateRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemRepoItemRequestBuilder) Git() *ItemItemGitRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Hooks() *ItemItemHooksRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Installation() *ItemItemInstallationRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Invitations() *ItemItemInvitationsRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Issues() *ItemItemIssuesRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Keys() *ItemItemKeysRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Labels() *ItemItemLabelsRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Languages() *ItemItemLanguagesRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Lfs() *ItemItemLfsRequestBuilder
- func (m *ItemRepoItemRequestBuilder) License() *ItemItemLicenseRequestBuilder
- func (m *ItemRepoItemRequestBuilder) MergeUpstream() *ItemItemMergeUpstreamRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Merges() *ItemItemMergesRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Milestones() *ItemItemMilestonesRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Notifications() *ItemItemNotificationsRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Pages() *ItemItemPagesRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Patch(ctx context.Context, body ItemItemRepoPatchRequestBodyable, ...) (...)
- func (m *ItemRepoItemRequestBuilder) PreReceiveHooks() *ItemItemPreReceiveHooksRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Projects() *ItemItemProjectsRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Pulls() *ItemItemPullsRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Readme() *ItemItemReadmeRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Releases() *ItemItemReleasesRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Replicas() *ItemItemReplicasRequestBuilder
- func (m *ItemRepoItemRequestBuilder) SecretScanning() *ItemItemSecretScanningRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Stargazers() *ItemItemStargazersRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Stats() *ItemItemStatsRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Statuses() *ItemItemStatusesRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Subscribers() *ItemItemSubscribersRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Subscription() *ItemItemSubscriptionRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Tags() *ItemItemTagsRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Tarball() *ItemItemTarballRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Teams() *ItemItemTeamsRequestBuilder
- func (m *ItemRepoItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemRepoItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemRepoItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemRepoPatchRequestBodyable, ...) (...)
- func (m *ItemRepoItemRequestBuilder) Topics() *ItemItemTopicsRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Transfer() *ItemItemTransferRequestBuilder
- func (m *ItemRepoItemRequestBuilder) VulnerabilityAlerts() *ItemItemVulnerabilityAlertsRequestBuilder
- func (m *ItemRepoItemRequestBuilder) WithUrl(rawUrl string) *ItemRepoItemRequestBuilder
- func (m *ItemRepoItemRequestBuilder) Zipball() *ItemItemZipballRequestBuilder
- type LabelsPostRequestBody
- func (m *LabelsPostRequestBody) GetFieldDeserializers() ...
- func (m *LabelsPostRequestBody) GetIsComposedType() bool
- func (m *LabelsPostRequestBody) GetItemItemIssuesItemLabelsPostRequestBodyMember1() ItemItemIssuesItemLabelsPostRequestBodyMember1able
- func (m *LabelsPostRequestBody) GetItemItemIssuesItemLabelsPostRequestBodyMember2() ItemItemIssuesItemLabelsPostRequestBodyMember2able
- func (m *LabelsPostRequestBody) GetItemItemIssuesItemLabelsPostRequestBodyMember3() []ItemItemIssuesItemLabelsPostRequestBodyMember3able
- func (m *LabelsPostRequestBody) GetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember1() ItemItemIssuesItemLabelsPostRequestBodyMember1able
- func (m *LabelsPostRequestBody) GetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember2() ItemItemIssuesItemLabelsPostRequestBodyMember2able
- func (m *LabelsPostRequestBody) GetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember3() []ItemItemIssuesItemLabelsPostRequestBodyMember3able
- func (m *LabelsPostRequestBody) GetLabelsPostRequestBodyString() *string
- func (m *LabelsPostRequestBody) GetString() *string
- func (m *LabelsPostRequestBody) Serialize(...) error
- func (m *LabelsPostRequestBody) SetItemItemIssuesItemLabelsPostRequestBodyMember1(value ItemItemIssuesItemLabelsPostRequestBodyMember1able)
- func (m *LabelsPostRequestBody) SetItemItemIssuesItemLabelsPostRequestBodyMember2(value ItemItemIssuesItemLabelsPostRequestBodyMember2able)
- func (m *LabelsPostRequestBody) SetItemItemIssuesItemLabelsPostRequestBodyMember3(value []ItemItemIssuesItemLabelsPostRequestBodyMember3able)
- func (m *LabelsPostRequestBody) SetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember1(value ItemItemIssuesItemLabelsPostRequestBodyMember1able)
- func (m *LabelsPostRequestBody) SetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember2(value ItemItemIssuesItemLabelsPostRequestBodyMember2able)
- func (m *LabelsPostRequestBody) SetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember3(value []ItemItemIssuesItemLabelsPostRequestBodyMember3able)
- func (m *LabelsPostRequestBody) SetLabelsPostRequestBodyString(value *string)
- func (m *LabelsPostRequestBody) SetString(value *string)
- type LabelsPostRequestBodyable
- type LabelsPutRequestBody
- func (m *LabelsPutRequestBody) GetFieldDeserializers() ...
- func (m *LabelsPutRequestBody) GetIsComposedType() bool
- func (m *LabelsPutRequestBody) GetItemItemIssuesItemLabelsPutRequestBodyMember1() ItemItemIssuesItemLabelsPutRequestBodyMember1able
- func (m *LabelsPutRequestBody) GetItemItemIssuesItemLabelsPutRequestBodyMember2() ItemItemIssuesItemLabelsPutRequestBodyMember2able
- func (m *LabelsPutRequestBody) GetItemItemIssuesItemLabelsPutRequestBodyMember3() []ItemItemIssuesItemLabelsPutRequestBodyMember3able
- func (m *LabelsPutRequestBody) GetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember1() ItemItemIssuesItemLabelsPutRequestBodyMember1able
- func (m *LabelsPutRequestBody) GetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember2() ItemItemIssuesItemLabelsPutRequestBodyMember2able
- func (m *LabelsPutRequestBody) GetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember3() []ItemItemIssuesItemLabelsPutRequestBodyMember3able
- func (m *LabelsPutRequestBody) GetLabelsPutRequestBodyString() *string
- func (m *LabelsPutRequestBody) GetString() *string
- func (m *LabelsPutRequestBody) Serialize(...) error
- func (m *LabelsPutRequestBody) SetItemItemIssuesItemLabelsPutRequestBodyMember1(value ItemItemIssuesItemLabelsPutRequestBodyMember1able)
- func (m *LabelsPutRequestBody) SetItemItemIssuesItemLabelsPutRequestBodyMember2(value ItemItemIssuesItemLabelsPutRequestBodyMember2able)
- func (m *LabelsPutRequestBody) SetItemItemIssuesItemLabelsPutRequestBodyMember3(value []ItemItemIssuesItemLabelsPutRequestBodyMember3able)
- func (m *LabelsPutRequestBody) SetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember1(value ItemItemIssuesItemLabelsPutRequestBodyMember1able)
- func (m *LabelsPutRequestBody) SetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember2(value ItemItemIssuesItemLabelsPutRequestBodyMember2able)
- func (m *LabelsPutRequestBody) SetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember3(value []ItemItemIssuesItemLabelsPutRequestBodyMember3able)
- func (m *LabelsPutRequestBody) SetLabelsPutRequestBodyString(value *string)
- func (m *LabelsPutRequestBody) SetString(value *string)
- type LabelsPutRequestBodyable
- type OwnerItemRequestBuilder
- type ReposRequestBuilder
- type StargazersGetResponse
- func (m *StargazersGetResponse) GetFieldDeserializers() ...
- func (m *StargazersGetResponse) GetIsComposedType() bool
- func (m *StargazersGetResponse) GetItemItemStargazersSimpleUser() []ItemItemStargazersSimpleUserable
- func (m *StargazersGetResponse) GetItemItemStargazersStargazer() []ItemItemStargazersStargazerable
- func (m *StargazersGetResponse) Serialize(...) error
- func (m *StargazersGetResponse) SetItemItemStargazersSimpleUser(value []ItemItemStargazersSimpleUserable)
- func (m *StargazersGetResponse) SetItemItemStargazersStargazer(value []ItemItemStargazersStargazerable)
- type StargazersGetResponseable
- type TeamsDeleteRequestBody
- func (m *TeamsDeleteRequestBody) GetFieldDeserializers() ...
- func (m *TeamsDeleteRequestBody) GetIsComposedType() bool
- func (m *TeamsDeleteRequestBody) GetItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1able
- func (m *TeamsDeleteRequestBody) GetString() *string
- func (m *TeamsDeleteRequestBody) GetTeamsDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1able
- func (m *TeamsDeleteRequestBody) GetTeamsDeleteRequestBodyString() *string
- func (m *TeamsDeleteRequestBody) Serialize(...) error
- func (m *TeamsDeleteRequestBody) SetItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1(...)
- func (m *TeamsDeleteRequestBody) SetString(value *string)
- func (m *TeamsDeleteRequestBody) SetTeamsDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1(...)
- func (m *TeamsDeleteRequestBody) SetTeamsDeleteRequestBodyString(value *string)
- type TeamsDeleteRequestBodyable
- type TeamsPostRequestBody
- func (m *TeamsPostRequestBody) GetFieldDeserializers() ...
- func (m *TeamsPostRequestBody) GetIsComposedType() bool
- func (m *TeamsPostRequestBody) GetItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1able
- func (m *TeamsPostRequestBody) GetString() *string
- func (m *TeamsPostRequestBody) GetTeamsPostRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1able
- func (m *TeamsPostRequestBody) GetTeamsPostRequestBodyString() *string
- func (m *TeamsPostRequestBody) Serialize(...) error
- func (m *TeamsPostRequestBody) SetItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1(...)
- func (m *TeamsPostRequestBody) SetString(value *string)
- func (m *TeamsPostRequestBody) SetTeamsPostRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1(...)
- func (m *TeamsPostRequestBody) SetTeamsPostRequestBodyString(value *string)
- type TeamsPostRequestBodyable
- type TeamsPutRequestBody
- func (m *TeamsPutRequestBody) GetFieldDeserializers() ...
- func (m *TeamsPutRequestBody) GetIsComposedType() bool
- func (m *TeamsPutRequestBody) GetItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1able
- func (m *TeamsPutRequestBody) GetString() *string
- func (m *TeamsPutRequestBody) GetTeamsPutRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1able
- func (m *TeamsPutRequestBody) GetTeamsPutRequestBodyString() *string
- func (m *TeamsPutRequestBody) Serialize(...) error
- func (m *TeamsPutRequestBody) SetItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1able)
- func (m *TeamsPutRequestBody) SetString(value *string)
- func (m *TeamsPutRequestBody) SetTeamsPutRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1able)
- func (m *TeamsPutRequestBody) SetTeamsPutRequestBodyString(value *string)
- type TeamsPutRequestBodyable
- type UsersDeleteRequestBody
- func (m *UsersDeleteRequestBody) GetFieldDeserializers() ...
- func (m *UsersDeleteRequestBody) GetIsComposedType() bool
- func (m *UsersDeleteRequestBody) GetItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1able
- func (m *UsersDeleteRequestBody) GetString() *string
- func (m *UsersDeleteRequestBody) GetUsersDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1able
- func (m *UsersDeleteRequestBody) GetUsersDeleteRequestBodyString() *string
- func (m *UsersDeleteRequestBody) Serialize(...) error
- func (m *UsersDeleteRequestBody) SetItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1(...)
- func (m *UsersDeleteRequestBody) SetString(value *string)
- func (m *UsersDeleteRequestBody) SetUsersDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1(...)
- func (m *UsersDeleteRequestBody) SetUsersDeleteRequestBodyString(value *string)
- type UsersDeleteRequestBodyable
- type UsersPostRequestBody
- func (m *UsersPostRequestBody) GetFieldDeserializers() ...
- func (m *UsersPostRequestBody) GetIsComposedType() bool
- func (m *UsersPostRequestBody) GetItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1able
- func (m *UsersPostRequestBody) GetString() *string
- func (m *UsersPostRequestBody) GetUsersPostRequestBodyItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1able
- func (m *UsersPostRequestBody) GetUsersPostRequestBodyString() *string
- func (m *UsersPostRequestBody) Serialize(...) error
- func (m *UsersPostRequestBody) SetItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1(...)
- func (m *UsersPostRequestBody) SetString(value *string)
- func (m *UsersPostRequestBody) SetUsersPostRequestBodyItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1(...)
- func (m *UsersPostRequestBody) SetUsersPostRequestBodyString(value *string)
- type UsersPostRequestBodyable
- type UsersPutRequestBody
- func (m *UsersPutRequestBody) GetFieldDeserializers() ...
- func (m *UsersPutRequestBody) GetIsComposedType() bool
- func (m *UsersPutRequestBody) GetItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1able
- func (m *UsersPutRequestBody) GetString() *string
- func (m *UsersPutRequestBody) GetUsersPutRequestBodyItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1able
- func (m *UsersPutRequestBody) GetUsersPutRequestBodyString() *string
- func (m *UsersPutRequestBody) Serialize(...) error
- func (m *UsersPutRequestBody) SetItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1able)
- func (m *UsersPutRequestBody) SetString(value *string)
- func (m *UsersPutRequestBody) SetUsersPutRequestBodyItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1able)
- func (m *UsersPutRequestBody) SetUsersPutRequestBodyString(value *string)
- type UsersPutRequestBodyable
- type WithCheck_run_PatchRequestBody
- func (m *WithCheck_run_PatchRequestBody) GetFieldDeserializers() ...
- func (m *WithCheck_run_PatchRequestBody) GetIsComposedType() bool
- func (m *WithCheck_run_PatchRequestBody) GetItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember1() ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1able
- func (m *WithCheck_run_PatchRequestBody) GetItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember2() ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2able
- func (m *WithCheck_run_PatchRequestBody) GetWithCheckRunPatchRequestBodyItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember1() ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1able
- func (m *WithCheck_run_PatchRequestBody) GetWithCheckRunPatchRequestBodyItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember2() ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2able
- func (m *WithCheck_run_PatchRequestBody) Serialize(...) error
- func (m *WithCheck_run_PatchRequestBody) SetItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember1(value ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1able)
- func (m *WithCheck_run_PatchRequestBody) SetItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember2(value ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2able)
- func (m *WithCheck_run_PatchRequestBody) SetWithCheckRunPatchRequestBodyItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember1(value ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1able)
- func (m *WithCheck_run_PatchRequestBody) SetWithCheckRunPatchRequestBodyItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember2(value ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2able)
- type WithCheck_run_PatchRequestBodyable
- type WithPathGetResponse
- func (m *WithPathGetResponse) GetContentFile() ...
- func (m *WithPathGetResponse) GetContentSubmodule() ...
- func (m *WithPathGetResponse) GetContentSymlink() ...
- func (m *WithPathGetResponse) GetFieldDeserializers() ...
- func (m *WithPathGetResponse) GetIsComposedType() bool
- func (m *WithPathGetResponse) GetWithPathGetResponseMember1() ...
- func (m *WithPathGetResponse) Serialize(...) error
- func (m *WithPathGetResponse) SetContentFile(...)
- func (m *WithPathGetResponse) SetContentSubmodule(...)
- func (m *WithPathGetResponse) SetContentSymlink(...)
- func (m *WithPathGetResponse) SetWithPathGetResponseMember1(...)
- type WithPathGetResponseable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAppsDeleteRequestBodyFromDiscriminatorValue ¶
func CreateAppsDeleteRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateAppsDeleteRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateAppsPostRequestBodyFromDiscriminatorValue ¶
func CreateAppsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateAppsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateAppsPutRequestBodyFromDiscriminatorValue ¶
func CreateAppsPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateAppsPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateCheckRunsPostRequestBodyFromDiscriminatorValue ¶
func CreateCheckRunsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateCheckRunsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateContextsDeleteRequestBodyFromDiscriminatorValue ¶
func CreateContextsDeleteRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateContextsDeleteRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateContextsPostRequestBodyFromDiscriminatorValue ¶
func CreateContextsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateContextsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateContextsPutRequestBodyFromDiscriminatorValue ¶
func CreateContextsPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateContextsPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateDeployment_protection_rulePostRequestBodyFromDiscriminatorValue ¶
func CreateDeployment_protection_rulePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateDeployment_protection_rulePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsArtifactsGetResponseFromDiscriminatorValue ¶
func CreateItemItemActionsArtifactsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsArtifactsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsJobsItemRerunPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemActionsJobsItemRerunPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsJobsItemRerunPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsOidcCustomizationSubPutRequestBodyFromDiscriminatorValue ¶
func CreateItemItemActionsOidcCustomizationSubPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsOidcCustomizationSubPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsOrganizationSecretsGetResponseFromDiscriminatorValue ¶
func CreateItemItemActionsOrganizationSecretsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsOrganizationSecretsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsOrganizationVariablesGetResponseFromDiscriminatorValue ¶
func CreateItemItemActionsOrganizationVariablesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsOrganizationVariablesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsPermissionsPutRequestBodyFromDiscriminatorValue ¶
func CreateItemItemActionsPermissionsPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsPermissionsPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsRunnersGenerateJitconfigPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemActionsRunnersGenerateJitconfigPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsRunnersGenerateJitconfigPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsRunnersGenerateJitconfigPostResponseFromDiscriminatorValue ¶
func CreateItemItemActionsRunnersGenerateJitconfigPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsRunnersGenerateJitconfigPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsRunnersGetResponseFromDiscriminatorValue ¶
func CreateItemItemActionsRunnersGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsRunnersGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsRunnersItemLabelsDeleteResponseFromDiscriminatorValue ¶
func CreateItemItemActionsRunnersItemLabelsDeleteResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsRunnersItemLabelsDeleteResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsRunnersItemLabelsGetResponseFromDiscriminatorValue ¶
func CreateItemItemActionsRunnersItemLabelsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsRunnersItemLabelsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsRunnersItemLabelsItemWithNameDeleteResponseFromDiscriminatorValue ¶
func CreateItemItemActionsRunnersItemLabelsItemWithNameDeleteResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsRunnersItemLabelsItemWithNameDeleteResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsRunnersItemLabelsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemActionsRunnersItemLabelsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsRunnersItemLabelsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsRunnersItemLabelsPostResponseFromDiscriminatorValue ¶
func CreateItemItemActionsRunnersItemLabelsPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsRunnersItemLabelsPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsRunnersItemLabelsPutRequestBodyFromDiscriminatorValue ¶
func CreateItemItemActionsRunnersItemLabelsPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsRunnersItemLabelsPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsRunnersItemLabelsPutResponseFromDiscriminatorValue ¶
func CreateItemItemActionsRunnersItemLabelsPutResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsRunnersItemLabelsPutResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsRunsGetResponseFromDiscriminatorValue ¶
func CreateItemItemActionsRunsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsRunsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsRunsItemArtifactsGetResponseFromDiscriminatorValue ¶
func CreateItemItemActionsRunsItemArtifactsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsRunsItemArtifactsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsRunsItemAttemptsItemJobsGetResponseFromDiscriminatorValue ¶
func CreateItemItemActionsRunsItemAttemptsItemJobsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsRunsItemAttemptsItemJobsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsRunsItemJobsGetResponseFromDiscriminatorValue ¶
func CreateItemItemActionsRunsItemJobsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsRunsItemJobsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsRunsItemPending_deploymentsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemActionsRunsItemPending_deploymentsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsRunsItemPending_deploymentsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsRunsItemRerunFailedJobsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemActionsRunsItemRerunFailedJobsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsRunsItemRerunFailedJobsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsRunsItemRerunPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemActionsRunsItemRerunPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsRunsItemRerunPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsSecretsGetResponseFromDiscriminatorValue ¶
func CreateItemItemActionsSecretsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsSecretsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue ¶
func CreateItemItemActionsSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsVariablesGetResponseFromDiscriminatorValue ¶
func CreateItemItemActionsVariablesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsVariablesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsVariablesItemWithNamePatchRequestBodyFromDiscriminatorValue ¶
func CreateItemItemActionsVariablesItemWithNamePatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsVariablesItemWithNamePatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsVariablesPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemActionsVariablesPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsVariablesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsWorkflowsGetResponseFromDiscriminatorValue ¶
func CreateItemItemActionsWorkflowsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsWorkflowsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsWorkflowsItemDispatchesPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemActionsWorkflowsItemDispatchesPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsWorkflowsItemDispatchesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputsFromDiscriminatorValue ¶
func CreateItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemActionsWorkflowsItemRunsGetResponseFromDiscriminatorValue ¶
func CreateItemItemActionsWorkflowsItemRunsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemActionsWorkflowsItemRunsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemAutolinksPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemAutolinksPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemAutolinksPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemProtectionPutRequestBodyFromDiscriminatorValue ¶
func CreateItemItemBranchesItemProtectionPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemProtectionPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviewsFromDiscriminatorValue ¶
func CreateItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviewsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviewsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowancesFromDiscriminatorValue ¶
func CreateItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowancesFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowancesFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictionsFromDiscriminatorValue ¶
func CreateItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictionsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictionsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemProtectionPutRequestBody_required_status_checksFromDiscriminatorValue ¶
func CreateItemItemBranchesItemProtectionPutRequestBody_required_status_checksFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemProtectionPutRequestBody_required_status_checksFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checksFromDiscriminatorValue ¶
func CreateItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checksFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checksFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemProtectionPutRequestBody_restrictionsFromDiscriminatorValue ¶
func CreateItemItemBranchesItemProtectionPutRequestBody_restrictionsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemProtectionPutRequestBody_restrictionsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowancesFromDiscriminatorValue ¶
func CreateItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowancesFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowancesFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictionsFromDiscriminatorValue ¶
func CreateItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictionsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictionsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1FromDiscriminatorValue ¶
func CreateItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1FromDiscriminatorValue ¶
func CreateItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1FromDiscriminatorValue ¶
func CreateItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemProtectionRequired_status_checksPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemItemBranchesItemProtectionRequired_status_checksPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemProtectionRequired_status_checksPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checksFromDiscriminatorValue ¶
func CreateItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checksFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checksFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1FromDiscriminatorValue ¶
func CreateItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1FromDiscriminatorValue ¶
func CreateItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1FromDiscriminatorValue ¶
func CreateItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1FromDiscriminatorValue ¶
func CreateItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1FromDiscriminatorValue ¶
func CreateItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1FromDiscriminatorValue ¶
func CreateItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1FromDiscriminatorValue ¶
func CreateItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1FromDiscriminatorValue ¶
func CreateItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1FromDiscriminatorValue ¶
func CreateItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemBranchesItemRenamePostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemBranchesItemRenamePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemBranchesItemRenamePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1FromDiscriminatorValue ¶
func CreateItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2FromDiscriminatorValue ¶
func CreateItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemCheckRunsPostRequestBodyMember1FromDiscriminatorValue ¶
func CreateItemItemCheckRunsPostRequestBodyMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemCheckRunsPostRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemCheckRunsPostRequestBodyMember2FromDiscriminatorValue ¶
func CreateItemItemCheckRunsPostRequestBodyMember2FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemCheckRunsPostRequestBodyMember2FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemCheckSuitesItemCheckRunsGetResponseFromDiscriminatorValue ¶
func CreateItemItemCheckSuitesItemCheckRunsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemCheckSuitesItemCheckRunsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemCheckSuitesPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemCheckSuitesPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemCheckSuitesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemCheckSuitesPreferencesPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemItemCheckSuitesPreferencesPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemCheckSuitesPreferencesPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checksFromDiscriminatorValue ¶
func CreateItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checksFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checksFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemCodeScanningSarifsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemCodeScanningSarifsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemCodeScanningSarifsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemCollaboratorsItemWithUsernamePutRequestBodyFromDiscriminatorValue ¶
func CreateItemItemCollaboratorsItemWithUsernamePutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemCollaboratorsItemWithUsernamePutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemCommentsItemReactionsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemCommentsItemReactionsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemCommentsItemReactionsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemCommentsItemWithComment_PatchRequestBodyFromDiscriminatorValue ¶
func CreateItemItemCommentsItemWithComment_PatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemCommentsItemWithComment_PatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemCommitsItemCheckRunsGetResponseFromDiscriminatorValue ¶
func CreateItemItemCommitsItemCheckRunsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemCommitsItemCheckRunsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemCommitsItemCheckSuitesGetResponseFromDiscriminatorValue ¶
func CreateItemItemCommitsItemCheckSuitesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemCommitsItemCheckSuitesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemCommitsItemCommentsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemCommitsItemCommentsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemCommitsItemCommentsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemContentsItemWithPathDeleteRequestBodyFromDiscriminatorValue ¶
func CreateItemItemContentsItemWithPathDeleteRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemContentsItemWithPathDeleteRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemContentsItemWithPathDeleteRequestBody_authorFromDiscriminatorValue ¶
func CreateItemItemContentsItemWithPathDeleteRequestBody_authorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemContentsItemWithPathDeleteRequestBody_authorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemContentsItemWithPathDeleteRequestBody_committerFromDiscriminatorValue ¶
func CreateItemItemContentsItemWithPathDeleteRequestBody_committerFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemContentsItemWithPathDeleteRequestBody_committerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemContentsItemWithPathPutRequestBodyFromDiscriminatorValue ¶
func CreateItemItemContentsItemWithPathPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemContentsItemWithPathPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemContentsItemWithPathPutRequestBody_authorFromDiscriminatorValue ¶
func CreateItemItemContentsItemWithPathPutRequestBody_authorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemContentsItemWithPathPutRequestBody_authorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemContentsItemWithPathPutRequestBody_committerFromDiscriminatorValue ¶
func CreateItemItemContentsItemWithPathPutRequestBody_committerFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemContentsItemWithPathPutRequestBody_committerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemDependabotAlertsItemWithAlert_numberPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemItemDependabotAlertsItemWithAlert_numberPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemDependabotAlertsItemWithAlert_numberPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemDependabotSecretsGetResponseFromDiscriminatorValue ¶
func CreateItemItemDependabotSecretsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemDependabotSecretsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemDependabotSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue ¶
func CreateItemItemDependabotSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemDependabotSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemDependencyGraphSnapshotsPostResponseFromDiscriminatorValue ¶
func CreateItemItemDependencyGraphSnapshotsPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemDependencyGraphSnapshotsPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemDeploymentsItemStatusesPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemDeploymentsItemStatusesPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemDeploymentsItemStatusesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemDeploymentsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemDeploymentsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemDeploymentsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemDispatchesPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemDispatchesPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemDispatchesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemDispatchesPostRequestBody_client_payloadFromDiscriminatorValue ¶
func CreateItemItemDispatchesPostRequestBody_client_payloadFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemDispatchesPostRequestBody_client_payloadFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemEnvironmentsGetResponseFromDiscriminatorValue ¶
func CreateItemItemEnvironmentsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemEnvironmentsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponseFromDiscriminatorValue ¶
func CreateItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponseFromDiscriminatorValue ¶
func CreateItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemEnvironmentsItemDeployment_protection_rulesGetResponseFromDiscriminatorValue ¶
func CreateItemItemEnvironmentsItemDeployment_protection_rulesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemEnvironmentsItemDeployment_protection_rulesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemEnvironmentsItemSecretsGetResponseFromDiscriminatorValue ¶
func CreateItemItemEnvironmentsItemSecretsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemEnvironmentsItemSecretsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue ¶
func CreateItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemEnvironmentsItemVariablesGetResponseFromDiscriminatorValue ¶
func CreateItemItemEnvironmentsItemVariablesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemEnvironmentsItemVariablesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBodyFromDiscriminatorValue ¶
func CreateItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemEnvironmentsItemVariablesPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemEnvironmentsItemVariablesPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemEnvironmentsItemVariablesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemEnvironmentsItemWithEnvironment_namePutRequestBodyFromDiscriminatorValue ¶
func CreateItemItemEnvironmentsItemWithEnvironment_namePutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemEnvironmentsItemWithEnvironment_namePutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewersFromDiscriminatorValue ¶
func CreateItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewersFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewersFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemForksPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemForksPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemForksPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemGeneratePostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemGeneratePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemGeneratePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemGitBlobsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemGitBlobsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemGitBlobsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemGitCommitsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemGitCommitsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemGitCommitsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemGitCommitsPostRequestBody_authorFromDiscriminatorValue ¶
func CreateItemItemGitCommitsPostRequestBody_authorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemGitCommitsPostRequestBody_authorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemGitCommitsPostRequestBody_committerFromDiscriminatorValue ¶
func CreateItemItemGitCommitsPostRequestBody_committerFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemGitCommitsPostRequestBody_committerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemGitRefsItemWithRefPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemItemGitRefsItemWithRefPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemGitRefsItemWithRefPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemGitRefsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemGitRefsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemGitRefsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemGitTagsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemGitTagsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemGitTagsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemGitTagsPostRequestBody_taggerFromDiscriminatorValue ¶
func CreateItemItemGitTagsPostRequestBody_taggerFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemGitTagsPostRequestBody_taggerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemGitTreesPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemGitTreesPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemGitTreesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemGitTreesPostRequestBody_treeFromDiscriminatorValue ¶
func CreateItemItemGitTreesPostRequestBody_treeFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemGitTreesPostRequestBody_treeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemHooksItemConfigPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemItemHooksItemConfigPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemHooksItemConfigPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemHooksItemDeliveriesItemAttemptsPostResponseFromDiscriminatorValue ¶
func CreateItemItemHooksItemDeliveriesItemAttemptsPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemHooksItemDeliveriesItemAttemptsPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemHooksItemWithHook_PatchRequestBodyFromDiscriminatorValue ¶
func CreateItemItemHooksItemWithHook_PatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemHooksItemWithHook_PatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemHooksPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemHooksPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemHooksPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemHooksPostRequestBody_configFromDiscriminatorValue ¶
func CreateItemItemHooksPostRequestBody_configFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemHooksPostRequestBody_configFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemInvitationsItemWithInvitation_PatchRequestBodyFromDiscriminatorValue ¶
func CreateItemItemInvitationsItemWithInvitation_PatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemInvitationsItemWithInvitation_PatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemIssuesCommentsItemReactionsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemIssuesCommentsItemReactionsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemIssuesCommentsItemReactionsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemIssuesCommentsItemWithComment_PatchRequestBodyFromDiscriminatorValue ¶
func CreateItemItemIssuesCommentsItemWithComment_PatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemIssuesCommentsItemWithComment_PatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemIssuesItemAssigneesDeleteRequestBodyFromDiscriminatorValue ¶
func CreateItemItemIssuesItemAssigneesDeleteRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemIssuesItemAssigneesDeleteRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemIssuesItemAssigneesPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemIssuesItemAssigneesPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemIssuesItemAssigneesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemIssuesItemCommentsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemIssuesItemCommentsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemIssuesItemCommentsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemIssuesItemLabelsPostRequestBodyMember1FromDiscriminatorValue ¶
func CreateItemItemIssuesItemLabelsPostRequestBodyMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemIssuesItemLabelsPostRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemIssuesItemLabelsPostRequestBodyMember2FromDiscriminatorValue ¶
func CreateItemItemIssuesItemLabelsPostRequestBodyMember2FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemIssuesItemLabelsPostRequestBodyMember2FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemIssuesItemLabelsPostRequestBodyMember2_labelsFromDiscriminatorValue ¶
func CreateItemItemIssuesItemLabelsPostRequestBodyMember2_labelsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemIssuesItemLabelsPostRequestBodyMember2_labelsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemIssuesItemLabelsPostRequestBodyMember3FromDiscriminatorValue ¶
func CreateItemItemIssuesItemLabelsPostRequestBodyMember3FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemIssuesItemLabelsPostRequestBodyMember3FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemIssuesItemLabelsPutRequestBodyMember1FromDiscriminatorValue ¶
func CreateItemItemIssuesItemLabelsPutRequestBodyMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemIssuesItemLabelsPutRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemIssuesItemLabelsPutRequestBodyMember2FromDiscriminatorValue ¶
func CreateItemItemIssuesItemLabelsPutRequestBodyMember2FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemIssuesItemLabelsPutRequestBodyMember2FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemIssuesItemLabelsPutRequestBodyMember2_labelsFromDiscriminatorValue ¶
func CreateItemItemIssuesItemLabelsPutRequestBodyMember2_labelsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemIssuesItemLabelsPutRequestBodyMember2_labelsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemIssuesItemLabelsPutRequestBodyMember3FromDiscriminatorValue ¶
func CreateItemItemIssuesItemLabelsPutRequestBodyMember3FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemIssuesItemLabelsPutRequestBodyMember3FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemIssuesItemLockPutRequestBodyFromDiscriminatorValue ¶
func CreateItemItemIssuesItemLockPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemIssuesItemLockPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemIssuesItemReactionsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemIssuesItemReactionsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemIssuesItemReactionsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemIssuesItemWithIssue_numberPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemItemIssuesItemWithIssue_numberPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemIssuesItemWithIssue_numberPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestoneFromDiscriminatorValue ¶
func CreateItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestoneFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestoneFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_titleFromDiscriminatorValue ¶
func CreateItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_titleFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_titleFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemIssuesPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemIssuesPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemIssuesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestoneFromDiscriminatorValue ¶
func CreateItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestoneFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestoneFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemIssuesPostRequestBody_IssuesPostRequestBody_titleFromDiscriminatorValue ¶
func CreateItemItemIssuesPostRequestBody_IssuesPostRequestBody_titleFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemIssuesPostRequestBody_IssuesPostRequestBody_titleFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemKeysPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemKeysPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemKeysPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemLabelsItemWithNamePatchRequestBodyFromDiscriminatorValue ¶
func CreateItemItemLabelsItemWithNamePatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemLabelsItemWithNamePatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemLabelsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemLabelsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemLabelsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemLfsPutResponseFromDiscriminatorValue ¶
func CreateItemItemLfsPutResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemLfsPutResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemMergeUpstreamPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemMergeUpstreamPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemMergeUpstreamPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemMergesPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemMergesPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemMergesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemMilestonesItemWithMilestone_numberPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemItemMilestonesItemWithMilestone_numberPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemMilestonesItemWithMilestone_numberPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemMilestonesPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemMilestonesPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemMilestonesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemNotificationsPutRequestBodyFromDiscriminatorValue ¶
func CreateItemItemNotificationsPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemNotificationsPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemNotificationsPutResponseFromDiscriminatorValue ¶
func CreateItemItemNotificationsPutResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemNotificationsPutResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPagesDeploymentsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemPagesDeploymentsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPagesDeploymentsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPagesPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemPagesPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPagesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPagesPostRequestBody_sourceFromDiscriminatorValue ¶
func CreateItemItemPagesPostRequestBody_sourceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPagesPostRequestBody_sourceFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPagesPutRequestBodyFromDiscriminatorValue ¶
func CreateItemItemPagesPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPagesPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPagesPutRequestBody_PagesPutRequestBody_sourceFromDiscriminatorValue ¶
func CreateItemItemPagesPutRequestBody_PagesPutRequestBody_sourceFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPagesPutRequestBody_PagesPutRequestBody_sourceFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPagesPutRequestBody_sourceMember1FromDiscriminatorValue ¶
func CreateItemItemPagesPutRequestBody_sourceMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPagesPutRequestBody_sourceMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyFromDiscriminatorValue ¶
func CreateItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemProjectsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemProjectsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemProjectsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPullsCommentsItemReactionsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemPullsCommentsItemReactionsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPullsCommentsItemReactionsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPullsCommentsItemWithComment_PatchRequestBodyFromDiscriminatorValue ¶
func CreateItemItemPullsCommentsItemWithComment_PatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPullsCommentsItemWithComment_PatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPullsItemCommentsItemRepliesPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemPullsItemCommentsItemRepliesPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPullsItemCommentsItemRepliesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPullsItemCommentsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemPullsItemCommentsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPullsItemCommentsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPullsItemMergePutRequestBodyFromDiscriminatorValue ¶
func CreateItemItemPullsItemMergePutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPullsItemMergePutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPullsItemPullRequestMergeResult405ErrorFromDiscriminatorValue ¶
func CreateItemItemPullsItemPullRequestMergeResult405ErrorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPullsItemPullRequestMergeResult405ErrorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPullsItemPullRequestMergeResult409ErrorFromDiscriminatorValue ¶
func CreateItemItemPullsItemPullRequestMergeResult409ErrorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPullsItemPullRequestMergeResult409ErrorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPullsItemRequested_reviewersDeleteRequestBodyFromDiscriminatorValue ¶
func CreateItemItemPullsItemRequested_reviewersDeleteRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPullsItemRequested_reviewersDeleteRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPullsItemRequested_reviewersPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemPullsItemRequested_reviewersPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPullsItemRequested_reviewersPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPullsItemReviewsItemDismissalsPutRequestBodyFromDiscriminatorValue ¶
func CreateItemItemPullsItemReviewsItemDismissalsPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPullsItemReviewsItemDismissalsPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPullsItemReviewsItemEventsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemPullsItemReviewsItemEventsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPullsItemReviewsItemEventsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPullsItemReviewsItemWithReview_PutRequestBodyFromDiscriminatorValue ¶
func CreateItemItemPullsItemReviewsItemWithReview_PutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPullsItemReviewsItemWithReview_PutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPullsItemReviewsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemPullsItemReviewsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPullsItemReviewsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPullsItemReviewsPostRequestBody_commentsFromDiscriminatorValue ¶
func CreateItemItemPullsItemReviewsPostRequestBody_commentsFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPullsItemReviewsPostRequestBody_commentsFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPullsItemUpdateBranchPutRequestBodyFromDiscriminatorValue ¶
func CreateItemItemPullsItemUpdateBranchPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPullsItemUpdateBranchPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPullsItemUpdateBranchPutResponseFromDiscriminatorValue ¶
func CreateItemItemPullsItemUpdateBranchPutResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPullsItemUpdateBranchPutResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPullsItemWithPull_numberPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemItemPullsItemWithPull_numberPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPullsItemWithPull_numberPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemPullsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemPullsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemPullsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemReleasesAssetsItemWithAsset_PatchRequestBodyFromDiscriminatorValue ¶
func CreateItemItemReleasesAssetsItemWithAsset_PatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemReleasesAssetsItemWithAsset_PatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemReleasesGenerateNotesPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemReleasesGenerateNotesPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemReleasesGenerateNotesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemReleasesItemReactionsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemReleasesItemReactionsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemReleasesItemReactionsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemReleasesItemWithRelease_PatchRequestBodyFromDiscriminatorValue ¶
func CreateItemItemReleasesItemWithRelease_PatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemReleasesItemWithRelease_PatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemReleasesPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemReleasesPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemReleasesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemReplicasCachesFromDiscriminatorValue ¶
func CreateItemItemReplicasCachesFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemReplicasCachesFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemReplicasCaches_gitFromDiscriminatorValue ¶
func CreateItemItemReplicasCaches_gitFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemReplicasCaches_gitFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemRepo403ErrorFromDiscriminatorValue ¶
func CreateItemItemRepo403ErrorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemRepo403ErrorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemRepoPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemItemRepoPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemRepoPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemRepoPatchRequestBody_security_and_analysisFromDiscriminatorValue ¶
func CreateItemItemRepoPatchRequestBody_security_and_analysisFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemRepoPatchRequestBody_security_and_analysisFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemRepoPatchRequestBody_security_and_analysis_advanced_securityFromDiscriminatorValue ¶
func CreateItemItemRepoPatchRequestBody_security_and_analysis_advanced_securityFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemRepoPatchRequestBody_security_and_analysis_advanced_securityFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemRepoPatchRequestBody_security_and_analysis_secret_scanningFromDiscriminatorValue ¶
func CreateItemItemRepoPatchRequestBody_security_and_analysis_secret_scanningFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemRepoPatchRequestBody_security_and_analysis_secret_scanningFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protectionFromDiscriminatorValue ¶
func CreateItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protectionFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protectionFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemStargazersSimpleUserFromDiscriminatorValue ¶
func CreateItemItemStargazersSimpleUserFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemStargazersSimpleUserFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemStargazersStargazerFromDiscriminatorValue ¶
func CreateItemItemStargazersStargazerFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemStargazersStargazerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemStatusesItemWithShaPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemStatusesItemWithShaPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemStatusesItemWithShaPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemSubscriptionPutRequestBodyFromDiscriminatorValue ¶
func CreateItemItemSubscriptionPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemSubscriptionPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemTagsProtectionPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemTagsProtectionPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemTagsProtectionPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemTopicsPutRequestBodyFromDiscriminatorValue ¶
func CreateItemItemTopicsPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemTopicsPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemTransferPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemTransferPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemTransferPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateLabelsPostRequestBodyFromDiscriminatorValue ¶
func CreateLabelsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateLabelsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateLabelsPutRequestBodyFromDiscriminatorValue ¶
func CreateLabelsPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateLabelsPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateStargazersGetResponseFromDiscriminatorValue ¶
func CreateStargazersGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateStargazersGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateTeamsDeleteRequestBodyFromDiscriminatorValue ¶
func CreateTeamsDeleteRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateTeamsDeleteRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateTeamsPostRequestBodyFromDiscriminatorValue ¶
func CreateTeamsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateTeamsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateTeamsPutRequestBodyFromDiscriminatorValue ¶
func CreateTeamsPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateTeamsPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateUsersDeleteRequestBodyFromDiscriminatorValue ¶
func CreateUsersDeleteRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateUsersDeleteRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateUsersPostRequestBodyFromDiscriminatorValue ¶
func CreateUsersPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateUsersPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateUsersPutRequestBodyFromDiscriminatorValue ¶
func CreateUsersPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateUsersPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateWithCheck_run_PatchRequestBodyFromDiscriminatorValue ¶
func CreateWithCheck_run_PatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateWithCheck_run_PatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateWithPathGetResponseFromDiscriminatorValue ¶
func CreateWithPathGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateWithPathGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
Types ¶
type AppsDeleteRequestBody ¶
type AppsDeleteRequestBody struct {
// contains filtered or unexported fields
}
AppsDeleteRequestBody composed type wrapper for classes ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1able, string
func NewAppsDeleteRequestBody ¶
func NewAppsDeleteRequestBody() *AppsDeleteRequestBody
NewAppsDeleteRequestBody instantiates a new AppsDeleteRequestBody and sets the default values.
func (*AppsDeleteRequestBody) GetAppsDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1 ¶
func (m *AppsDeleteRequestBody) GetAppsDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1able
GetAppsDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1 gets the ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1able returns a ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1able when successful
func (*AppsDeleteRequestBody) GetAppsDeleteRequestBodyString ¶
func (m *AppsDeleteRequestBody) GetAppsDeleteRequestBodyString() *string
GetAppsDeleteRequestBodyString gets the string property value. Composed type representation for type string returns a *string when successful
func (*AppsDeleteRequestBody) GetFieldDeserializers ¶
func (m *AppsDeleteRequestBody) 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 (*AppsDeleteRequestBody) GetIsComposedType ¶
func (m *AppsDeleteRequestBody) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*AppsDeleteRequestBody) GetItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1 ¶
func (m *AppsDeleteRequestBody) GetItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1able
GetItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1 gets the ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1able returns a ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1able when successful
func (*AppsDeleteRequestBody) GetString ¶
func (m *AppsDeleteRequestBody) GetString() *string
GetString gets the string property value. Composed type representation for type string returns a *string when successful
func (*AppsDeleteRequestBody) Serialize ¶
func (m *AppsDeleteRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*AppsDeleteRequestBody) SetAppsDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1 ¶
func (m *AppsDeleteRequestBody) SetAppsDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1able)
SetAppsDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1 sets the ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1able
func (*AppsDeleteRequestBody) SetAppsDeleteRequestBodyString ¶
func (m *AppsDeleteRequestBody) SetAppsDeleteRequestBodyString(value *string)
SetAppsDeleteRequestBodyString sets the string property value. Composed type representation for type string
func (*AppsDeleteRequestBody) SetItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1 ¶
func (m *AppsDeleteRequestBody) SetItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1able)
SetItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1 sets the ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1able
func (*AppsDeleteRequestBody) SetString ¶
func (m *AppsDeleteRequestBody) SetString(value *string)
SetString sets the string property value. Composed type representation for type string
type AppsDeleteRequestBodyable ¶
type AppsDeleteRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAppsDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1able GetAppsDeleteRequestBodyString() *string GetItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1able GetString() *string SetAppsDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1able) SetAppsDeleteRequestBodyString(value *string) SetItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1able) SetString(value *string) }
type AppsPostRequestBody ¶
type AppsPostRequestBody struct {
// contains filtered or unexported fields
}
AppsPostRequestBody composed type wrapper for classes ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1able, string
func NewAppsPostRequestBody ¶
func NewAppsPostRequestBody() *AppsPostRequestBody
NewAppsPostRequestBody instantiates a new AppsPostRequestBody and sets the default values.
func (*AppsPostRequestBody) GetAppsPostRequestBodyItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1 ¶
func (m *AppsPostRequestBody) GetAppsPostRequestBodyItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1able
GetAppsPostRequestBodyItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1 gets the ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1able returns a ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1able when successful
func (*AppsPostRequestBody) GetAppsPostRequestBodyString ¶
func (m *AppsPostRequestBody) GetAppsPostRequestBodyString() *string
GetAppsPostRequestBodyString gets the string property value. Composed type representation for type string returns a *string when successful
func (*AppsPostRequestBody) GetFieldDeserializers ¶
func (m *AppsPostRequestBody) 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 (*AppsPostRequestBody) GetIsComposedType ¶
func (m *AppsPostRequestBody) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*AppsPostRequestBody) GetItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1 ¶
func (m *AppsPostRequestBody) GetItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1able
GetItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1 gets the ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1able returns a ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1able when successful
func (*AppsPostRequestBody) GetString ¶
func (m *AppsPostRequestBody) GetString() *string
GetString gets the string property value. Composed type representation for type string returns a *string when successful
func (*AppsPostRequestBody) Serialize ¶
func (m *AppsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*AppsPostRequestBody) SetAppsPostRequestBodyItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1 ¶
func (m *AppsPostRequestBody) SetAppsPostRequestBodyItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1able)
SetAppsPostRequestBodyItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1 sets the ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1able
func (*AppsPostRequestBody) SetAppsPostRequestBodyString ¶
func (m *AppsPostRequestBody) SetAppsPostRequestBodyString(value *string)
SetAppsPostRequestBodyString sets the string property value. Composed type representation for type string
func (*AppsPostRequestBody) SetItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1 ¶
func (m *AppsPostRequestBody) SetItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1able)
SetItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1 sets the ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1able
func (*AppsPostRequestBody) SetString ¶
func (m *AppsPostRequestBody) SetString(value *string)
SetString sets the string property value. Composed type representation for type string
type AppsPostRequestBodyable ¶
type AppsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAppsPostRequestBodyItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1able GetAppsPostRequestBodyString() *string GetItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1able GetString() *string SetAppsPostRequestBodyItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1able) SetAppsPostRequestBodyString(value *string) SetItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1able) SetString(value *string) }
type AppsPutRequestBody ¶
type AppsPutRequestBody struct {
// contains filtered or unexported fields
}
AppsPutRequestBody composed type wrapper for classes ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1able, string
func NewAppsPutRequestBody ¶
func NewAppsPutRequestBody() *AppsPutRequestBody
NewAppsPutRequestBody instantiates a new AppsPutRequestBody and sets the default values.
func (*AppsPutRequestBody) GetAppsPutRequestBodyItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1 ¶
func (m *AppsPutRequestBody) GetAppsPutRequestBodyItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1able
GetAppsPutRequestBodyItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1 gets the ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1able returns a ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1able when successful
func (*AppsPutRequestBody) GetAppsPutRequestBodyString ¶
func (m *AppsPutRequestBody) GetAppsPutRequestBodyString() *string
GetAppsPutRequestBodyString gets the string property value. Composed type representation for type string returns a *string when successful
func (*AppsPutRequestBody) GetFieldDeserializers ¶
func (m *AppsPutRequestBody) 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 (*AppsPutRequestBody) GetIsComposedType ¶
func (m *AppsPutRequestBody) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*AppsPutRequestBody) GetItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1 ¶
func (m *AppsPutRequestBody) GetItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1able
GetItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1 gets the ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1able returns a ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1able when successful
func (*AppsPutRequestBody) GetString ¶
func (m *AppsPutRequestBody) GetString() *string
GetString gets the string property value. Composed type representation for type string returns a *string when successful
func (*AppsPutRequestBody) Serialize ¶
func (m *AppsPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*AppsPutRequestBody) SetAppsPutRequestBodyItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1 ¶
func (m *AppsPutRequestBody) SetAppsPutRequestBodyItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1able)
SetAppsPutRequestBodyItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1 sets the ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1able
func (*AppsPutRequestBody) SetAppsPutRequestBodyString ¶
func (m *AppsPutRequestBody) SetAppsPutRequestBodyString(value *string)
SetAppsPutRequestBodyString sets the string property value. Composed type representation for type string
func (*AppsPutRequestBody) SetItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1 ¶
func (m *AppsPutRequestBody) SetItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1able)
SetItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1 sets the ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1able
func (*AppsPutRequestBody) SetString ¶
func (m *AppsPutRequestBody) SetString(value *string)
SetString sets the string property value. Composed type representation for type string
type AppsPutRequestBodyable ¶
type AppsPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAppsPutRequestBodyItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1able GetAppsPutRequestBodyString() *string GetItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1able GetString() *string SetAppsPutRequestBodyItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1able) SetAppsPutRequestBodyString(value *string) SetItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1able) SetString(value *string) }
type CheckRunsPostRequestBody ¶
type CheckRunsPostRequestBody struct {
// contains filtered or unexported fields
}
CheckRunsPostRequestBody composed type wrapper for classes ItemItemCheckRunsPostRequestBodyMember1able, ItemItemCheckRunsPostRequestBodyMember2able
func NewCheckRunsPostRequestBody ¶
func NewCheckRunsPostRequestBody() *CheckRunsPostRequestBody
NewCheckRunsPostRequestBody instantiates a new CheckRunsPostRequestBody and sets the default values.
func (*CheckRunsPostRequestBody) GetCheckRunsPostRequestBodyItemItemCheckRunsPostRequestBodyMember1 ¶
func (m *CheckRunsPostRequestBody) GetCheckRunsPostRequestBodyItemItemCheckRunsPostRequestBodyMember1() ItemItemCheckRunsPostRequestBodyMember1able
GetCheckRunsPostRequestBodyItemItemCheckRunsPostRequestBodyMember1 gets the ItemItemCheckRunsPostRequestBodyMember1 property value. Composed type representation for type ItemItemCheckRunsPostRequestBodyMember1able returns a ItemItemCheckRunsPostRequestBodyMember1able when successful
func (*CheckRunsPostRequestBody) GetCheckRunsPostRequestBodyItemItemCheckRunsPostRequestBodyMember2 ¶
func (m *CheckRunsPostRequestBody) GetCheckRunsPostRequestBodyItemItemCheckRunsPostRequestBodyMember2() ItemItemCheckRunsPostRequestBodyMember2able
GetCheckRunsPostRequestBodyItemItemCheckRunsPostRequestBodyMember2 gets the ItemItemCheckRunsPostRequestBodyMember2 property value. Composed type representation for type ItemItemCheckRunsPostRequestBodyMember2able returns a ItemItemCheckRunsPostRequestBodyMember2able when successful
func (*CheckRunsPostRequestBody) GetFieldDeserializers ¶
func (m *CheckRunsPostRequestBody) 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 (*CheckRunsPostRequestBody) GetIsComposedType ¶
func (m *CheckRunsPostRequestBody) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*CheckRunsPostRequestBody) GetItemItemCheckRunsPostRequestBodyMember1 ¶
func (m *CheckRunsPostRequestBody) GetItemItemCheckRunsPostRequestBodyMember1() ItemItemCheckRunsPostRequestBodyMember1able
GetItemItemCheckRunsPostRequestBodyMember1 gets the ItemItemCheckRunsPostRequestBodyMember1 property value. Composed type representation for type ItemItemCheckRunsPostRequestBodyMember1able returns a ItemItemCheckRunsPostRequestBodyMember1able when successful
func (*CheckRunsPostRequestBody) GetItemItemCheckRunsPostRequestBodyMember2 ¶
func (m *CheckRunsPostRequestBody) GetItemItemCheckRunsPostRequestBodyMember2() ItemItemCheckRunsPostRequestBodyMember2able
GetItemItemCheckRunsPostRequestBodyMember2 gets the ItemItemCheckRunsPostRequestBodyMember2 property value. Composed type representation for type ItemItemCheckRunsPostRequestBodyMember2able returns a ItemItemCheckRunsPostRequestBodyMember2able when successful
func (*CheckRunsPostRequestBody) Serialize ¶
func (m *CheckRunsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*CheckRunsPostRequestBody) SetCheckRunsPostRequestBodyItemItemCheckRunsPostRequestBodyMember1 ¶
func (m *CheckRunsPostRequestBody) SetCheckRunsPostRequestBodyItemItemCheckRunsPostRequestBodyMember1(value ItemItemCheckRunsPostRequestBodyMember1able)
SetCheckRunsPostRequestBodyItemItemCheckRunsPostRequestBodyMember1 sets the ItemItemCheckRunsPostRequestBodyMember1 property value. Composed type representation for type ItemItemCheckRunsPostRequestBodyMember1able
func (*CheckRunsPostRequestBody) SetCheckRunsPostRequestBodyItemItemCheckRunsPostRequestBodyMember2 ¶
func (m *CheckRunsPostRequestBody) SetCheckRunsPostRequestBodyItemItemCheckRunsPostRequestBodyMember2(value ItemItemCheckRunsPostRequestBodyMember2able)
SetCheckRunsPostRequestBodyItemItemCheckRunsPostRequestBodyMember2 sets the ItemItemCheckRunsPostRequestBodyMember2 property value. Composed type representation for type ItemItemCheckRunsPostRequestBodyMember2able
func (*CheckRunsPostRequestBody) SetItemItemCheckRunsPostRequestBodyMember1 ¶
func (m *CheckRunsPostRequestBody) SetItemItemCheckRunsPostRequestBodyMember1(value ItemItemCheckRunsPostRequestBodyMember1able)
SetItemItemCheckRunsPostRequestBodyMember1 sets the ItemItemCheckRunsPostRequestBodyMember1 property value. Composed type representation for type ItemItemCheckRunsPostRequestBodyMember1able
func (*CheckRunsPostRequestBody) SetItemItemCheckRunsPostRequestBodyMember2 ¶
func (m *CheckRunsPostRequestBody) SetItemItemCheckRunsPostRequestBodyMember2(value ItemItemCheckRunsPostRequestBodyMember2able)
SetItemItemCheckRunsPostRequestBodyMember2 sets the ItemItemCheckRunsPostRequestBodyMember2 property value. Composed type representation for type ItemItemCheckRunsPostRequestBodyMember2able
type CheckRunsPostRequestBodyable ¶
type CheckRunsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCheckRunsPostRequestBodyItemItemCheckRunsPostRequestBodyMember1() ItemItemCheckRunsPostRequestBodyMember1able GetCheckRunsPostRequestBodyItemItemCheckRunsPostRequestBodyMember2() ItemItemCheckRunsPostRequestBodyMember2able GetItemItemCheckRunsPostRequestBodyMember1() ItemItemCheckRunsPostRequestBodyMember1able GetItemItemCheckRunsPostRequestBodyMember2() ItemItemCheckRunsPostRequestBodyMember2able SetCheckRunsPostRequestBodyItemItemCheckRunsPostRequestBodyMember1(value ItemItemCheckRunsPostRequestBodyMember1able) SetCheckRunsPostRequestBodyItemItemCheckRunsPostRequestBodyMember2(value ItemItemCheckRunsPostRequestBodyMember2able) SetItemItemCheckRunsPostRequestBodyMember1(value ItemItemCheckRunsPostRequestBodyMember1able) SetItemItemCheckRunsPostRequestBodyMember2(value ItemItemCheckRunsPostRequestBodyMember2able) }
type ContextsDeleteRequestBody ¶
type ContextsDeleteRequestBody struct {
// contains filtered or unexported fields
}
ContextsDeleteRequestBody composed type wrapper for classes ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1able, string
func NewContextsDeleteRequestBody ¶
func NewContextsDeleteRequestBody() *ContextsDeleteRequestBody
NewContextsDeleteRequestBody instantiates a new ContextsDeleteRequestBody and sets the default values.
func (*ContextsDeleteRequestBody) GetContextsDeleteRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsDeleteRequestBodyMember1 ¶
func (m *ContextsDeleteRequestBody) GetContextsDeleteRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsDeleteRequestBodyMember1() ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1able
GetContextsDeleteRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsDeleteRequestBodyMember1 gets the ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1able returns a ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1able when successful
func (*ContextsDeleteRequestBody) GetContextsDeleteRequestBodyString ¶
func (m *ContextsDeleteRequestBody) GetContextsDeleteRequestBodyString() *string
GetContextsDeleteRequestBodyString gets the string property value. Composed type representation for type string returns a *string when successful
func (*ContextsDeleteRequestBody) GetFieldDeserializers ¶
func (m *ContextsDeleteRequestBody) 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 (*ContextsDeleteRequestBody) GetIsComposedType ¶
func (m *ContextsDeleteRequestBody) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*ContextsDeleteRequestBody) GetItemItemBranchesItemProtectionRequiredStatusChecksContextsDeleteRequestBodyMember1 ¶
func (m *ContextsDeleteRequestBody) GetItemItemBranchesItemProtectionRequiredStatusChecksContextsDeleteRequestBodyMember1() ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1able
GetItemItemBranchesItemProtectionRequiredStatusChecksContextsDeleteRequestBodyMember1 gets the ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1able returns a ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1able when successful
func (*ContextsDeleteRequestBody) GetString ¶
func (m *ContextsDeleteRequestBody) GetString() *string
GetString gets the string property value. Composed type representation for type string returns a *string when successful
func (*ContextsDeleteRequestBody) Serialize ¶
func (m *ContextsDeleteRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ContextsDeleteRequestBody) SetContextsDeleteRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsDeleteRequestBodyMember1 ¶
func (m *ContextsDeleteRequestBody) SetContextsDeleteRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsDeleteRequestBodyMember1(value ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1able)
SetContextsDeleteRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsDeleteRequestBodyMember1 sets the ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1able
func (*ContextsDeleteRequestBody) SetContextsDeleteRequestBodyString ¶
func (m *ContextsDeleteRequestBody) SetContextsDeleteRequestBodyString(value *string)
SetContextsDeleteRequestBodyString sets the string property value. Composed type representation for type string
func (*ContextsDeleteRequestBody) SetItemItemBranchesItemProtectionRequiredStatusChecksContextsDeleteRequestBodyMember1 ¶
func (m *ContextsDeleteRequestBody) SetItemItemBranchesItemProtectionRequiredStatusChecksContextsDeleteRequestBodyMember1(value ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1able)
SetItemItemBranchesItemProtectionRequiredStatusChecksContextsDeleteRequestBodyMember1 sets the ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1able
func (*ContextsDeleteRequestBody) SetString ¶
func (m *ContextsDeleteRequestBody) SetString(value *string)
SetString sets the string property value. Composed type representation for type string
type ContextsDeleteRequestBodyable ¶
type ContextsDeleteRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetContextsDeleteRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsDeleteRequestBodyMember1() ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1able GetContextsDeleteRequestBodyString() *string GetItemItemBranchesItemProtectionRequiredStatusChecksContextsDeleteRequestBodyMember1() ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1able GetString() *string SetContextsDeleteRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsDeleteRequestBodyMember1(value ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1able) SetContextsDeleteRequestBodyString(value *string) SetItemItemBranchesItemProtectionRequiredStatusChecksContextsDeleteRequestBodyMember1(value ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1able) SetString(value *string) }
type ContextsPostRequestBody ¶
type ContextsPostRequestBody struct {
// contains filtered or unexported fields
}
ContextsPostRequestBody composed type wrapper for classes ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1able, string
func NewContextsPostRequestBody ¶
func NewContextsPostRequestBody() *ContextsPostRequestBody
NewContextsPostRequestBody instantiates a new ContextsPostRequestBody and sets the default values.
func (*ContextsPostRequestBody) GetContextsPostRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsPostRequestBodyMember1 ¶
func (m *ContextsPostRequestBody) GetContextsPostRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsPostRequestBodyMember1() ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1able
GetContextsPostRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsPostRequestBodyMember1 gets the ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1able returns a ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1able when successful
func (*ContextsPostRequestBody) GetContextsPostRequestBodyString ¶
func (m *ContextsPostRequestBody) GetContextsPostRequestBodyString() *string
GetContextsPostRequestBodyString gets the string property value. Composed type representation for type string returns a *string when successful
func (*ContextsPostRequestBody) GetFieldDeserializers ¶
func (m *ContextsPostRequestBody) 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 (*ContextsPostRequestBody) GetIsComposedType ¶
func (m *ContextsPostRequestBody) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*ContextsPostRequestBody) GetItemItemBranchesItemProtectionRequiredStatusChecksContextsPostRequestBodyMember1 ¶
func (m *ContextsPostRequestBody) GetItemItemBranchesItemProtectionRequiredStatusChecksContextsPostRequestBodyMember1() ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1able
GetItemItemBranchesItemProtectionRequiredStatusChecksContextsPostRequestBodyMember1 gets the ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1able returns a ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1able when successful
func (*ContextsPostRequestBody) GetString ¶
func (m *ContextsPostRequestBody) GetString() *string
GetString gets the string property value. Composed type representation for type string returns a *string when successful
func (*ContextsPostRequestBody) Serialize ¶
func (m *ContextsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ContextsPostRequestBody) SetContextsPostRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsPostRequestBodyMember1 ¶
func (m *ContextsPostRequestBody) SetContextsPostRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsPostRequestBodyMember1(value ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1able)
SetContextsPostRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsPostRequestBodyMember1 sets the ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1able
func (*ContextsPostRequestBody) SetContextsPostRequestBodyString ¶
func (m *ContextsPostRequestBody) SetContextsPostRequestBodyString(value *string)
SetContextsPostRequestBodyString sets the string property value. Composed type representation for type string
func (*ContextsPostRequestBody) SetItemItemBranchesItemProtectionRequiredStatusChecksContextsPostRequestBodyMember1 ¶
func (m *ContextsPostRequestBody) SetItemItemBranchesItemProtectionRequiredStatusChecksContextsPostRequestBodyMember1(value ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1able)
SetItemItemBranchesItemProtectionRequiredStatusChecksContextsPostRequestBodyMember1 sets the ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1able
func (*ContextsPostRequestBody) SetString ¶
func (m *ContextsPostRequestBody) SetString(value *string)
SetString sets the string property value. Composed type representation for type string
type ContextsPostRequestBodyable ¶
type ContextsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetContextsPostRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsPostRequestBodyMember1() ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1able GetContextsPostRequestBodyString() *string GetItemItemBranchesItemProtectionRequiredStatusChecksContextsPostRequestBodyMember1() ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1able GetString() *string SetContextsPostRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsPostRequestBodyMember1(value ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1able) SetContextsPostRequestBodyString(value *string) SetItemItemBranchesItemProtectionRequiredStatusChecksContextsPostRequestBodyMember1(value ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1able) SetString(value *string) }
type ContextsPutRequestBody ¶
type ContextsPutRequestBody struct {
// contains filtered or unexported fields
}
ContextsPutRequestBody composed type wrapper for classes ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1able, string
func NewContextsPutRequestBody ¶
func NewContextsPutRequestBody() *ContextsPutRequestBody
NewContextsPutRequestBody instantiates a new ContextsPutRequestBody and sets the default values.
func (*ContextsPutRequestBody) GetContextsPutRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsPutRequestBodyMember1 ¶
func (m *ContextsPutRequestBody) GetContextsPutRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsPutRequestBodyMember1() ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1able
GetContextsPutRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsPutRequestBodyMember1 gets the ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1able returns a ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1able when successful
func (*ContextsPutRequestBody) GetContextsPutRequestBodyString ¶
func (m *ContextsPutRequestBody) GetContextsPutRequestBodyString() *string
GetContextsPutRequestBodyString gets the string property value. Composed type representation for type string returns a *string when successful
func (*ContextsPutRequestBody) GetFieldDeserializers ¶
func (m *ContextsPutRequestBody) 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 (*ContextsPutRequestBody) GetIsComposedType ¶
func (m *ContextsPutRequestBody) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*ContextsPutRequestBody) GetItemItemBranchesItemProtectionRequiredStatusChecksContextsPutRequestBodyMember1 ¶
func (m *ContextsPutRequestBody) GetItemItemBranchesItemProtectionRequiredStatusChecksContextsPutRequestBodyMember1() ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1able
GetItemItemBranchesItemProtectionRequiredStatusChecksContextsPutRequestBodyMember1 gets the ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1able returns a ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1able when successful
func (*ContextsPutRequestBody) GetString ¶
func (m *ContextsPutRequestBody) GetString() *string
GetString gets the string property value. Composed type representation for type string returns a *string when successful
func (*ContextsPutRequestBody) Serialize ¶
func (m *ContextsPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ContextsPutRequestBody) SetContextsPutRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsPutRequestBodyMember1 ¶
func (m *ContextsPutRequestBody) SetContextsPutRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsPutRequestBodyMember1(value ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1able)
SetContextsPutRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsPutRequestBodyMember1 sets the ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1able
func (*ContextsPutRequestBody) SetContextsPutRequestBodyString ¶
func (m *ContextsPutRequestBody) SetContextsPutRequestBodyString(value *string)
SetContextsPutRequestBodyString sets the string property value. Composed type representation for type string
func (*ContextsPutRequestBody) SetItemItemBranchesItemProtectionRequiredStatusChecksContextsPutRequestBodyMember1 ¶
func (m *ContextsPutRequestBody) SetItemItemBranchesItemProtectionRequiredStatusChecksContextsPutRequestBodyMember1(value ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1able)
SetItemItemBranchesItemProtectionRequiredStatusChecksContextsPutRequestBodyMember1 sets the ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1able
func (*ContextsPutRequestBody) SetString ¶
func (m *ContextsPutRequestBody) SetString(value *string)
SetString sets the string property value. Composed type representation for type string
type ContextsPutRequestBodyable ¶
type ContextsPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetContextsPutRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsPutRequestBodyMember1() ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1able GetContextsPutRequestBodyString() *string GetItemItemBranchesItemProtectionRequiredStatusChecksContextsPutRequestBodyMember1() ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1able GetString() *string SetContextsPutRequestBodyItemItemBranchesItemProtectionRequiredStatusChecksContextsPutRequestBodyMember1(value ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1able) SetContextsPutRequestBodyString(value *string) SetItemItemBranchesItemProtectionRequiredStatusChecksContextsPutRequestBodyMember1(value ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1able) SetString(value *string) }
type Deployment_protection_rulePostRequestBody ¶
type Deployment_protection_rulePostRequestBody struct {
// contains filtered or unexported fields
}
Deployment_protection_rulePostRequestBody composed type wrapper for classes ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesCommentRequiredable, ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesStateRequiredable
func NewDeployment_protection_rulePostRequestBody ¶
func NewDeployment_protection_rulePostRequestBody() *Deployment_protection_rulePostRequestBody
NewDeployment_protection_rulePostRequestBody instantiates a new Deployment_protection_rulePostRequestBody and sets the default values.
func (*Deployment_protection_rulePostRequestBody) GetDeploymentProtectionRulePostRequestBodyReviewCustomGatesCommentRequired ¶
func (m *Deployment_protection_rulePostRequestBody) GetDeploymentProtectionRulePostRequestBodyReviewCustomGatesCommentRequired() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesCommentRequiredable
GetDeploymentProtectionRulePostRequestBodyReviewCustomGatesCommentRequired gets the reviewCustomGatesCommentRequired property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesCommentRequiredable returns a ReviewCustomGatesCommentRequiredable when successful
func (*Deployment_protection_rulePostRequestBody) GetDeploymentProtectionRulePostRequestBodyReviewCustomGatesStateRequired ¶
func (m *Deployment_protection_rulePostRequestBody) GetDeploymentProtectionRulePostRequestBodyReviewCustomGatesStateRequired() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesStateRequiredable
GetDeploymentProtectionRulePostRequestBodyReviewCustomGatesStateRequired gets the reviewCustomGatesStateRequired property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesStateRequiredable returns a ReviewCustomGatesStateRequiredable when successful
func (*Deployment_protection_rulePostRequestBody) GetFieldDeserializers ¶
func (m *Deployment_protection_rulePostRequestBody) 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 (*Deployment_protection_rulePostRequestBody) GetIsComposedType ¶
func (m *Deployment_protection_rulePostRequestBody) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*Deployment_protection_rulePostRequestBody) GetReviewCustomGatesCommentRequired ¶
func (m *Deployment_protection_rulePostRequestBody) GetReviewCustomGatesCommentRequired() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesCommentRequiredable
GetReviewCustomGatesCommentRequired gets the reviewCustomGatesCommentRequired property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesCommentRequiredable returns a ReviewCustomGatesCommentRequiredable when successful
func (*Deployment_protection_rulePostRequestBody) GetReviewCustomGatesStateRequired ¶
func (m *Deployment_protection_rulePostRequestBody) GetReviewCustomGatesStateRequired() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesStateRequiredable
GetReviewCustomGatesStateRequired gets the reviewCustomGatesStateRequired property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesStateRequiredable returns a ReviewCustomGatesStateRequiredable when successful
func (*Deployment_protection_rulePostRequestBody) Serialize ¶
func (m *Deployment_protection_rulePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*Deployment_protection_rulePostRequestBody) SetDeploymentProtectionRulePostRequestBodyReviewCustomGatesCommentRequired ¶
func (m *Deployment_protection_rulePostRequestBody) SetDeploymentProtectionRulePostRequestBodyReviewCustomGatesCommentRequired(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesCommentRequiredable)
SetDeploymentProtectionRulePostRequestBodyReviewCustomGatesCommentRequired sets the reviewCustomGatesCommentRequired property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesCommentRequiredable
func (*Deployment_protection_rulePostRequestBody) SetDeploymentProtectionRulePostRequestBodyReviewCustomGatesStateRequired ¶
func (m *Deployment_protection_rulePostRequestBody) SetDeploymentProtectionRulePostRequestBodyReviewCustomGatesStateRequired(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesStateRequiredable)
SetDeploymentProtectionRulePostRequestBodyReviewCustomGatesStateRequired sets the reviewCustomGatesStateRequired property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesStateRequiredable
func (*Deployment_protection_rulePostRequestBody) SetReviewCustomGatesCommentRequired ¶
func (m *Deployment_protection_rulePostRequestBody) SetReviewCustomGatesCommentRequired(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesCommentRequiredable)
SetReviewCustomGatesCommentRequired sets the reviewCustomGatesCommentRequired property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesCommentRequiredable
func (*Deployment_protection_rulePostRequestBody) SetReviewCustomGatesStateRequired ¶
func (m *Deployment_protection_rulePostRequestBody) SetReviewCustomGatesStateRequired(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesStateRequiredable)
SetReviewCustomGatesStateRequired sets the reviewCustomGatesStateRequired property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesStateRequiredable
type Deployment_protection_rulePostRequestBodyable ¶
type Deployment_protection_rulePostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetDeploymentProtectionRulePostRequestBodyReviewCustomGatesCommentRequired() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesCommentRequiredable GetDeploymentProtectionRulePostRequestBodyReviewCustomGatesStateRequired() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesStateRequiredable GetReviewCustomGatesCommentRequired() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesCommentRequiredable GetReviewCustomGatesStateRequired() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesStateRequiredable SetDeploymentProtectionRulePostRequestBodyReviewCustomGatesCommentRequired(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesCommentRequiredable) SetDeploymentProtectionRulePostRequestBodyReviewCustomGatesStateRequired(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesStateRequiredable) SetReviewCustomGatesCommentRequired(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesCommentRequiredable) SetReviewCustomGatesStateRequired(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesStateRequiredable) }
type ItemItemActionsArtifactsGetResponse ¶
type ItemItemActionsArtifactsGetResponse struct {
// contains filtered or unexported fields
}
func NewItemItemActionsArtifactsGetResponse ¶
func NewItemItemActionsArtifactsGetResponse() *ItemItemActionsArtifactsGetResponse
NewItemItemActionsArtifactsGetResponse instantiates a new ItemItemActionsArtifactsGetResponse and sets the default values.
func (*ItemItemActionsArtifactsGetResponse) GetAdditionalData ¶
func (m *ItemItemActionsArtifactsGetResponse) 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 (*ItemItemActionsArtifactsGetResponse) GetArtifacts ¶
func (m *ItemItemActionsArtifactsGetResponse) GetArtifacts() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Artifactable
GetArtifacts gets the artifacts property value. The artifacts property returns a []Artifactable when successful
func (*ItemItemActionsArtifactsGetResponse) GetFieldDeserializers ¶
func (m *ItemItemActionsArtifactsGetResponse) 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 (*ItemItemActionsArtifactsGetResponse) GetTotalCount ¶
func (m *ItemItemActionsArtifactsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemItemActionsArtifactsGetResponse) Serialize ¶
func (m *ItemItemActionsArtifactsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsArtifactsGetResponse) SetAdditionalData ¶
func (m *ItemItemActionsArtifactsGetResponse) 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 (*ItemItemActionsArtifactsGetResponse) SetArtifacts ¶
func (m *ItemItemActionsArtifactsGetResponse) SetArtifacts(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Artifactable)
SetArtifacts sets the artifacts property value. The artifacts property
func (*ItemItemActionsArtifactsGetResponse) SetTotalCount ¶
func (m *ItemItemActionsArtifactsGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemItemActionsArtifactsGetResponseable ¶
type ItemItemActionsArtifactsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetArtifacts() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Artifactable GetTotalCount() *int32 SetArtifacts(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Artifactable) SetTotalCount(value *int32) }
type ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder ¶
type ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\artifacts\{artifact_id}\{archive_format}
func NewItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder ¶
func NewItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder
NewItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder instantiates a new ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder and sets the default values.
func NewItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilderInternal ¶
func NewItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder
NewItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilderInternal instantiates a new ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder and sets the default values.
func (*ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder) Get ¶
func (m *ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Get gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` inthe response header to find the URL for the download. The `:archive_format` must be `zip`.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a BasicError error when the service returns a 410 status code API method documentation
func (*ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a redirect URL to download an archive for a repository. This URL expires after 1 minute. Look for `Location:` inthe response header to find the URL for the download. The `:archive_format` must be `zip`.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder) WithUrl ¶
func (m *ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder when successful
type ItemItemActionsArtifactsRequestBuilder ¶
type ItemItemActionsArtifactsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsArtifactsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\artifacts
func NewItemItemActionsArtifactsRequestBuilder ¶
func NewItemItemActionsArtifactsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsArtifactsRequestBuilder
NewItemItemActionsArtifactsRequestBuilder instantiates a new ItemItemActionsArtifactsRequestBuilder and sets the default values.
func NewItemItemActionsArtifactsRequestBuilderInternal ¶
func NewItemItemActionsArtifactsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsArtifactsRequestBuilder
NewItemItemActionsArtifactsRequestBuilderInternal instantiates a new ItemItemActionsArtifactsRequestBuilder and sets the default values.
func (*ItemItemActionsArtifactsRequestBuilder) ByArtifact_id ¶
func (m *ItemItemActionsArtifactsRequestBuilder) ByArtifact_id(artifact_id int32) *ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder
ByArtifact_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.actions.artifacts.item collection returns a *ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder when successful
func (*ItemItemActionsArtifactsRequestBuilder) Get ¶
func (m *ItemItemActionsArtifactsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsArtifactsRequestBuilderGetQueryParameters]) (ItemItemActionsArtifactsGetResponseable, error)
Get lists all artifacts for a repository.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a ItemItemActionsArtifactsGetResponseable when successful API method documentation
func (*ItemItemActionsArtifactsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsArtifactsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsArtifactsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all artifacts for a repository.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a *RequestInformation when successful
func (*ItemItemActionsArtifactsRequestBuilder) WithUrl ¶
func (m *ItemItemActionsArtifactsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsArtifactsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsArtifactsRequestBuilder when successful
type ItemItemActionsArtifactsRequestBuilderGetQueryParameters ¶
type ItemItemActionsArtifactsRequestBuilderGetQueryParameters struct { // The name field of an artifact. When specified, only artifacts with this name will be returned. Name *string `uriparametername:"name"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemActionsArtifactsRequestBuilderGetQueryParameters lists all artifacts for a repository.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
type ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder ¶
type ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\artifacts\{artifact_id}
func NewItemItemActionsArtifactsWithArtifact_ItemRequestBuilder ¶
func NewItemItemActionsArtifactsWithArtifact_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder
NewItemItemActionsArtifactsWithArtifact_ItemRequestBuilder instantiates a new ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder and sets the default values.
func NewItemItemActionsArtifactsWithArtifact_ItemRequestBuilderInternal ¶
func NewItemItemActionsArtifactsWithArtifact_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder
NewItemItemActionsArtifactsWithArtifact_ItemRequestBuilderInternal instantiates a new ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder and sets the default values.
func (*ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder) ByArchive_format ¶
func (m *ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder) ByArchive_format(archive_format string) *ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder
ByArchive_format gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.actions.artifacts.item.item collection returns a *ItemItemActionsArtifactsItemWithArchive_formatItemRequestBuilder when successful
func (*ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder) Delete ¶
func (m *ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete deletes an artifact for a workflow run.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder) Get ¶
func (m *ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Artifactable, error)
Get gets a specific artifact for a workflow run.Anyone with read access to the repository can use this endpoint.If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a Artifactable when successful API method documentation
func (*ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes an artifact for a workflow run.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a specific artifact for a workflow run.Anyone with read access to the repository can use this endpoint.If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsArtifactsWithArtifact_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 *ItemItemActionsArtifactsWithArtifact_ItemRequestBuilder when successful
type ItemItemActionsCacheRequestBuilder ¶
type ItemItemActionsCacheRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsCacheRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\cache
func NewItemItemActionsCacheRequestBuilder ¶
func NewItemItemActionsCacheRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsCacheRequestBuilder
NewItemItemActionsCacheRequestBuilder instantiates a new ItemItemActionsCacheRequestBuilder and sets the default values.
func NewItemItemActionsCacheRequestBuilderInternal ¶
func NewItemItemActionsCacheRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsCacheRequestBuilder
NewItemItemActionsCacheRequestBuilderInternal instantiates a new ItemItemActionsCacheRequestBuilder and sets the default values.
func (*ItemItemActionsCacheRequestBuilder) Usage ¶
func (m *ItemItemActionsCacheRequestBuilder) Usage() *ItemItemActionsCacheUsageRequestBuilder
Usage the usage property returns a *ItemItemActionsCacheUsageRequestBuilder when successful
func (*ItemItemActionsCacheRequestBuilder) UsagePolicy ¶
func (m *ItemItemActionsCacheRequestBuilder) UsagePolicy() *ItemItemActionsCacheUsagePolicyRequestBuilder
UsagePolicy the usagePolicy property returns a *ItemItemActionsCacheUsagePolicyRequestBuilder when successful
type ItemItemActionsCacheUsagePolicyRequestBuilder ¶
type ItemItemActionsCacheUsagePolicyRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsCacheUsagePolicyRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\cache\usage-policy
func NewItemItemActionsCacheUsagePolicyRequestBuilder ¶
func NewItemItemActionsCacheUsagePolicyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsCacheUsagePolicyRequestBuilder
NewItemItemActionsCacheUsagePolicyRequestBuilder instantiates a new ItemItemActionsCacheUsagePolicyRequestBuilder and sets the default values.
func NewItemItemActionsCacheUsagePolicyRequestBuilderInternal ¶
func NewItemItemActionsCacheUsagePolicyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsCacheUsagePolicyRequestBuilder
NewItemItemActionsCacheUsagePolicyRequestBuilderInternal instantiates a new ItemItemActionsCacheUsagePolicyRequestBuilder and sets the default values.
func (*ItemItemActionsCacheUsagePolicyRequestBuilder) Get ¶
func (m *ItemItemActionsCacheUsagePolicyRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsCacheUsagePolicyForRepositoryable, error)
Get gets GitHub Actions cache usage policy for a repository.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ActionsCacheUsagePolicyForRepositoryable when successful API method documentation
func (*ItemItemActionsCacheUsagePolicyRequestBuilder) Patch ¶
func (m *ItemItemActionsCacheUsagePolicyRequestBuilder) Patch(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsCacheUsagePolicyForRepositoryable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Patch sets GitHub Actions cache usage policy for a repository.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemActionsCacheUsagePolicyRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsCacheUsagePolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets GitHub Actions cache usage policy for a repository.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsCacheUsagePolicyRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemActionsCacheUsagePolicyRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsCacheUsagePolicyForRepositoryable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation sets GitHub Actions cache usage policy for a repository.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsCacheUsagePolicyRequestBuilder) WithUrl ¶
func (m *ItemItemActionsCacheUsagePolicyRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsCacheUsagePolicyRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsCacheUsagePolicyRequestBuilder when successful
type ItemItemActionsCacheUsageRequestBuilder ¶
type ItemItemActionsCacheUsageRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsCacheUsageRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\cache\usage
func NewItemItemActionsCacheUsageRequestBuilder ¶
func NewItemItemActionsCacheUsageRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsCacheUsageRequestBuilder
NewItemItemActionsCacheUsageRequestBuilder instantiates a new ItemItemActionsCacheUsageRequestBuilder and sets the default values.
func NewItemItemActionsCacheUsageRequestBuilderInternal ¶
func NewItemItemActionsCacheUsageRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsCacheUsageRequestBuilder
NewItemItemActionsCacheUsageRequestBuilderInternal instantiates a new ItemItemActionsCacheUsageRequestBuilder and sets the default values.
func (*ItemItemActionsCacheUsageRequestBuilder) Get ¶
func (m *ItemItemActionsCacheUsageRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsCacheUsageByRepositoryable, error)
Get gets GitHub Actions cache usage for a repository.The data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.Anyone with read access to the repository can use this endpoint.If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ActionsCacheUsageByRepositoryable when successful API method documentation
func (*ItemItemActionsCacheUsageRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsCacheUsageRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets GitHub Actions cache usage for a repository.The data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.Anyone with read access to the repository can use this endpoint.If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsCacheUsageRequestBuilder) WithUrl ¶
func (m *ItemItemActionsCacheUsageRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsCacheUsageRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsCacheUsageRequestBuilder when successful
type ItemItemActionsCachesRequestBuilder ¶
type ItemItemActionsCachesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsCachesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\caches
func NewItemItemActionsCachesRequestBuilder ¶
func NewItemItemActionsCachesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsCachesRequestBuilder
NewItemItemActionsCachesRequestBuilder instantiates a new ItemItemActionsCachesRequestBuilder and sets the default values.
func NewItemItemActionsCachesRequestBuilderInternal ¶
func NewItemItemActionsCachesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsCachesRequestBuilder
NewItemItemActionsCachesRequestBuilderInternal instantiates a new ItemItemActionsCachesRequestBuilder and sets the default values.
func (*ItemItemActionsCachesRequestBuilder) ByCache_id ¶
func (m *ItemItemActionsCachesRequestBuilder) ByCache_id(cache_id int32) *ItemItemActionsCachesWithCache_ItemRequestBuilder
ByCache_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.actions.caches.item collection returns a *ItemItemActionsCachesWithCache_ItemRequestBuilder when successful
func (*ItemItemActionsCachesRequestBuilder) Delete ¶
func (m *ItemItemActionsCachesRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsCachesRequestBuilderDeleteQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsCacheListable, error)
Delete deletes one or more GitHub Actions caches for a repository, using a complete cache key. By default, all caches that match the provided key are deleted, but you can optionally provide a Git ref to restrict deletions to caches that match both the provided key and the Git ref.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ActionsCacheListable when successful API method documentation
func (*ItemItemActionsCachesRequestBuilder) Get ¶
func (m *ItemItemActionsCachesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsCachesRequestBuilderGetQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsCacheListable, error)
Get lists the GitHub Actions caches for a repository.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ActionsCacheListable when successful API method documentation
func (*ItemItemActionsCachesRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemActionsCachesRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsCachesRequestBuilderDeleteQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes one or more GitHub Actions caches for a repository, using a complete cache key. By default, all caches that match the provided key are deleted, but you can optionally provide a Git ref to restrict deletions to caches that match both the provided key and the Git ref.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsCachesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsCachesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsCachesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the GitHub Actions caches for a repository.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsCachesRequestBuilder) WithUrl ¶
func (m *ItemItemActionsCachesRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsCachesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsCachesRequestBuilder when successful
type ItemItemActionsCachesRequestBuilderDeleteQueryParameters ¶
type ItemItemActionsCachesRequestBuilderDeleteQueryParameters struct { // A key for identifying the cache. Key *string `uriparametername:"key"` // The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/<branch name>`. To reference a pull request use `refs/pull/<number>/merge`. Ref *string `uriparametername:"ref"` }
ItemItemActionsCachesRequestBuilderDeleteQueryParameters deletes one or more GitHub Actions caches for a repository, using a complete cache key. By default, all caches that match the provided key are deleted, but you can optionally provide a Git ref to restrict deletions to caches that match both the provided key and the Git ref.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
type ItemItemActionsCachesRequestBuilderGetQueryParameters ¶
type ItemItemActionsCachesRequestBuilderGetQueryParameters struct { // The direction to sort the results by. Direction *i8b204dcde995ee341e5bbddd9cc39955f8e8755f676aad97ef2843097de21fbb.GetDirectionQueryParameterType `uriparametername:"direction"` // An explicit key or prefix for identifying the cache Key *string `uriparametername:"key"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/<branch name>`. To reference a pull request use `refs/pull/<number>/merge`. Ref *string `uriparametername:"ref"` // The property to sort the results by. `created_at` means when the cache was created. `last_accessed_at` means when the cache was last accessed. `size_in_bytes` is the size of the cache in bytes. Sort *i8b204dcde995ee341e5bbddd9cc39955f8e8755f676aad97ef2843097de21fbb.GetSortQueryParameterType `uriparametername:"sort"` }
ItemItemActionsCachesRequestBuilderGetQueryParameters lists the GitHub Actions caches for a repository.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
type ItemItemActionsCachesWithCache_ItemRequestBuilder ¶
type ItemItemActionsCachesWithCache_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsCachesWithCache_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\caches\{cache_id}
func NewItemItemActionsCachesWithCache_ItemRequestBuilder ¶
func NewItemItemActionsCachesWithCache_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsCachesWithCache_ItemRequestBuilder
NewItemItemActionsCachesWithCache_ItemRequestBuilder instantiates a new ItemItemActionsCachesWithCache_ItemRequestBuilder and sets the default values.
func NewItemItemActionsCachesWithCache_ItemRequestBuilderInternal ¶
func NewItemItemActionsCachesWithCache_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsCachesWithCache_ItemRequestBuilder
NewItemItemActionsCachesWithCache_ItemRequestBuilderInternal instantiates a new ItemItemActionsCachesWithCache_ItemRequestBuilder and sets the default values.
func (*ItemItemActionsCachesWithCache_ItemRequestBuilder) Delete ¶
func (m *ItemItemActionsCachesWithCache_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete deletes a GitHub Actions cache for a repository, using a cache ID.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemActionsCachesWithCache_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemActionsCachesWithCache_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a GitHub Actions cache for a repository, using a cache ID.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsCachesWithCache_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemActionsCachesWithCache_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsCachesWithCache_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 *ItemItemActionsCachesWithCache_ItemRequestBuilder when successful
type ItemItemActionsJobsItemLogsRequestBuilder ¶
type ItemItemActionsJobsItemLogsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsJobsItemLogsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\jobs\{job_id}\logs
func NewItemItemActionsJobsItemLogsRequestBuilder ¶
func NewItemItemActionsJobsItemLogsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsJobsItemLogsRequestBuilder
NewItemItemActionsJobsItemLogsRequestBuilder instantiates a new ItemItemActionsJobsItemLogsRequestBuilder and sets the default values.
func NewItemItemActionsJobsItemLogsRequestBuilderInternal ¶
func NewItemItemActionsJobsItemLogsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsJobsItemLogsRequestBuilder
NewItemItemActionsJobsItemLogsRequestBuilderInternal instantiates a new ItemItemActionsJobsItemLogsRequestBuilder and sets the default values.
func (*ItemItemActionsJobsItemLogsRequestBuilder) Get ¶
func (m *ItemItemActionsJobsItemLogsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Get gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Lookfor `Location:` in the response header to find the URL for the download.Anyone with read access to the repository can use this endpoint.If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemActionsJobsItemLogsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsJobsItemLogsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a redirect URL to download a plain text file of logs for a workflow job. This link expires after 1 minute. Lookfor `Location:` in the response header to find the URL for the download.Anyone with read access to the repository can use this endpoint.If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsJobsItemLogsRequestBuilder) WithUrl ¶
func (m *ItemItemActionsJobsItemLogsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsJobsItemLogsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsJobsItemLogsRequestBuilder when successful
type ItemItemActionsJobsItemRerunPostRequestBody ¶
type ItemItemActionsJobsItemRerunPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemActionsJobsItemRerunPostRequestBody ¶
func NewItemItemActionsJobsItemRerunPostRequestBody() *ItemItemActionsJobsItemRerunPostRequestBody
NewItemItemActionsJobsItemRerunPostRequestBody instantiates a new ItemItemActionsJobsItemRerunPostRequestBody and sets the default values.
func (*ItemItemActionsJobsItemRerunPostRequestBody) GetAdditionalData ¶
func (m *ItemItemActionsJobsItemRerunPostRequestBody) 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 (*ItemItemActionsJobsItemRerunPostRequestBody) GetEnableDebugLogging ¶
func (m *ItemItemActionsJobsItemRerunPostRequestBody) GetEnableDebugLogging() *bool
GetEnableDebugLogging gets the enable_debug_logging property value. Whether to enable debug logging for the re-run. returns a *bool when successful
func (*ItemItemActionsJobsItemRerunPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemActionsJobsItemRerunPostRequestBody) 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 (*ItemItemActionsJobsItemRerunPostRequestBody) Serialize ¶
func (m *ItemItemActionsJobsItemRerunPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsJobsItemRerunPostRequestBody) SetAdditionalData ¶
func (m *ItemItemActionsJobsItemRerunPostRequestBody) 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 (*ItemItemActionsJobsItemRerunPostRequestBody) SetEnableDebugLogging ¶
func (m *ItemItemActionsJobsItemRerunPostRequestBody) SetEnableDebugLogging(value *bool)
SetEnableDebugLogging sets the enable_debug_logging property value. Whether to enable debug logging for the re-run.
type ItemItemActionsJobsItemRerunPostRequestBodyable ¶
type ItemItemActionsJobsItemRerunPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetEnableDebugLogging() *bool SetEnableDebugLogging(value *bool) }
type ItemItemActionsJobsItemRerunRequestBuilder ¶
type ItemItemActionsJobsItemRerunRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsJobsItemRerunRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\jobs\{job_id}\rerun
func NewItemItemActionsJobsItemRerunRequestBuilder ¶
func NewItemItemActionsJobsItemRerunRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsJobsItemRerunRequestBuilder
NewItemItemActionsJobsItemRerunRequestBuilder instantiates a new ItemItemActionsJobsItemRerunRequestBuilder and sets the default values.
func NewItemItemActionsJobsItemRerunRequestBuilderInternal ¶
func NewItemItemActionsJobsItemRerunRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsJobsItemRerunRequestBuilder
NewItemItemActionsJobsItemRerunRequestBuilderInternal instantiates a new ItemItemActionsJobsItemRerunRequestBuilder and sets the default values.
func (*ItemItemActionsJobsItemRerunRequestBuilder) Post ¶
func (m *ItemItemActionsJobsItemRerunRequestBuilder) Post(ctx context.Context, body ItemItemActionsJobsItemRerunPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EmptyObjectable, error)
Post re-run a job and its dependent jobs in a workflow run.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a EmptyObjectable when successful returns a BasicError error when the service returns a 403 status code API method documentation
func (*ItemItemActionsJobsItemRerunRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemActionsJobsItemRerunRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemActionsJobsItemRerunPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation re-run a job and its dependent jobs in a workflow run.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsJobsItemRerunRequestBuilder) WithUrl ¶
func (m *ItemItemActionsJobsItemRerunRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsJobsItemRerunRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsJobsItemRerunRequestBuilder when successful
type ItemItemActionsJobsRequestBuilder ¶
type ItemItemActionsJobsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsJobsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\jobs
func NewItemItemActionsJobsRequestBuilder ¶
func NewItemItemActionsJobsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsJobsRequestBuilder
NewItemItemActionsJobsRequestBuilder instantiates a new ItemItemActionsJobsRequestBuilder and sets the default values.
func NewItemItemActionsJobsRequestBuilderInternal ¶
func NewItemItemActionsJobsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsJobsRequestBuilder
NewItemItemActionsJobsRequestBuilderInternal instantiates a new ItemItemActionsJobsRequestBuilder and sets the default values.
func (*ItemItemActionsJobsRequestBuilder) ByJob_id ¶
func (m *ItemItemActionsJobsRequestBuilder) ByJob_id(job_id int32) *ItemItemActionsJobsWithJob_ItemRequestBuilder
ByJob_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.actions.jobs.item collection returns a *ItemItemActionsJobsWithJob_ItemRequestBuilder when successful
type ItemItemActionsJobsWithJob_ItemRequestBuilder ¶
type ItemItemActionsJobsWithJob_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsJobsWithJob_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\jobs\{job_id}
func NewItemItemActionsJobsWithJob_ItemRequestBuilder ¶
func NewItemItemActionsJobsWithJob_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsJobsWithJob_ItemRequestBuilder
NewItemItemActionsJobsWithJob_ItemRequestBuilder instantiates a new ItemItemActionsJobsWithJob_ItemRequestBuilder and sets the default values.
func NewItemItemActionsJobsWithJob_ItemRequestBuilderInternal ¶
func NewItemItemActionsJobsWithJob_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsJobsWithJob_ItemRequestBuilder
NewItemItemActionsJobsWithJob_ItemRequestBuilderInternal instantiates a new ItemItemActionsJobsWithJob_ItemRequestBuilder and sets the default values.
func (*ItemItemActionsJobsWithJob_ItemRequestBuilder) Get ¶
func (m *ItemItemActionsJobsWithJob_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Jobable, error)
Get gets a specific job in a workflow run.Anyone with read access to the repository can use this endpoint.If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a Jobable when successful API method documentation
func (*ItemItemActionsJobsWithJob_ItemRequestBuilder) Logs ¶
func (m *ItemItemActionsJobsWithJob_ItemRequestBuilder) Logs() *ItemItemActionsJobsItemLogsRequestBuilder
Logs the logs property returns a *ItemItemActionsJobsItemLogsRequestBuilder when successful
func (*ItemItemActionsJobsWithJob_ItemRequestBuilder) Rerun ¶
func (m *ItemItemActionsJobsWithJob_ItemRequestBuilder) Rerun() *ItemItemActionsJobsItemRerunRequestBuilder
Rerun the rerun property returns a *ItemItemActionsJobsItemRerunRequestBuilder when successful
func (*ItemItemActionsJobsWithJob_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsJobsWithJob_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a specific job in a workflow run.Anyone with read access to the repository can use this endpoint.If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsJobsWithJob_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemActionsJobsWithJob_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsJobsWithJob_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 *ItemItemActionsJobsWithJob_ItemRequestBuilder when successful
type ItemItemActionsOidcCustomizationRequestBuilder ¶
type ItemItemActionsOidcCustomizationRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsOidcCustomizationRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\oidc\customization
func NewItemItemActionsOidcCustomizationRequestBuilder ¶
func NewItemItemActionsOidcCustomizationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsOidcCustomizationRequestBuilder
NewItemItemActionsOidcCustomizationRequestBuilder instantiates a new ItemItemActionsOidcCustomizationRequestBuilder and sets the default values.
func NewItemItemActionsOidcCustomizationRequestBuilderInternal ¶
func NewItemItemActionsOidcCustomizationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsOidcCustomizationRequestBuilder
NewItemItemActionsOidcCustomizationRequestBuilderInternal instantiates a new ItemItemActionsOidcCustomizationRequestBuilder and sets the default values.
func (*ItemItemActionsOidcCustomizationRequestBuilder) Sub ¶
func (m *ItemItemActionsOidcCustomizationRequestBuilder) Sub() *ItemItemActionsOidcCustomizationSubRequestBuilder
Sub the sub property returns a *ItemItemActionsOidcCustomizationSubRequestBuilder when successful
type ItemItemActionsOidcCustomizationSubPutRequestBody ¶
type ItemItemActionsOidcCustomizationSubPutRequestBody struct {
// contains filtered or unexported fields
}
ItemItemActionsOidcCustomizationSubPutRequestBody actions OIDC subject customization for a repository
func NewItemItemActionsOidcCustomizationSubPutRequestBody ¶
func NewItemItemActionsOidcCustomizationSubPutRequestBody() *ItemItemActionsOidcCustomizationSubPutRequestBody
NewItemItemActionsOidcCustomizationSubPutRequestBody instantiates a new ItemItemActionsOidcCustomizationSubPutRequestBody and sets the default values.
func (*ItemItemActionsOidcCustomizationSubPutRequestBody) GetAdditionalData ¶
func (m *ItemItemActionsOidcCustomizationSubPutRequestBody) 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 (*ItemItemActionsOidcCustomizationSubPutRequestBody) GetFieldDeserializers ¶
func (m *ItemItemActionsOidcCustomizationSubPutRequestBody) 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 (*ItemItemActionsOidcCustomizationSubPutRequestBody) GetIncludeClaimKeys ¶
func (m *ItemItemActionsOidcCustomizationSubPutRequestBody) GetIncludeClaimKeys() []string
GetIncludeClaimKeys gets the include_claim_keys property value. Array of unique strings. Each claim key can only contain alphanumeric characters and underscores. returns a []string when successful
func (*ItemItemActionsOidcCustomizationSubPutRequestBody) GetUseDefault ¶
func (m *ItemItemActionsOidcCustomizationSubPutRequestBody) GetUseDefault() *bool
GetUseDefault gets the use_default property value. Whether to use the default template or not. If `true`, the `include_claim_keys` field is ignored. returns a *bool when successful
func (*ItemItemActionsOidcCustomizationSubPutRequestBody) Serialize ¶
func (m *ItemItemActionsOidcCustomizationSubPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsOidcCustomizationSubPutRequestBody) SetAdditionalData ¶
func (m *ItemItemActionsOidcCustomizationSubPutRequestBody) 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 (*ItemItemActionsOidcCustomizationSubPutRequestBody) SetIncludeClaimKeys ¶
func (m *ItemItemActionsOidcCustomizationSubPutRequestBody) SetIncludeClaimKeys(value []string)
SetIncludeClaimKeys sets the include_claim_keys property value. Array of unique strings. Each claim key can only contain alphanumeric characters and underscores.
func (*ItemItemActionsOidcCustomizationSubPutRequestBody) SetUseDefault ¶
func (m *ItemItemActionsOidcCustomizationSubPutRequestBody) SetUseDefault(value *bool)
SetUseDefault sets the use_default property value. Whether to use the default template or not. If `true`, the `include_claim_keys` field is ignored.
type ItemItemActionsOidcCustomizationSubPutRequestBodyable ¶
type ItemItemActionsOidcCustomizationSubPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetIncludeClaimKeys() []string GetUseDefault() *bool SetIncludeClaimKeys(value []string) SetUseDefault(value *bool) }
type ItemItemActionsOidcCustomizationSubRequestBuilder ¶
type ItemItemActionsOidcCustomizationSubRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsOidcCustomizationSubRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\oidc\customization\sub
func NewItemItemActionsOidcCustomizationSubRequestBuilder ¶
func NewItemItemActionsOidcCustomizationSubRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsOidcCustomizationSubRequestBuilder
NewItemItemActionsOidcCustomizationSubRequestBuilder instantiates a new ItemItemActionsOidcCustomizationSubRequestBuilder and sets the default values.
func NewItemItemActionsOidcCustomizationSubRequestBuilderInternal ¶
func NewItemItemActionsOidcCustomizationSubRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsOidcCustomizationSubRequestBuilder
NewItemItemActionsOidcCustomizationSubRequestBuilderInternal instantiates a new ItemItemActionsOidcCustomizationSubRequestBuilder and sets the default values.
func (*ItemItemActionsOidcCustomizationSubRequestBuilder) Get ¶
func (m *ItemItemActionsOidcCustomizationSubRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OidcCustomSubRepoable, error)
Get gets the customization template for an OpenID Connect (OIDC) subject claim.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a OidcCustomSubRepoable when successful returns a BasicError error when the service returns a 400 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemActionsOidcCustomizationSubRequestBuilder) Put ¶
func (m *ItemItemActionsOidcCustomizationSubRequestBuilder) Put(ctx context.Context, body ItemItemActionsOidcCustomizationSubPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EmptyObjectable, error)
Put sets the customization template and `opt-in` or `opt-out` flag for an OpenID Connect (OIDC) subject claim for a repository.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a EmptyObjectable when successful returns a BasicError error when the service returns a 400 status code returns a BasicError error when the service returns a 404 status code returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation
func (*ItemItemActionsOidcCustomizationSubRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsOidcCustomizationSubRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the customization template for an OpenID Connect (OIDC) subject claim.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsOidcCustomizationSubRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemActionsOidcCustomizationSubRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemActionsOidcCustomizationSubPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation sets the customization template and `opt-in` or `opt-out` flag for an OpenID Connect (OIDC) subject claim for a repository.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsOidcCustomizationSubRequestBuilder) WithUrl ¶
func (m *ItemItemActionsOidcCustomizationSubRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsOidcCustomizationSubRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsOidcCustomizationSubRequestBuilder when successful
type ItemItemActionsOidcRequestBuilder ¶
type ItemItemActionsOidcRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsOidcRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\oidc
func NewItemItemActionsOidcRequestBuilder ¶
func NewItemItemActionsOidcRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsOidcRequestBuilder
NewItemItemActionsOidcRequestBuilder instantiates a new ItemItemActionsOidcRequestBuilder and sets the default values.
func NewItemItemActionsOidcRequestBuilderInternal ¶
func NewItemItemActionsOidcRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsOidcRequestBuilder
NewItemItemActionsOidcRequestBuilderInternal instantiates a new ItemItemActionsOidcRequestBuilder and sets the default values.
func (*ItemItemActionsOidcRequestBuilder) Customization ¶
func (m *ItemItemActionsOidcRequestBuilder) Customization() *ItemItemActionsOidcCustomizationRequestBuilder
Customization the customization property returns a *ItemItemActionsOidcCustomizationRequestBuilder when successful
type ItemItemActionsOrganizationSecretsGetResponse ¶
type ItemItemActionsOrganizationSecretsGetResponse struct {
// contains filtered or unexported fields
}
func NewItemItemActionsOrganizationSecretsGetResponse ¶
func NewItemItemActionsOrganizationSecretsGetResponse() *ItemItemActionsOrganizationSecretsGetResponse
NewItemItemActionsOrganizationSecretsGetResponse instantiates a new ItemItemActionsOrganizationSecretsGetResponse and sets the default values.
func (*ItemItemActionsOrganizationSecretsGetResponse) GetAdditionalData ¶
func (m *ItemItemActionsOrganizationSecretsGetResponse) 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 (*ItemItemActionsOrganizationSecretsGetResponse) GetFieldDeserializers ¶
func (m *ItemItemActionsOrganizationSecretsGetResponse) 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 (*ItemItemActionsOrganizationSecretsGetResponse) GetSecrets ¶
func (m *ItemItemActionsOrganizationSecretsGetResponse) GetSecrets() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsSecretable
GetSecrets gets the secrets property value. The secrets property returns a []ActionsSecretable when successful
func (*ItemItemActionsOrganizationSecretsGetResponse) GetTotalCount ¶
func (m *ItemItemActionsOrganizationSecretsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemItemActionsOrganizationSecretsGetResponse) Serialize ¶
func (m *ItemItemActionsOrganizationSecretsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsOrganizationSecretsGetResponse) SetAdditionalData ¶
func (m *ItemItemActionsOrganizationSecretsGetResponse) 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 (*ItemItemActionsOrganizationSecretsGetResponse) SetSecrets ¶
func (m *ItemItemActionsOrganizationSecretsGetResponse) SetSecrets(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsSecretable)
SetSecrets sets the secrets property value. The secrets property
func (*ItemItemActionsOrganizationSecretsGetResponse) SetTotalCount ¶
func (m *ItemItemActionsOrganizationSecretsGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemItemActionsOrganizationSecretsGetResponseable ¶
type ItemItemActionsOrganizationSecretsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSecrets() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsSecretable GetTotalCount() *int32 SetSecrets(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsSecretable) SetTotalCount(value *int32) }
type ItemItemActionsOrganizationSecretsRequestBuilder ¶
type ItemItemActionsOrganizationSecretsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsOrganizationSecretsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\organization-secrets
func NewItemItemActionsOrganizationSecretsRequestBuilder ¶
func NewItemItemActionsOrganizationSecretsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsOrganizationSecretsRequestBuilder
NewItemItemActionsOrganizationSecretsRequestBuilder instantiates a new ItemItemActionsOrganizationSecretsRequestBuilder and sets the default values.
func NewItemItemActionsOrganizationSecretsRequestBuilderInternal ¶
func NewItemItemActionsOrganizationSecretsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsOrganizationSecretsRequestBuilder
NewItemItemActionsOrganizationSecretsRequestBuilderInternal instantiates a new ItemItemActionsOrganizationSecretsRequestBuilder and sets the default values.
func (*ItemItemActionsOrganizationSecretsRequestBuilder) Get ¶
func (m *ItemItemActionsOrganizationSecretsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsOrganizationSecretsRequestBuilderGetQueryParameters]) (ItemItemActionsOrganizationSecretsGetResponseable, error)
Get lists all organization secrets shared with a repository without revealing their encryptedvalues.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ItemItemActionsOrganizationSecretsGetResponseable when successful API method documentation
func (*ItemItemActionsOrganizationSecretsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsOrganizationSecretsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsOrganizationSecretsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all organization secrets shared with a repository without revealing their encryptedvalues.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsOrganizationSecretsRequestBuilder) WithUrl ¶
func (m *ItemItemActionsOrganizationSecretsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsOrganizationSecretsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsOrganizationSecretsRequestBuilder when successful
type ItemItemActionsOrganizationSecretsRequestBuilderGetQueryParameters ¶
type ItemItemActionsOrganizationSecretsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemActionsOrganizationSecretsRequestBuilderGetQueryParameters lists all organization secrets shared with a repository without revealing their encryptedvalues.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
type ItemItemActionsOrganizationVariablesGetResponse ¶
type ItemItemActionsOrganizationVariablesGetResponse struct {
// contains filtered or unexported fields
}
func NewItemItemActionsOrganizationVariablesGetResponse ¶
func NewItemItemActionsOrganizationVariablesGetResponse() *ItemItemActionsOrganizationVariablesGetResponse
NewItemItemActionsOrganizationVariablesGetResponse instantiates a new ItemItemActionsOrganizationVariablesGetResponse and sets the default values.
func (*ItemItemActionsOrganizationVariablesGetResponse) GetAdditionalData ¶
func (m *ItemItemActionsOrganizationVariablesGetResponse) 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 (*ItemItemActionsOrganizationVariablesGetResponse) GetFieldDeserializers ¶
func (m *ItemItemActionsOrganizationVariablesGetResponse) 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 (*ItemItemActionsOrganizationVariablesGetResponse) GetTotalCount ¶
func (m *ItemItemActionsOrganizationVariablesGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemItemActionsOrganizationVariablesGetResponse) GetVariables ¶
func (m *ItemItemActionsOrganizationVariablesGetResponse) GetVariables() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsVariableable
GetVariables gets the variables property value. The variables property returns a []ActionsVariableable when successful
func (*ItemItemActionsOrganizationVariablesGetResponse) Serialize ¶
func (m *ItemItemActionsOrganizationVariablesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsOrganizationVariablesGetResponse) SetAdditionalData ¶
func (m *ItemItemActionsOrganizationVariablesGetResponse) 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 (*ItemItemActionsOrganizationVariablesGetResponse) SetTotalCount ¶
func (m *ItemItemActionsOrganizationVariablesGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
func (*ItemItemActionsOrganizationVariablesGetResponse) SetVariables ¶
func (m *ItemItemActionsOrganizationVariablesGetResponse) SetVariables(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsVariableable)
SetVariables sets the variables property value. The variables property
type ItemItemActionsOrganizationVariablesGetResponseable ¶
type ItemItemActionsOrganizationVariablesGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetTotalCount() *int32 GetVariables() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsVariableable SetTotalCount(value *int32) SetVariables(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsVariableable) }
type ItemItemActionsOrganizationVariablesRequestBuilder ¶
type ItemItemActionsOrganizationVariablesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsOrganizationVariablesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\organization-variables
func NewItemItemActionsOrganizationVariablesRequestBuilder ¶
func NewItemItemActionsOrganizationVariablesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsOrganizationVariablesRequestBuilder
NewItemItemActionsOrganizationVariablesRequestBuilder instantiates a new ItemItemActionsOrganizationVariablesRequestBuilder and sets the default values.
func NewItemItemActionsOrganizationVariablesRequestBuilderInternal ¶
func NewItemItemActionsOrganizationVariablesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsOrganizationVariablesRequestBuilder
NewItemItemActionsOrganizationVariablesRequestBuilderInternal instantiates a new ItemItemActionsOrganizationVariablesRequestBuilder and sets the default values.
func (*ItemItemActionsOrganizationVariablesRequestBuilder) Get ¶
func (m *ItemItemActionsOrganizationVariablesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsOrganizationVariablesRequestBuilderGetQueryParameters]) (ItemItemActionsOrganizationVariablesGetResponseable, error)
Get lists all organization variables shared with a repository.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ItemItemActionsOrganizationVariablesGetResponseable when successful API method documentation
func (*ItemItemActionsOrganizationVariablesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsOrganizationVariablesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsOrganizationVariablesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all organization variables shared with a repository.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsOrganizationVariablesRequestBuilder) WithUrl ¶
func (m *ItemItemActionsOrganizationVariablesRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsOrganizationVariablesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsOrganizationVariablesRequestBuilder when successful
type ItemItemActionsOrganizationVariablesRequestBuilderGetQueryParameters ¶
type ItemItemActionsOrganizationVariablesRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemActionsOrganizationVariablesRequestBuilderGetQueryParameters lists all organization variables shared with a repository.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
type ItemItemActionsPermissionsAccessRequestBuilder ¶
type ItemItemActionsPermissionsAccessRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsPermissionsAccessRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\permissions\access
func NewItemItemActionsPermissionsAccessRequestBuilder ¶
func NewItemItemActionsPermissionsAccessRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsPermissionsAccessRequestBuilder
NewItemItemActionsPermissionsAccessRequestBuilder instantiates a new ItemItemActionsPermissionsAccessRequestBuilder and sets the default values.
func NewItemItemActionsPermissionsAccessRequestBuilderInternal ¶
func NewItemItemActionsPermissionsAccessRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsPermissionsAccessRequestBuilder
NewItemItemActionsPermissionsAccessRequestBuilderInternal instantiates a new ItemItemActionsPermissionsAccessRequestBuilder and sets the default values.
func (*ItemItemActionsPermissionsAccessRequestBuilder) Get ¶
func (m *ItemItemActionsPermissionsAccessRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsWorkflowAccessToRepositoryable, error)
Get gets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.This endpoint only applies to internal and private repositories.For more information, see "[Allowing access to components in a private repository](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-a-private-repository)" and"[Allowing access to components in an internal repository](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-an-internal-repository)."OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ActionsWorkflowAccessToRepositoryable when successful API method documentation
func (*ItemItemActionsPermissionsAccessRequestBuilder) Put ¶
func (m *ItemItemActionsPermissionsAccessRequestBuilder) Put(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsWorkflowAccessToRepositoryable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put sets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.This endpoint only applies to internal and private repositories.For more information, see "[Allowing access to components in a private repository](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-a-private-repository)" and"[Allowing access to components in an internal repository](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-an-internal-repository)."OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemActionsPermissionsAccessRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsPermissionsAccessRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.This endpoint only applies to internal and private repositories.For more information, see "[Allowing access to components in a private repository](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-a-private-repository)" and"[Allowing access to components in an internal repository](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-an-internal-repository)."OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsPermissionsAccessRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemActionsPermissionsAccessRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsWorkflowAccessToRepositoryable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation sets the level of access that workflows outside of the repository have to actions and reusable workflows in the repository.This endpoint only applies to internal and private repositories.For more information, see "[Allowing access to components in a private repository](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-a-private-repository)" and"[Allowing access to components in an internal repository](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-access-to-components-in-an-internal-repository)."OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsPermissionsAccessRequestBuilder) WithUrl ¶
func (m *ItemItemActionsPermissionsAccessRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsPermissionsAccessRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsPermissionsAccessRequestBuilder when successful
type ItemItemActionsPermissionsPutRequestBody ¶
type ItemItemActionsPermissionsPutRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemActionsPermissionsPutRequestBody ¶
func NewItemItemActionsPermissionsPutRequestBody() *ItemItemActionsPermissionsPutRequestBody
NewItemItemActionsPermissionsPutRequestBody instantiates a new ItemItemActionsPermissionsPutRequestBody and sets the default values.
func (*ItemItemActionsPermissionsPutRequestBody) GetAdditionalData ¶
func (m *ItemItemActionsPermissionsPutRequestBody) 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 (*ItemItemActionsPermissionsPutRequestBody) GetAllowedActions ¶
func (m *ItemItemActionsPermissionsPutRequestBody) GetAllowedActions() *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.AllowedActions
GetAllowedActions gets the allowed_actions property value. The permissions policy that controls the actions that are allowed to run. returns a *AllowedActions when successful
func (*ItemItemActionsPermissionsPutRequestBody) GetEnabled ¶
func (m *ItemItemActionsPermissionsPutRequestBody) GetEnabled() *bool
GetEnabled gets the enabled property value. Whether GitHub Actions is enabled on the repository. returns a *bool when successful
func (*ItemItemActionsPermissionsPutRequestBody) GetFieldDeserializers ¶
func (m *ItemItemActionsPermissionsPutRequestBody) 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 (*ItemItemActionsPermissionsPutRequestBody) Serialize ¶
func (m *ItemItemActionsPermissionsPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsPermissionsPutRequestBody) SetAdditionalData ¶
func (m *ItemItemActionsPermissionsPutRequestBody) 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 (*ItemItemActionsPermissionsPutRequestBody) SetAllowedActions ¶
func (m *ItemItemActionsPermissionsPutRequestBody) SetAllowedActions(value *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.AllowedActions)
SetAllowedActions sets the allowed_actions property value. The permissions policy that controls the actions that are allowed to run.
func (*ItemItemActionsPermissionsPutRequestBody) SetEnabled ¶
func (m *ItemItemActionsPermissionsPutRequestBody) SetEnabled(value *bool)
SetEnabled sets the enabled property value. Whether GitHub Actions is enabled on the repository.
type ItemItemActionsPermissionsPutRequestBodyable ¶
type ItemItemActionsPermissionsPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAllowedActions() *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.AllowedActions GetEnabled() *bool SetAllowedActions(value *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.AllowedActions) SetEnabled(value *bool) }
type ItemItemActionsPermissionsRequestBuilder ¶
type ItemItemActionsPermissionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsPermissionsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\permissions
func NewItemItemActionsPermissionsRequestBuilder ¶
func NewItemItemActionsPermissionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsPermissionsRequestBuilder
NewItemItemActionsPermissionsRequestBuilder instantiates a new ItemItemActionsPermissionsRequestBuilder and sets the default values.
func NewItemItemActionsPermissionsRequestBuilderInternal ¶
func NewItemItemActionsPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsPermissionsRequestBuilder
NewItemItemActionsPermissionsRequestBuilderInternal instantiates a new ItemItemActionsPermissionsRequestBuilder and sets the default values.
func (*ItemItemActionsPermissionsRequestBuilder) Access ¶
func (m *ItemItemActionsPermissionsRequestBuilder) Access() *ItemItemActionsPermissionsAccessRequestBuilder
Access the access property returns a *ItemItemActionsPermissionsAccessRequestBuilder when successful
func (*ItemItemActionsPermissionsRequestBuilder) Get ¶
func (m *ItemItemActionsPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsRepositoryPermissionsable, error)
Get gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions allowed to run in the repository.You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API. returns a ActionsRepositoryPermissionsable when successful API method documentation
func (*ItemItemActionsPermissionsRequestBuilder) Put ¶
func (m *ItemItemActionsPermissionsRequestBuilder) Put(ctx context.Context, body ItemItemActionsPermissionsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions in the repository.If the repository belongs to an organization or enterprise that has set restrictive permissions at the organization or enterprise levels, such as `allowed_actions` to `selected` actions, then you cannot override them for the repository.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemActionsPermissionsRequestBuilder) SelectedActions ¶
func (m *ItemItemActionsPermissionsRequestBuilder) SelectedActions() *ItemItemActionsPermissionsSelectedActionsRequestBuilder
SelectedActions the selectedActions property returns a *ItemItemActionsPermissionsSelectedActionsRequestBuilder when successful
func (*ItemItemActionsPermissionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions allowed to run in the repository.You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API. returns a *RequestInformation when successful
func (*ItemItemActionsPermissionsRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemActionsPermissionsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemActionsPermissionsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation sets the GitHub Actions permissions policy for enabling GitHub Actions and allowed actions in the repository.If the repository belongs to an organization or enterprise that has set restrictive permissions at the organization or enterprise levels, such as `allowed_actions` to `selected` actions, then you cannot override them for the repository.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsPermissionsRequestBuilder) WithUrl ¶
func (m *ItemItemActionsPermissionsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsPermissionsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsPermissionsRequestBuilder when successful
func (*ItemItemActionsPermissionsRequestBuilder) Workflow ¶
func (m *ItemItemActionsPermissionsRequestBuilder) Workflow() *ItemItemActionsPermissionsWorkflowRequestBuilder
Workflow the workflow property returns a *ItemItemActionsPermissionsWorkflowRequestBuilder when successful
type ItemItemActionsPermissionsSelectedActionsRequestBuilder ¶
type ItemItemActionsPermissionsSelectedActionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsPermissionsSelectedActionsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\permissions\selected-actions
func NewItemItemActionsPermissionsSelectedActionsRequestBuilder ¶
func NewItemItemActionsPermissionsSelectedActionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsPermissionsSelectedActionsRequestBuilder
NewItemItemActionsPermissionsSelectedActionsRequestBuilder instantiates a new ItemItemActionsPermissionsSelectedActionsRequestBuilder and sets the default values.
func NewItemItemActionsPermissionsSelectedActionsRequestBuilderInternal ¶
func NewItemItemActionsPermissionsSelectedActionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsPermissionsSelectedActionsRequestBuilder
NewItemItemActionsPermissionsSelectedActionsRequestBuilderInternal instantiates a new ItemItemActionsPermissionsSelectedActionsRequestBuilder and sets the default values.
func (*ItemItemActionsPermissionsSelectedActionsRequestBuilder) Get ¶
func (m *ItemItemActionsPermissionsSelectedActionsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SelectedActionsable, error)
Get gets the settings for selected actions that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository)."You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API. returns a SelectedActionsable when successful API method documentation
func (*ItemItemActionsPermissionsSelectedActionsRequestBuilder) Put ¶
func (m *ItemItemActionsPermissionsSelectedActionsRequestBuilder) Put(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SelectedActionsable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put sets the actions that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository)."If the repository belongs to an organization or enterprise that has `selected` actions set at the organization or enterprise levels, then you cannot override any of the allowed actions settings.To use the `patterns_allowed` setting for private repositories, the repository must belong to an enterprise. If the repository does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemActionsPermissionsSelectedActionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsPermissionsSelectedActionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the settings for selected actions that are allowed in a repository. To use this endpoint, the repository policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository)."You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `administration` repository permission to use this API. returns a *RequestInformation when successful
func (*ItemItemActionsPermissionsSelectedActionsRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemActionsPermissionsSelectedActionsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SelectedActionsable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation sets the actions that are allowed in a repository. To use this endpoint, the repository permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for a repository](#set-github-actions-permissions-for-a-repository)."If the repository belongs to an organization or enterprise that has `selected` actions set at the organization or enterprise levels, then you cannot override any of the allowed actions settings.To use the `patterns_allowed` setting for private repositories, the repository must belong to an enterprise. If the repository does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsPermissionsSelectedActionsRequestBuilder) WithUrl ¶
func (m *ItemItemActionsPermissionsSelectedActionsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsPermissionsSelectedActionsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsPermissionsSelectedActionsRequestBuilder when successful
type ItemItemActionsPermissionsWorkflowRequestBuilder ¶
type ItemItemActionsPermissionsWorkflowRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsPermissionsWorkflowRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\permissions\workflow
func NewItemItemActionsPermissionsWorkflowRequestBuilder ¶
func NewItemItemActionsPermissionsWorkflowRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsPermissionsWorkflowRequestBuilder
NewItemItemActionsPermissionsWorkflowRequestBuilder instantiates a new ItemItemActionsPermissionsWorkflowRequestBuilder and sets the default values.
func NewItemItemActionsPermissionsWorkflowRequestBuilderInternal ¶
func NewItemItemActionsPermissionsWorkflowRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsPermissionsWorkflowRequestBuilder
NewItemItemActionsPermissionsWorkflowRequestBuilderInternal instantiates a new ItemItemActionsPermissionsWorkflowRequestBuilder and sets the default values.
func (*ItemItemActionsPermissionsWorkflowRequestBuilder) Get ¶
func (m *ItemItemActionsPermissionsWorkflowRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsGetDefaultWorkflowPermissionsable, error)
Get gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in a repository,as well as if GitHub Actions can submit approving pull request reviews.For more information, see "[Setting the permissions of the GITHUB_TOKEN for your repository](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository)."OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ActionsGetDefaultWorkflowPermissionsable when successful API method documentation
func (*ItemItemActionsPermissionsWorkflowRequestBuilder) Put ¶
func (m *ItemItemActionsPermissionsWorkflowRequestBuilder) Put(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsSetDefaultWorkflowPermissionsable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in a repository, and sets if GitHub Actionscan submit approving pull request reviews.For more information, see "[Setting the permissions of the GITHUB_TOKEN for your repository](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository)."OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemActionsPermissionsWorkflowRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsPermissionsWorkflowRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in a repository,as well as if GitHub Actions can submit approving pull request reviews.For more information, see "[Setting the permissions of the GITHUB_TOKEN for your repository](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository)."OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsPermissionsWorkflowRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemActionsPermissionsWorkflowRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsSetDefaultWorkflowPermissionsable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in a repository, and sets if GitHub Actionscan submit approving pull request reviews.For more information, see "[Setting the permissions of the GITHUB_TOKEN for your repository](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository)."OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsPermissionsWorkflowRequestBuilder) WithUrl ¶
func (m *ItemItemActionsPermissionsWorkflowRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsPermissionsWorkflowRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsPermissionsWorkflowRequestBuilder when successful
type ItemItemActionsRequestBuilder ¶
type ItemItemActionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions
func NewItemItemActionsRequestBuilder ¶
func NewItemItemActionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRequestBuilder
NewItemItemActionsRequestBuilder instantiates a new ItemItemActionsRequestBuilder and sets the default values.
func NewItemItemActionsRequestBuilderInternal ¶
func NewItemItemActionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRequestBuilder
NewItemItemActionsRequestBuilderInternal instantiates a new ItemItemActionsRequestBuilder and sets the default values.
func (*ItemItemActionsRequestBuilder) Artifacts ¶
func (m *ItemItemActionsRequestBuilder) Artifacts() *ItemItemActionsArtifactsRequestBuilder
Artifacts the artifacts property returns a *ItemItemActionsArtifactsRequestBuilder when successful
func (*ItemItemActionsRequestBuilder) Cache ¶
func (m *ItemItemActionsRequestBuilder) Cache() *ItemItemActionsCacheRequestBuilder
Cache the cache property returns a *ItemItemActionsCacheRequestBuilder when successful
func (*ItemItemActionsRequestBuilder) Caches ¶
func (m *ItemItemActionsRequestBuilder) Caches() *ItemItemActionsCachesRequestBuilder
Caches the caches property returns a *ItemItemActionsCachesRequestBuilder when successful
func (*ItemItemActionsRequestBuilder) Jobs ¶
func (m *ItemItemActionsRequestBuilder) Jobs() *ItemItemActionsJobsRequestBuilder
Jobs the jobs property returns a *ItemItemActionsJobsRequestBuilder when successful
func (*ItemItemActionsRequestBuilder) Oidc ¶
func (m *ItemItemActionsRequestBuilder) Oidc() *ItemItemActionsOidcRequestBuilder
Oidc the oidc property returns a *ItemItemActionsOidcRequestBuilder when successful
func (*ItemItemActionsRequestBuilder) OrganizationSecrets ¶
func (m *ItemItemActionsRequestBuilder) OrganizationSecrets() *ItemItemActionsOrganizationSecretsRequestBuilder
OrganizationSecrets the organizationSecrets property returns a *ItemItemActionsOrganizationSecretsRequestBuilder when successful
func (*ItemItemActionsRequestBuilder) OrganizationVariables ¶
func (m *ItemItemActionsRequestBuilder) OrganizationVariables() *ItemItemActionsOrganizationVariablesRequestBuilder
OrganizationVariables the organizationVariables property returns a *ItemItemActionsOrganizationVariablesRequestBuilder when successful
func (*ItemItemActionsRequestBuilder) Permissions ¶
func (m *ItemItemActionsRequestBuilder) Permissions() *ItemItemActionsPermissionsRequestBuilder
Permissions the permissions property returns a *ItemItemActionsPermissionsRequestBuilder when successful
func (*ItemItemActionsRequestBuilder) Runners ¶
func (m *ItemItemActionsRequestBuilder) Runners() *ItemItemActionsRunnersRequestBuilder
Runners the runners property returns a *ItemItemActionsRunnersRequestBuilder when successful
func (*ItemItemActionsRequestBuilder) Runs ¶
func (m *ItemItemActionsRequestBuilder) Runs() *ItemItemActionsRunsRequestBuilder
Runs the runs property returns a *ItemItemActionsRunsRequestBuilder when successful
func (*ItemItemActionsRequestBuilder) Secrets ¶
func (m *ItemItemActionsRequestBuilder) Secrets() *ItemItemActionsSecretsRequestBuilder
Secrets the secrets property returns a *ItemItemActionsSecretsRequestBuilder when successful
func (*ItemItemActionsRequestBuilder) Variables ¶
func (m *ItemItemActionsRequestBuilder) Variables() *ItemItemActionsVariablesRequestBuilder
Variables the variables property returns a *ItemItemActionsVariablesRequestBuilder when successful
func (*ItemItemActionsRequestBuilder) Workflows ¶
func (m *ItemItemActionsRequestBuilder) Workflows() *ItemItemActionsWorkflowsRequestBuilder
Workflows the workflows property returns a *ItemItemActionsWorkflowsRequestBuilder when successful
type ItemItemActionsRunnersDownloadsRequestBuilder ¶
type ItemItemActionsRunnersDownloadsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsRunnersDownloadsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\runners\downloads
func NewItemItemActionsRunnersDownloadsRequestBuilder ¶
func NewItemItemActionsRunnersDownloadsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunnersDownloadsRequestBuilder
NewItemItemActionsRunnersDownloadsRequestBuilder instantiates a new ItemItemActionsRunnersDownloadsRequestBuilder and sets the default values.
func NewItemItemActionsRunnersDownloadsRequestBuilderInternal ¶
func NewItemItemActionsRunnersDownloadsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunnersDownloadsRequestBuilder
NewItemItemActionsRunnersDownloadsRequestBuilderInternal instantiates a new ItemItemActionsRunnersDownloadsRequestBuilder and sets the default values.
func (*ItemItemActionsRunnersDownloadsRequestBuilder) Get ¶
func (m *ItemItemActionsRunnersDownloadsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerApplicationable, error)
Get lists binaries for the runner application that you can download and run.Authenticated users must have admin access to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a []RunnerApplicationable when successful API method documentation
func (*ItemItemActionsRunnersDownloadsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsRunnersDownloadsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists binaries for the runner application that you can download and run.Authenticated users must have admin access to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsRunnersDownloadsRequestBuilder) WithUrl ¶
func (m *ItemItemActionsRunnersDownloadsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunnersDownloadsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsRunnersDownloadsRequestBuilder when successful
type ItemItemActionsRunnersGenerateJitconfigPostRequestBody ¶
type ItemItemActionsRunnersGenerateJitconfigPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemActionsRunnersGenerateJitconfigPostRequestBody ¶
func NewItemItemActionsRunnersGenerateJitconfigPostRequestBody() *ItemItemActionsRunnersGenerateJitconfigPostRequestBody
NewItemItemActionsRunnersGenerateJitconfigPostRequestBody instantiates a new ItemItemActionsRunnersGenerateJitconfigPostRequestBody and sets the default values.
func (*ItemItemActionsRunnersGenerateJitconfigPostRequestBody) GetAdditionalData ¶
func (m *ItemItemActionsRunnersGenerateJitconfigPostRequestBody) 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 (*ItemItemActionsRunnersGenerateJitconfigPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemActionsRunnersGenerateJitconfigPostRequestBody) 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 (*ItemItemActionsRunnersGenerateJitconfigPostRequestBody) GetLabels ¶
func (m *ItemItemActionsRunnersGenerateJitconfigPostRequestBody) GetLabels() []string
GetLabels gets the labels property value. The names of the custom labels to add to the runner. **Minimum items**: 1. **Maximum items**: 100. returns a []string when successful
func (*ItemItemActionsRunnersGenerateJitconfigPostRequestBody) GetName ¶
func (m *ItemItemActionsRunnersGenerateJitconfigPostRequestBody) GetName() *string
GetName gets the name property value. The name of the new runner. returns a *string when successful
func (*ItemItemActionsRunnersGenerateJitconfigPostRequestBody) GetRunnerGroupId ¶
func (m *ItemItemActionsRunnersGenerateJitconfigPostRequestBody) GetRunnerGroupId() *int32
GetRunnerGroupId gets the runner_group_id property value. The ID of the runner group to register the runner to. returns a *int32 when successful
func (*ItemItemActionsRunnersGenerateJitconfigPostRequestBody) GetWorkFolder ¶
func (m *ItemItemActionsRunnersGenerateJitconfigPostRequestBody) GetWorkFolder() *string
GetWorkFolder gets the work_folder property value. The working directory to be used for job execution, relative to the runner install directory. returns a *string when successful
func (*ItemItemActionsRunnersGenerateJitconfigPostRequestBody) Serialize ¶
func (m *ItemItemActionsRunnersGenerateJitconfigPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsRunnersGenerateJitconfigPostRequestBody) SetAdditionalData ¶
func (m *ItemItemActionsRunnersGenerateJitconfigPostRequestBody) 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 (*ItemItemActionsRunnersGenerateJitconfigPostRequestBody) SetLabels ¶
func (m *ItemItemActionsRunnersGenerateJitconfigPostRequestBody) SetLabels(value []string)
SetLabels sets the labels property value. The names of the custom labels to add to the runner. **Minimum items**: 1. **Maximum items**: 100.
func (*ItemItemActionsRunnersGenerateJitconfigPostRequestBody) SetName ¶
func (m *ItemItemActionsRunnersGenerateJitconfigPostRequestBody) SetName(value *string)
SetName sets the name property value. The name of the new runner.
func (*ItemItemActionsRunnersGenerateJitconfigPostRequestBody) SetRunnerGroupId ¶
func (m *ItemItemActionsRunnersGenerateJitconfigPostRequestBody) SetRunnerGroupId(value *int32)
SetRunnerGroupId sets the runner_group_id property value. The ID of the runner group to register the runner to.
func (*ItemItemActionsRunnersGenerateJitconfigPostRequestBody) SetWorkFolder ¶
func (m *ItemItemActionsRunnersGenerateJitconfigPostRequestBody) SetWorkFolder(value *string)
SetWorkFolder sets the work_folder property value. The working directory to be used for job execution, relative to the runner install directory.
type ItemItemActionsRunnersGenerateJitconfigPostRequestBodyable ¶
type ItemItemActionsRunnersGenerateJitconfigPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []string GetName() *string GetRunnerGroupId() *int32 GetWorkFolder() *string SetLabels(value []string) SetName(value *string) SetRunnerGroupId(value *int32) SetWorkFolder(value *string) }
type ItemItemActionsRunnersGenerateJitconfigPostResponse ¶
type ItemItemActionsRunnersGenerateJitconfigPostResponse struct {
// contains filtered or unexported fields
}
func NewItemItemActionsRunnersGenerateJitconfigPostResponse ¶
func NewItemItemActionsRunnersGenerateJitconfigPostResponse() *ItemItemActionsRunnersGenerateJitconfigPostResponse
NewItemItemActionsRunnersGenerateJitconfigPostResponse instantiates a new ItemItemActionsRunnersGenerateJitconfigPostResponse and sets the default values.
func (*ItemItemActionsRunnersGenerateJitconfigPostResponse) GetAdditionalData ¶
func (m *ItemItemActionsRunnersGenerateJitconfigPostResponse) 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 (*ItemItemActionsRunnersGenerateJitconfigPostResponse) GetEncodedJitConfig ¶
func (m *ItemItemActionsRunnersGenerateJitconfigPostResponse) GetEncodedJitConfig() *string
GetEncodedJitConfig gets the encoded_jit_config property value. The base64 encoded runner configuration. returns a *string when successful
func (*ItemItemActionsRunnersGenerateJitconfigPostResponse) GetFieldDeserializers ¶
func (m *ItemItemActionsRunnersGenerateJitconfigPostResponse) 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 (*ItemItemActionsRunnersGenerateJitconfigPostResponse) GetRunner ¶
func (m *ItemItemActionsRunnersGenerateJitconfigPostResponse) GetRunner() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable
GetRunner gets the runner property value. A self hosted runner returns a Runnerable when successful
func (*ItemItemActionsRunnersGenerateJitconfigPostResponse) Serialize ¶
func (m *ItemItemActionsRunnersGenerateJitconfigPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsRunnersGenerateJitconfigPostResponse) SetAdditionalData ¶
func (m *ItemItemActionsRunnersGenerateJitconfigPostResponse) 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 (*ItemItemActionsRunnersGenerateJitconfigPostResponse) SetEncodedJitConfig ¶
func (m *ItemItemActionsRunnersGenerateJitconfigPostResponse) SetEncodedJitConfig(value *string)
SetEncodedJitConfig sets the encoded_jit_config property value. The base64 encoded runner configuration.
func (*ItemItemActionsRunnersGenerateJitconfigPostResponse) SetRunner ¶
func (m *ItemItemActionsRunnersGenerateJitconfigPostResponse) SetRunner(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable)
SetRunner sets the runner property value. A self hosted runner
type ItemItemActionsRunnersGenerateJitconfigPostResponseable ¶
type ItemItemActionsRunnersGenerateJitconfigPostResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetEncodedJitConfig() *string GetRunner() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable SetEncodedJitConfig(value *string) SetRunner(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable) }
type ItemItemActionsRunnersGenerateJitconfigRequestBuilder ¶
type ItemItemActionsRunnersGenerateJitconfigRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsRunnersGenerateJitconfigRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\runners\generate-jitconfig
func NewItemItemActionsRunnersGenerateJitconfigRequestBuilder ¶
func NewItemItemActionsRunnersGenerateJitconfigRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunnersGenerateJitconfigRequestBuilder
NewItemItemActionsRunnersGenerateJitconfigRequestBuilder instantiates a new ItemItemActionsRunnersGenerateJitconfigRequestBuilder and sets the default values.
func NewItemItemActionsRunnersGenerateJitconfigRequestBuilderInternal ¶
func NewItemItemActionsRunnersGenerateJitconfigRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunnersGenerateJitconfigRequestBuilder
NewItemItemActionsRunnersGenerateJitconfigRequestBuilderInternal instantiates a new ItemItemActionsRunnersGenerateJitconfigRequestBuilder and sets the default values.
func (*ItemItemActionsRunnersGenerateJitconfigRequestBuilder) Post ¶
func (m *ItemItemActionsRunnersGenerateJitconfigRequestBuilder) Post(ctx context.Context, body ItemItemActionsRunnersGenerateJitconfigPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemItemActionsRunnersGenerateJitconfigPostResponseable, error)
Post generates a configuration that can be passed to the runner application at startup.The authenticated user must have admin access to the repository.OAuth tokens and personal access tokens (classic) need the`repo` scope to use this endpoint. returns a ItemItemActionsRunnersGenerateJitconfigPostResponseable when successful returns a BasicError error when the service returns a 404 status code returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation
func (*ItemItemActionsRunnersGenerateJitconfigRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemActionsRunnersGenerateJitconfigRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemActionsRunnersGenerateJitconfigPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation generates a configuration that can be passed to the runner application at startup.The authenticated user must have admin access to the repository.OAuth tokens and personal access tokens (classic) need the`repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsRunnersGenerateJitconfigRequestBuilder) WithUrl ¶
func (m *ItemItemActionsRunnersGenerateJitconfigRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunnersGenerateJitconfigRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsRunnersGenerateJitconfigRequestBuilder when successful
type ItemItemActionsRunnersGetResponse ¶
type ItemItemActionsRunnersGetResponse struct {
// contains filtered or unexported fields
}
func NewItemItemActionsRunnersGetResponse ¶
func NewItemItemActionsRunnersGetResponse() *ItemItemActionsRunnersGetResponse
NewItemItemActionsRunnersGetResponse instantiates a new ItemItemActionsRunnersGetResponse and sets the default values.
func (*ItemItemActionsRunnersGetResponse) GetAdditionalData ¶
func (m *ItemItemActionsRunnersGetResponse) 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 (*ItemItemActionsRunnersGetResponse) GetFieldDeserializers ¶
func (m *ItemItemActionsRunnersGetResponse) 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 (*ItemItemActionsRunnersGetResponse) GetRunners ¶
func (m *ItemItemActionsRunnersGetResponse) GetRunners() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable
GetRunners gets the runners property value. The runners property returns a []Runnerable when successful
func (*ItemItemActionsRunnersGetResponse) GetTotalCount ¶
func (m *ItemItemActionsRunnersGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemItemActionsRunnersGetResponse) Serialize ¶
func (m *ItemItemActionsRunnersGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsRunnersGetResponse) SetAdditionalData ¶
func (m *ItemItemActionsRunnersGetResponse) 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 (*ItemItemActionsRunnersGetResponse) SetRunners ¶
func (m *ItemItemActionsRunnersGetResponse) SetRunners(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable)
SetRunners sets the runners property value. The runners property
func (*ItemItemActionsRunnersGetResponse) SetTotalCount ¶
func (m *ItemItemActionsRunnersGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemItemActionsRunnersGetResponseable ¶
type ItemItemActionsRunnersGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetRunners() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable GetTotalCount() *int32 SetRunners(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable) SetTotalCount(value *int32) }
type ItemItemActionsRunnersItemLabelsDeleteResponse ¶
type ItemItemActionsRunnersItemLabelsDeleteResponse struct {
// contains filtered or unexported fields
}
func NewItemItemActionsRunnersItemLabelsDeleteResponse ¶
func NewItemItemActionsRunnersItemLabelsDeleteResponse() *ItemItemActionsRunnersItemLabelsDeleteResponse
NewItemItemActionsRunnersItemLabelsDeleteResponse instantiates a new ItemItemActionsRunnersItemLabelsDeleteResponse and sets the default values.
func (*ItemItemActionsRunnersItemLabelsDeleteResponse) GetAdditionalData ¶
func (m *ItemItemActionsRunnersItemLabelsDeleteResponse) 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 (*ItemItemActionsRunnersItemLabelsDeleteResponse) GetFieldDeserializers ¶
func (m *ItemItemActionsRunnersItemLabelsDeleteResponse) 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 (*ItemItemActionsRunnersItemLabelsDeleteResponse) GetLabels ¶
func (m *ItemItemActionsRunnersItemLabelsDeleteResponse) GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable
GetLabels gets the labels property value. The labels property returns a []RunnerLabelable when successful
func (*ItemItemActionsRunnersItemLabelsDeleteResponse) GetTotalCount ¶
func (m *ItemItemActionsRunnersItemLabelsDeleteResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemItemActionsRunnersItemLabelsDeleteResponse) Serialize ¶
func (m *ItemItemActionsRunnersItemLabelsDeleteResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsRunnersItemLabelsDeleteResponse) SetAdditionalData ¶
func (m *ItemItemActionsRunnersItemLabelsDeleteResponse) 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 (*ItemItemActionsRunnersItemLabelsDeleteResponse) SetLabels ¶
func (m *ItemItemActionsRunnersItemLabelsDeleteResponse) SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable)
SetLabels sets the labels property value. The labels property
func (*ItemItemActionsRunnersItemLabelsDeleteResponse) SetTotalCount ¶
func (m *ItemItemActionsRunnersItemLabelsDeleteResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemItemActionsRunnersItemLabelsDeleteResponseable ¶
type ItemItemActionsRunnersItemLabelsDeleteResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable GetTotalCount() *int32 SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable) SetTotalCount(value *int32) }
type ItemItemActionsRunnersItemLabelsGetResponse ¶
type ItemItemActionsRunnersItemLabelsGetResponse struct {
// contains filtered or unexported fields
}
func NewItemItemActionsRunnersItemLabelsGetResponse ¶
func NewItemItemActionsRunnersItemLabelsGetResponse() *ItemItemActionsRunnersItemLabelsGetResponse
NewItemItemActionsRunnersItemLabelsGetResponse instantiates a new ItemItemActionsRunnersItemLabelsGetResponse and sets the default values.
func (*ItemItemActionsRunnersItemLabelsGetResponse) GetAdditionalData ¶
func (m *ItemItemActionsRunnersItemLabelsGetResponse) 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 (*ItemItemActionsRunnersItemLabelsGetResponse) GetFieldDeserializers ¶
func (m *ItemItemActionsRunnersItemLabelsGetResponse) 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 (*ItemItemActionsRunnersItemLabelsGetResponse) GetLabels ¶
func (m *ItemItemActionsRunnersItemLabelsGetResponse) GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable
GetLabels gets the labels property value. The labels property returns a []RunnerLabelable when successful
func (*ItemItemActionsRunnersItemLabelsGetResponse) GetTotalCount ¶
func (m *ItemItemActionsRunnersItemLabelsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemItemActionsRunnersItemLabelsGetResponse) Serialize ¶
func (m *ItemItemActionsRunnersItemLabelsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsRunnersItemLabelsGetResponse) SetAdditionalData ¶
func (m *ItemItemActionsRunnersItemLabelsGetResponse) 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 (*ItemItemActionsRunnersItemLabelsGetResponse) SetLabels ¶
func (m *ItemItemActionsRunnersItemLabelsGetResponse) SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable)
SetLabels sets the labels property value. The labels property
func (*ItemItemActionsRunnersItemLabelsGetResponse) SetTotalCount ¶
func (m *ItemItemActionsRunnersItemLabelsGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemItemActionsRunnersItemLabelsGetResponseable ¶
type ItemItemActionsRunnersItemLabelsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable GetTotalCount() *int32 SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable) SetTotalCount(value *int32) }
type ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse ¶
type ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse struct {
// contains filtered or unexported fields
}
func NewItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse ¶
func NewItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse() *ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse
NewItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse instantiates a new ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse and sets the default values.
func (*ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetAdditionalData ¶
func (m *ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) 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 (*ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetFieldDeserializers ¶
func (m *ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) 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 (*ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetLabels ¶
func (m *ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable
GetLabels gets the labels property value. The labels property returns a []RunnerLabelable when successful
func (*ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetTotalCount ¶
func (m *ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) Serialize ¶
func (m *ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetAdditionalData ¶
func (m *ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) 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 (*ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetLabels ¶
func (m *ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable)
SetLabels sets the labels property value. The labels property
func (*ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetTotalCount ¶
func (m *ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponseable ¶
type ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable GetTotalCount() *int32 SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable) SetTotalCount(value *int32) }
type ItemItemActionsRunnersItemLabelsPostRequestBody ¶
type ItemItemActionsRunnersItemLabelsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemActionsRunnersItemLabelsPostRequestBody ¶
func NewItemItemActionsRunnersItemLabelsPostRequestBody() *ItemItemActionsRunnersItemLabelsPostRequestBody
NewItemItemActionsRunnersItemLabelsPostRequestBody instantiates a new ItemItemActionsRunnersItemLabelsPostRequestBody and sets the default values.
func (*ItemItemActionsRunnersItemLabelsPostRequestBody) GetAdditionalData ¶
func (m *ItemItemActionsRunnersItemLabelsPostRequestBody) 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 (*ItemItemActionsRunnersItemLabelsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemActionsRunnersItemLabelsPostRequestBody) 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 (*ItemItemActionsRunnersItemLabelsPostRequestBody) GetLabels ¶
func (m *ItemItemActionsRunnersItemLabelsPostRequestBody) GetLabels() []string
GetLabels gets the labels property value. The names of the custom labels to add to the runner. returns a []string when successful
func (*ItemItemActionsRunnersItemLabelsPostRequestBody) Serialize ¶
func (m *ItemItemActionsRunnersItemLabelsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsRunnersItemLabelsPostRequestBody) SetAdditionalData ¶
func (m *ItemItemActionsRunnersItemLabelsPostRequestBody) 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 (*ItemItemActionsRunnersItemLabelsPostRequestBody) SetLabels ¶
func (m *ItemItemActionsRunnersItemLabelsPostRequestBody) SetLabels(value []string)
SetLabels sets the labels property value. The names of the custom labels to add to the runner.
type ItemItemActionsRunnersItemLabelsPostRequestBodyable ¶
type ItemItemActionsRunnersItemLabelsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []string SetLabels(value []string) }
type ItemItemActionsRunnersItemLabelsPostResponse ¶
type ItemItemActionsRunnersItemLabelsPostResponse struct {
// contains filtered or unexported fields
}
func NewItemItemActionsRunnersItemLabelsPostResponse ¶
func NewItemItemActionsRunnersItemLabelsPostResponse() *ItemItemActionsRunnersItemLabelsPostResponse
NewItemItemActionsRunnersItemLabelsPostResponse instantiates a new ItemItemActionsRunnersItemLabelsPostResponse and sets the default values.
func (*ItemItemActionsRunnersItemLabelsPostResponse) GetAdditionalData ¶
func (m *ItemItemActionsRunnersItemLabelsPostResponse) 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 (*ItemItemActionsRunnersItemLabelsPostResponse) GetFieldDeserializers ¶
func (m *ItemItemActionsRunnersItemLabelsPostResponse) 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 (*ItemItemActionsRunnersItemLabelsPostResponse) GetLabels ¶
func (m *ItemItemActionsRunnersItemLabelsPostResponse) GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable
GetLabels gets the labels property value. The labels property returns a []RunnerLabelable when successful
func (*ItemItemActionsRunnersItemLabelsPostResponse) GetTotalCount ¶
func (m *ItemItemActionsRunnersItemLabelsPostResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemItemActionsRunnersItemLabelsPostResponse) Serialize ¶
func (m *ItemItemActionsRunnersItemLabelsPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsRunnersItemLabelsPostResponse) SetAdditionalData ¶
func (m *ItemItemActionsRunnersItemLabelsPostResponse) 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 (*ItemItemActionsRunnersItemLabelsPostResponse) SetLabels ¶
func (m *ItemItemActionsRunnersItemLabelsPostResponse) SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable)
SetLabels sets the labels property value. The labels property
func (*ItemItemActionsRunnersItemLabelsPostResponse) SetTotalCount ¶
func (m *ItemItemActionsRunnersItemLabelsPostResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemItemActionsRunnersItemLabelsPostResponseable ¶
type ItemItemActionsRunnersItemLabelsPostResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable GetTotalCount() *int32 SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable) SetTotalCount(value *int32) }
type ItemItemActionsRunnersItemLabelsPutRequestBody ¶
type ItemItemActionsRunnersItemLabelsPutRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemActionsRunnersItemLabelsPutRequestBody ¶
func NewItemItemActionsRunnersItemLabelsPutRequestBody() *ItemItemActionsRunnersItemLabelsPutRequestBody
NewItemItemActionsRunnersItemLabelsPutRequestBody instantiates a new ItemItemActionsRunnersItemLabelsPutRequestBody and sets the default values.
func (*ItemItemActionsRunnersItemLabelsPutRequestBody) GetAdditionalData ¶
func (m *ItemItemActionsRunnersItemLabelsPutRequestBody) 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 (*ItemItemActionsRunnersItemLabelsPutRequestBody) GetFieldDeserializers ¶
func (m *ItemItemActionsRunnersItemLabelsPutRequestBody) 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 (*ItemItemActionsRunnersItemLabelsPutRequestBody) GetLabels ¶
func (m *ItemItemActionsRunnersItemLabelsPutRequestBody) GetLabels() []string
GetLabels gets the labels property value. The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels. returns a []string when successful
func (*ItemItemActionsRunnersItemLabelsPutRequestBody) Serialize ¶
func (m *ItemItemActionsRunnersItemLabelsPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsRunnersItemLabelsPutRequestBody) SetAdditionalData ¶
func (m *ItemItemActionsRunnersItemLabelsPutRequestBody) 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 (*ItemItemActionsRunnersItemLabelsPutRequestBody) SetLabels ¶
func (m *ItemItemActionsRunnersItemLabelsPutRequestBody) SetLabels(value []string)
SetLabels sets the labels property value. The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels.
type ItemItemActionsRunnersItemLabelsPutRequestBodyable ¶
type ItemItemActionsRunnersItemLabelsPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []string SetLabels(value []string) }
type ItemItemActionsRunnersItemLabelsPutResponse ¶
type ItemItemActionsRunnersItemLabelsPutResponse struct {
// contains filtered or unexported fields
}
func NewItemItemActionsRunnersItemLabelsPutResponse ¶
func NewItemItemActionsRunnersItemLabelsPutResponse() *ItemItemActionsRunnersItemLabelsPutResponse
NewItemItemActionsRunnersItemLabelsPutResponse instantiates a new ItemItemActionsRunnersItemLabelsPutResponse and sets the default values.
func (*ItemItemActionsRunnersItemLabelsPutResponse) GetAdditionalData ¶
func (m *ItemItemActionsRunnersItemLabelsPutResponse) 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 (*ItemItemActionsRunnersItemLabelsPutResponse) GetFieldDeserializers ¶
func (m *ItemItemActionsRunnersItemLabelsPutResponse) 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 (*ItemItemActionsRunnersItemLabelsPutResponse) GetLabels ¶
func (m *ItemItemActionsRunnersItemLabelsPutResponse) GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable
GetLabels gets the labels property value. The labels property returns a []RunnerLabelable when successful
func (*ItemItemActionsRunnersItemLabelsPutResponse) GetTotalCount ¶
func (m *ItemItemActionsRunnersItemLabelsPutResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemItemActionsRunnersItemLabelsPutResponse) Serialize ¶
func (m *ItemItemActionsRunnersItemLabelsPutResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsRunnersItemLabelsPutResponse) SetAdditionalData ¶
func (m *ItemItemActionsRunnersItemLabelsPutResponse) 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 (*ItemItemActionsRunnersItemLabelsPutResponse) SetLabels ¶
func (m *ItemItemActionsRunnersItemLabelsPutResponse) SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable)
SetLabels sets the labels property value. The labels property
func (*ItemItemActionsRunnersItemLabelsPutResponse) SetTotalCount ¶
func (m *ItemItemActionsRunnersItemLabelsPutResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemItemActionsRunnersItemLabelsPutResponseable ¶
type ItemItemActionsRunnersItemLabelsPutResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable GetTotalCount() *int32 SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable) SetTotalCount(value *int32) }
type ItemItemActionsRunnersItemLabelsRequestBuilder ¶
type ItemItemActionsRunnersItemLabelsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsRunnersItemLabelsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\runners\{runner_id}\labels
func NewItemItemActionsRunnersItemLabelsRequestBuilder ¶
func NewItemItemActionsRunnersItemLabelsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunnersItemLabelsRequestBuilder
NewItemItemActionsRunnersItemLabelsRequestBuilder instantiates a new ItemItemActionsRunnersItemLabelsRequestBuilder and sets the default values.
func NewItemItemActionsRunnersItemLabelsRequestBuilderInternal ¶
func NewItemItemActionsRunnersItemLabelsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunnersItemLabelsRequestBuilder
NewItemItemActionsRunnersItemLabelsRequestBuilderInternal instantiates a new ItemItemActionsRunnersItemLabelsRequestBuilder and sets the default values.
func (*ItemItemActionsRunnersItemLabelsRequestBuilder) ByName ¶
func (m *ItemItemActionsRunnersItemLabelsRequestBuilder) ByName(name string) *ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder
ByName gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.actions.runners.item.labels.item collection returns a *ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder when successful
func (*ItemItemActionsRunnersItemLabelsRequestBuilder) Delete ¶
func (m *ItemItemActionsRunnersItemLabelsRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemItemActionsRunnersItemLabelsDeleteResponseable, error)
Delete remove all custom labels from a self-hosted runner configured in arepository. Returns the remaining read-only labels from the runner.Authenticated users must have admin access to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ItemItemActionsRunnersItemLabelsDeleteResponseable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemActionsRunnersItemLabelsRequestBuilder) Get ¶
func (m *ItemItemActionsRunnersItemLabelsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemItemActionsRunnersItemLabelsGetResponseable, error)
Get lists all labels for a self-hosted runner configured in a repository.Authenticated users must have admin access to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ItemItemActionsRunnersItemLabelsGetResponseable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemActionsRunnersItemLabelsRequestBuilder) Post ¶
func (m *ItemItemActionsRunnersItemLabelsRequestBuilder) Post(ctx context.Context, body ItemItemActionsRunnersItemLabelsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemItemActionsRunnersItemLabelsPostResponseable, error)
Post adds custom labels to a self-hosted runner configured in a repository.Authenticated users must have admin access to the organization to use this endpoint.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ItemItemActionsRunnersItemLabelsPostResponseable when successful returns a BasicError error when the service returns a 404 status code returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation
func (*ItemItemActionsRunnersItemLabelsRequestBuilder) Put ¶
func (m *ItemItemActionsRunnersItemLabelsRequestBuilder) Put(ctx context.Context, body ItemItemActionsRunnersItemLabelsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemItemActionsRunnersItemLabelsPutResponseable, error)
Put remove all previous custom labels and set the new custom labels for a specificself-hosted runner configured in a repository.Authenticated users must have admin access to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ItemItemActionsRunnersItemLabelsPutResponseable when successful returns a BasicError error when the service returns a 404 status code returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation
func (*ItemItemActionsRunnersItemLabelsRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemActionsRunnersItemLabelsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation remove all custom labels from a self-hosted runner configured in arepository. Returns the remaining read-only labels from the runner.Authenticated users must have admin access to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsRunnersItemLabelsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsRunnersItemLabelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all labels for a self-hosted runner configured in a repository.Authenticated users must have admin access to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsRunnersItemLabelsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemActionsRunnersItemLabelsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemActionsRunnersItemLabelsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation adds custom labels to a self-hosted runner configured in a repository.Authenticated users must have admin access to the organization to use this endpoint.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsRunnersItemLabelsRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemActionsRunnersItemLabelsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemActionsRunnersItemLabelsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation remove all previous custom labels and set the new custom labels for a specificself-hosted runner configured in a repository.Authenticated users must have admin access to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsRunnersItemLabelsRequestBuilder) WithUrl ¶
func (m *ItemItemActionsRunnersItemLabelsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunnersItemLabelsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsRunnersItemLabelsRequestBuilder when successful
type ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder ¶
type ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\runners\{runner_id}\labels\{name}
func NewItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder ¶
func NewItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder
NewItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder instantiates a new ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder and sets the default values.
func NewItemItemActionsRunnersItemLabelsWithNameItemRequestBuilderInternal ¶
func NewItemItemActionsRunnersItemLabelsWithNameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder
NewItemItemActionsRunnersItemLabelsWithNameItemRequestBuilderInternal instantiates a new ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder and sets the default values.
func (*ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder) Delete ¶
func (m *ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponseable, error)
Delete remove a custom label from a self-hosted runner configuredin a repository. Returns the remaining labels from the runner.This endpoint returns a `404 Not Found` status if the custom label is notpresent on the runner.Authenticated users must have admin access to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponseable when successful returns a BasicError error when the service returns a 404 status code returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation
func (*ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation remove a custom label from a self-hosted runner configuredin a repository. Returns the remaining labels from the runner.This endpoint returns a `404 Not Found` status if the custom label is notpresent on the runner.Authenticated users must have admin access to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder) WithUrl ¶
func (m *ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsRunnersItemLabelsWithNameItemRequestBuilder when successful
type ItemItemActionsRunnersRegistrationTokenRequestBuilder ¶
type ItemItemActionsRunnersRegistrationTokenRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsRunnersRegistrationTokenRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\runners\registration-token
func NewItemItemActionsRunnersRegistrationTokenRequestBuilder ¶
func NewItemItemActionsRunnersRegistrationTokenRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunnersRegistrationTokenRequestBuilder
NewItemItemActionsRunnersRegistrationTokenRequestBuilder instantiates a new ItemItemActionsRunnersRegistrationTokenRequestBuilder and sets the default values.
func NewItemItemActionsRunnersRegistrationTokenRequestBuilderInternal ¶
func NewItemItemActionsRunnersRegistrationTokenRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunnersRegistrationTokenRequestBuilder
NewItemItemActionsRunnersRegistrationTokenRequestBuilderInternal instantiates a new ItemItemActionsRunnersRegistrationTokenRequestBuilder and sets the default values.
func (*ItemItemActionsRunnersRegistrationTokenRequestBuilder) Post ¶
func (m *ItemItemActionsRunnersRegistrationTokenRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.AuthenticationTokenable, error)
Post returns a token that you can pass to the `config` script. The token expires after one hour.For example, you can replace `TOKEN` in the following example with the registration token provided by this endpoint to configure your self-hosted runner:```./config.sh --url https://github.com/octo-org --token TOKEN```Authenticated users must have admin access to the repository to use this endpoint.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a AuthenticationTokenable when successful API method documentation
func (*ItemItemActionsRunnersRegistrationTokenRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemActionsRunnersRegistrationTokenRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation returns a token that you can pass to the `config` script. The token expires after one hour.For example, you can replace `TOKEN` in the following example with the registration token provided by this endpoint to configure your self-hosted runner:```./config.sh --url https://github.com/octo-org --token TOKEN```Authenticated users must have admin access to the repository to use this endpoint.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsRunnersRegistrationTokenRequestBuilder) WithUrl ¶
func (m *ItemItemActionsRunnersRegistrationTokenRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunnersRegistrationTokenRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsRunnersRegistrationTokenRequestBuilder when successful
type ItemItemActionsRunnersRemoveTokenRequestBuilder ¶
type ItemItemActionsRunnersRemoveTokenRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsRunnersRemoveTokenRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\runners\remove-token
func NewItemItemActionsRunnersRemoveTokenRequestBuilder ¶
func NewItemItemActionsRunnersRemoveTokenRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunnersRemoveTokenRequestBuilder
NewItemItemActionsRunnersRemoveTokenRequestBuilder instantiates a new ItemItemActionsRunnersRemoveTokenRequestBuilder and sets the default values.
func NewItemItemActionsRunnersRemoveTokenRequestBuilderInternal ¶
func NewItemItemActionsRunnersRemoveTokenRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunnersRemoveTokenRequestBuilder
NewItemItemActionsRunnersRemoveTokenRequestBuilderInternal instantiates a new ItemItemActionsRunnersRemoveTokenRequestBuilder and sets the default values.
func (*ItemItemActionsRunnersRemoveTokenRequestBuilder) Post ¶
func (m *ItemItemActionsRunnersRemoveTokenRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.AuthenticationTokenable, error)
Post returns a token that you can pass to the `config` script to remove a self-hosted runner from an repository. The token expires after one hour.For example, you can replace `TOKEN` in the following example with the registration token provided by this endpoint to remove your self-hosted runner from an organization:```./config.sh remove --token TOKEN```Authenticated users must have admin access to the repository to use this endpoint.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a AuthenticationTokenable when successful API method documentation
func (*ItemItemActionsRunnersRemoveTokenRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemActionsRunnersRemoveTokenRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation returns a token that you can pass to the `config` script to remove a self-hosted runner from an repository. The token expires after one hour.For example, you can replace `TOKEN` in the following example with the registration token provided by this endpoint to remove your self-hosted runner from an organization:```./config.sh remove --token TOKEN```Authenticated users must have admin access to the repository to use this endpoint.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsRunnersRemoveTokenRequestBuilder) WithUrl ¶
func (m *ItemItemActionsRunnersRemoveTokenRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunnersRemoveTokenRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsRunnersRemoveTokenRequestBuilder when successful
type ItemItemActionsRunnersRequestBuilder ¶
type ItemItemActionsRunnersRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsRunnersRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\runners
func NewItemItemActionsRunnersRequestBuilder ¶
func NewItemItemActionsRunnersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunnersRequestBuilder
NewItemItemActionsRunnersRequestBuilder instantiates a new ItemItemActionsRunnersRequestBuilder and sets the default values.
func NewItemItemActionsRunnersRequestBuilderInternal ¶
func NewItemItemActionsRunnersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunnersRequestBuilder
NewItemItemActionsRunnersRequestBuilderInternal instantiates a new ItemItemActionsRunnersRequestBuilder and sets the default values.
func (*ItemItemActionsRunnersRequestBuilder) ByRunner_id ¶
func (m *ItemItemActionsRunnersRequestBuilder) ByRunner_id(runner_id int32) *ItemItemActionsRunnersWithRunner_ItemRequestBuilder
ByRunner_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.actions.runners.item collection returns a *ItemItemActionsRunnersWithRunner_ItemRequestBuilder when successful
func (*ItemItemActionsRunnersRequestBuilder) Downloads ¶
func (m *ItemItemActionsRunnersRequestBuilder) Downloads() *ItemItemActionsRunnersDownloadsRequestBuilder
Downloads the downloads property returns a *ItemItemActionsRunnersDownloadsRequestBuilder when successful
func (*ItemItemActionsRunnersRequestBuilder) GenerateJitconfig ¶
func (m *ItemItemActionsRunnersRequestBuilder) GenerateJitconfig() *ItemItemActionsRunnersGenerateJitconfigRequestBuilder
GenerateJitconfig the generateJitconfig property returns a *ItemItemActionsRunnersGenerateJitconfigRequestBuilder when successful
func (*ItemItemActionsRunnersRequestBuilder) Get ¶
func (m *ItemItemActionsRunnersRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsRunnersRequestBuilderGetQueryParameters]) (ItemItemActionsRunnersGetResponseable, error)
Get lists all self-hosted runners configured in a repository.Authenticated users must have admin access to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ItemItemActionsRunnersGetResponseable when successful API method documentation
func (*ItemItemActionsRunnersRequestBuilder) RegistrationToken ¶
func (m *ItemItemActionsRunnersRequestBuilder) RegistrationToken() *ItemItemActionsRunnersRegistrationTokenRequestBuilder
RegistrationToken the registrationToken property returns a *ItemItemActionsRunnersRegistrationTokenRequestBuilder when successful
func (*ItemItemActionsRunnersRequestBuilder) RemoveToken ¶
func (m *ItemItemActionsRunnersRequestBuilder) RemoveToken() *ItemItemActionsRunnersRemoveTokenRequestBuilder
RemoveToken the removeToken property returns a *ItemItemActionsRunnersRemoveTokenRequestBuilder when successful
func (*ItemItemActionsRunnersRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsRunnersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsRunnersRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all self-hosted runners configured in a repository.Authenticated users must have admin access to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsRunnersRequestBuilder) WithUrl ¶
func (m *ItemItemActionsRunnersRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunnersRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsRunnersRequestBuilder when successful
type ItemItemActionsRunnersRequestBuilderGetQueryParameters ¶
type ItemItemActionsRunnersRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemActionsRunnersRequestBuilderGetQueryParameters lists all self-hosted runners configured in a repository.Authenticated users must have admin access to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
type ItemItemActionsRunnersWithRunner_ItemRequestBuilder ¶
type ItemItemActionsRunnersWithRunner_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsRunnersWithRunner_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\runners\{runner_id}
func NewItemItemActionsRunnersWithRunner_ItemRequestBuilder ¶
func NewItemItemActionsRunnersWithRunner_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunnersWithRunner_ItemRequestBuilder
NewItemItemActionsRunnersWithRunner_ItemRequestBuilder instantiates a new ItemItemActionsRunnersWithRunner_ItemRequestBuilder and sets the default values.
func NewItemItemActionsRunnersWithRunner_ItemRequestBuilderInternal ¶
func NewItemItemActionsRunnersWithRunner_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunnersWithRunner_ItemRequestBuilder
NewItemItemActionsRunnersWithRunner_ItemRequestBuilderInternal instantiates a new ItemItemActionsRunnersWithRunner_ItemRequestBuilder and sets the default values.
func (*ItemItemActionsRunnersWithRunner_ItemRequestBuilder) Delete ¶
func (m *ItemItemActionsRunnersWithRunner_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.Authenticated users must have admin access to the repository to use this endpoint.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemActionsRunnersWithRunner_ItemRequestBuilder) Get ¶
func (m *ItemItemActionsRunnersWithRunner_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable, error)
Get gets a specific self-hosted runner configured in a repository.Authenticated users must have admin access to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a Runnerable when successful API method documentation
func (*ItemItemActionsRunnersWithRunner_ItemRequestBuilder) Labels ¶
func (m *ItemItemActionsRunnersWithRunner_ItemRequestBuilder) Labels() *ItemItemActionsRunnersItemLabelsRequestBuilder
Labels the labels property returns a *ItemItemActionsRunnersItemLabelsRequestBuilder when successful
func (*ItemItemActionsRunnersWithRunner_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemActionsRunnersWithRunner_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation forces the removal of a self-hosted runner from a repository. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.Authenticated users must have admin access to the repository to use this endpoint.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsRunnersWithRunner_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsRunnersWithRunner_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a specific self-hosted runner configured in a repository.Authenticated users must have admin access to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsRunnersWithRunner_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemActionsRunnersWithRunner_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunnersWithRunner_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 *ItemItemActionsRunnersWithRunner_ItemRequestBuilder when successful
type ItemItemActionsRunsGetResponse ¶
type ItemItemActionsRunsGetResponse struct {
// contains filtered or unexported fields
}
func NewItemItemActionsRunsGetResponse ¶
func NewItemItemActionsRunsGetResponse() *ItemItemActionsRunsGetResponse
NewItemItemActionsRunsGetResponse instantiates a new ItemItemActionsRunsGetResponse and sets the default values.
func (*ItemItemActionsRunsGetResponse) GetAdditionalData ¶
func (m *ItemItemActionsRunsGetResponse) 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 (*ItemItemActionsRunsGetResponse) GetFieldDeserializers ¶
func (m *ItemItemActionsRunsGetResponse) 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 (*ItemItemActionsRunsGetResponse) GetTotalCount ¶
func (m *ItemItemActionsRunsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemItemActionsRunsGetResponse) GetWorkflowRuns ¶
func (m *ItemItemActionsRunsGetResponse) GetWorkflowRuns() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WorkflowRunable
GetWorkflowRuns gets the workflow_runs property value. The workflow_runs property returns a []WorkflowRunable when successful
func (*ItemItemActionsRunsGetResponse) Serialize ¶
func (m *ItemItemActionsRunsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsRunsGetResponse) SetAdditionalData ¶
func (m *ItemItemActionsRunsGetResponse) 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 (*ItemItemActionsRunsGetResponse) SetTotalCount ¶
func (m *ItemItemActionsRunsGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
func (*ItemItemActionsRunsGetResponse) SetWorkflowRuns ¶
func (m *ItemItemActionsRunsGetResponse) SetWorkflowRuns(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WorkflowRunable)
SetWorkflowRuns sets the workflow_runs property value. The workflow_runs property
type ItemItemActionsRunsGetResponseable ¶
type ItemItemActionsRunsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetTotalCount() *int32 GetWorkflowRuns() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WorkflowRunable SetTotalCount(value *int32) SetWorkflowRuns(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WorkflowRunable) }
type ItemItemActionsRunsItemApprovalsRequestBuilder ¶
type ItemItemActionsRunsItemApprovalsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsRunsItemApprovalsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\runs\{run_id}\approvals
func NewItemItemActionsRunsItemApprovalsRequestBuilder ¶
func NewItemItemActionsRunsItemApprovalsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemApprovalsRequestBuilder
NewItemItemActionsRunsItemApprovalsRequestBuilder instantiates a new ItemItemActionsRunsItemApprovalsRequestBuilder and sets the default values.
func NewItemItemActionsRunsItemApprovalsRequestBuilderInternal ¶
func NewItemItemActionsRunsItemApprovalsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemApprovalsRequestBuilder
NewItemItemActionsRunsItemApprovalsRequestBuilderInternal instantiates a new ItemItemActionsRunsItemApprovalsRequestBuilder and sets the default values.
func (*ItemItemActionsRunsItemApprovalsRequestBuilder) Get ¶
func (m *ItemItemActionsRunsItemApprovalsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EnvironmentApprovalsable, error)
Get anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a []EnvironmentApprovalsable when successful API method documentation
func (*ItemItemActionsRunsItemApprovalsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsRunsItemApprovalsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a *RequestInformation when successful
func (*ItemItemActionsRunsItemApprovalsRequestBuilder) WithUrl ¶
func (m *ItemItemActionsRunsItemApprovalsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsItemApprovalsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsRunsItemApprovalsRequestBuilder when successful
type ItemItemActionsRunsItemArtifactsGetResponse ¶
type ItemItemActionsRunsItemArtifactsGetResponse struct {
// contains filtered or unexported fields
}
func NewItemItemActionsRunsItemArtifactsGetResponse ¶
func NewItemItemActionsRunsItemArtifactsGetResponse() *ItemItemActionsRunsItemArtifactsGetResponse
NewItemItemActionsRunsItemArtifactsGetResponse instantiates a new ItemItemActionsRunsItemArtifactsGetResponse and sets the default values.
func (*ItemItemActionsRunsItemArtifactsGetResponse) GetAdditionalData ¶
func (m *ItemItemActionsRunsItemArtifactsGetResponse) 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 (*ItemItemActionsRunsItemArtifactsGetResponse) GetArtifacts ¶
func (m *ItemItemActionsRunsItemArtifactsGetResponse) GetArtifacts() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Artifactable
GetArtifacts gets the artifacts property value. The artifacts property returns a []Artifactable when successful
func (*ItemItemActionsRunsItemArtifactsGetResponse) GetFieldDeserializers ¶
func (m *ItemItemActionsRunsItemArtifactsGetResponse) 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 (*ItemItemActionsRunsItemArtifactsGetResponse) GetTotalCount ¶
func (m *ItemItemActionsRunsItemArtifactsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemItemActionsRunsItemArtifactsGetResponse) Serialize ¶
func (m *ItemItemActionsRunsItemArtifactsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsRunsItemArtifactsGetResponse) SetAdditionalData ¶
func (m *ItemItemActionsRunsItemArtifactsGetResponse) 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 (*ItemItemActionsRunsItemArtifactsGetResponse) SetArtifacts ¶
func (m *ItemItemActionsRunsItemArtifactsGetResponse) SetArtifacts(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Artifactable)
SetArtifacts sets the artifacts property value. The artifacts property
func (*ItemItemActionsRunsItemArtifactsGetResponse) SetTotalCount ¶
func (m *ItemItemActionsRunsItemArtifactsGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemItemActionsRunsItemArtifactsGetResponseable ¶
type ItemItemActionsRunsItemArtifactsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetArtifacts() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Artifactable GetTotalCount() *int32 SetArtifacts(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Artifactable) SetTotalCount(value *int32) }
type ItemItemActionsRunsItemArtifactsRequestBuilder ¶
type ItemItemActionsRunsItemArtifactsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsRunsItemArtifactsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\runs\{run_id}\artifacts
func NewItemItemActionsRunsItemArtifactsRequestBuilder ¶
func NewItemItemActionsRunsItemArtifactsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemArtifactsRequestBuilder
NewItemItemActionsRunsItemArtifactsRequestBuilder instantiates a new ItemItemActionsRunsItemArtifactsRequestBuilder and sets the default values.
func NewItemItemActionsRunsItemArtifactsRequestBuilderInternal ¶
func NewItemItemActionsRunsItemArtifactsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemArtifactsRequestBuilder
NewItemItemActionsRunsItemArtifactsRequestBuilderInternal instantiates a new ItemItemActionsRunsItemArtifactsRequestBuilder and sets the default values.
func (*ItemItemActionsRunsItemArtifactsRequestBuilder) Get ¶
func (m *ItemItemActionsRunsItemArtifactsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsRunsItemArtifactsRequestBuilderGetQueryParameters]) (ItemItemActionsRunsItemArtifactsGetResponseable, error)
Get lists artifacts for a workflow run.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a ItemItemActionsRunsItemArtifactsGetResponseable when successful API method documentation
func (*ItemItemActionsRunsItemArtifactsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsRunsItemArtifactsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsRunsItemArtifactsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists artifacts for a workflow run.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a *RequestInformation when successful
func (*ItemItemActionsRunsItemArtifactsRequestBuilder) WithUrl ¶
func (m *ItemItemActionsRunsItemArtifactsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsItemArtifactsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsRunsItemArtifactsRequestBuilder when successful
type ItemItemActionsRunsItemArtifactsRequestBuilderGetQueryParameters ¶
type ItemItemActionsRunsItemArtifactsRequestBuilderGetQueryParameters struct { // The name field of an artifact. When specified, only artifacts with this name will be returned. Name *string `uriparametername:"name"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemActionsRunsItemArtifactsRequestBuilderGetQueryParameters lists artifacts for a workflow run.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
type ItemItemActionsRunsItemAttemptsItemJobsGetResponse ¶
type ItemItemActionsRunsItemAttemptsItemJobsGetResponse struct {
// contains filtered or unexported fields
}
func NewItemItemActionsRunsItemAttemptsItemJobsGetResponse ¶
func NewItemItemActionsRunsItemAttemptsItemJobsGetResponse() *ItemItemActionsRunsItemAttemptsItemJobsGetResponse
NewItemItemActionsRunsItemAttemptsItemJobsGetResponse instantiates a new ItemItemActionsRunsItemAttemptsItemJobsGetResponse and sets the default values.
func (*ItemItemActionsRunsItemAttemptsItemJobsGetResponse) GetAdditionalData ¶
func (m *ItemItemActionsRunsItemAttemptsItemJobsGetResponse) 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 (*ItemItemActionsRunsItemAttemptsItemJobsGetResponse) GetFieldDeserializers ¶
func (m *ItemItemActionsRunsItemAttemptsItemJobsGetResponse) 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 (*ItemItemActionsRunsItemAttemptsItemJobsGetResponse) GetJobs ¶
func (m *ItemItemActionsRunsItemAttemptsItemJobsGetResponse) GetJobs() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Jobable
GetJobs gets the jobs property value. The jobs property returns a []Jobable when successful
func (*ItemItemActionsRunsItemAttemptsItemJobsGetResponse) GetTotalCount ¶
func (m *ItemItemActionsRunsItemAttemptsItemJobsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemItemActionsRunsItemAttemptsItemJobsGetResponse) Serialize ¶
func (m *ItemItemActionsRunsItemAttemptsItemJobsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsRunsItemAttemptsItemJobsGetResponse) SetAdditionalData ¶
func (m *ItemItemActionsRunsItemAttemptsItemJobsGetResponse) 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 (*ItemItemActionsRunsItemAttemptsItemJobsGetResponse) SetJobs ¶
func (m *ItemItemActionsRunsItemAttemptsItemJobsGetResponse) SetJobs(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Jobable)
SetJobs sets the jobs property value. The jobs property
func (*ItemItemActionsRunsItemAttemptsItemJobsGetResponse) SetTotalCount ¶
func (m *ItemItemActionsRunsItemAttemptsItemJobsGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemItemActionsRunsItemAttemptsItemJobsGetResponseable ¶
type ItemItemActionsRunsItemAttemptsItemJobsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetJobs() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Jobable GetTotalCount() *int32 SetJobs(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Jobable) SetTotalCount(value *int32) }
type ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder ¶
type ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\runs\{run_id}\attempts\{attempt_number}\jobs
func NewItemItemActionsRunsItemAttemptsItemJobsRequestBuilder ¶
func NewItemItemActionsRunsItemAttemptsItemJobsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder
NewItemItemActionsRunsItemAttemptsItemJobsRequestBuilder instantiates a new ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder and sets the default values.
func NewItemItemActionsRunsItemAttemptsItemJobsRequestBuilderInternal ¶
func NewItemItemActionsRunsItemAttemptsItemJobsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder
NewItemItemActionsRunsItemAttemptsItemJobsRequestBuilderInternal instantiates a new ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder and sets the default values.
func (*ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder) Get ¶
func (m *ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsRunsItemAttemptsItemJobsRequestBuilderGetQueryParameters]) (ItemItemActionsRunsItemAttemptsItemJobsGetResponseable, error)
Get lists jobs for a specific workflow run attempt. You can use parameters to narrow the list of results. For more informationabout using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-rest-api#parameters).Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a ItemItemActionsRunsItemAttemptsItemJobsGetResponseable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsRunsItemAttemptsItemJobsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists jobs for a specific workflow run attempt. You can use parameters to narrow the list of results. For more informationabout using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-rest-api#parameters).Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a *RequestInformation when successful
func (*ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder) WithUrl ¶
func (m *ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder when successful
type ItemItemActionsRunsItemAttemptsItemJobsRequestBuilderGetQueryParameters ¶
type ItemItemActionsRunsItemAttemptsItemJobsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemActionsRunsItemAttemptsItemJobsRequestBuilderGetQueryParameters lists jobs for a specific workflow run attempt. You can use parameters to narrow the list of results. For more informationabout using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-rest-api#parameters).Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
type ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder ¶
type ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\runs\{run_id}\attempts\{attempt_number}\logs
func NewItemItemActionsRunsItemAttemptsItemLogsRequestBuilder ¶
func NewItemItemActionsRunsItemAttemptsItemLogsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder
NewItemItemActionsRunsItemAttemptsItemLogsRequestBuilder instantiates a new ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder and sets the default values.
func NewItemItemActionsRunsItemAttemptsItemLogsRequestBuilderInternal ¶
func NewItemItemActionsRunsItemAttemptsItemLogsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder
NewItemItemActionsRunsItemAttemptsItemLogsRequestBuilderInternal instantiates a new ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder and sets the default values.
func (*ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder) Get ¶
func (m *ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Get gets a redirect URL to download an archive of log files for a specific workflow run attempt. This link expires after1 minute. Look for `Location:` in the response header to find the URL for the download.Anyone with read access to the repository can use this endpoint.If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a redirect URL to download an archive of log files for a specific workflow run attempt. This link expires after1 minute. Look for `Location:` in the response header to find the URL for the download.Anyone with read access to the repository can use this endpoint.If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder) WithUrl ¶
func (m *ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder when successful
type ItemItemActionsRunsItemAttemptsRequestBuilder ¶
type ItemItemActionsRunsItemAttemptsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsRunsItemAttemptsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\runs\{run_id}\attempts
func NewItemItemActionsRunsItemAttemptsRequestBuilder ¶
func NewItemItemActionsRunsItemAttemptsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemAttemptsRequestBuilder
NewItemItemActionsRunsItemAttemptsRequestBuilder instantiates a new ItemItemActionsRunsItemAttemptsRequestBuilder and sets the default values.
func NewItemItemActionsRunsItemAttemptsRequestBuilderInternal ¶
func NewItemItemActionsRunsItemAttemptsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemAttemptsRequestBuilder
NewItemItemActionsRunsItemAttemptsRequestBuilderInternal instantiates a new ItemItemActionsRunsItemAttemptsRequestBuilder and sets the default values.
func (*ItemItemActionsRunsItemAttemptsRequestBuilder) ByAttempt_number ¶
func (m *ItemItemActionsRunsItemAttemptsRequestBuilder) ByAttempt_number(attempt_number int32) *ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder
ByAttempt_number gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.actions.runs.item.attempts.item collection returns a *ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder when successful
type ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder ¶
type ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\runs\{run_id}\attempts\{attempt_number}
func NewItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder ¶
func NewItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder
NewItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder instantiates a new ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder and sets the default values.
func NewItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilderInternal ¶
func NewItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder
NewItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilderInternal instantiates a new ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder and sets the default values.
func (*ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder) Get ¶
func (m *ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilderGetQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WorkflowRunable, error)
Get gets a specific workflow run attempt.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a WorkflowRunable when successful API method documentation
func (*ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder) Jobs ¶
func (m *ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder) Jobs() *ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder
Jobs the jobs property returns a *ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder when successful
func (*ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder) Logs ¶
func (m *ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder) Logs() *ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder
Logs the logs property returns a *ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder when successful
func (*ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a specific workflow run attempt.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a *RequestInformation when successful
func (*ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder) WithUrl ¶
func (m *ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder when successful
type ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilderGetQueryParameters ¶
type ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilderGetQueryParameters struct { // If `true` pull requests are omitted from the response (empty array). Exclude_pull_requests *bool `uriparametername:"exclude_pull_requests"` }
ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilderGetQueryParameters gets a specific workflow run attempt.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
type ItemItemActionsRunsItemCancelRequestBuilder ¶
type ItemItemActionsRunsItemCancelRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsRunsItemCancelRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\runs\{run_id}\cancel
func NewItemItemActionsRunsItemCancelRequestBuilder ¶
func NewItemItemActionsRunsItemCancelRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemCancelRequestBuilder
NewItemItemActionsRunsItemCancelRequestBuilder instantiates a new ItemItemActionsRunsItemCancelRequestBuilder and sets the default values.
func NewItemItemActionsRunsItemCancelRequestBuilderInternal ¶
func NewItemItemActionsRunsItemCancelRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemCancelRequestBuilder
NewItemItemActionsRunsItemCancelRequestBuilderInternal instantiates a new ItemItemActionsRunsItemCancelRequestBuilder and sets the default values.
func (*ItemItemActionsRunsItemCancelRequestBuilder) Post ¶
func (m *ItemItemActionsRunsItemCancelRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EmptyObjectable, error)
Post cancels a workflow run using its `id`.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a EmptyObjectable when successful returns a BasicError error when the service returns a 409 status code API method documentation
func (*ItemItemActionsRunsItemCancelRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemActionsRunsItemCancelRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation cancels a workflow run using its `id`.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsRunsItemCancelRequestBuilder) WithUrl ¶
func (m *ItemItemActionsRunsItemCancelRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsItemCancelRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsRunsItemCancelRequestBuilder when successful
type ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder ¶
type ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\runs\{run_id}\deployment_protection_rule
func NewItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder ¶
func NewItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder
NewItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder instantiates a new ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder and sets the default values.
func NewItemItemActionsRunsItemDeployment_protection_ruleRequestBuilderInternal ¶
func NewItemItemActionsRunsItemDeployment_protection_ruleRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder
NewItemItemActionsRunsItemDeployment_protection_ruleRequestBuilderInternal instantiates a new ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder and sets the default values.
func (*ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder) Post ¶
func (m *ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder) Post(ctx context.Context, body Deployment_protection_rulePostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Post approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "[Using environments for deployment](https://docs.github.com/enterprise-server@3.10/actions/deployment/targeting-different-environments/using-environments-for-deployment)."> [!NOTE]> GitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. API method documentation
func (*ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder) ToPostRequestInformation(ctx context.Context, body Deployment_protection_rulePostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see "[Using environments for deployment](https://docs.github.com/enterprise-server@3.10/actions/deployment/targeting-different-environments/using-environments-for-deployment)."> [!NOTE]> GitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see [`POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`](/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run).OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a *RequestInformation when successful
func (*ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder) WithUrl ¶
func (m *ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder when successful
type ItemItemActionsRunsItemJobsGetResponse ¶
type ItemItemActionsRunsItemJobsGetResponse struct {
// contains filtered or unexported fields
}
func NewItemItemActionsRunsItemJobsGetResponse ¶
func NewItemItemActionsRunsItemJobsGetResponse() *ItemItemActionsRunsItemJobsGetResponse
NewItemItemActionsRunsItemJobsGetResponse instantiates a new ItemItemActionsRunsItemJobsGetResponse and sets the default values.
func (*ItemItemActionsRunsItemJobsGetResponse) GetAdditionalData ¶
func (m *ItemItemActionsRunsItemJobsGetResponse) 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 (*ItemItemActionsRunsItemJobsGetResponse) GetFieldDeserializers ¶
func (m *ItemItemActionsRunsItemJobsGetResponse) 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 (*ItemItemActionsRunsItemJobsGetResponse) GetJobs ¶
func (m *ItemItemActionsRunsItemJobsGetResponse) GetJobs() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Jobable
GetJobs gets the jobs property value. The jobs property returns a []Jobable when successful
func (*ItemItemActionsRunsItemJobsGetResponse) GetTotalCount ¶
func (m *ItemItemActionsRunsItemJobsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemItemActionsRunsItemJobsGetResponse) Serialize ¶
func (m *ItemItemActionsRunsItemJobsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsRunsItemJobsGetResponse) SetAdditionalData ¶
func (m *ItemItemActionsRunsItemJobsGetResponse) 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 (*ItemItemActionsRunsItemJobsGetResponse) SetJobs ¶
func (m *ItemItemActionsRunsItemJobsGetResponse) SetJobs(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Jobable)
SetJobs sets the jobs property value. The jobs property
func (*ItemItemActionsRunsItemJobsGetResponse) SetTotalCount ¶
func (m *ItemItemActionsRunsItemJobsGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemItemActionsRunsItemJobsGetResponseable ¶
type ItemItemActionsRunsItemJobsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetJobs() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Jobable GetTotalCount() *int32 SetJobs(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Jobable) SetTotalCount(value *int32) }
type ItemItemActionsRunsItemJobsRequestBuilder ¶
type ItemItemActionsRunsItemJobsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsRunsItemJobsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\runs\{run_id}\jobs
func NewItemItemActionsRunsItemJobsRequestBuilder ¶
func NewItemItemActionsRunsItemJobsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemJobsRequestBuilder
NewItemItemActionsRunsItemJobsRequestBuilder instantiates a new ItemItemActionsRunsItemJobsRequestBuilder and sets the default values.
func NewItemItemActionsRunsItemJobsRequestBuilderInternal ¶
func NewItemItemActionsRunsItemJobsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemJobsRequestBuilder
NewItemItemActionsRunsItemJobsRequestBuilderInternal instantiates a new ItemItemActionsRunsItemJobsRequestBuilder and sets the default values.
func (*ItemItemActionsRunsItemJobsRequestBuilder) Get ¶
func (m *ItemItemActionsRunsItemJobsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsRunsItemJobsRequestBuilderGetQueryParameters]) (ItemItemActionsRunsItemJobsGetResponseable, error)
Get lists jobs for a workflow run. You can use parameters to narrow the list of results. For more informationabout using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-rest-api#parameters).Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a ItemItemActionsRunsItemJobsGetResponseable when successful API method documentation
func (*ItemItemActionsRunsItemJobsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsRunsItemJobsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsRunsItemJobsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists jobs for a workflow run. You can use parameters to narrow the list of results. For more informationabout using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-rest-api#parameters).Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a *RequestInformation when successful
func (*ItemItemActionsRunsItemJobsRequestBuilder) WithUrl ¶
func (m *ItemItemActionsRunsItemJobsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsItemJobsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsRunsItemJobsRequestBuilder when successful
type ItemItemActionsRunsItemJobsRequestBuilderGetQueryParameters ¶
type ItemItemActionsRunsItemJobsRequestBuilderGetQueryParameters struct { // Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all jobs for a workflow run, including from old executions of the workflow run. Filter *i3e816b8b203fde35988384fc3d1fc8dce9f00e858c7547b7f756244e61d13913.GetFilterQueryParameterType `uriparametername:"filter"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemActionsRunsItemJobsRequestBuilderGetQueryParameters lists jobs for a workflow run. You can use parameters to narrow the list of results. For more informationabout using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-rest-api#parameters).Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
type ItemItemActionsRunsItemLogsRequestBuilder ¶
type ItemItemActionsRunsItemLogsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsRunsItemLogsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\runs\{run_id}\logs
func NewItemItemActionsRunsItemLogsRequestBuilder ¶
func NewItemItemActionsRunsItemLogsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemLogsRequestBuilder
NewItemItemActionsRunsItemLogsRequestBuilder instantiates a new ItemItemActionsRunsItemLogsRequestBuilder and sets the default values.
func NewItemItemActionsRunsItemLogsRequestBuilderInternal ¶
func NewItemItemActionsRunsItemLogsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemLogsRequestBuilder
NewItemItemActionsRunsItemLogsRequestBuilderInternal instantiates a new ItemItemActionsRunsItemLogsRequestBuilder and sets the default values.
func (*ItemItemActionsRunsItemLogsRequestBuilder) Delete ¶
func (m *ItemItemActionsRunsItemLogsRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete deletes all logs for a workflow run.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 500 status code API method documentation
func (*ItemItemActionsRunsItemLogsRequestBuilder) Get ¶
func (m *ItemItemActionsRunsItemLogsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Get gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for`Location:` in the response header to find the URL for the download.Anyone with read access to the repository can use this endpoint.If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemActionsRunsItemLogsRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemActionsRunsItemLogsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes all logs for a workflow run.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsRunsItemLogsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsRunsItemLogsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a redirect URL to download an archive of log files for a workflow run. This link expires after 1 minute. Look for`Location:` in the response header to find the URL for the download.Anyone with read access to the repository can use this endpoint.If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsRunsItemLogsRequestBuilder) WithUrl ¶
func (m *ItemItemActionsRunsItemLogsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsItemLogsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsRunsItemLogsRequestBuilder when successful
type ItemItemActionsRunsItemPending_deploymentsPostRequestBody ¶
type ItemItemActionsRunsItemPending_deploymentsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemActionsRunsItemPending_deploymentsPostRequestBody ¶
func NewItemItemActionsRunsItemPending_deploymentsPostRequestBody() *ItemItemActionsRunsItemPending_deploymentsPostRequestBody
NewItemItemActionsRunsItemPending_deploymentsPostRequestBody instantiates a new ItemItemActionsRunsItemPending_deploymentsPostRequestBody and sets the default values.
func (*ItemItemActionsRunsItemPending_deploymentsPostRequestBody) GetAdditionalData ¶
func (m *ItemItemActionsRunsItemPending_deploymentsPostRequestBody) 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 (*ItemItemActionsRunsItemPending_deploymentsPostRequestBody) GetComment ¶
func (m *ItemItemActionsRunsItemPending_deploymentsPostRequestBody) GetComment() *string
GetComment gets the comment property value. A comment to accompany the deployment review returns a *string when successful
func (*ItemItemActionsRunsItemPending_deploymentsPostRequestBody) GetEnvironmentIds ¶
func (m *ItemItemActionsRunsItemPending_deploymentsPostRequestBody) GetEnvironmentIds() []int32
GetEnvironmentIds gets the environment_ids property value. The list of environment ids to approve or reject returns a []int32 when successful
func (*ItemItemActionsRunsItemPending_deploymentsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemActionsRunsItemPending_deploymentsPostRequestBody) 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 (*ItemItemActionsRunsItemPending_deploymentsPostRequestBody) Serialize ¶
func (m *ItemItemActionsRunsItemPending_deploymentsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsRunsItemPending_deploymentsPostRequestBody) SetAdditionalData ¶
func (m *ItemItemActionsRunsItemPending_deploymentsPostRequestBody) 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 (*ItemItemActionsRunsItemPending_deploymentsPostRequestBody) SetComment ¶
func (m *ItemItemActionsRunsItemPending_deploymentsPostRequestBody) SetComment(value *string)
SetComment sets the comment property value. A comment to accompany the deployment review
func (*ItemItemActionsRunsItemPending_deploymentsPostRequestBody) SetEnvironmentIds ¶
func (m *ItemItemActionsRunsItemPending_deploymentsPostRequestBody) SetEnvironmentIds(value []int32)
SetEnvironmentIds sets the environment_ids property value. The list of environment ids to approve or reject
type ItemItemActionsRunsItemPending_deploymentsPostRequestBodyable ¶
type ItemItemActionsRunsItemPending_deploymentsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetComment() *string GetEnvironmentIds() []int32 SetComment(value *string) SetEnvironmentIds(value []int32) }
type ItemItemActionsRunsItemPending_deploymentsRequestBuilder ¶
type ItemItemActionsRunsItemPending_deploymentsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsRunsItemPending_deploymentsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\runs\{run_id}\pending_deployments
func NewItemItemActionsRunsItemPending_deploymentsRequestBuilder ¶
func NewItemItemActionsRunsItemPending_deploymentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemPending_deploymentsRequestBuilder
NewItemItemActionsRunsItemPending_deploymentsRequestBuilder instantiates a new ItemItemActionsRunsItemPending_deploymentsRequestBuilder and sets the default values.
func NewItemItemActionsRunsItemPending_deploymentsRequestBuilderInternal ¶
func NewItemItemActionsRunsItemPending_deploymentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemPending_deploymentsRequestBuilder
NewItemItemActionsRunsItemPending_deploymentsRequestBuilderInternal instantiates a new ItemItemActionsRunsItemPending_deploymentsRequestBuilder and sets the default values.
func (*ItemItemActionsRunsItemPending_deploymentsRequestBuilder) Get ¶
func (m *ItemItemActionsRunsItemPending_deploymentsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PendingDeploymentable, error)
Get get all deployment environments for a workflow run that are waiting for protection rules to pass.Anyone with read access to the repository can use this endpoint.If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a []PendingDeploymentable when successful API method documentation
func (*ItemItemActionsRunsItemPending_deploymentsRequestBuilder) Post ¶
func (m *ItemItemActionsRunsItemPending_deploymentsRequestBuilder) Post(ctx context.Context, body ItemItemActionsRunsItemPending_deploymentsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Deploymentable, error)
Post approve or reject pending deployments that are waiting on approval by a required reviewer.Required reviewers with read access to the repository contents and deployments can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a []Deploymentable when successful API method documentation
func (*ItemItemActionsRunsItemPending_deploymentsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsRunsItemPending_deploymentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation get all deployment environments for a workflow run that are waiting for protection rules to pass.Anyone with read access to the repository can use this endpoint.If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsRunsItemPending_deploymentsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemActionsRunsItemPending_deploymentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemActionsRunsItemPending_deploymentsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation approve or reject pending deployments that are waiting on approval by a required reviewer.Required reviewers with read access to the repository contents and deployments can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsRunsItemPending_deploymentsRequestBuilder) WithUrl ¶
func (m *ItemItemActionsRunsItemPending_deploymentsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsItemPending_deploymentsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsRunsItemPending_deploymentsRequestBuilder when successful
type ItemItemActionsRunsItemRerunFailedJobsPostRequestBody ¶
type ItemItemActionsRunsItemRerunFailedJobsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemActionsRunsItemRerunFailedJobsPostRequestBody ¶
func NewItemItemActionsRunsItemRerunFailedJobsPostRequestBody() *ItemItemActionsRunsItemRerunFailedJobsPostRequestBody
NewItemItemActionsRunsItemRerunFailedJobsPostRequestBody instantiates a new ItemItemActionsRunsItemRerunFailedJobsPostRequestBody and sets the default values.
func (*ItemItemActionsRunsItemRerunFailedJobsPostRequestBody) GetAdditionalData ¶
func (m *ItemItemActionsRunsItemRerunFailedJobsPostRequestBody) 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 (*ItemItemActionsRunsItemRerunFailedJobsPostRequestBody) GetEnableDebugLogging ¶
func (m *ItemItemActionsRunsItemRerunFailedJobsPostRequestBody) GetEnableDebugLogging() *bool
GetEnableDebugLogging gets the enable_debug_logging property value. Whether to enable debug logging for the re-run. returns a *bool when successful
func (*ItemItemActionsRunsItemRerunFailedJobsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemActionsRunsItemRerunFailedJobsPostRequestBody) 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 (*ItemItemActionsRunsItemRerunFailedJobsPostRequestBody) Serialize ¶
func (m *ItemItemActionsRunsItemRerunFailedJobsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsRunsItemRerunFailedJobsPostRequestBody) SetAdditionalData ¶
func (m *ItemItemActionsRunsItemRerunFailedJobsPostRequestBody) 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 (*ItemItemActionsRunsItemRerunFailedJobsPostRequestBody) SetEnableDebugLogging ¶
func (m *ItemItemActionsRunsItemRerunFailedJobsPostRequestBody) SetEnableDebugLogging(value *bool)
SetEnableDebugLogging sets the enable_debug_logging property value. Whether to enable debug logging for the re-run.
type ItemItemActionsRunsItemRerunFailedJobsPostRequestBodyable ¶
type ItemItemActionsRunsItemRerunFailedJobsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetEnableDebugLogging() *bool SetEnableDebugLogging(value *bool) }
type ItemItemActionsRunsItemRerunFailedJobsRequestBuilder ¶
type ItemItemActionsRunsItemRerunFailedJobsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsRunsItemRerunFailedJobsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\runs\{run_id}\rerun-failed-jobs
func NewItemItemActionsRunsItemRerunFailedJobsRequestBuilder ¶
func NewItemItemActionsRunsItemRerunFailedJobsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemRerunFailedJobsRequestBuilder
NewItemItemActionsRunsItemRerunFailedJobsRequestBuilder instantiates a new ItemItemActionsRunsItemRerunFailedJobsRequestBuilder and sets the default values.
func NewItemItemActionsRunsItemRerunFailedJobsRequestBuilderInternal ¶
func NewItemItemActionsRunsItemRerunFailedJobsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemRerunFailedJobsRequestBuilder
NewItemItemActionsRunsItemRerunFailedJobsRequestBuilderInternal instantiates a new ItemItemActionsRunsItemRerunFailedJobsRequestBuilder and sets the default values.
func (*ItemItemActionsRunsItemRerunFailedJobsRequestBuilder) Post ¶
func (m *ItemItemActionsRunsItemRerunFailedJobsRequestBuilder) Post(ctx context.Context, body ItemItemActionsRunsItemRerunFailedJobsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EmptyObjectable, error)
Post re-run all of the failed jobs and their dependent jobs in a workflow run using the `id` of the workflow run.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a EmptyObjectable when successful API method documentation
func (*ItemItemActionsRunsItemRerunFailedJobsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemActionsRunsItemRerunFailedJobsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemActionsRunsItemRerunFailedJobsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation re-run all of the failed jobs and their dependent jobs in a workflow run using the `id` of the workflow run.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsRunsItemRerunFailedJobsRequestBuilder) WithUrl ¶
func (m *ItemItemActionsRunsItemRerunFailedJobsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsItemRerunFailedJobsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsRunsItemRerunFailedJobsRequestBuilder when successful
type ItemItemActionsRunsItemRerunPostRequestBody ¶
type ItemItemActionsRunsItemRerunPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemActionsRunsItemRerunPostRequestBody ¶
func NewItemItemActionsRunsItemRerunPostRequestBody() *ItemItemActionsRunsItemRerunPostRequestBody
NewItemItemActionsRunsItemRerunPostRequestBody instantiates a new ItemItemActionsRunsItemRerunPostRequestBody and sets the default values.
func (*ItemItemActionsRunsItemRerunPostRequestBody) GetAdditionalData ¶
func (m *ItemItemActionsRunsItemRerunPostRequestBody) 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 (*ItemItemActionsRunsItemRerunPostRequestBody) GetEnableDebugLogging ¶
func (m *ItemItemActionsRunsItemRerunPostRequestBody) GetEnableDebugLogging() *bool
GetEnableDebugLogging gets the enable_debug_logging property value. Whether to enable debug logging for the re-run. returns a *bool when successful
func (*ItemItemActionsRunsItemRerunPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemActionsRunsItemRerunPostRequestBody) 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 (*ItemItemActionsRunsItemRerunPostRequestBody) Serialize ¶
func (m *ItemItemActionsRunsItemRerunPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsRunsItemRerunPostRequestBody) SetAdditionalData ¶
func (m *ItemItemActionsRunsItemRerunPostRequestBody) 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 (*ItemItemActionsRunsItemRerunPostRequestBody) SetEnableDebugLogging ¶
func (m *ItemItemActionsRunsItemRerunPostRequestBody) SetEnableDebugLogging(value *bool)
SetEnableDebugLogging sets the enable_debug_logging property value. Whether to enable debug logging for the re-run.
type ItemItemActionsRunsItemRerunPostRequestBodyable ¶
type ItemItemActionsRunsItemRerunPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetEnableDebugLogging() *bool SetEnableDebugLogging(value *bool) }
type ItemItemActionsRunsItemRerunRequestBuilder ¶
type ItemItemActionsRunsItemRerunRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsRunsItemRerunRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\runs\{run_id}\rerun
func NewItemItemActionsRunsItemRerunRequestBuilder ¶
func NewItemItemActionsRunsItemRerunRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemRerunRequestBuilder
NewItemItemActionsRunsItemRerunRequestBuilder instantiates a new ItemItemActionsRunsItemRerunRequestBuilder and sets the default values.
func NewItemItemActionsRunsItemRerunRequestBuilderInternal ¶
func NewItemItemActionsRunsItemRerunRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsItemRerunRequestBuilder
NewItemItemActionsRunsItemRerunRequestBuilderInternal instantiates a new ItemItemActionsRunsItemRerunRequestBuilder and sets the default values.
func (*ItemItemActionsRunsItemRerunRequestBuilder) Post ¶
func (m *ItemItemActionsRunsItemRerunRequestBuilder) Post(ctx context.Context, body ItemItemActionsRunsItemRerunPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EmptyObjectable, error)
Post re-runs your workflow run using its `id`.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a EmptyObjectable when successful API method documentation
func (*ItemItemActionsRunsItemRerunRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemActionsRunsItemRerunRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemActionsRunsItemRerunPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation re-runs your workflow run using its `id`.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsRunsItemRerunRequestBuilder) WithUrl ¶
func (m *ItemItemActionsRunsItemRerunRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsItemRerunRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsRunsItemRerunRequestBuilder when successful
type ItemItemActionsRunsRequestBuilder ¶
type ItemItemActionsRunsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsRunsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\runs
func NewItemItemActionsRunsRequestBuilder ¶
func NewItemItemActionsRunsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsRequestBuilder
NewItemItemActionsRunsRequestBuilder instantiates a new ItemItemActionsRunsRequestBuilder and sets the default values.
func NewItemItemActionsRunsRequestBuilderInternal ¶
func NewItemItemActionsRunsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsRequestBuilder
NewItemItemActionsRunsRequestBuilderInternal instantiates a new ItemItemActionsRunsRequestBuilder and sets the default values.
func (*ItemItemActionsRunsRequestBuilder) ByRun_id ¶
func (m *ItemItemActionsRunsRequestBuilder) ByRun_id(run_id int32) *ItemItemActionsRunsWithRun_ItemRequestBuilder
ByRun_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.actions.runs.item collection returns a *ItemItemActionsRunsWithRun_ItemRequestBuilder when successful
func (*ItemItemActionsRunsRequestBuilder) Get ¶
func (m *ItemItemActionsRunsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsRunsRequestBuilderGetQueryParameters]) (ItemItemActionsRunsGetResponseable, error)
Get lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-rest-api#parameters).Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.This API will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`. returns a ItemItemActionsRunsGetResponseable when successful API method documentation
func (*ItemItemActionsRunsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsRunsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsRunsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-rest-api#parameters).Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.This API will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`. returns a *RequestInformation when successful
func (*ItemItemActionsRunsRequestBuilder) WithUrl ¶
func (m *ItemItemActionsRunsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsRunsRequestBuilder when successful
type ItemItemActionsRunsRequestBuilderGetQueryParameters ¶
type ItemItemActionsRunsRequestBuilderGetQueryParameters struct { // Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. Actor *string `uriparametername:"actor"` // Returns workflow runs associated with a branch. Use the name of the branch of the `push`. Branch *string `uriparametername:"branch"` // Returns workflow runs with the `check_suite_id` that you specify. Check_suite_id *int32 `uriparametername:"check_suite_id"` // Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-server@3.10/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." Created *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"created"` // Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events that trigger workflows](https://docs.github.com/enterprise-server@3.10/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows)." Event *string `uriparametername:"event"` // If `true` pull requests are omitted from the response (empty array). Exclude_pull_requests *bool `uriparametername:"exclude_pull_requests"` // Only returns workflow runs that are associated with the specified `head_sha`. Head_sha *string `uriparametername:"head_sha"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status can be `in_progress`. Only GitHub Actions can set a status of `waiting`, `pending`, or `requested`. Status *i5547fe1de0de8b4c932dd2b844bb02fdcb60303fd757c74855d9345fee32f80b.GetStatusQueryParameterType `uriparametername:"status"` }
ItemItemActionsRunsRequestBuilderGetQueryParameters lists all workflow runs for a repository. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-rest-api#parameters).Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.This API will return up to 1,000 results for each search when using the following parameters: `actor`, `branch`, `check_suite_id`, `created`, `event`, `head_sha`, `status`.
type ItemItemActionsRunsWithRun_ItemRequestBuilder ¶
type ItemItemActionsRunsWithRun_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsRunsWithRun_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\runs\{run_id}
func NewItemItemActionsRunsWithRun_ItemRequestBuilder ¶
func NewItemItemActionsRunsWithRun_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsWithRun_ItemRequestBuilder
NewItemItemActionsRunsWithRun_ItemRequestBuilder instantiates a new ItemItemActionsRunsWithRun_ItemRequestBuilder and sets the default values.
func NewItemItemActionsRunsWithRun_ItemRequestBuilderInternal ¶
func NewItemItemActionsRunsWithRun_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsRunsWithRun_ItemRequestBuilder
NewItemItemActionsRunsWithRun_ItemRequestBuilderInternal instantiates a new ItemItemActionsRunsWithRun_ItemRequestBuilder and sets the default values.
func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) Approvals ¶
func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) Approvals() *ItemItemActionsRunsItemApprovalsRequestBuilder
Approvals the approvals property returns a *ItemItemActionsRunsItemApprovalsRequestBuilder when successful
func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) Artifacts ¶
func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) Artifacts() *ItemItemActionsRunsItemArtifactsRequestBuilder
Artifacts the artifacts property returns a *ItemItemActionsRunsItemArtifactsRequestBuilder when successful
func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) Attempts ¶
func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) Attempts() *ItemItemActionsRunsItemAttemptsRequestBuilder
Attempts the attempts property returns a *ItemItemActionsRunsItemAttemptsRequestBuilder when successful
func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) Cancel ¶
func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) Cancel() *ItemItemActionsRunsItemCancelRequestBuilder
Cancel the cancel property returns a *ItemItemActionsRunsItemCancelRequestBuilder when successful
func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) Delete ¶
func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete deletes a specific workflow run.Anyone with write access to the repository can use this endpoint.If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) Deployment_protection_rule ¶
func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) Deployment_protection_rule() *ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder
Deployment_protection_rule the deployment_protection_rule property returns a *ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder when successful
func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) Get ¶
func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsRunsWithRun_ItemRequestBuilderGetQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WorkflowRunable, error)
Get gets a specific workflow run.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a WorkflowRunable when successful API method documentation
func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) Jobs ¶
func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) Jobs() *ItemItemActionsRunsItemJobsRequestBuilder
Jobs the jobs property returns a *ItemItemActionsRunsItemJobsRequestBuilder when successful
func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) Logs ¶
func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) Logs() *ItemItemActionsRunsItemLogsRequestBuilder
Logs the logs property returns a *ItemItemActionsRunsItemLogsRequestBuilder when successful
func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) Pending_deployments ¶
func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) Pending_deployments() *ItemItemActionsRunsItemPending_deploymentsRequestBuilder
Pending_deployments the pending_deployments property returns a *ItemItemActionsRunsItemPending_deploymentsRequestBuilder when successful
func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) Rerun ¶
func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) Rerun() *ItemItemActionsRunsItemRerunRequestBuilder
Rerun the rerun property returns a *ItemItemActionsRunsItemRerunRequestBuilder when successful
func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) RerunFailedJobs ¶
func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) RerunFailedJobs() *ItemItemActionsRunsItemRerunFailedJobsRequestBuilder
RerunFailedJobs the rerunFailedJobs property returns a *ItemItemActionsRunsItemRerunFailedJobsRequestBuilder when successful
func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a specific workflow run.Anyone with write access to the repository can use this endpoint.If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsRunsWithRun_ItemRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a specific workflow run.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a *RequestInformation when successful
func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemActionsRunsWithRun_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsRunsWithRun_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 *ItemItemActionsRunsWithRun_ItemRequestBuilder when successful
type ItemItemActionsRunsWithRun_ItemRequestBuilderGetQueryParameters ¶
type ItemItemActionsRunsWithRun_ItemRequestBuilderGetQueryParameters struct { // If `true` pull requests are omitted from the response (empty array). Exclude_pull_requests *bool `uriparametername:"exclude_pull_requests"` }
ItemItemActionsRunsWithRun_ItemRequestBuilderGetQueryParameters gets a specific workflow run.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
type ItemItemActionsSecretsGetResponse ¶
type ItemItemActionsSecretsGetResponse struct {
// contains filtered or unexported fields
}
func NewItemItemActionsSecretsGetResponse ¶
func NewItemItemActionsSecretsGetResponse() *ItemItemActionsSecretsGetResponse
NewItemItemActionsSecretsGetResponse instantiates a new ItemItemActionsSecretsGetResponse and sets the default values.
func (*ItemItemActionsSecretsGetResponse) GetAdditionalData ¶
func (m *ItemItemActionsSecretsGetResponse) 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 (*ItemItemActionsSecretsGetResponse) GetFieldDeserializers ¶
func (m *ItemItemActionsSecretsGetResponse) 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 (*ItemItemActionsSecretsGetResponse) GetSecrets ¶
func (m *ItemItemActionsSecretsGetResponse) GetSecrets() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsSecretable
GetSecrets gets the secrets property value. The secrets property returns a []ActionsSecretable when successful
func (*ItemItemActionsSecretsGetResponse) GetTotalCount ¶
func (m *ItemItemActionsSecretsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemItemActionsSecretsGetResponse) Serialize ¶
func (m *ItemItemActionsSecretsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsSecretsGetResponse) SetAdditionalData ¶
func (m *ItemItemActionsSecretsGetResponse) 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 (*ItemItemActionsSecretsGetResponse) SetSecrets ¶
func (m *ItemItemActionsSecretsGetResponse) SetSecrets(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsSecretable)
SetSecrets sets the secrets property value. The secrets property
func (*ItemItemActionsSecretsGetResponse) SetTotalCount ¶
func (m *ItemItemActionsSecretsGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemItemActionsSecretsGetResponseable ¶
type ItemItemActionsSecretsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSecrets() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsSecretable GetTotalCount() *int32 SetSecrets(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsSecretable) SetTotalCount(value *int32) }
type ItemItemActionsSecretsItemWithSecret_namePutRequestBody ¶
type ItemItemActionsSecretsItemWithSecret_namePutRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemActionsSecretsItemWithSecret_namePutRequestBody ¶
func NewItemItemActionsSecretsItemWithSecret_namePutRequestBody() *ItemItemActionsSecretsItemWithSecret_namePutRequestBody
NewItemItemActionsSecretsItemWithSecret_namePutRequestBody instantiates a new ItemItemActionsSecretsItemWithSecret_namePutRequestBody and sets the default values.
func (*ItemItemActionsSecretsItemWithSecret_namePutRequestBody) GetAdditionalData ¶
func (m *ItemItemActionsSecretsItemWithSecret_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 (*ItemItemActionsSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue ¶
func (m *ItemItemActionsSecretsItemWithSecret_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 a repository public key](https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#get-a-repository-public-key) endpoint. returns a *string when successful
func (*ItemItemActionsSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers ¶
func (m *ItemItemActionsSecretsItemWithSecret_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 (*ItemItemActionsSecretsItemWithSecret_namePutRequestBody) GetKeyId ¶
func (m *ItemItemActionsSecretsItemWithSecret_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 (*ItemItemActionsSecretsItemWithSecret_namePutRequestBody) Serialize ¶
func (m *ItemItemActionsSecretsItemWithSecret_namePutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsSecretsItemWithSecret_namePutRequestBody) SetAdditionalData ¶
func (m *ItemItemActionsSecretsItemWithSecret_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 (*ItemItemActionsSecretsItemWithSecret_namePutRequestBody) SetEncryptedValue ¶
func (m *ItemItemActionsSecretsItemWithSecret_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 a repository public key](https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#get-a-repository-public-key) endpoint.
func (*ItemItemActionsSecretsItemWithSecret_namePutRequestBody) SetKeyId ¶
func (m *ItemItemActionsSecretsItemWithSecret_namePutRequestBody) SetKeyId(value *string)
SetKeyId sets the key_id property value. ID of the key you used to encrypt the secret.
type ItemItemActionsSecretsItemWithSecret_namePutRequestBodyable ¶
type ItemItemActionsSecretsItemWithSecret_namePutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetEncryptedValue() *string GetKeyId() *string SetEncryptedValue(value *string) SetKeyId(value *string) }
type ItemItemActionsSecretsPublicKeyRequestBuilder ¶
type ItemItemActionsSecretsPublicKeyRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsSecretsPublicKeyRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\secrets\public-key
func NewItemItemActionsSecretsPublicKeyRequestBuilder ¶
func NewItemItemActionsSecretsPublicKeyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsSecretsPublicKeyRequestBuilder
NewItemItemActionsSecretsPublicKeyRequestBuilder instantiates a new ItemItemActionsSecretsPublicKeyRequestBuilder and sets the default values.
func NewItemItemActionsSecretsPublicKeyRequestBuilderInternal ¶
func NewItemItemActionsSecretsPublicKeyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsSecretsPublicKeyRequestBuilder
NewItemItemActionsSecretsPublicKeyRequestBuilderInternal instantiates a new ItemItemActionsSecretsPublicKeyRequestBuilder and sets the default values.
func (*ItemItemActionsSecretsPublicKeyRequestBuilder) Get ¶
func (m *ItemItemActionsSecretsPublicKeyRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsPublicKeyable, error)
Get gets your public key, which you need to encrypt secrets. You need toencrypt a secret before you can create or update secrets.Anyone with read access to the repository can use this endpoint.If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ActionsPublicKeyable when successful API method documentation
func (*ItemItemActionsSecretsPublicKeyRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsSecretsPublicKeyRequestBuilder) 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 toencrypt a secret before you can create or update secrets.Anyone with read access to the repository can use this endpoint.If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsSecretsPublicKeyRequestBuilder) WithUrl ¶
func (m *ItemItemActionsSecretsPublicKeyRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsSecretsPublicKeyRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsSecretsPublicKeyRequestBuilder when successful
type ItemItemActionsSecretsRequestBuilder ¶
type ItemItemActionsSecretsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsSecretsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\secrets
func NewItemItemActionsSecretsRequestBuilder ¶
func NewItemItemActionsSecretsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsSecretsRequestBuilder
NewItemItemActionsSecretsRequestBuilder instantiates a new ItemItemActionsSecretsRequestBuilder and sets the default values.
func NewItemItemActionsSecretsRequestBuilderInternal ¶
func NewItemItemActionsSecretsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsSecretsRequestBuilder
NewItemItemActionsSecretsRequestBuilderInternal instantiates a new ItemItemActionsSecretsRequestBuilder and sets the default values.
func (*ItemItemActionsSecretsRequestBuilder) BySecret_name ¶
func (m *ItemItemActionsSecretsRequestBuilder) BySecret_name(secret_name string) *ItemItemActionsSecretsWithSecret_nameItemRequestBuilder
BySecret_name gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.actions.secrets.item collection returns a *ItemItemActionsSecretsWithSecret_nameItemRequestBuilder when successful
func (*ItemItemActionsSecretsRequestBuilder) Get ¶
func (m *ItemItemActionsSecretsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsSecretsRequestBuilderGetQueryParameters]) (ItemItemActionsSecretsGetResponseable, error)
Get lists all secrets available in a repository without revealing their encryptedvalues.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ItemItemActionsSecretsGetResponseable when successful API method documentation
func (*ItemItemActionsSecretsRequestBuilder) PublicKey ¶
func (m *ItemItemActionsSecretsRequestBuilder) PublicKey() *ItemItemActionsSecretsPublicKeyRequestBuilder
PublicKey the publicKey property returns a *ItemItemActionsSecretsPublicKeyRequestBuilder when successful
func (*ItemItemActionsSecretsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsSecretsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsSecretsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all secrets available in a repository without revealing their encryptedvalues.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsSecretsRequestBuilder) WithUrl ¶
func (m *ItemItemActionsSecretsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsSecretsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsSecretsRequestBuilder when successful
type ItemItemActionsSecretsRequestBuilderGetQueryParameters ¶
type ItemItemActionsSecretsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemActionsSecretsRequestBuilderGetQueryParameters lists all secrets available in a repository without revealing their encryptedvalues.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
type ItemItemActionsSecretsWithSecret_nameItemRequestBuilder ¶
type ItemItemActionsSecretsWithSecret_nameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsSecretsWithSecret_nameItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\secrets\{secret_name}
func NewItemItemActionsSecretsWithSecret_nameItemRequestBuilder ¶
func NewItemItemActionsSecretsWithSecret_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsSecretsWithSecret_nameItemRequestBuilder
NewItemItemActionsSecretsWithSecret_nameItemRequestBuilder instantiates a new ItemItemActionsSecretsWithSecret_nameItemRequestBuilder and sets the default values.
func NewItemItemActionsSecretsWithSecret_nameItemRequestBuilderInternal ¶
func NewItemItemActionsSecretsWithSecret_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsSecretsWithSecret_nameItemRequestBuilder
NewItemItemActionsSecretsWithSecret_nameItemRequestBuilderInternal instantiates a new ItemItemActionsSecretsWithSecret_nameItemRequestBuilder and sets the default values.
func (*ItemItemActionsSecretsWithSecret_nameItemRequestBuilder) Delete ¶
func (m *ItemItemActionsSecretsWithSecret_nameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete deletes a secret in a repository using the secret name.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemActionsSecretsWithSecret_nameItemRequestBuilder) Get ¶
func (m *ItemItemActionsSecretsWithSecret_nameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsSecretable, error)
Get gets a single repository secret without revealing its encrypted value.The authenticated user must have collaborator access to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ActionsSecretable when successful API method documentation
func (*ItemItemActionsSecretsWithSecret_nameItemRequestBuilder) Put ¶
func (m *ItemItemActionsSecretsWithSecret_nameItemRequestBuilder) Put(ctx context.Context, body ItemItemActionsSecretsItemWithSecret_namePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EmptyObjectable, error)
Put creates or updates a repository secret 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/enterprise-server@3.10/rest/guides/encrypting-secrets-for-the-rest-api)."Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a EmptyObjectable when successful API method documentation
func (*ItemItemActionsSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemActionsSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a secret in a repository using the secret name.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a single repository secret without revealing its encrypted value.The authenticated user must have collaborator access to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemActionsSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemActionsSecretsItemWithSecret_namePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation creates or updates a repository secret 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/enterprise-server@3.10/rest/guides/encrypting-secrets-for-the-rest-api)."Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsSecretsWithSecret_nameItemRequestBuilder) WithUrl ¶
func (m *ItemItemActionsSecretsWithSecret_nameItemRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsSecretsWithSecret_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 *ItemItemActionsSecretsWithSecret_nameItemRequestBuilder when successful
type ItemItemActionsVariablesGetResponse ¶
type ItemItemActionsVariablesGetResponse struct {
// contains filtered or unexported fields
}
func NewItemItemActionsVariablesGetResponse ¶
func NewItemItemActionsVariablesGetResponse() *ItemItemActionsVariablesGetResponse
NewItemItemActionsVariablesGetResponse instantiates a new ItemItemActionsVariablesGetResponse and sets the default values.
func (*ItemItemActionsVariablesGetResponse) GetAdditionalData ¶
func (m *ItemItemActionsVariablesGetResponse) 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 (*ItemItemActionsVariablesGetResponse) GetFieldDeserializers ¶
func (m *ItemItemActionsVariablesGetResponse) 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 (*ItemItemActionsVariablesGetResponse) GetTotalCount ¶
func (m *ItemItemActionsVariablesGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemItemActionsVariablesGetResponse) GetVariables ¶
func (m *ItemItemActionsVariablesGetResponse) GetVariables() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsVariableable
GetVariables gets the variables property value. The variables property returns a []ActionsVariableable when successful
func (*ItemItemActionsVariablesGetResponse) Serialize ¶
func (m *ItemItemActionsVariablesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsVariablesGetResponse) SetAdditionalData ¶
func (m *ItemItemActionsVariablesGetResponse) 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 (*ItemItemActionsVariablesGetResponse) SetTotalCount ¶
func (m *ItemItemActionsVariablesGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
func (*ItemItemActionsVariablesGetResponse) SetVariables ¶
func (m *ItemItemActionsVariablesGetResponse) SetVariables(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsVariableable)
SetVariables sets the variables property value. The variables property
type ItemItemActionsVariablesGetResponseable ¶
type ItemItemActionsVariablesGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetTotalCount() *int32 GetVariables() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsVariableable SetTotalCount(value *int32) SetVariables(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsVariableable) }
type ItemItemActionsVariablesItemWithNamePatchRequestBody ¶
type ItemItemActionsVariablesItemWithNamePatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemActionsVariablesItemWithNamePatchRequestBody ¶
func NewItemItemActionsVariablesItemWithNamePatchRequestBody() *ItemItemActionsVariablesItemWithNamePatchRequestBody
NewItemItemActionsVariablesItemWithNamePatchRequestBody instantiates a new ItemItemActionsVariablesItemWithNamePatchRequestBody and sets the default values.
func (*ItemItemActionsVariablesItemWithNamePatchRequestBody) GetAdditionalData ¶
func (m *ItemItemActionsVariablesItemWithNamePatchRequestBody) 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 (*ItemItemActionsVariablesItemWithNamePatchRequestBody) GetFieldDeserializers ¶
func (m *ItemItemActionsVariablesItemWithNamePatchRequestBody) 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 (*ItemItemActionsVariablesItemWithNamePatchRequestBody) GetName ¶
func (m *ItemItemActionsVariablesItemWithNamePatchRequestBody) GetName() *string
GetName gets the name property value. The name of the variable. returns a *string when successful
func (*ItemItemActionsVariablesItemWithNamePatchRequestBody) GetValue ¶
func (m *ItemItemActionsVariablesItemWithNamePatchRequestBody) GetValue() *string
GetValue gets the value property value. The value of the variable. returns a *string when successful
func (*ItemItemActionsVariablesItemWithNamePatchRequestBody) Serialize ¶
func (m *ItemItemActionsVariablesItemWithNamePatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsVariablesItemWithNamePatchRequestBody) SetAdditionalData ¶
func (m *ItemItemActionsVariablesItemWithNamePatchRequestBody) 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 (*ItemItemActionsVariablesItemWithNamePatchRequestBody) SetName ¶
func (m *ItemItemActionsVariablesItemWithNamePatchRequestBody) SetName(value *string)
SetName sets the name property value. The name of the variable.
func (*ItemItemActionsVariablesItemWithNamePatchRequestBody) SetValue ¶
func (m *ItemItemActionsVariablesItemWithNamePatchRequestBody) SetValue(value *string)
SetValue sets the value property value. The value of the variable.
type ItemItemActionsVariablesItemWithNamePatchRequestBodyable ¶
type ItemItemActionsVariablesItemWithNamePatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetName() *string GetValue() *string SetName(value *string) SetValue(value *string) }
type ItemItemActionsVariablesPostRequestBody ¶
type ItemItemActionsVariablesPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemActionsVariablesPostRequestBody ¶
func NewItemItemActionsVariablesPostRequestBody() *ItemItemActionsVariablesPostRequestBody
NewItemItemActionsVariablesPostRequestBody instantiates a new ItemItemActionsVariablesPostRequestBody and sets the default values.
func (*ItemItemActionsVariablesPostRequestBody) GetAdditionalData ¶
func (m *ItemItemActionsVariablesPostRequestBody) 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 (*ItemItemActionsVariablesPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemActionsVariablesPostRequestBody) 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 (*ItemItemActionsVariablesPostRequestBody) GetName ¶
func (m *ItemItemActionsVariablesPostRequestBody) GetName() *string
GetName gets the name property value. The name of the variable. returns a *string when successful
func (*ItemItemActionsVariablesPostRequestBody) GetValue ¶
func (m *ItemItemActionsVariablesPostRequestBody) GetValue() *string
GetValue gets the value property value. The value of the variable. returns a *string when successful
func (*ItemItemActionsVariablesPostRequestBody) Serialize ¶
func (m *ItemItemActionsVariablesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsVariablesPostRequestBody) SetAdditionalData ¶
func (m *ItemItemActionsVariablesPostRequestBody) 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 (*ItemItemActionsVariablesPostRequestBody) SetName ¶
func (m *ItemItemActionsVariablesPostRequestBody) SetName(value *string)
SetName sets the name property value. The name of the variable.
func (*ItemItemActionsVariablesPostRequestBody) SetValue ¶
func (m *ItemItemActionsVariablesPostRequestBody) SetValue(value *string)
SetValue sets the value property value. The value of the variable.
type ItemItemActionsVariablesPostRequestBodyable ¶
type ItemItemActionsVariablesPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetName() *string GetValue() *string SetName(value *string) SetValue(value *string) }
type ItemItemActionsVariablesRequestBuilder ¶
type ItemItemActionsVariablesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsVariablesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\variables
func NewItemItemActionsVariablesRequestBuilder ¶
func NewItemItemActionsVariablesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsVariablesRequestBuilder
NewItemItemActionsVariablesRequestBuilder instantiates a new ItemItemActionsVariablesRequestBuilder and sets the default values.
func NewItemItemActionsVariablesRequestBuilderInternal ¶
func NewItemItemActionsVariablesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsVariablesRequestBuilder
NewItemItemActionsVariablesRequestBuilderInternal instantiates a new ItemItemActionsVariablesRequestBuilder and sets the default values.
func (*ItemItemActionsVariablesRequestBuilder) ByName ¶
func (m *ItemItemActionsVariablesRequestBuilder) ByName(name string) *ItemItemActionsVariablesWithNameItemRequestBuilder
ByName gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.actions.variables.item collection returns a *ItemItemActionsVariablesWithNameItemRequestBuilder when successful
func (*ItemItemActionsVariablesRequestBuilder) Get ¶
func (m *ItemItemActionsVariablesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsVariablesRequestBuilderGetQueryParameters]) (ItemItemActionsVariablesGetResponseable, error)
Get lists all repository variables.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ItemItemActionsVariablesGetResponseable when successful API method documentation
func (*ItemItemActionsVariablesRequestBuilder) Post ¶
func (m *ItemItemActionsVariablesRequestBuilder) Post(ctx context.Context, body ItemItemActionsVariablesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EmptyObjectable, error)
Post creates a repository variable that you can reference in a GitHub Actions workflow.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a EmptyObjectable when successful API method documentation
func (*ItemItemActionsVariablesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsVariablesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsVariablesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all repository variables.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsVariablesRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemActionsVariablesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemActionsVariablesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation creates a repository variable that you can reference in a GitHub Actions workflow.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsVariablesRequestBuilder) WithUrl ¶
func (m *ItemItemActionsVariablesRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsVariablesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsVariablesRequestBuilder when successful
type ItemItemActionsVariablesRequestBuilderGetQueryParameters ¶
type ItemItemActionsVariablesRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemActionsVariablesRequestBuilderGetQueryParameters lists all repository variables.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
type ItemItemActionsVariablesWithNameItemRequestBuilder ¶
type ItemItemActionsVariablesWithNameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsVariablesWithNameItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\variables\{name}
func NewItemItemActionsVariablesWithNameItemRequestBuilder ¶
func NewItemItemActionsVariablesWithNameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsVariablesWithNameItemRequestBuilder
NewItemItemActionsVariablesWithNameItemRequestBuilder instantiates a new ItemItemActionsVariablesWithNameItemRequestBuilder and sets the default values.
func NewItemItemActionsVariablesWithNameItemRequestBuilderInternal ¶
func NewItemItemActionsVariablesWithNameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsVariablesWithNameItemRequestBuilder
NewItemItemActionsVariablesWithNameItemRequestBuilderInternal instantiates a new ItemItemActionsVariablesWithNameItemRequestBuilder and sets the default values.
func (*ItemItemActionsVariablesWithNameItemRequestBuilder) Delete ¶
func (m *ItemItemActionsVariablesWithNameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete deletes a repository variable using the variable name.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemActionsVariablesWithNameItemRequestBuilder) Get ¶
func (m *ItemItemActionsVariablesWithNameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsVariableable, error)
Get gets a specific variable in a repository.The authenticated user must have collaborator access to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ActionsVariableable when successful API method documentation
func (*ItemItemActionsVariablesWithNameItemRequestBuilder) Patch ¶
func (m *ItemItemActionsVariablesWithNameItemRequestBuilder) Patch(ctx context.Context, body ItemItemActionsVariablesItemWithNamePatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Patch updates a repository variable that you can reference in a GitHub Actions workflow.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemActionsVariablesWithNameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemActionsVariablesWithNameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a repository variable using the variable name.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsVariablesWithNameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsVariablesWithNameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a specific variable in a repository.The authenticated user must have collaborator access to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsVariablesWithNameItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemActionsVariablesWithNameItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemActionsVariablesItemWithNamePatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation updates a repository variable that you can reference in a GitHub Actions workflow.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsVariablesWithNameItemRequestBuilder) WithUrl ¶
func (m *ItemItemActionsVariablesWithNameItemRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsVariablesWithNameItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsVariablesWithNameItemRequestBuilder when successful
type ItemItemActionsWorkflowsGetResponse ¶
type ItemItemActionsWorkflowsGetResponse struct {
// contains filtered or unexported fields
}
func NewItemItemActionsWorkflowsGetResponse ¶
func NewItemItemActionsWorkflowsGetResponse() *ItemItemActionsWorkflowsGetResponse
NewItemItemActionsWorkflowsGetResponse instantiates a new ItemItemActionsWorkflowsGetResponse and sets the default values.
func (*ItemItemActionsWorkflowsGetResponse) GetAdditionalData ¶
func (m *ItemItemActionsWorkflowsGetResponse) 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 (*ItemItemActionsWorkflowsGetResponse) GetFieldDeserializers ¶
func (m *ItemItemActionsWorkflowsGetResponse) 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 (*ItemItemActionsWorkflowsGetResponse) GetTotalCount ¶
func (m *ItemItemActionsWorkflowsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemItemActionsWorkflowsGetResponse) GetWorkflows ¶
func (m *ItemItemActionsWorkflowsGetResponse) GetWorkflows() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Workflowable
GetWorkflows gets the workflows property value. The workflows property returns a []Workflowable when successful
func (*ItemItemActionsWorkflowsGetResponse) Serialize ¶
func (m *ItemItemActionsWorkflowsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsWorkflowsGetResponse) SetAdditionalData ¶
func (m *ItemItemActionsWorkflowsGetResponse) 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 (*ItemItemActionsWorkflowsGetResponse) SetTotalCount ¶
func (m *ItemItemActionsWorkflowsGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
func (*ItemItemActionsWorkflowsGetResponse) SetWorkflows ¶
func (m *ItemItemActionsWorkflowsGetResponse) SetWorkflows(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Workflowable)
SetWorkflows sets the workflows property value. The workflows property
type ItemItemActionsWorkflowsGetResponseable ¶
type ItemItemActionsWorkflowsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetTotalCount() *int32 GetWorkflows() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Workflowable SetTotalCount(value *int32) SetWorkflows(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Workflowable) }
type ItemItemActionsWorkflowsItemDisableRequestBuilder ¶
type ItemItemActionsWorkflowsItemDisableRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsWorkflowsItemDisableRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\workflows\{workflow_id}\disable
func NewItemItemActionsWorkflowsItemDisableRequestBuilder ¶
func NewItemItemActionsWorkflowsItemDisableRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsWorkflowsItemDisableRequestBuilder
NewItemItemActionsWorkflowsItemDisableRequestBuilder instantiates a new ItemItemActionsWorkflowsItemDisableRequestBuilder and sets the default values.
func NewItemItemActionsWorkflowsItemDisableRequestBuilderInternal ¶
func NewItemItemActionsWorkflowsItemDisableRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsWorkflowsItemDisableRequestBuilder
NewItemItemActionsWorkflowsItemDisableRequestBuilderInternal instantiates a new ItemItemActionsWorkflowsItemDisableRequestBuilder and sets the default values.
func (*ItemItemActionsWorkflowsItemDisableRequestBuilder) Put ¶
func (m *ItemItemActionsWorkflowsItemDisableRequestBuilder) Put(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemActionsWorkflowsItemDisableRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemActionsWorkflowsItemDisableRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation disables a workflow and sets the `state` of the workflow to `disabled_manually`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsWorkflowsItemDisableRequestBuilder) WithUrl ¶
func (m *ItemItemActionsWorkflowsItemDisableRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsWorkflowsItemDisableRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsWorkflowsItemDisableRequestBuilder when successful
type ItemItemActionsWorkflowsItemDispatchesPostRequestBody ¶
type ItemItemActionsWorkflowsItemDispatchesPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemActionsWorkflowsItemDispatchesPostRequestBody ¶
func NewItemItemActionsWorkflowsItemDispatchesPostRequestBody() *ItemItemActionsWorkflowsItemDispatchesPostRequestBody
NewItemItemActionsWorkflowsItemDispatchesPostRequestBody instantiates a new ItemItemActionsWorkflowsItemDispatchesPostRequestBody and sets the default values.
func (*ItemItemActionsWorkflowsItemDispatchesPostRequestBody) GetAdditionalData ¶
func (m *ItemItemActionsWorkflowsItemDispatchesPostRequestBody) 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 (*ItemItemActionsWorkflowsItemDispatchesPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemActionsWorkflowsItemDispatchesPostRequestBody) 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 (*ItemItemActionsWorkflowsItemDispatchesPostRequestBody) GetInputs ¶
func (m *ItemItemActionsWorkflowsItemDispatchesPostRequestBody) GetInputs() ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputsable
GetInputs gets the inputs property value. Input keys and values configured in the workflow file. The maximum number of properties is 10. Any default properties configured in the workflow file will be used when `inputs` are omitted. returns a ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputsable when successful
func (*ItemItemActionsWorkflowsItemDispatchesPostRequestBody) GetRef ¶
func (m *ItemItemActionsWorkflowsItemDispatchesPostRequestBody) GetRef() *string
GetRef gets the ref property value. The git reference for the workflow. The reference can be a branch or tag name. returns a *string when successful
func (*ItemItemActionsWorkflowsItemDispatchesPostRequestBody) Serialize ¶
func (m *ItemItemActionsWorkflowsItemDispatchesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsWorkflowsItemDispatchesPostRequestBody) SetAdditionalData ¶
func (m *ItemItemActionsWorkflowsItemDispatchesPostRequestBody) 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 (*ItemItemActionsWorkflowsItemDispatchesPostRequestBody) SetInputs ¶
func (m *ItemItemActionsWorkflowsItemDispatchesPostRequestBody) SetInputs(value ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputsable)
SetInputs sets the inputs property value. Input keys and values configured in the workflow file. The maximum number of properties is 10. Any default properties configured in the workflow file will be used when `inputs` are omitted.
func (*ItemItemActionsWorkflowsItemDispatchesPostRequestBody) SetRef ¶
func (m *ItemItemActionsWorkflowsItemDispatchesPostRequestBody) SetRef(value *string)
SetRef sets the ref property value. The git reference for the workflow. The reference can be a branch or tag name.
type ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputs ¶
type ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputs struct {
// contains filtered or unexported fields
}
ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputs input keys and values configured in the workflow file. The maximum number of properties is 10. Any default properties configured in the workflow file will be used when `inputs` are omitted.
func NewItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputs ¶
func NewItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputs() *ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputs
NewItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputs instantiates a new ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputs and sets the default values.
func (*ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputs) GetAdditionalData ¶
func (m *ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputs) 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 (*ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputs) GetFieldDeserializers ¶
func (m *ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputs) 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 (*ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputs) Serialize ¶
func (m *ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputs) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputs) SetAdditionalData ¶
func (m *ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputs) 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 ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputsable ¶
type ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputsable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemItemActionsWorkflowsItemDispatchesPostRequestBodyable ¶
type ItemItemActionsWorkflowsItemDispatchesPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetInputs() ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputsable GetRef() *string SetInputs(value ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputsable) SetRef(value *string) }
type ItemItemActionsWorkflowsItemDispatchesRequestBuilder ¶
type ItemItemActionsWorkflowsItemDispatchesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsWorkflowsItemDispatchesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\workflows\{workflow_id}\dispatches
func NewItemItemActionsWorkflowsItemDispatchesRequestBuilder ¶
func NewItemItemActionsWorkflowsItemDispatchesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsWorkflowsItemDispatchesRequestBuilder
NewItemItemActionsWorkflowsItemDispatchesRequestBuilder instantiates a new ItemItemActionsWorkflowsItemDispatchesRequestBuilder and sets the default values.
func NewItemItemActionsWorkflowsItemDispatchesRequestBuilderInternal ¶
func NewItemItemActionsWorkflowsItemDispatchesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsWorkflowsItemDispatchesRequestBuilder
NewItemItemActionsWorkflowsItemDispatchesRequestBuilderInternal instantiates a new ItemItemActionsWorkflowsItemDispatchesRequestBuilder and sets the default values.
func (*ItemItemActionsWorkflowsItemDispatchesRequestBuilder) Post ¶
func (m *ItemItemActionsWorkflowsItemDispatchesRequestBuilder) Post(ctx context.Context, body ItemItemActionsWorkflowsItemDispatchesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Post you can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.You must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch)."OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemActionsWorkflowsItemDispatchesRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemActionsWorkflowsItemDispatchesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemActionsWorkflowsItemDispatchesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation you can use this endpoint to manually trigger a GitHub Actions workflow run. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.You must configure your GitHub Actions workflow to run when the [`workflow_dispatch` webhook](/developers/webhooks-and-events/webhook-events-and-payloads#workflow_dispatch) event occurs. The `inputs` are configured in the workflow file. For more information about how to configure the `workflow_dispatch` event in the workflow file, see "[Events that trigger workflows](/actions/reference/events-that-trigger-workflows#workflow_dispatch)."OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsWorkflowsItemDispatchesRequestBuilder) WithUrl ¶
func (m *ItemItemActionsWorkflowsItemDispatchesRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsWorkflowsItemDispatchesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsWorkflowsItemDispatchesRequestBuilder when successful
type ItemItemActionsWorkflowsItemEnableRequestBuilder ¶
type ItemItemActionsWorkflowsItemEnableRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsWorkflowsItemEnableRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\workflows\{workflow_id}\enable
func NewItemItemActionsWorkflowsItemEnableRequestBuilder ¶
func NewItemItemActionsWorkflowsItemEnableRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsWorkflowsItemEnableRequestBuilder
NewItemItemActionsWorkflowsItemEnableRequestBuilder instantiates a new ItemItemActionsWorkflowsItemEnableRequestBuilder and sets the default values.
func NewItemItemActionsWorkflowsItemEnableRequestBuilderInternal ¶
func NewItemItemActionsWorkflowsItemEnableRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsWorkflowsItemEnableRequestBuilder
NewItemItemActionsWorkflowsItemEnableRequestBuilderInternal instantiates a new ItemItemActionsWorkflowsItemEnableRequestBuilder and sets the default values.
func (*ItemItemActionsWorkflowsItemEnableRequestBuilder) Put ¶
func (m *ItemItemActionsWorkflowsItemEnableRequestBuilder) Put(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemActionsWorkflowsItemEnableRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemActionsWorkflowsItemEnableRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation enables a workflow and sets the `state` of the workflow to `active`. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemActionsWorkflowsItemEnableRequestBuilder) WithUrl ¶
func (m *ItemItemActionsWorkflowsItemEnableRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsWorkflowsItemEnableRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsWorkflowsItemEnableRequestBuilder when successful
type ItemItemActionsWorkflowsItemRunsGetResponse ¶
type ItemItemActionsWorkflowsItemRunsGetResponse struct {
// contains filtered or unexported fields
}
func NewItemItemActionsWorkflowsItemRunsGetResponse ¶
func NewItemItemActionsWorkflowsItemRunsGetResponse() *ItemItemActionsWorkflowsItemRunsGetResponse
NewItemItemActionsWorkflowsItemRunsGetResponse instantiates a new ItemItemActionsWorkflowsItemRunsGetResponse and sets the default values.
func (*ItemItemActionsWorkflowsItemRunsGetResponse) GetAdditionalData ¶
func (m *ItemItemActionsWorkflowsItemRunsGetResponse) 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 (*ItemItemActionsWorkflowsItemRunsGetResponse) GetFieldDeserializers ¶
func (m *ItemItemActionsWorkflowsItemRunsGetResponse) 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 (*ItemItemActionsWorkflowsItemRunsGetResponse) GetTotalCount ¶
func (m *ItemItemActionsWorkflowsItemRunsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemItemActionsWorkflowsItemRunsGetResponse) GetWorkflowRuns ¶
func (m *ItemItemActionsWorkflowsItemRunsGetResponse) GetWorkflowRuns() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WorkflowRunable
GetWorkflowRuns gets the workflow_runs property value. The workflow_runs property returns a []WorkflowRunable when successful
func (*ItemItemActionsWorkflowsItemRunsGetResponse) Serialize ¶
func (m *ItemItemActionsWorkflowsItemRunsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemActionsWorkflowsItemRunsGetResponse) SetAdditionalData ¶
func (m *ItemItemActionsWorkflowsItemRunsGetResponse) 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 (*ItemItemActionsWorkflowsItemRunsGetResponse) SetTotalCount ¶
func (m *ItemItemActionsWorkflowsItemRunsGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
func (*ItemItemActionsWorkflowsItemRunsGetResponse) SetWorkflowRuns ¶
func (m *ItemItemActionsWorkflowsItemRunsGetResponse) SetWorkflowRuns(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WorkflowRunable)
SetWorkflowRuns sets the workflow_runs property value. The workflow_runs property
type ItemItemActionsWorkflowsItemRunsGetResponseable ¶
type ItemItemActionsWorkflowsItemRunsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetTotalCount() *int32 GetWorkflowRuns() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WorkflowRunable SetTotalCount(value *int32) SetWorkflowRuns(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WorkflowRunable) }
type ItemItemActionsWorkflowsItemRunsRequestBuilder ¶
type ItemItemActionsWorkflowsItemRunsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsWorkflowsItemRunsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\workflows\{workflow_id}\runs
func NewItemItemActionsWorkflowsItemRunsRequestBuilder ¶
func NewItemItemActionsWorkflowsItemRunsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsWorkflowsItemRunsRequestBuilder
NewItemItemActionsWorkflowsItemRunsRequestBuilder instantiates a new ItemItemActionsWorkflowsItemRunsRequestBuilder and sets the default values.
func NewItemItemActionsWorkflowsItemRunsRequestBuilderInternal ¶
func NewItemItemActionsWorkflowsItemRunsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsWorkflowsItemRunsRequestBuilder
NewItemItemActionsWorkflowsItemRunsRequestBuilderInternal instantiates a new ItemItemActionsWorkflowsItemRunsRequestBuilder and sets the default values.
func (*ItemItemActionsWorkflowsItemRunsRequestBuilder) Get ¶
func (m *ItemItemActionsWorkflowsItemRunsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsWorkflowsItemRunsRequestBuilderGetQueryParameters]) (ItemItemActionsWorkflowsItemRunsGetResponseable, error)
Get list all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-rest-api#parameters).Anyone with read access to the repository can use this endpointOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a ItemItemActionsWorkflowsItemRunsGetResponseable when successful API method documentation
func (*ItemItemActionsWorkflowsItemRunsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsWorkflowsItemRunsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsWorkflowsItemRunsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-rest-api#parameters).Anyone with read access to the repository can use this endpointOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a *RequestInformation when successful
func (*ItemItemActionsWorkflowsItemRunsRequestBuilder) WithUrl ¶
func (m *ItemItemActionsWorkflowsItemRunsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsWorkflowsItemRunsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsWorkflowsItemRunsRequestBuilder when successful
type ItemItemActionsWorkflowsItemRunsRequestBuilderGetQueryParameters ¶
type ItemItemActionsWorkflowsItemRunsRequestBuilderGetQueryParameters struct { // Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. Actor *string `uriparametername:"actor"` // Returns workflow runs associated with a branch. Use the name of the branch of the `push`. Branch *string `uriparametername:"branch"` // Returns workflow runs with the `check_suite_id` that you specify. Check_suite_id *int32 `uriparametername:"check_suite_id"` // Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-server@3.10/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." Created *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"created"` // Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events that trigger workflows](https://docs.github.com/enterprise-server@3.10/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows)." Event *string `uriparametername:"event"` // If `true` pull requests are omitted from the response (empty array). Exclude_pull_requests *bool `uriparametername:"exclude_pull_requests"` // Only returns workflow runs that are associated with the specified `head_sha`. Head_sha *string `uriparametername:"head_sha"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status can be `in_progress`. Only GitHub Actions can set a status of `waiting`, `pending`, or `requested`. Status *i5a8fbecffc3c36ae633aeabafc6d21aa41fc2c9db26db3c2bc0b58be8bd2bf87.GetStatusQueryParameterType `uriparametername:"status"` }
ItemItemActionsWorkflowsItemRunsRequestBuilderGetQueryParameters list all workflow runs for a workflow. You can replace `workflow_id` with the workflow file name. For example, you could use `main.yaml`. You can use parameters to narrow the list of results. For more information about using parameters, see [Parameters](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-rest-api#parameters).Anyone with read access to the repository can use this endpointOAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
type ItemItemActionsWorkflowsRequestBuilder ¶
type ItemItemActionsWorkflowsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsWorkflowsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\workflows
func NewItemItemActionsWorkflowsRequestBuilder ¶
func NewItemItemActionsWorkflowsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsWorkflowsRequestBuilder
NewItemItemActionsWorkflowsRequestBuilder instantiates a new ItemItemActionsWorkflowsRequestBuilder and sets the default values.
func NewItemItemActionsWorkflowsRequestBuilderInternal ¶
func NewItemItemActionsWorkflowsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsWorkflowsRequestBuilder
NewItemItemActionsWorkflowsRequestBuilderInternal instantiates a new ItemItemActionsWorkflowsRequestBuilder and sets the default values.
func (*ItemItemActionsWorkflowsRequestBuilder) ByWorkflow_id ¶
func (m *ItemItemActionsWorkflowsRequestBuilder) ByWorkflow_id(workflow_id int32) *ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder
ByWorkflow_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.actions.workflows.item collection returns a *ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder when successful
func (*ItemItemActionsWorkflowsRequestBuilder) Get ¶
func (m *ItemItemActionsWorkflowsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsWorkflowsRequestBuilderGetQueryParameters]) (ItemItemActionsWorkflowsGetResponseable, error)
Get lists the workflows in a repository.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a ItemItemActionsWorkflowsGetResponseable when successful API method documentation
func (*ItemItemActionsWorkflowsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsWorkflowsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemActionsWorkflowsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the workflows in a repository.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a *RequestInformation when successful
func (*ItemItemActionsWorkflowsRequestBuilder) WithUrl ¶
func (m *ItemItemActionsWorkflowsRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsWorkflowsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemActionsWorkflowsRequestBuilder when successful
type ItemItemActionsWorkflowsRequestBuilderGetQueryParameters ¶
type ItemItemActionsWorkflowsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemActionsWorkflowsRequestBuilderGetQueryParameters lists the workflows in a repository.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
type ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder ¶
type ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\workflows\{workflow_id}
func NewItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder ¶
func NewItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder
NewItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder instantiates a new ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder and sets the default values.
func NewItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilderInternal ¶
func NewItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder
NewItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilderInternal instantiates a new ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder and sets the default values.
func (*ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) Disable ¶
func (m *ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) Disable() *ItemItemActionsWorkflowsItemDisableRequestBuilder
Disable the disable property returns a *ItemItemActionsWorkflowsItemDisableRequestBuilder when successful
func (*ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) Dispatches ¶
func (m *ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) Dispatches() *ItemItemActionsWorkflowsItemDispatchesRequestBuilder
Dispatches the dispatches property returns a *ItemItemActionsWorkflowsItemDispatchesRequestBuilder when successful
func (*ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) Enable ¶
func (m *ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) Enable() *ItemItemActionsWorkflowsItemEnableRequestBuilder
Enable the enable property returns a *ItemItemActionsWorkflowsItemEnableRequestBuilder when successful
func (*ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) Get ¶
func (m *ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Workflowable, error)
Get gets a specific workflow. You can replace `workflow_id` with the workflowfile name. For example, you could use `main.yaml`.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a Workflowable when successful API method documentation
func (*ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) Runs ¶
func (m *ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) Runs() *ItemItemActionsWorkflowsItemRunsRequestBuilder
Runs the runs property returns a *ItemItemActionsWorkflowsItemRunsRequestBuilder when successful
func (*ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a specific workflow. You can replace `workflow_id` with the workflowfile name. For example, you could use `main.yaml`.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a *RequestInformation when successful
func (*ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemActionsWorkflowsWithWorkflow_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 *ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder when successful
type ItemItemAssigneesRequestBuilder ¶
type ItemItemAssigneesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemAssigneesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\assignees
func NewItemItemAssigneesRequestBuilder ¶
func NewItemItemAssigneesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemAssigneesRequestBuilder
NewItemItemAssigneesRequestBuilder instantiates a new ItemItemAssigneesRequestBuilder and sets the default values.
func NewItemItemAssigneesRequestBuilderInternal ¶
func NewItemItemAssigneesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemAssigneesRequestBuilder
NewItemItemAssigneesRequestBuilderInternal instantiates a new ItemItemAssigneesRequestBuilder and sets the default values.
func (*ItemItemAssigneesRequestBuilder) ByAssignee ¶
func (m *ItemItemAssigneesRequestBuilder) ByAssignee(assignee string) *ItemItemAssigneesWithAssigneeItemRequestBuilder
ByAssignee gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.assignees.item collection returns a *ItemItemAssigneesWithAssigneeItemRequestBuilder when successful
func (*ItemItemAssigneesRequestBuilder) Get ¶
func (m *ItemItemAssigneesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemAssigneesRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SimpleUserable, error)
Get lists the [available assignees](https://docs.github.com/enterprise-server@3.10/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository. returns a []SimpleUserable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemAssigneesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemAssigneesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemAssigneesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the [available assignees](https://docs.github.com/enterprise-server@3.10/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository. returns a *RequestInformation when successful
func (*ItemItemAssigneesRequestBuilder) WithUrl ¶
func (m *ItemItemAssigneesRequestBuilder) WithUrl(rawUrl string) *ItemItemAssigneesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemAssigneesRequestBuilder when successful
type ItemItemAssigneesRequestBuilderGetQueryParameters ¶
type ItemItemAssigneesRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemAssigneesRequestBuilderGetQueryParameters lists the [available assignees](https://docs.github.com/enterprise-server@3.10/articles/assigning-issues-and-pull-requests-to-other-github-users/) for issues in a repository.
type ItemItemAssigneesWithAssigneeItemRequestBuilder ¶
type ItemItemAssigneesWithAssigneeItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemAssigneesWithAssigneeItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\assignees\{assignee}
func NewItemItemAssigneesWithAssigneeItemRequestBuilder ¶
func NewItemItemAssigneesWithAssigneeItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemAssigneesWithAssigneeItemRequestBuilder
NewItemItemAssigneesWithAssigneeItemRequestBuilder instantiates a new ItemItemAssigneesWithAssigneeItemRequestBuilder and sets the default values.
func NewItemItemAssigneesWithAssigneeItemRequestBuilderInternal ¶
func NewItemItemAssigneesWithAssigneeItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemAssigneesWithAssigneeItemRequestBuilder
NewItemItemAssigneesWithAssigneeItemRequestBuilderInternal instantiates a new ItemItemAssigneesWithAssigneeItemRequestBuilder and sets the default values.
func (*ItemItemAssigneesWithAssigneeItemRequestBuilder) Get ¶
func (m *ItemItemAssigneesWithAssigneeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Get checks if a user has permission to be assigned to an issue in this repository.If the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.Otherwise a `404` status code is returned. returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemAssigneesWithAssigneeItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemAssigneesWithAssigneeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation checks if a user has permission to be assigned to an issue in this repository.If the `assignee` can be assigned to issues in the repository, a `204` header with no content is returned.Otherwise a `404` status code is returned. returns a *RequestInformation when successful
func (*ItemItemAssigneesWithAssigneeItemRequestBuilder) WithUrl ¶
func (m *ItemItemAssigneesWithAssigneeItemRequestBuilder) WithUrl(rawUrl string) *ItemItemAssigneesWithAssigneeItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemAssigneesWithAssigneeItemRequestBuilder when successful
type ItemItemAutolinksPostRequestBody ¶
type ItemItemAutolinksPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemAutolinksPostRequestBody ¶
func NewItemItemAutolinksPostRequestBody() *ItemItemAutolinksPostRequestBody
NewItemItemAutolinksPostRequestBody instantiates a new ItemItemAutolinksPostRequestBody and sets the default values.
func (*ItemItemAutolinksPostRequestBody) GetAdditionalData ¶
func (m *ItemItemAutolinksPostRequestBody) 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 (*ItemItemAutolinksPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemAutolinksPostRequestBody) 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 (*ItemItemAutolinksPostRequestBody) GetIsAlphanumeric ¶
func (m *ItemItemAutolinksPostRequestBody) GetIsAlphanumeric() *bool
GetIsAlphanumeric gets the is_alphanumeric property value. Whether this autolink reference matches alphanumeric characters. If true, the `<num>` parameter of the `url_template` matches alphanumeric characters `A-Z` (case insensitive), `0-9`, and `-`. If false, this autolink reference only matches numeric characters. returns a *bool when successful
func (*ItemItemAutolinksPostRequestBody) GetKeyPrefix ¶
func (m *ItemItemAutolinksPostRequestBody) GetKeyPrefix() *string
GetKeyPrefix gets the key_prefix property value. This prefix appended by certain characters will generate a link any time it is found in an issue, pull request, or commit. returns a *string when successful
func (*ItemItemAutolinksPostRequestBody) GetUrlTemplate ¶
func (m *ItemItemAutolinksPostRequestBody) GetUrlTemplate() *string
GetUrlTemplate gets the url_template property value. The URL must contain `<num>` for the reference number. `<num>` matches different characters depending on the value of `is_alphanumeric`. returns a *string when successful
func (*ItemItemAutolinksPostRequestBody) Serialize ¶
func (m *ItemItemAutolinksPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemAutolinksPostRequestBody) SetAdditionalData ¶
func (m *ItemItemAutolinksPostRequestBody) 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 (*ItemItemAutolinksPostRequestBody) SetIsAlphanumeric ¶
func (m *ItemItemAutolinksPostRequestBody) SetIsAlphanumeric(value *bool)
SetIsAlphanumeric sets the is_alphanumeric property value. Whether this autolink reference matches alphanumeric characters. If true, the `<num>` parameter of the `url_template` matches alphanumeric characters `A-Z` (case insensitive), `0-9`, and `-`. If false, this autolink reference only matches numeric characters.
func (*ItemItemAutolinksPostRequestBody) SetKeyPrefix ¶
func (m *ItemItemAutolinksPostRequestBody) SetKeyPrefix(value *string)
SetKeyPrefix sets the key_prefix property value. This prefix appended by certain characters will generate a link any time it is found in an issue, pull request, or commit.
func (*ItemItemAutolinksPostRequestBody) SetUrlTemplate ¶
func (m *ItemItemAutolinksPostRequestBody) SetUrlTemplate(value *string)
SetUrlTemplate sets the url_template property value. The URL must contain `<num>` for the reference number. `<num>` matches different characters depending on the value of `is_alphanumeric`.
type ItemItemAutolinksPostRequestBodyable ¶
type ItemItemAutolinksPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetIsAlphanumeric() *bool GetKeyPrefix() *string GetUrlTemplate() *string SetIsAlphanumeric(value *bool) SetKeyPrefix(value *string) SetUrlTemplate(value *string) }
type ItemItemAutolinksRequestBuilder ¶
type ItemItemAutolinksRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemAutolinksRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\autolinks
func NewItemItemAutolinksRequestBuilder ¶
func NewItemItemAutolinksRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemAutolinksRequestBuilder
NewItemItemAutolinksRequestBuilder instantiates a new ItemItemAutolinksRequestBuilder and sets the default values.
func NewItemItemAutolinksRequestBuilderInternal ¶
func NewItemItemAutolinksRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemAutolinksRequestBuilder
NewItemItemAutolinksRequestBuilderInternal instantiates a new ItemItemAutolinksRequestBuilder and sets the default values.
func (*ItemItemAutolinksRequestBuilder) ByAutolink_id ¶
func (m *ItemItemAutolinksRequestBuilder) ByAutolink_id(autolink_id int32) *ItemItemAutolinksWithAutolink_ItemRequestBuilder
ByAutolink_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.autolinks.item collection returns a *ItemItemAutolinksWithAutolink_ItemRequestBuilder when successful
func (*ItemItemAutolinksRequestBuilder) Get ¶
func (m *ItemItemAutolinksRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Autolinkable, error)
Get gets all autolinks that are configured for a repository.Information about autolinks are only available to repository administrators. returns a []Autolinkable when successful API method documentation
func (*ItemItemAutolinksRequestBuilder) Post ¶
func (m *ItemItemAutolinksRequestBuilder) Post(ctx context.Context, body ItemItemAutolinksPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Autolinkable, error)
Post users with admin access to the repository can create an autolink. returns a Autolinkable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemAutolinksRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemAutolinksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets all autolinks that are configured for a repository.Information about autolinks are only available to repository administrators. returns a *RequestInformation when successful
func (*ItemItemAutolinksRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemAutolinksRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemAutolinksPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation users with admin access to the repository can create an autolink. returns a *RequestInformation when successful
func (*ItemItemAutolinksRequestBuilder) WithUrl ¶
func (m *ItemItemAutolinksRequestBuilder) WithUrl(rawUrl string) *ItemItemAutolinksRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemAutolinksRequestBuilder when successful
type ItemItemAutolinksWithAutolink_ItemRequestBuilder ¶
type ItemItemAutolinksWithAutolink_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemAutolinksWithAutolink_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\autolinks\{autolink_id}
func NewItemItemAutolinksWithAutolink_ItemRequestBuilder ¶
func NewItemItemAutolinksWithAutolink_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemAutolinksWithAutolink_ItemRequestBuilder
NewItemItemAutolinksWithAutolink_ItemRequestBuilder instantiates a new ItemItemAutolinksWithAutolink_ItemRequestBuilder and sets the default values.
func NewItemItemAutolinksWithAutolink_ItemRequestBuilderInternal ¶
func NewItemItemAutolinksWithAutolink_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemAutolinksWithAutolink_ItemRequestBuilder
NewItemItemAutolinksWithAutolink_ItemRequestBuilderInternal instantiates a new ItemItemAutolinksWithAutolink_ItemRequestBuilder and sets the default values.
func (*ItemItemAutolinksWithAutolink_ItemRequestBuilder) Delete ¶
func (m *ItemItemAutolinksWithAutolink_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete this deletes a single autolink reference by ID that was configured for the given repository.Information about autolinks are only available to repository administrators. returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemAutolinksWithAutolink_ItemRequestBuilder) Get ¶
func (m *ItemItemAutolinksWithAutolink_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Autolinkable, error)
Get this returns a single autolink reference by ID that was configured for the given repository.Information about autolinks are only available to repository administrators. returns a Autolinkable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemAutolinksWithAutolink_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemAutolinksWithAutolink_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation this deletes a single autolink reference by ID that was configured for the given repository.Information about autolinks are only available to repository administrators. returns a *RequestInformation when successful
func (*ItemItemAutolinksWithAutolink_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemAutolinksWithAutolink_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation this returns a single autolink reference by ID that was configured for the given repository.Information about autolinks are only available to repository administrators. returns a *RequestInformation when successful
func (*ItemItemAutolinksWithAutolink_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemAutolinksWithAutolink_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemAutolinksWithAutolink_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 *ItemItemAutolinksWithAutolink_ItemRequestBuilder when successful
type ItemItemAutomatedSecurityFixesRequestBuilder ¶
type ItemItemAutomatedSecurityFixesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemAutomatedSecurityFixesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\automated-security-fixes
func NewItemItemAutomatedSecurityFixesRequestBuilder ¶
func NewItemItemAutomatedSecurityFixesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemAutomatedSecurityFixesRequestBuilder
NewItemItemAutomatedSecurityFixesRequestBuilder instantiates a new ItemItemAutomatedSecurityFixesRequestBuilder and sets the default values.
func NewItemItemAutomatedSecurityFixesRequestBuilderInternal ¶
func NewItemItemAutomatedSecurityFixesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemAutomatedSecurityFixesRequestBuilder
NewItemItemAutomatedSecurityFixesRequestBuilderInternal instantiates a new ItemItemAutomatedSecurityFixesRequestBuilder and sets the default values.
func (*ItemItemAutomatedSecurityFixesRequestBuilder) Get ¶
func (m *ItemItemAutomatedSecurityFixesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CheckAutomatedSecurityFixesable, error)
Get shows whether automated security fixes are enabled, disabled or paused for a repository. The authenticated user must have admin read access to the repository. For more information, see "[Configuring automated security fixes](https://docs.github.com/enterprise-server@3.10/articles/configuring-automated-security-fixes)". returns a CheckAutomatedSecurityFixesable when successful API method documentation
func (*ItemItemAutomatedSecurityFixesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemAutomatedSecurityFixesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation shows whether automated security fixes are enabled, disabled or paused for a repository. The authenticated user must have admin read access to the repository. For more information, see "[Configuring automated security fixes](https://docs.github.com/enterprise-server@3.10/articles/configuring-automated-security-fixes)". returns a *RequestInformation when successful
func (*ItemItemAutomatedSecurityFixesRequestBuilder) WithUrl ¶
func (m *ItemItemAutomatedSecurityFixesRequestBuilder) WithUrl(rawUrl string) *ItemItemAutomatedSecurityFixesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemAutomatedSecurityFixesRequestBuilder when successful
type ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder ¶
type ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\branches\{branch}\protection\enforce_admins
func NewItemItemBranchesItemProtectionEnforce_adminsRequestBuilder ¶
func NewItemItemBranchesItemProtectionEnforce_adminsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder
NewItemItemBranchesItemProtectionEnforce_adminsRequestBuilder instantiates a new ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder and sets the default values.
func NewItemItemBranchesItemProtectionEnforce_adminsRequestBuilderInternal ¶
func NewItemItemBranchesItemProtectionEnforce_adminsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder
NewItemItemBranchesItemProtectionEnforce_adminsRequestBuilderInternal instantiates a new ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder and sets the default values.
func (*ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder) Delete ¶
func (m *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Removing admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled. returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder) Get ¶
func (m *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ProtectedBranchAdminEnforcedable, error)
Get protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. returns a ProtectedBranchAdminEnforcedable when successful API method documentation
func (*ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder) Post ¶
func (m *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ProtectedBranchAdminEnforcedable, error)
Post protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled. returns a ProtectedBranchAdminEnforcedable when successful API method documentation
func (*ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Removing admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Adding admin enforcement requires admin or owner permissions to the repository and branch protection to be enabled. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder) WithUrl ¶
func (m *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder when successful
type ItemItemBranchesItemProtectionPutRequestBody ¶
type ItemItemBranchesItemProtectionPutRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemBranchesItemProtectionPutRequestBody ¶
func NewItemItemBranchesItemProtectionPutRequestBody() *ItemItemBranchesItemProtectionPutRequestBody
NewItemItemBranchesItemProtectionPutRequestBody instantiates a new ItemItemBranchesItemProtectionPutRequestBody and sets the default values.
func (*ItemItemBranchesItemProtectionPutRequestBody) GetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) 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 (*ItemItemBranchesItemProtectionPutRequestBody) GetAllowDeletions ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) GetAllowDeletions() *bool
GetAllowDeletions gets the allow_deletions property value. Allows deletion of the protected branch by anyone with write access to the repository. Set to `false` to prevent deletion of the protected branch. Default: `false`. For more information, see "[Enabling force pushes to a protected branch](https://docs.github.com/enterprise-server@3.10/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)" in the GitHub Help documentation. returns a *bool when successful
func (*ItemItemBranchesItemProtectionPutRequestBody) GetAllowForcePushes ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) GetAllowForcePushes() *bool
GetAllowForcePushes gets the allow_force_pushes property value. Permits force pushes to the protected branch by anyone with write access to the repository. Set to `true` to allow force pushes. Set to `false` or `null` to block force pushes. Default: `false`. For more information, see "[Enabling force pushes to a protected branch](https://docs.github.com/enterprise-server@3.10/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)" in the GitHub Help documentation." returns a *bool when successful
func (*ItemItemBranchesItemProtectionPutRequestBody) GetAllowForkSyncing ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) GetAllowForkSyncing() *bool
GetAllowForkSyncing gets the allow_fork_syncing property value. Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing. Default: `false`. returns a *bool when successful
func (*ItemItemBranchesItemProtectionPutRequestBody) GetBlockCreations ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) GetBlockCreations() *bool
GetBlockCreations gets the block_creations property value. If set to `true`, the `restrictions` branch protection settings which limits who can push will also block pushes which create new branches, unless the push is initiated by a user, team, or app which has the ability to push. Set to `true` to restrict new branch creation. Default: `false`. returns a *bool when successful
func (*ItemItemBranchesItemProtectionPutRequestBody) GetEnforceAdmins ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) GetEnforceAdmins() *bool
GetEnforceAdmins gets the enforce_admins property value. Enforce all configured restrictions for administrators. Set to `true` to enforce required status checks for repository administrators. Set to `null` to disable. returns a *bool when successful
func (*ItemItemBranchesItemProtectionPutRequestBody) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) 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 (*ItemItemBranchesItemProtectionPutRequestBody) GetLockBranch ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) GetLockBranch() *bool
GetLockBranch gets the lock_branch property value. Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. Default: `false`. returns a *bool when successful
func (*ItemItemBranchesItemProtectionPutRequestBody) GetRequiredConversationResolution ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) GetRequiredConversationResolution() *bool
GetRequiredConversationResolution gets the required_conversation_resolution property value. Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`. returns a *bool when successful
func (*ItemItemBranchesItemProtectionPutRequestBody) GetRequiredLinearHistory ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) GetRequiredLinearHistory() *bool
GetRequiredLinearHistory gets the required_linear_history property value. Enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. Set to `true` to enforce a linear commit history. Set to `false` to disable a linear commit Git history. Your repository must allow squash merging or rebase merging before you can enable a linear commit history. Default: `false`. For more information, see "[Requiring a linear commit history](https://docs.github.com/enterprise-server@3.10/github/administering-a-repository/requiring-a-linear-commit-history)" in the GitHub Help documentation. returns a *bool when successful
func (*ItemItemBranchesItemProtectionPutRequestBody) GetRequiredPullRequestReviews ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) GetRequiredPullRequestReviews() ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviewsable
GetRequiredPullRequestReviews gets the required_pull_request_reviews property value. Require at least one approving review on a pull request, before merging. Set to `null` to disable. returns a ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviewsable when successful
func (*ItemItemBranchesItemProtectionPutRequestBody) GetRequiredStatusChecks ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) GetRequiredStatusChecks() ItemItemBranchesItemProtectionPutRequestBody_required_status_checksable
GetRequiredStatusChecks gets the required_status_checks property value. Require status checks to pass before merging. Set to `null` to disable. returns a ItemItemBranchesItemProtectionPutRequestBody_required_status_checksable when successful
func (*ItemItemBranchesItemProtectionPutRequestBody) GetRestrictions ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) GetRestrictions() ItemItemBranchesItemProtectionPutRequestBody_restrictionsable
GetRestrictions gets the restrictions property value. Restrict who can push to the protected branch. User, app, and team `restrictions` are only available for organization-owned repositories. Set to `null` to disable. returns a ItemItemBranchesItemProtectionPutRequestBody_restrictionsable when successful
func (*ItemItemBranchesItemProtectionPutRequestBody) Serialize ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemProtectionPutRequestBody) SetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) 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 (*ItemItemBranchesItemProtectionPutRequestBody) SetAllowDeletions ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) SetAllowDeletions(value *bool)
SetAllowDeletions sets the allow_deletions property value. Allows deletion of the protected branch by anyone with write access to the repository. Set to `false` to prevent deletion of the protected branch. Default: `false`. For more information, see "[Enabling force pushes to a protected branch](https://docs.github.com/enterprise-server@3.10/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)" in the GitHub Help documentation.
func (*ItemItemBranchesItemProtectionPutRequestBody) SetAllowForcePushes ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) SetAllowForcePushes(value *bool)
SetAllowForcePushes sets the allow_force_pushes property value. Permits force pushes to the protected branch by anyone with write access to the repository. Set to `true` to allow force pushes. Set to `false` or `null` to block force pushes. Default: `false`. For more information, see "[Enabling force pushes to a protected branch](https://docs.github.com/enterprise-server@3.10/github/administering-a-repository/enabling-force-pushes-to-a-protected-branch)" in the GitHub Help documentation."
func (*ItemItemBranchesItemProtectionPutRequestBody) SetAllowForkSyncing ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) SetAllowForkSyncing(value *bool)
SetAllowForkSyncing sets the allow_fork_syncing property value. Whether users can pull changes from upstream when the branch is locked. Set to `true` to allow fork syncing. Set to `false` to prevent fork syncing. Default: `false`.
func (*ItemItemBranchesItemProtectionPutRequestBody) SetBlockCreations ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) SetBlockCreations(value *bool)
SetBlockCreations sets the block_creations property value. If set to `true`, the `restrictions` branch protection settings which limits who can push will also block pushes which create new branches, unless the push is initiated by a user, team, or app which has the ability to push. Set to `true` to restrict new branch creation. Default: `false`.
func (*ItemItemBranchesItemProtectionPutRequestBody) SetEnforceAdmins ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) SetEnforceAdmins(value *bool)
SetEnforceAdmins sets the enforce_admins property value. Enforce all configured restrictions for administrators. Set to `true` to enforce required status checks for repository administrators. Set to `null` to disable.
func (*ItemItemBranchesItemProtectionPutRequestBody) SetLockBranch ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) SetLockBranch(value *bool)
SetLockBranch sets the lock_branch property value. Whether to set the branch as read-only. If this is true, users will not be able to push to the branch. Default: `false`.
func (*ItemItemBranchesItemProtectionPutRequestBody) SetRequiredConversationResolution ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) SetRequiredConversationResolution(value *bool)
SetRequiredConversationResolution sets the required_conversation_resolution property value. Requires all conversations on code to be resolved before a pull request can be merged into a branch that matches this rule. Set to `false` to disable. Default: `false`.
func (*ItemItemBranchesItemProtectionPutRequestBody) SetRequiredLinearHistory ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) SetRequiredLinearHistory(value *bool)
SetRequiredLinearHistory sets the required_linear_history property value. Enforces a linear commit Git history, which prevents anyone from pushing merge commits to a branch. Set to `true` to enforce a linear commit history. Set to `false` to disable a linear commit Git history. Your repository must allow squash merging or rebase merging before you can enable a linear commit history. Default: `false`. For more information, see "[Requiring a linear commit history](https://docs.github.com/enterprise-server@3.10/github/administering-a-repository/requiring-a-linear-commit-history)" in the GitHub Help documentation.
func (*ItemItemBranchesItemProtectionPutRequestBody) SetRequiredPullRequestReviews ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) SetRequiredPullRequestReviews(value ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviewsable)
SetRequiredPullRequestReviews sets the required_pull_request_reviews property value. Require at least one approving review on a pull request, before merging. Set to `null` to disable.
func (*ItemItemBranchesItemProtectionPutRequestBody) SetRequiredStatusChecks ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) SetRequiredStatusChecks(value ItemItemBranchesItemProtectionPutRequestBody_required_status_checksable)
SetRequiredStatusChecks sets the required_status_checks property value. Require status checks to pass before merging. Set to `null` to disable.
func (*ItemItemBranchesItemProtectionPutRequestBody) SetRestrictions ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody) SetRestrictions(value ItemItemBranchesItemProtectionPutRequestBody_restrictionsable)
SetRestrictions sets the restrictions property value. Restrict who can push to the protected branch. User, app, and team `restrictions` are only available for organization-owned repositories. Set to `null` to disable.
type ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews ¶
type ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews struct {
// contains filtered or unexported fields
}
ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews require at least one approving review on a pull request, before merging. Set to `null` to disable.
func NewItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews ¶
func NewItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews() *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews
NewItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews instantiates a new ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews and sets the default values.
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) GetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) 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 (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) GetBypassPullRequestAllowances ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) GetBypassPullRequestAllowances() ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowancesable
GetBypassPullRequestAllowances gets the bypass_pull_request_allowances property value. Allow specific users, teams, or apps to bypass pull request requirements. returns a ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowancesable when successful
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) GetDismissStaleReviews ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) GetDismissStaleReviews() *bool
GetDismissStaleReviews gets the dismiss_stale_reviews property value. Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit. returns a *bool when successful
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) GetDismissalRestrictions ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) GetDismissalRestrictions() ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictionsable
GetDismissalRestrictions gets the dismissal_restrictions property value. Specify which users, teams, and apps can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories. returns a ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictionsable when successful
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) 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 (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) GetRequireCodeOwnerReviews ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) GetRequireCodeOwnerReviews() *bool
GetRequireCodeOwnerReviews gets the require_code_owner_reviews property value. Blocks merging pull requests until [code owners](https://docs.github.com/enterprise-server@3.10/articles/about-code-owners/) review them. returns a *bool when successful
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) GetRequireLastPushApproval ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) GetRequireLastPushApproval() *bool
GetRequireLastPushApproval gets the require_last_push_approval property value. Whether the most recent push must be approved by someone other than the person who pushed it. Default: `false`. returns a *bool when successful
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) GetRequiredApprovingReviewCount ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) GetRequiredApprovingReviewCount() *int32
GetRequiredApprovingReviewCount gets the required_approving_review_count property value. Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers. returns a *int32 when successful
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) Serialize ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) SetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) 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 (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) SetBypassPullRequestAllowances ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) SetBypassPullRequestAllowances(value ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowancesable)
SetBypassPullRequestAllowances sets the bypass_pull_request_allowances property value. Allow specific users, teams, or apps to bypass pull request requirements.
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) SetDismissStaleReviews ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) SetDismissStaleReviews(value *bool)
SetDismissStaleReviews sets the dismiss_stale_reviews property value. Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit.
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) SetDismissalRestrictions ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) SetDismissalRestrictions(value ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictionsable)
SetDismissalRestrictions sets the dismissal_restrictions property value. Specify which users, teams, and apps can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories.
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) SetRequireCodeOwnerReviews ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) SetRequireCodeOwnerReviews(value *bool)
SetRequireCodeOwnerReviews sets the require_code_owner_reviews property value. Blocks merging pull requests until [code owners](https://docs.github.com/enterprise-server@3.10/articles/about-code-owners/) review them.
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) SetRequireLastPushApproval ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) SetRequireLastPushApproval(value *bool)
SetRequireLastPushApproval sets the require_last_push_approval property value. Whether the most recent push must be approved by someone other than the person who pushed it. Default: `false`.
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) SetRequiredApprovingReviewCount ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) SetRequiredApprovingReviewCount(value *int32)
SetRequiredApprovingReviewCount sets the required_approving_review_count property value. Specify the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.
type ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances ¶
type ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances struct {
// contains filtered or unexported fields
}
ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances allow specific users, teams, or apps to bypass pull request requirements.
func NewItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances ¶
func NewItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances() *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances
NewItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances instantiates a new ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances and sets the default values.
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) GetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) 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 (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) GetApps ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) GetApps() []string
GetApps gets the apps property value. The list of app `slug`s allowed to bypass pull request requirements. returns a []string when successful
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) 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 (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) GetTeams ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) GetTeams() []string
GetTeams gets the teams property value. The list of team `slug`s allowed to bypass pull request requirements. returns a []string when successful
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) GetUsers ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) GetUsers() []string
GetUsers gets the users property value. The list of user `login`s allowed to bypass pull request requirements. returns a []string when successful
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) Serialize ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) SetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) 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 (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) SetApps ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) SetApps(value []string)
SetApps sets the apps property value. The list of app `slug`s allowed to bypass pull request requirements.
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) SetTeams ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) SetTeams(value []string)
SetTeams sets the teams property value. The list of team `slug`s allowed to bypass pull request requirements.
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) SetUsers ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) SetUsers(value []string)
SetUsers sets the users property value. The list of user `login`s allowed to bypass pull request requirements.
type ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowancesable ¶
type ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowancesable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetApps() []string GetTeams() []string GetUsers() []string SetApps(value []string) SetTeams(value []string) SetUsers(value []string) }
type ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions ¶
type ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions struct {
// contains filtered or unexported fields
}
ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions specify which users, teams, and apps can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories.
func NewItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions ¶
func NewItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions() *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions
NewItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions instantiates a new ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions and sets the default values.
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) GetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) 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 (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) GetApps ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) GetApps() []string
GetApps gets the apps property value. The list of app `slug`s with dismissal access returns a []string when successful
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) 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 (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) GetTeams ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) GetTeams() []string
GetTeams gets the teams property value. The list of team `slug`s with dismissal access returns a []string when successful
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) GetUsers ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) GetUsers() []string
GetUsers gets the users property value. The list of user `login`s with dismissal access returns a []string when successful
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) Serialize ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) SetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) 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 (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) SetApps ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) SetApps(value []string)
SetApps sets the apps property value. The list of app `slug`s with dismissal access
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) SetTeams ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) SetTeams(value []string)
SetTeams sets the teams property value. The list of team `slug`s with dismissal access
func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) SetUsers ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) SetUsers(value []string)
SetUsers sets the users property value. The list of user `login`s with dismissal access
type ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictionsable ¶
type ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictionsable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetApps() []string GetTeams() []string GetUsers() []string SetApps(value []string) SetTeams(value []string) SetUsers(value []string) }
type ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviewsable ¶
type ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviewsable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBypassPullRequestAllowances() ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowancesable GetDismissalRestrictions() ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictionsable GetDismissStaleReviews() *bool GetRequireCodeOwnerReviews() *bool GetRequiredApprovingReviewCount() *int32 GetRequireLastPushApproval() *bool SetBypassPullRequestAllowances(value ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowancesable) SetDismissalRestrictions(value ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictionsable) SetDismissStaleReviews(value *bool) SetRequireCodeOwnerReviews(value *bool) SetRequiredApprovingReviewCount(value *int32) SetRequireLastPushApproval(value *bool) }
type ItemItemBranchesItemProtectionPutRequestBody_required_status_checks ¶
type ItemItemBranchesItemProtectionPutRequestBody_required_status_checks struct {
// contains filtered or unexported fields
}
ItemItemBranchesItemProtectionPutRequestBody_required_status_checks require status checks to pass before merging. Set to `null` to disable.
func NewItemItemBranchesItemProtectionPutRequestBody_required_status_checks ¶
func NewItemItemBranchesItemProtectionPutRequestBody_required_status_checks() *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks
NewItemItemBranchesItemProtectionPutRequestBody_required_status_checks instantiates a new ItemItemBranchesItemProtectionPutRequestBody_required_status_checks and sets the default values.
func (*ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) GetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) 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 (*ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) GetChecks ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) GetChecks() []ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checksable
GetChecks gets the checks property value. The list of status checks to require in order to merge into this branch. returns a []ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checksable when successful
func (*ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) GetContexts ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) GetContexts() []string
GetContexts gets the contexts property value. **Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. Deprecated: returns a []string when successful
func (*ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) 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 (*ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) GetStrict ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) GetStrict() *bool
GetStrict gets the strict property value. Require branches to be up to date before merging. returns a *bool when successful
func (*ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) Serialize ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) SetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) 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 (*ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) SetChecks ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) SetChecks(value []ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checksable)
SetChecks sets the checks property value. The list of status checks to require in order to merge into this branch.
func (*ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) SetContexts ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) SetContexts(value []string)
SetContexts sets the contexts property value. **Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. Deprecated:
func (*ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) SetStrict ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) SetStrict(value *bool)
SetStrict sets the strict property value. Require branches to be up to date before merging.
type ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks ¶
type ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks struct {
// contains filtered or unexported fields
}
func NewItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks ¶
func NewItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks() *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks
NewItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks instantiates a new ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks and sets the default values.
func (*ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) GetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) 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 (*ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) GetAppId ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) GetAppId() *int32
GetAppId gets the app_id property value. The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status. returns a *int32 when successful
func (*ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) GetContext ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) GetContext() *string
GetContext gets the context property value. The name of the required check returns a *string when successful
func (*ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) 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 (*ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) Serialize ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) SetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) 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 (*ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) SetAppId ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) SetAppId(value *int32)
SetAppId sets the app_id property value. The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status.
func (*ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) SetContext ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) SetContext(value *string)
SetContext sets the context property value. The name of the required check
type ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checksable ¶
type ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checksable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAppId() *int32 GetContext() *string SetAppId(value *int32) SetContext(value *string) }
type ItemItemBranchesItemProtectionPutRequestBody_required_status_checksable ¶
type ItemItemBranchesItemProtectionPutRequestBody_required_status_checksable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetChecks() []ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checksable GetContexts() []string GetStrict() *bool SetChecks(value []ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checksable) SetContexts(value []string) SetStrict(value *bool) }
type ItemItemBranchesItemProtectionPutRequestBody_restrictions ¶
type ItemItemBranchesItemProtectionPutRequestBody_restrictions struct {
// contains filtered or unexported fields
}
ItemItemBranchesItemProtectionPutRequestBody_restrictions restrict who can push to the protected branch. User, app, and team `restrictions` are only available for organization-owned repositories. Set to `null` to disable.
func NewItemItemBranchesItemProtectionPutRequestBody_restrictions ¶
func NewItemItemBranchesItemProtectionPutRequestBody_restrictions() *ItemItemBranchesItemProtectionPutRequestBody_restrictions
NewItemItemBranchesItemProtectionPutRequestBody_restrictions instantiates a new ItemItemBranchesItemProtectionPutRequestBody_restrictions and sets the default values.
func (*ItemItemBranchesItemProtectionPutRequestBody_restrictions) GetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_restrictions) 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 (*ItemItemBranchesItemProtectionPutRequestBody_restrictions) GetApps ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_restrictions) GetApps() []string
GetApps gets the apps property value. The list of app `slug`s with push access returns a []string when successful
func (*ItemItemBranchesItemProtectionPutRequestBody_restrictions) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_restrictions) 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 (*ItemItemBranchesItemProtectionPutRequestBody_restrictions) GetTeams ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_restrictions) GetTeams() []string
GetTeams gets the teams property value. The list of team `slug`s with push access returns a []string when successful
func (*ItemItemBranchesItemProtectionPutRequestBody_restrictions) GetUsers ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_restrictions) GetUsers() []string
GetUsers gets the users property value. The list of user `login`s with push access returns a []string when successful
func (*ItemItemBranchesItemProtectionPutRequestBody_restrictions) Serialize ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_restrictions) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemProtectionPutRequestBody_restrictions) SetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_restrictions) 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 (*ItemItemBranchesItemProtectionPutRequestBody_restrictions) SetApps ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_restrictions) SetApps(value []string)
SetApps sets the apps property value. The list of app `slug`s with push access
func (*ItemItemBranchesItemProtectionPutRequestBody_restrictions) SetTeams ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_restrictions) SetTeams(value []string)
SetTeams sets the teams property value. The list of team `slug`s with push access
func (*ItemItemBranchesItemProtectionPutRequestBody_restrictions) SetUsers ¶
func (m *ItemItemBranchesItemProtectionPutRequestBody_restrictions) SetUsers(value []string)
SetUsers sets the users property value. The list of user `login`s with push access
type ItemItemBranchesItemProtectionPutRequestBody_restrictionsable ¶
type ItemItemBranchesItemProtectionPutRequestBody_restrictionsable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetApps() []string GetTeams() []string GetUsers() []string SetApps(value []string) SetTeams(value []string) SetUsers(value []string) }
type ItemItemBranchesItemProtectionPutRequestBodyable ¶
type ItemItemBranchesItemProtectionPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAllowDeletions() *bool GetAllowForcePushes() *bool GetAllowForkSyncing() *bool GetBlockCreations() *bool GetEnforceAdmins() *bool GetLockBranch() *bool GetRequiredConversationResolution() *bool GetRequiredLinearHistory() *bool GetRequiredPullRequestReviews() ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviewsable GetRequiredStatusChecks() ItemItemBranchesItemProtectionPutRequestBody_required_status_checksable GetRestrictions() ItemItemBranchesItemProtectionPutRequestBody_restrictionsable SetAllowDeletions(value *bool) SetAllowForcePushes(value *bool) SetAllowForkSyncing(value *bool) SetBlockCreations(value *bool) SetEnforceAdmins(value *bool) SetLockBranch(value *bool) SetRequiredConversationResolution(value *bool) SetRequiredLinearHistory(value *bool) SetRequiredPullRequestReviews(value ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviewsable) SetRequiredStatusChecks(value ItemItemBranchesItemProtectionPutRequestBody_required_status_checksable) SetRestrictions(value ItemItemBranchesItemProtectionPutRequestBody_restrictionsable) }
type ItemItemBranchesItemProtectionRequestBuilder ¶
type ItemItemBranchesItemProtectionRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemBranchesItemProtectionRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\branches\{branch}\protection
func NewItemItemBranchesItemProtectionRequestBuilder ¶
func NewItemItemBranchesItemProtectionRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesItemProtectionRequestBuilder
NewItemItemBranchesItemProtectionRequestBuilder instantiates a new ItemItemBranchesItemProtectionRequestBuilder and sets the default values.
func NewItemItemBranchesItemProtectionRequestBuilderInternal ¶
func NewItemItemBranchesItemProtectionRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesItemProtectionRequestBuilder
NewItemItemBranchesItemProtectionRequestBuilderInternal instantiates a new ItemItemBranchesItemProtectionRequestBuilder and sets the default values.
func (*ItemItemBranchesItemProtectionRequestBuilder) Delete ¶
func (m *ItemItemBranchesItemProtectionRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. returns a BasicError error when the service returns a 403 status code API method documentation
func (*ItemItemBranchesItemProtectionRequestBuilder) Enforce_admins ¶
func (m *ItemItemBranchesItemProtectionRequestBuilder) Enforce_admins() *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder
Enforce_admins the enforce_admins property returns a *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder when successful
func (*ItemItemBranchesItemProtectionRequestBuilder) Get ¶
func (m *ItemItemBranchesItemProtectionRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.BranchProtectionable, error)
Get protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. returns a BranchProtectionable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemBranchesItemProtectionRequestBuilder) Put ¶
func (m *ItemItemBranchesItemProtectionRequestBuilder) Put(ctx context.Context, body ItemItemBranchesItemProtectionPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ProtectedBranchable, error)
Put protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Protecting a branch requires admin or owner permissions to the repository.> [!NOTE]> Passing new arrays of `users` and `teams` replaces their previous values.> [!NOTE]> The list of users, apps, and teams in total is limited to 100 items. returns a ProtectedBranchable 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 ValidationErrorSimple error when the service returns a 422 status code API method documentation
func (*ItemItemBranchesItemProtectionRequestBuilder) Required_pull_request_reviews ¶
func (m *ItemItemBranchesItemProtectionRequestBuilder) Required_pull_request_reviews() *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder
Required_pull_request_reviews the required_pull_request_reviews property returns a *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder when successful
func (*ItemItemBranchesItemProtectionRequestBuilder) Required_signatures ¶
func (m *ItemItemBranchesItemProtectionRequestBuilder) Required_signatures() *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder
Required_signatures the required_signatures property returns a *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder when successful
func (*ItemItemBranchesItemProtectionRequestBuilder) Required_status_checks ¶
func (m *ItemItemBranchesItemProtectionRequestBuilder) Required_status_checks() *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder
Required_status_checks the required_status_checks property returns a *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder when successful
func (*ItemItemBranchesItemProtectionRequestBuilder) Restrictions ¶
func (m *ItemItemBranchesItemProtectionRequestBuilder) Restrictions() *ItemItemBranchesItemProtectionRestrictionsRequestBuilder
Restrictions the restrictions property returns a *ItemItemBranchesItemProtectionRestrictionsRequestBuilder when successful
func (*ItemItemBranchesItemProtectionRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemBranchesItemProtectionPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Protecting a branch requires admin or owner permissions to the repository.> [!NOTE]> Passing new arrays of `users` and `teams` replaces their previous values.> [!NOTE]> The list of users, apps, and teams in total is limited to 100 items. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRequestBuilder) WithUrl ¶
func (m *ItemItemBranchesItemProtectionRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesItemProtectionRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemBranchesItemProtectionRequestBuilder when successful
type ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody ¶
type ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody ¶
func NewItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody() *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody
NewItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody instantiates a new ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody and sets the default values.
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) GetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) 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 (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) GetBypassPullRequestAllowances ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) GetBypassPullRequestAllowances() ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowancesable
GetBypassPullRequestAllowances gets the bypass_pull_request_allowances property value. Allow specific users, teams, or apps to bypass pull request requirements. returns a ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowancesable when successful
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) GetDismissStaleReviews ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) GetDismissStaleReviews() *bool
GetDismissStaleReviews gets the dismiss_stale_reviews property value. Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit. returns a *bool when successful
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) GetDismissalRestrictions ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) GetDismissalRestrictions() ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictionsable
GetDismissalRestrictions gets the dismissal_restrictions property value. Specify which users, teams, and apps can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories. returns a ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictionsable when successful
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) 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 (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) GetRequireCodeOwnerReviews ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) GetRequireCodeOwnerReviews() *bool
GetRequireCodeOwnerReviews gets the require_code_owner_reviews property value. Blocks merging pull requests until [code owners](https://docs.github.com/enterprise-server@3.10/articles/about-code-owners/) have reviewed. returns a *bool when successful
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) GetRequireLastPushApproval ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) GetRequireLastPushApproval() *bool
GetRequireLastPushApproval gets the require_last_push_approval property value. Whether the most recent push must be approved by someone other than the person who pushed it. Default: `false` returns a *bool when successful
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) GetRequiredApprovingReviewCount ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) GetRequiredApprovingReviewCount() *int32
GetRequiredApprovingReviewCount gets the required_approving_review_count property value. Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers. returns a *int32 when successful
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) Serialize ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) SetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) 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 (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) SetBypassPullRequestAllowances ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) SetBypassPullRequestAllowances(value ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowancesable)
SetBypassPullRequestAllowances sets the bypass_pull_request_allowances property value. Allow specific users, teams, or apps to bypass pull request requirements.
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) SetDismissStaleReviews ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) SetDismissStaleReviews(value *bool)
SetDismissStaleReviews sets the dismiss_stale_reviews property value. Set to `true` if you want to automatically dismiss approving reviews when someone pushes a new commit.
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) SetDismissalRestrictions ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) SetDismissalRestrictions(value ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictionsable)
SetDismissalRestrictions sets the dismissal_restrictions property value. Specify which users, teams, and apps can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories.
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) SetRequireCodeOwnerReviews ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) SetRequireCodeOwnerReviews(value *bool)
SetRequireCodeOwnerReviews sets the require_code_owner_reviews property value. Blocks merging pull requests until [code owners](https://docs.github.com/enterprise-server@3.10/articles/about-code-owners/) have reviewed.
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) SetRequireLastPushApproval ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) SetRequireLastPushApproval(value *bool)
SetRequireLastPushApproval sets the require_last_push_approval property value. Whether the most recent push must be approved by someone other than the person who pushed it. Default: `false`
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) SetRequiredApprovingReviewCount ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) SetRequiredApprovingReviewCount(value *int32)
SetRequiredApprovingReviewCount sets the required_approving_review_count property value. Specifies the number of reviewers required to approve pull requests. Use a number between 1 and 6 or 0 to not require reviewers.
type ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances ¶
type ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances struct {
// contains filtered or unexported fields
}
ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances allow specific users, teams, or apps to bypass pull request requirements.
func NewItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances ¶
func NewItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances() *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances
NewItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances instantiates a new ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances and sets the default values.
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) GetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) 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 (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) GetApps ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) GetApps() []string
GetApps gets the apps property value. The list of app `slug`s allowed to bypass pull request requirements. returns a []string when successful
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) 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 (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) GetTeams ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) GetTeams() []string
GetTeams gets the teams property value. The list of team `slug`s allowed to bypass pull request requirements. returns a []string when successful
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) GetUsers ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) GetUsers() []string
GetUsers gets the users property value. The list of user `login`s allowed to bypass pull request requirements. returns a []string when successful
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) Serialize ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) SetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) 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 (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) SetApps ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) SetApps(value []string)
SetApps sets the apps property value. The list of app `slug`s allowed to bypass pull request requirements.
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) SetTeams ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) SetTeams(value []string)
SetTeams sets the teams property value. The list of team `slug`s allowed to bypass pull request requirements.
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) SetUsers ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) SetUsers(value []string)
SetUsers sets the users property value. The list of user `login`s allowed to bypass pull request requirements.
type ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowancesable ¶
type ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowancesable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetApps() []string GetTeams() []string GetUsers() []string SetApps(value []string) SetTeams(value []string) SetUsers(value []string) }
type ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions ¶
type ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions struct {
// contains filtered or unexported fields
}
ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions specify which users, teams, and apps can dismiss pull request reviews. Pass an empty `dismissal_restrictions` object to disable. User and team `dismissal_restrictions` are only available for organization-owned repositories. Omit this parameter for personal repositories.
func NewItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions ¶
func NewItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions() *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions
NewItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions instantiates a new ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions and sets the default values.
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) GetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) 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 (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) GetApps ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) GetApps() []string
GetApps gets the apps property value. The list of app `slug`s with dismissal access returns a []string when successful
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) 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 (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) GetTeams ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) GetTeams() []string
GetTeams gets the teams property value. The list of team `slug`s with dismissal access returns a []string when successful
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) GetUsers ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) GetUsers() []string
GetUsers gets the users property value. The list of user `login`s with dismissal access returns a []string when successful
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) Serialize ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) SetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) 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 (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) SetApps ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) SetApps(value []string)
SetApps sets the apps property value. The list of app `slug`s with dismissal access
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) SetTeams ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) SetTeams(value []string)
SetTeams sets the teams property value. The list of team `slug`s with dismissal access
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) SetUsers ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) SetUsers(value []string)
SetUsers sets the users property value. The list of user `login`s with dismissal access
type ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictionsable ¶
type ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictionsable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetApps() []string GetTeams() []string GetUsers() []string SetApps(value []string) SetTeams(value []string) SetUsers(value []string) }
type ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBodyable ¶
type ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBypassPullRequestAllowances() ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowancesable GetDismissalRestrictions() ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictionsable GetDismissStaleReviews() *bool GetRequireCodeOwnerReviews() *bool GetRequiredApprovingReviewCount() *int32 GetRequireLastPushApproval() *bool SetBypassPullRequestAllowances(value ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowancesable) SetDismissalRestrictions(value ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictionsable) SetDismissStaleReviews(value *bool) SetRequireCodeOwnerReviews(value *bool) SetRequiredApprovingReviewCount(value *int32) SetRequireLastPushApproval(value *bool) }
type ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder ¶
type ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\branches\{branch}\protection\required_pull_request_reviews
func NewItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder ¶
func NewItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder
NewItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder instantiates a new ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder and sets the default values.
func NewItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilderInternal ¶
func NewItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder
NewItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilderInternal instantiates a new ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder and sets the default values.
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder) Delete ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder) Get ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ProtectedBranchPullRequestReviewable, error)
Get protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. returns a ProtectedBranchPullRequestReviewable when successful API method documentation
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder) Patch ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder) Patch(ctx context.Context, body ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ProtectedBranchPullRequestReviewable, error)
Patch protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.> [!NOTE]> Passing new arrays of `users` and `teams` replaces their previous values. returns a ProtectedBranchPullRequestReviewable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Updating pull request review enforcement requires admin or owner permissions to the repository and branch protection to be enabled.> [!NOTE]> Passing new arrays of `users` and `teams` replaces their previous values. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder) WithUrl ¶
func (m *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder when successful
type ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder ¶
type ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\branches\{branch}\protection\required_signatures
func NewItemItemBranchesItemProtectionRequired_signaturesRequestBuilder ¶
func NewItemItemBranchesItemProtectionRequired_signaturesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder
NewItemItemBranchesItemProtectionRequired_signaturesRequestBuilder instantiates a new ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder and sets the default values.
func NewItemItemBranchesItemProtectionRequired_signaturesRequestBuilderInternal ¶
func NewItemItemBranchesItemProtectionRequired_signaturesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder
NewItemItemBranchesItemProtectionRequired_signaturesRequestBuilderInternal instantiates a new ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder and sets the default values.
func (*ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder) Delete ¶
func (m *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.When authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits. returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder) Get ¶
func (m *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ProtectedBranchAdminEnforcedable, error)
Get protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/enterprise-server@3.10/articles/signing-commits-with-gpg) in GitHub Help.> [!NOTE]> You must enable branch protection to require signed commits. returns a ProtectedBranchAdminEnforcedable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder) Post ¶
func (m *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ProtectedBranchAdminEnforcedable, error)
Post protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits. returns a ProtectedBranchAdminEnforcedable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.When authenticated with admin or owner permissions to the repository, you can use this endpoint to disable required signed commits on a branch. You must enable branch protection to require signed commits. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.When authenticated with admin or owner permissions to the repository, you can use this endpoint to check whether a branch requires signed commits. An enabled status of `true` indicates you must sign commits on this branch. For more information, see [Signing commits with GPG](https://docs.github.com/enterprise-server@3.10/articles/signing-commits-with-gpg) in GitHub Help.> [!NOTE]> You must enable branch protection to require signed commits. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.When authenticated with admin or owner permissions to the repository, you can use this endpoint to require signed commits on a branch. You must enable branch protection to require signed commits. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder) WithUrl ¶
func (m *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder when successful
type ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1 ¶
type ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1 struct {
// contains filtered or unexported fields
}
func NewItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1 ¶
func NewItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1() *ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1
NewItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1 instantiates a new ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1 and sets the default values.
func (*ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1) GetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1) GetContexts ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1) GetContexts() []string
GetContexts gets the contexts property value. The name of the status checks returns a []string when successful
func (*ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1) Serialize ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1) SetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1) SetContexts ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1) SetContexts(value []string)
SetContexts sets the contexts property value. The name of the status checks
type ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1able ¶
type ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetContexts() []string SetContexts(value []string) }
type ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1 ¶
type ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1 struct {
// contains filtered or unexported fields
}
func NewItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1 ¶
func NewItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1() *ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1
NewItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1 instantiates a new ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1 and sets the default values.
func (*ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1) GetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1) GetContexts ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1) GetContexts() []string
GetContexts gets the contexts property value. The name of the status checks returns a []string when successful
func (*ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1) Serialize ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1) SetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1) SetContexts ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1) SetContexts(value []string)
SetContexts sets the contexts property value. The name of the status checks
type ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1able ¶
type ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetContexts() []string SetContexts(value []string) }
type ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1 ¶
type ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1 struct {
// contains filtered or unexported fields
}
func NewItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1 ¶
func NewItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1() *ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1
NewItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1 instantiates a new ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1 and sets the default values.
func (*ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1) GetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1) GetContexts ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1) GetContexts() []string
GetContexts gets the contexts property value. The name of the status checks returns a []string when successful
func (*ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1) Serialize ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1) SetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1) SetContexts ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1) SetContexts(value []string)
SetContexts sets the contexts property value. The name of the status checks
type ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1able ¶
type ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetContexts() []string SetContexts(value []string) }
type ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder ¶
type ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\branches\{branch}\protection\required_status_checks\contexts
func NewItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder ¶
func NewItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder
NewItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder instantiates a new ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder and sets the default values.
func NewItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilderInternal ¶
func NewItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder
NewItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilderInternal instantiates a new ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder and sets the default values.
func (*ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) Delete ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) Delete(ctx context.Context, body ContextsDeleteRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]string, error)
Delete protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. returns a []string 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 (*ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) Get ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]string, error)
Get protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. returns a []string when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) Post ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) Post(ctx context.Context, body ContextsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]string, error)
Post protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. returns a []string 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 (*ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) Put ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) Put(ctx context.Context, body ContextsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]string, error)
Put protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. returns a []string 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 (*ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, body ContextsDeleteRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ContextsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ContextsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) WithUrl ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder when successful
type ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody ¶
type ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody ¶
func NewItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody() *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody
NewItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody instantiates a new ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody and sets the default values.
func (*ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) GetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) 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 (*ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) GetChecks ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) GetChecks() []ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checksable
GetChecks gets the checks property value. The list of status checks to require in order to merge into this branch. returns a []ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checksable when successful
func (*ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) GetContexts ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) GetContexts() []string
GetContexts gets the contexts property value. **Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. Deprecated: returns a []string when successful
func (*ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) 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 (*ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) GetStrict ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) GetStrict() *bool
GetStrict gets the strict property value. Require branches to be up to date before merging. returns a *bool when successful
func (*ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) Serialize ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) SetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) 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 (*ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) SetChecks ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) SetChecks(value []ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checksable)
SetChecks sets the checks property value. The list of status checks to require in order to merge into this branch.
func (*ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) SetContexts ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) SetContexts(value []string)
SetContexts sets the contexts property value. **Deprecated**: The list of status checks to require in order to merge into this branch. If any of these checks have recently been set by a particular GitHub App, they will be required to come from that app in future for the branch to merge. Use `checks` instead of `contexts` for more fine-grained control. Deprecated:
func (*ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) SetStrict ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) SetStrict(value *bool)
SetStrict sets the strict property value. Require branches to be up to date before merging.
type ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks ¶
type ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks struct {
// contains filtered or unexported fields
}
func NewItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks ¶
func NewItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks() *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks
NewItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks instantiates a new ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks and sets the default values.
func (*ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) GetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) 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 (*ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) GetAppId ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) GetAppId() *int32
GetAppId gets the app_id property value. The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status. returns a *int32 when successful
func (*ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) GetContext ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) GetContext() *string
GetContext gets the context property value. The name of the required check returns a *string when successful
func (*ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) 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 (*ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) Serialize ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) SetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) 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 (*ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) SetAppId ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) SetAppId(value *int32)
SetAppId sets the app_id property value. The ID of the GitHub App that must provide this check. Omit this field to automatically select the GitHub App that has recently provided this check, or any app if it was not set by a GitHub App. Pass -1 to explicitly allow any app to set the status.
func (*ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) SetContext ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) SetContext(value *string)
SetContext sets the context property value. The name of the required check
type ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checksable ¶
type ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checksable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAppId() *int32 GetContext() *string SetAppId(value *int32) SetContext(value *string) }
type ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBodyable ¶
type ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetChecks() []ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checksable GetContexts() []string GetStrict() *bool SetChecks(value []ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checksable) SetContexts(value []string) SetStrict(value *bool) }
type ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder ¶
type ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\branches\{branch}\protection\required_status_checks
func NewItemItemBranchesItemProtectionRequired_status_checksRequestBuilder ¶
func NewItemItemBranchesItemProtectionRequired_status_checksRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder
NewItemItemBranchesItemProtectionRequired_status_checksRequestBuilder instantiates a new ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder and sets the default values.
func NewItemItemBranchesItemProtectionRequired_status_checksRequestBuilderInternal ¶
func NewItemItemBranchesItemProtectionRequired_status_checksRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder
NewItemItemBranchesItemProtectionRequired_status_checksRequestBuilderInternal instantiates a new ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder and sets the default values.
func (*ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) Contexts ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) Contexts() *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder
Contexts the contexts property returns a *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder when successful
func (*ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) Delete ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. API method documentation
func (*ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) Get ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.StatusCheckPolicyable, error)
Get protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. returns a StatusCheckPolicyable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) Patch ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) Patch(ctx context.Context, body ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.StatusCheckPolicyable, error)
Patch protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled. returns a StatusCheckPolicyable 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 (*ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Updating required status checks requires admin or owner permissions to the repository and branch protection to be enabled. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) WithUrl ¶
func (m *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder when successful
type ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1 ¶
type ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1 struct {
// contains filtered or unexported fields
}
func NewItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1 ¶
func NewItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1() *ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1
NewItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1 instantiates a new ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1 and sets the default values.
func (*ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1) GetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1) GetApps ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1) GetApps() []string
GetApps gets the apps property value. The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. returns a []string when successful
func (*ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1) Serialize ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1) SetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1) SetApps ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1) SetApps(value []string)
SetApps sets the apps property value. The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items.
type ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1able ¶
type ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetApps() []string SetApps(value []string) }
type ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1 ¶
type ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1 struct {
// contains filtered or unexported fields
}
func NewItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1 ¶
func NewItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1() *ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1
NewItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1 instantiates a new ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1 and sets the default values.
func (*ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1) GetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1) GetApps ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1) GetApps() []string
GetApps gets the apps property value. The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. returns a []string when successful
func (*ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1) Serialize ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1) SetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1) SetApps ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1) SetApps(value []string)
SetApps sets the apps property value. The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items.
type ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1able ¶
type ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetApps() []string SetApps(value []string) }
type ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1 ¶
type ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1 struct {
// contains filtered or unexported fields
}
func NewItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1 ¶
func NewItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1() *ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1
NewItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1 instantiates a new ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1 and sets the default values.
func (*ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1) GetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1) GetApps ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1) GetApps() []string
GetApps gets the apps property value. The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items. returns a []string when successful
func (*ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1) Serialize ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1) SetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1) SetApps ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1) SetApps(value []string)
SetApps sets the apps property value. The GitHub Apps that have push access to this branch. Use the slugified version of the app name. **Note**: The list of users, apps, and teams in total is limited to 100 items.
type ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1able ¶
type ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetApps() []string SetApps(value []string) }
type ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder ¶
type ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\branches\{branch}\protection\restrictions\apps
func NewItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder ¶
func NewItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder
NewItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder instantiates a new ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder and sets the default values.
func NewItemItemBranchesItemProtectionRestrictionsAppsRequestBuilderInternal ¶
func NewItemItemBranchesItemProtectionRestrictionsAppsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder
NewItemItemBranchesItemProtectionRestrictionsAppsRequestBuilderInternal instantiates a new ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder and sets the default values.
func (*ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) Delete ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) Delete(ctx context.Context, body AppsDeleteRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Integrationable, error)
Delete protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Removes the ability of an app to push to this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch. returns a []Integrationable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) Get ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Integrationable, error)
Get protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Lists the GitHub Apps that have push access to this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch. returns a []Integrationable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) Post ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) Post(ctx context.Context, body AppsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Integrationable, error)
Post protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Grants the specified apps push access for this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch. returns a []Integrationable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) Put ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) Put(ctx context.Context, body AppsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Integrationable, error)
Put protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch. returns a []Integrationable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, body AppsDeleteRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Removes the ability of an app to push to this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Lists the GitHub Apps that have push access to this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) ToPostRequestInformation(ctx context.Context, body AppsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Grants the specified apps push access for this branch. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) ToPutRequestInformation(ctx context.Context, body AppsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Replaces the list of apps that have push access to this branch. This removes all apps that previously had push access and grants push access to the new list of apps. Only GitHub Apps that are installed on the repository and that have been granted write access to the repository contents can be added as authorized actors on a protected branch. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) WithUrl ¶
func (m *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder when successful
type ItemItemBranchesItemProtectionRestrictionsRequestBuilder ¶
type ItemItemBranchesItemProtectionRestrictionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemBranchesItemProtectionRestrictionsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\branches\{branch}\protection\restrictions
func NewItemItemBranchesItemProtectionRestrictionsRequestBuilder ¶
func NewItemItemBranchesItemProtectionRestrictionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesItemProtectionRestrictionsRequestBuilder
NewItemItemBranchesItemProtectionRestrictionsRequestBuilder instantiates a new ItemItemBranchesItemProtectionRestrictionsRequestBuilder and sets the default values.
func NewItemItemBranchesItemProtectionRestrictionsRequestBuilderInternal ¶
func NewItemItemBranchesItemProtectionRestrictionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesItemProtectionRestrictionsRequestBuilder
NewItemItemBranchesItemProtectionRestrictionsRequestBuilderInternal instantiates a new ItemItemBranchesItemProtectionRestrictionsRequestBuilder and sets the default values.
func (*ItemItemBranchesItemProtectionRestrictionsRequestBuilder) Apps ¶
func (m *ItemItemBranchesItemProtectionRestrictionsRequestBuilder) Apps() *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder
Apps the apps property returns a *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder when successful
func (*ItemItemBranchesItemProtectionRestrictionsRequestBuilder) Delete ¶
func (m *ItemItemBranchesItemProtectionRestrictionsRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Disables the ability to restrict who can push to this branch. API method documentation
func (*ItemItemBranchesItemProtectionRestrictionsRequestBuilder) Get ¶
func (m *ItemItemBranchesItemProtectionRestrictionsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.BranchRestrictionPolicyable, error)
Get protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Lists who has access to this protected branch.> [!NOTE]> Users, apps, and teams `restrictions` are only available for organization-owned repositories. returns a BranchRestrictionPolicyable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemBranchesItemProtectionRestrictionsRequestBuilder) Teams ¶
func (m *ItemItemBranchesItemProtectionRestrictionsRequestBuilder) Teams() *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder
Teams the teams property returns a *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder when successful
func (*ItemItemBranchesItemProtectionRestrictionsRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRestrictionsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Disables the ability to restrict who can push to this branch. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRestrictionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRestrictionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Lists who has access to this protected branch.> [!NOTE]> Users, apps, and teams `restrictions` are only available for organization-owned repositories. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRestrictionsRequestBuilder) Users ¶
func (m *ItemItemBranchesItemProtectionRestrictionsRequestBuilder) Users() *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder
Users the users property returns a *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder when successful
func (*ItemItemBranchesItemProtectionRestrictionsRequestBuilder) WithUrl ¶
func (m *ItemItemBranchesItemProtectionRestrictionsRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesItemProtectionRestrictionsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemBranchesItemProtectionRestrictionsRequestBuilder when successful
type ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1 ¶
type ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1 struct {
// contains filtered or unexported fields
}
func NewItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1 ¶
func NewItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1() *ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1
NewItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1 instantiates a new ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1 and sets the default values.
func (*ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1) GetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1) GetTeams ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1) GetTeams() []string
GetTeams gets the teams property value. The slug values for teams returns a []string when successful
func (*ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1) Serialize ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1) SetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1) SetTeams ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1) SetTeams(value []string)
SetTeams sets the teams property value. The slug values for teams
type ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1able ¶
type ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetTeams() []string SetTeams(value []string) }
type ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1 ¶
type ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1 struct {
// contains filtered or unexported fields
}
func NewItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1 ¶
func NewItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1() *ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1
NewItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1 instantiates a new ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1 and sets the default values.
func (*ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1) GetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1) GetTeams ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1) GetTeams() []string
GetTeams gets the teams property value. The slug values for teams returns a []string when successful
func (*ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1) Serialize ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1) SetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1) SetTeams ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1) SetTeams(value []string)
SetTeams sets the teams property value. The slug values for teams
type ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1able ¶
type ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetTeams() []string SetTeams(value []string) }
type ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1 ¶
type ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1 struct {
// contains filtered or unexported fields
}
func NewItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1 ¶
func NewItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1() *ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1
NewItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1 instantiates a new ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1 and sets the default values.
func (*ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1) GetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1) GetTeams ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1) GetTeams() []string
GetTeams gets the teams property value. The slug values for teams returns a []string when successful
func (*ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1) Serialize ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1) SetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1) SetTeams ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1) SetTeams(value []string)
SetTeams sets the teams property value. The slug values for teams
type ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1able ¶
type ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetTeams() []string SetTeams(value []string) }
type ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder ¶
type ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\branches\{branch}\protection\restrictions\teams
func NewItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder ¶
func NewItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder
NewItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder instantiates a new ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder and sets the default values.
func NewItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilderInternal ¶
func NewItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder
NewItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilderInternal instantiates a new ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder and sets the default values.
func (*ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) Delete ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) Delete(ctx context.Context, body TeamsDeleteRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Teamable, error)
Delete protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Removes the ability of a team to push to this branch. You can also remove push access for child teams. returns a []Teamable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) Get ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Teamable, error)
Get protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Lists the teams who have push access to this branch. The list includes child teams. returns a []Teamable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) Post ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) Post(ctx context.Context, body TeamsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Teamable, error)
Post protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Grants the specified teams push access for this branch. You can also give push access to child teams. returns a []Teamable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) Put ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) Put(ctx context.Context, body TeamsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Teamable, error)
Put protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams. returns a []Teamable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, body TeamsDeleteRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Removes the ability of a team to push to this branch. You can also remove push access for child teams. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Lists the teams who have push access to this branch. The list includes child teams. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) ToPostRequestInformation(ctx context.Context, body TeamsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Grants the specified teams push access for this branch. You can also give push access to child teams. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) ToPutRequestInformation(ctx context.Context, body TeamsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Replaces the list of teams that have push access to this branch. This removes all teams that previously had push access and grants push access to the new list of teams. Team restrictions include child teams. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) WithUrl ¶
func (m *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder when successful
type ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1 ¶
type ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1 struct {
// contains filtered or unexported fields
}
func NewItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1 ¶
func NewItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1() *ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1
NewItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1 instantiates a new ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1 and sets the default values.
func (*ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1) GetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1) GetUsers ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1) GetUsers() []string
GetUsers gets the users property value. The username for users returns a []string when successful
func (*ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1) Serialize ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1) SetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1) SetUsers ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1) SetUsers(value []string)
SetUsers sets the users property value. The username for users
type ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1able ¶
type ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetUsers() []string SetUsers(value []string) }
type ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1 ¶
type ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1 struct {
// contains filtered or unexported fields
}
func NewItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1 ¶
func NewItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1() *ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1
NewItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1 instantiates a new ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1 and sets the default values.
func (*ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1) GetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1) GetUsers ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1) GetUsers() []string
GetUsers gets the users property value. The username for users returns a []string when successful
func (*ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1) Serialize ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1) SetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1) SetUsers ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1) SetUsers(value []string)
SetUsers sets the users property value. The username for users
type ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1able ¶
type ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetUsers() []string SetUsers(value []string) }
type ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1 ¶
type ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1 struct {
// contains filtered or unexported fields
}
func NewItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1 ¶
func NewItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1() *ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1
NewItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1 instantiates a new ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1 and sets the default values.
func (*ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1) GetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1) GetUsers ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1) GetUsers() []string
GetUsers gets the users property value. The username for users returns a []string when successful
func (*ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1) Serialize ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1) SetAdditionalData ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1) 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 (*ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1) SetUsers ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1) SetUsers(value []string)
SetUsers sets the users property value. The username for users
type ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1able ¶
type ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetUsers() []string SetUsers(value []string) }
type ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder ¶
type ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\branches\{branch}\protection\restrictions\users
func NewItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder ¶
func NewItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder
NewItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder instantiates a new ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder and sets the default values.
func NewItemItemBranchesItemProtectionRestrictionsUsersRequestBuilderInternal ¶
func NewItemItemBranchesItemProtectionRestrictionsUsersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder
NewItemItemBranchesItemProtectionRestrictionsUsersRequestBuilderInternal instantiates a new ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder and sets the default values.
func (*ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) Delete ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) Delete(ctx context.Context, body UsersDeleteRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SimpleUserable, error)
Delete protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Removes the ability of a user to push to this branch.| Type | Description || ------- | --------------------------------------------------------------------------------------------------------------------------------------------- || `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | returns a []SimpleUserable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) Get ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SimpleUserable, error)
Get protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Lists the people who have push access to this branch. returns a []SimpleUserable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) Post ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) Post(ctx context.Context, body UsersPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SimpleUserable, error)
Post protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Grants the specified people push access for this branch.| Type | Description || ------- | ----------------------------------------------------------------------------------------------------------------------------- || `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | returns a []SimpleUserable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) Put ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) Put(ctx context.Context, body UsersPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SimpleUserable, error)
Put protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.| Type | Description || ------- | ----------------------------------------------------------------------------------------------------------------------------- || `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | returns a []SimpleUserable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) ToDeleteRequestInformation(ctx context.Context, body UsersDeleteRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Removes the ability of a user to push to this branch.| Type | Description || ------- | --------------------------------------------------------------------------------------------------------------------------------------------- || `array` | Usernames of the people who should no longer have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Lists the people who have push access to this branch. returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) ToPostRequestInformation(ctx context.Context, body UsersPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Grants the specified people push access for this branch.| Type | Description || ------- | ----------------------------------------------------------------------------------------------------------------------------- || `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) ToPutRequestInformation(ctx context.Context, body UsersPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Replaces the list of people that have push access to this branch. This removes all people that previously had push access and grants push access to the new list of people.| Type | Description || ------- | ----------------------------------------------------------------------------------------------------------------------------- || `array` | Usernames for people who can have push access. **Note**: The list of users, apps, and teams in total is limited to 100 items. | returns a *RequestInformation when successful
func (*ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) WithUrl ¶
func (m *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder when successful
type ItemItemBranchesItemRenamePostRequestBody ¶
type ItemItemBranchesItemRenamePostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemBranchesItemRenamePostRequestBody ¶
func NewItemItemBranchesItemRenamePostRequestBody() *ItemItemBranchesItemRenamePostRequestBody
NewItemItemBranchesItemRenamePostRequestBody instantiates a new ItemItemBranchesItemRenamePostRequestBody and sets the default values.
func (*ItemItemBranchesItemRenamePostRequestBody) GetAdditionalData ¶
func (m *ItemItemBranchesItemRenamePostRequestBody) 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 (*ItemItemBranchesItemRenamePostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemBranchesItemRenamePostRequestBody) 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 (*ItemItemBranchesItemRenamePostRequestBody) GetNewName ¶
func (m *ItemItemBranchesItemRenamePostRequestBody) GetNewName() *string
GetNewName gets the new_name property value. The new name of the branch. returns a *string when successful
func (*ItemItemBranchesItemRenamePostRequestBody) Serialize ¶
func (m *ItemItemBranchesItemRenamePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemBranchesItemRenamePostRequestBody) SetAdditionalData ¶
func (m *ItemItemBranchesItemRenamePostRequestBody) 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 (*ItemItemBranchesItemRenamePostRequestBody) SetNewName ¶
func (m *ItemItemBranchesItemRenamePostRequestBody) SetNewName(value *string)
SetNewName sets the new_name property value. The new name of the branch.
type ItemItemBranchesItemRenamePostRequestBodyable ¶
type ItemItemBranchesItemRenamePostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetNewName() *string SetNewName(value *string) }
type ItemItemBranchesItemRenameRequestBuilder ¶
type ItemItemBranchesItemRenameRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemBranchesItemRenameRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\branches\{branch}\rename
func NewItemItemBranchesItemRenameRequestBuilder ¶
func NewItemItemBranchesItemRenameRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesItemRenameRequestBuilder
NewItemItemBranchesItemRenameRequestBuilder instantiates a new ItemItemBranchesItemRenameRequestBuilder and sets the default values.
func NewItemItemBranchesItemRenameRequestBuilderInternal ¶
func NewItemItemBranchesItemRenameRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesItemRenameRequestBuilder
NewItemItemBranchesItemRenameRequestBuilderInternal instantiates a new ItemItemBranchesItemRenameRequestBuilder and sets the default values.
func (*ItemItemBranchesItemRenameRequestBuilder) Post ¶
func (m *ItemItemBranchesItemRenameRequestBuilder) Post(ctx context.Context, body ItemItemBranchesItemRenamePostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.BranchWithProtectionable, error)
Post renames a branch in a repository.> [!NOTE]> Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/enterprise-server@3.10/github/administering-a-repository/renaming-a-branch)".The authenticated user must have push access to the branch. If the branch is the default branch, the authenticated user must also have admin or owner permissions.In order to rename the default branch, fine-grained access tokens also need the `administration:write` repository permission. returns a BranchWithProtectionable 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 (*ItemItemBranchesItemRenameRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemBranchesItemRenameRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemBranchesItemRenamePostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation renames a branch in a repository.> [!NOTE]> Although the API responds immediately, the branch rename process might take some extra time to complete in the background. You won't be able to push to the old branch name while the rename process is in progress. For more information, see "[Renaming a branch](https://docs.github.com/enterprise-server@3.10/github/administering-a-repository/renaming-a-branch)".The authenticated user must have push access to the branch. If the branch is the default branch, the authenticated user must also have admin or owner permissions.In order to rename the default branch, fine-grained access tokens also need the `administration:write` repository permission. returns a *RequestInformation when successful
func (*ItemItemBranchesItemRenameRequestBuilder) WithUrl ¶
func (m *ItemItemBranchesItemRenameRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesItemRenameRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemBranchesItemRenameRequestBuilder when successful
type ItemItemBranchesRequestBuilder ¶
type ItemItemBranchesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemBranchesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\branches
func NewItemItemBranchesRequestBuilder ¶
func NewItemItemBranchesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesRequestBuilder
NewItemItemBranchesRequestBuilder instantiates a new ItemItemBranchesRequestBuilder and sets the default values.
func NewItemItemBranchesRequestBuilderInternal ¶
func NewItemItemBranchesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesRequestBuilder
NewItemItemBranchesRequestBuilderInternal instantiates a new ItemItemBranchesRequestBuilder and sets the default values.
func (*ItemItemBranchesRequestBuilder) ByBranch ¶
func (m *ItemItemBranchesRequestBuilder) ByBranch(branch string) *ItemItemBranchesWithBranchItemRequestBuilder
ByBranch gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.branches.item collection returns a *ItemItemBranchesWithBranchItemRequestBuilder when successful
func (*ItemItemBranchesRequestBuilder) Get ¶
func (m *ItemItemBranchesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemBranchesRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ShortBranchable, error)
Get list branches returns a []ShortBranchable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemBranchesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemBranchesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemBranchesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*ItemItemBranchesRequestBuilder) WithUrl ¶
func (m *ItemItemBranchesRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemBranchesRequestBuilder when successful
type ItemItemBranchesRequestBuilderGetQueryParameters ¶
type ItemItemBranchesRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // Setting to `true` returns only protected branches. When set to `false`, only unprotected branches are returned. Omitting this parameter returns all branches. Protected *bool `uriparametername:"protected"` }
ItemItemBranchesRequestBuilderGetQueryParameters list branches
type ItemItemBranchesWithBranchItemRequestBuilder ¶
type ItemItemBranchesWithBranchItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemBranchesWithBranchItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\branches\{branch}
func NewItemItemBranchesWithBranchItemRequestBuilder ¶
func NewItemItemBranchesWithBranchItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesWithBranchItemRequestBuilder
NewItemItemBranchesWithBranchItemRequestBuilder instantiates a new ItemItemBranchesWithBranchItemRequestBuilder and sets the default values.
func NewItemItemBranchesWithBranchItemRequestBuilderInternal ¶
func NewItemItemBranchesWithBranchItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemBranchesWithBranchItemRequestBuilder
NewItemItemBranchesWithBranchItemRequestBuilderInternal instantiates a new ItemItemBranchesWithBranchItemRequestBuilder and sets the default values.
func (*ItemItemBranchesWithBranchItemRequestBuilder) Get ¶
func (m *ItemItemBranchesWithBranchItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.BranchWithProtectionable, error)
Get get a branch returns a BranchWithProtectionable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemBranchesWithBranchItemRequestBuilder) Protection ¶
func (m *ItemItemBranchesWithBranchItemRequestBuilder) Protection() *ItemItemBranchesItemProtectionRequestBuilder
Protection the protection property returns a *ItemItemBranchesItemProtectionRequestBuilder when successful
func (*ItemItemBranchesWithBranchItemRequestBuilder) Rename ¶
func (m *ItemItemBranchesWithBranchItemRequestBuilder) Rename() *ItemItemBranchesItemRenameRequestBuilder
Rename the rename property returns a *ItemItemBranchesItemRenameRequestBuilder when successful
func (*ItemItemBranchesWithBranchItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemBranchesWithBranchItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*ItemItemBranchesWithBranchItemRequestBuilder) WithUrl ¶
func (m *ItemItemBranchesWithBranchItemRequestBuilder) WithUrl(rawUrl string) *ItemItemBranchesWithBranchItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemBranchesWithBranchItemRequestBuilder when successful
type ItemItemCheckRunsItemAnnotationsRequestBuilder ¶
type ItemItemCheckRunsItemAnnotationsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCheckRunsItemAnnotationsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\check-runs\{check_run_id}\annotations
func NewItemItemCheckRunsItemAnnotationsRequestBuilder ¶
func NewItemItemCheckRunsItemAnnotationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCheckRunsItemAnnotationsRequestBuilder
NewItemItemCheckRunsItemAnnotationsRequestBuilder instantiates a new ItemItemCheckRunsItemAnnotationsRequestBuilder and sets the default values.
func NewItemItemCheckRunsItemAnnotationsRequestBuilderInternal ¶
func NewItemItemCheckRunsItemAnnotationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCheckRunsItemAnnotationsRequestBuilder
NewItemItemCheckRunsItemAnnotationsRequestBuilderInternal instantiates a new ItemItemCheckRunsItemAnnotationsRequestBuilder and sets the default values.
func (*ItemItemCheckRunsItemAnnotationsRequestBuilder) Get ¶
func (m *ItemItemCheckRunsItemAnnotationsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCheckRunsItemAnnotationsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CheckAnnotationable, error)
Get lists annotations for a check run using the annotation `id`.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. returns a []CheckAnnotationable when successful API method documentation
func (*ItemItemCheckRunsItemAnnotationsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCheckRunsItemAnnotationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCheckRunsItemAnnotationsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists annotations for a check run using the annotation `id`.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. returns a *RequestInformation when successful
func (*ItemItemCheckRunsItemAnnotationsRequestBuilder) WithUrl ¶
func (m *ItemItemCheckRunsItemAnnotationsRequestBuilder) WithUrl(rawUrl string) *ItemItemCheckRunsItemAnnotationsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCheckRunsItemAnnotationsRequestBuilder when successful
type ItemItemCheckRunsItemAnnotationsRequestBuilderGetQueryParameters ¶
type ItemItemCheckRunsItemAnnotationsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemCheckRunsItemAnnotationsRequestBuilderGetQueryParameters lists annotations for a check run using the annotation `id`.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository.
type ItemItemCheckRunsItemRerequestRequestBuilder ¶
type ItemItemCheckRunsItemRerequestRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCheckRunsItemRerequestRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\check-runs\{check_run_id}\rerequest
func NewItemItemCheckRunsItemRerequestRequestBuilder ¶
func NewItemItemCheckRunsItemRerequestRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCheckRunsItemRerequestRequestBuilder
NewItemItemCheckRunsItemRerequestRequestBuilder instantiates a new ItemItemCheckRunsItemRerequestRequestBuilder and sets the default values.
func NewItemItemCheckRunsItemRerequestRequestBuilderInternal ¶
func NewItemItemCheckRunsItemRerequestRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCheckRunsItemRerequestRequestBuilder
NewItemItemCheckRunsItemRerequestRequestBuilderInternal instantiates a new ItemItemCheckRunsItemRerequestRequestBuilder and sets the default values.
func (*ItemItemCheckRunsItemRerequestRequestBuilder) Post ¶
func (m *ItemItemCheckRunsItemRerequestRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EmptyObjectable, error)
Post triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-server@3.10/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.For more information about how to re-run GitHub Actions jobs, see "[Re-run a job from a workflow run](https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)".OAuth apps and personal access tokens (classic) cannot use this endpoint. returns a EmptyObjectable 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 BasicError error when the service returns a 422 status code API method documentation
func (*ItemItemCheckRunsItemRerequestRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemCheckRunsItemRerequestRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-server@3.10/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.For more information about how to re-run GitHub Actions jobs, see "[Re-run a job from a workflow run](https://docs.github.com/enterprise-server@3.10/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)".OAuth apps and personal access tokens (classic) cannot use this endpoint. returns a *RequestInformation when successful
func (*ItemItemCheckRunsItemRerequestRequestBuilder) WithUrl ¶
func (m *ItemItemCheckRunsItemRerequestRequestBuilder) WithUrl(rawUrl string) *ItemItemCheckRunsItemRerequestRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCheckRunsItemRerequestRequestBuilder when successful
type ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1 ¶
type ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1 struct {
// contains filtered or unexported fields
}
func NewItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1 ¶
func NewItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1() *ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1
NewItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1 instantiates a new ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1 and sets the default values.
func (*ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1) GetAdditionalData ¶
func (m *ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1) 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 (*ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1) GetFieldDeserializers ¶
func (m *ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1) 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 (*ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1) Serialize ¶
func (m *ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1) SetAdditionalData ¶
func (m *ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1) 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 ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1able ¶
type ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2 ¶
type ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2 struct {
// contains filtered or unexported fields
}
func NewItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2 ¶
func NewItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2() *ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2
NewItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2 instantiates a new ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2 and sets the default values.
func (*ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2) GetAdditionalData ¶
func (m *ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2) 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 (*ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2) GetFieldDeserializers ¶
func (m *ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2) 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 (*ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2) Serialize ¶
func (m *ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2) SetAdditionalData ¶
func (m *ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2) 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 ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2able ¶
type ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemItemCheckRunsPostRequestBodyMember1 ¶
type ItemItemCheckRunsPostRequestBodyMember1 struct {
// contains filtered or unexported fields
}
func NewItemItemCheckRunsPostRequestBodyMember1 ¶
func NewItemItemCheckRunsPostRequestBodyMember1() *ItemItemCheckRunsPostRequestBodyMember1
NewItemItemCheckRunsPostRequestBodyMember1 instantiates a new ItemItemCheckRunsPostRequestBodyMember1 and sets the default values.
func (*ItemItemCheckRunsPostRequestBodyMember1) GetAdditionalData ¶
func (m *ItemItemCheckRunsPostRequestBodyMember1) 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 (*ItemItemCheckRunsPostRequestBodyMember1) GetFieldDeserializers ¶
func (m *ItemItemCheckRunsPostRequestBodyMember1) 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 (*ItemItemCheckRunsPostRequestBodyMember1) Serialize ¶
func (m *ItemItemCheckRunsPostRequestBodyMember1) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemCheckRunsPostRequestBodyMember1) SetAdditionalData ¶
func (m *ItemItemCheckRunsPostRequestBodyMember1) 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 ItemItemCheckRunsPostRequestBodyMember1able ¶
type ItemItemCheckRunsPostRequestBodyMember1able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemItemCheckRunsPostRequestBodyMember2 ¶
type ItemItemCheckRunsPostRequestBodyMember2 struct {
// contains filtered or unexported fields
}
func NewItemItemCheckRunsPostRequestBodyMember2 ¶
func NewItemItemCheckRunsPostRequestBodyMember2() *ItemItemCheckRunsPostRequestBodyMember2
NewItemItemCheckRunsPostRequestBodyMember2 instantiates a new ItemItemCheckRunsPostRequestBodyMember2 and sets the default values.
func (*ItemItemCheckRunsPostRequestBodyMember2) GetAdditionalData ¶
func (m *ItemItemCheckRunsPostRequestBodyMember2) 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 (*ItemItemCheckRunsPostRequestBodyMember2) GetFieldDeserializers ¶
func (m *ItemItemCheckRunsPostRequestBodyMember2) 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 (*ItemItemCheckRunsPostRequestBodyMember2) Serialize ¶
func (m *ItemItemCheckRunsPostRequestBodyMember2) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemCheckRunsPostRequestBodyMember2) SetAdditionalData ¶
func (m *ItemItemCheckRunsPostRequestBodyMember2) 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 ItemItemCheckRunsPostRequestBodyMember2able ¶
type ItemItemCheckRunsPostRequestBodyMember2able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemItemCheckRunsRequestBuilder ¶
type ItemItemCheckRunsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCheckRunsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\check-runs
func NewItemItemCheckRunsRequestBuilder ¶
func NewItemItemCheckRunsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCheckRunsRequestBuilder
NewItemItemCheckRunsRequestBuilder instantiates a new ItemItemCheckRunsRequestBuilder and sets the default values.
func NewItemItemCheckRunsRequestBuilderInternal ¶
func NewItemItemCheckRunsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCheckRunsRequestBuilder
NewItemItemCheckRunsRequestBuilderInternal instantiates a new ItemItemCheckRunsRequestBuilder and sets the default values.
func (*ItemItemCheckRunsRequestBuilder) ByCheck_run_id ¶
func (m *ItemItemCheckRunsRequestBuilder) ByCheck_run_id(check_run_id int32) *ItemItemCheckRunsWithCheck_run_ItemRequestBuilder
ByCheck_run_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.checkRuns.item collection returns a *ItemItemCheckRunsWithCheck_run_ItemRequestBuilder when successful
func (*ItemItemCheckRunsRequestBuilder) Post ¶
func (m *ItemItemCheckRunsRequestBuilder) Post(ctx context.Context, body CheckRunsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CheckRunable, error)
Post creates a new check run for a specific commit in a repository.To create a check run, you must use a GitHub App. OAuth apps and authenticated users are not able to create a check suite.In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.> [!NOTE]> The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. returns a CheckRunable when successful API method documentation
func (*ItemItemCheckRunsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemCheckRunsRequestBuilder) ToPostRequestInformation(ctx context.Context, body CheckRunsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation creates a new check run for a specific commit in a repository.To create a check run, you must use a GitHub App. OAuth apps and authenticated users are not able to create a check suite.In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.> [!NOTE]> The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array. returns a *RequestInformation when successful
func (*ItemItemCheckRunsRequestBuilder) WithUrl ¶
func (m *ItemItemCheckRunsRequestBuilder) WithUrl(rawUrl string) *ItemItemCheckRunsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCheckRunsRequestBuilder when successful
type ItemItemCheckRunsWithCheck_run_ItemRequestBuilder ¶
type ItemItemCheckRunsWithCheck_run_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCheckRunsWithCheck_run_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\check-runs\{check_run_id}
func NewItemItemCheckRunsWithCheck_run_ItemRequestBuilder ¶
func NewItemItemCheckRunsWithCheck_run_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCheckRunsWithCheck_run_ItemRequestBuilder
NewItemItemCheckRunsWithCheck_run_ItemRequestBuilder instantiates a new ItemItemCheckRunsWithCheck_run_ItemRequestBuilder and sets the default values.
func NewItemItemCheckRunsWithCheck_run_ItemRequestBuilderInternal ¶
func NewItemItemCheckRunsWithCheck_run_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCheckRunsWithCheck_run_ItemRequestBuilder
NewItemItemCheckRunsWithCheck_run_ItemRequestBuilderInternal instantiates a new ItemItemCheckRunsWithCheck_run_ItemRequestBuilder and sets the default values.
func (*ItemItemCheckRunsWithCheck_run_ItemRequestBuilder) Annotations ¶
func (m *ItemItemCheckRunsWithCheck_run_ItemRequestBuilder) Annotations() *ItemItemCheckRunsItemAnnotationsRequestBuilder
Annotations the annotations property returns a *ItemItemCheckRunsItemAnnotationsRequestBuilder when successful
func (*ItemItemCheckRunsWithCheck_run_ItemRequestBuilder) Get ¶
func (m *ItemItemCheckRunsWithCheck_run_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CheckRunable, error)
Get gets a single check run using its `id`.> [!NOTE]> The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. returns a CheckRunable when successful API method documentation
func (*ItemItemCheckRunsWithCheck_run_ItemRequestBuilder) Patch ¶
func (m *ItemItemCheckRunsWithCheck_run_ItemRequestBuilder) Patch(ctx context.Context, body WithCheck_run_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CheckRunable, error)
Patch updates a check run for a specific commit in a repository.> [!NOTE]> The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.OAuth apps and personal access tokens (classic) cannot use this endpoint. returns a CheckRunable when successful API method documentation
func (*ItemItemCheckRunsWithCheck_run_ItemRequestBuilder) Rerequest ¶
func (m *ItemItemCheckRunsWithCheck_run_ItemRequestBuilder) Rerequest() *ItemItemCheckRunsItemRerequestRequestBuilder
Rerequest the rerequest property returns a *ItemItemCheckRunsItemRerequestRequestBuilder when successful
func (*ItemItemCheckRunsWithCheck_run_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCheckRunsWithCheck_run_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a single check run using its `id`.> [!NOTE]> The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. returns a *RequestInformation when successful
func (*ItemItemCheckRunsWithCheck_run_ItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemCheckRunsWithCheck_run_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body WithCheck_run_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation updates a check run for a specific commit in a repository.> [!NOTE]> The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.OAuth apps and personal access tokens (classic) cannot use this endpoint. returns a *RequestInformation when successful
func (*ItemItemCheckRunsWithCheck_run_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemCheckRunsWithCheck_run_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemCheckRunsWithCheck_run_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 *ItemItemCheckRunsWithCheck_run_ItemRequestBuilder when successful
type ItemItemCheckSuitesItemCheckRunsGetResponse ¶
type ItemItemCheckSuitesItemCheckRunsGetResponse struct {
// contains filtered or unexported fields
}
func NewItemItemCheckSuitesItemCheckRunsGetResponse ¶
func NewItemItemCheckSuitesItemCheckRunsGetResponse() *ItemItemCheckSuitesItemCheckRunsGetResponse
NewItemItemCheckSuitesItemCheckRunsGetResponse instantiates a new ItemItemCheckSuitesItemCheckRunsGetResponse and sets the default values.
func (*ItemItemCheckSuitesItemCheckRunsGetResponse) GetAdditionalData ¶
func (m *ItemItemCheckSuitesItemCheckRunsGetResponse) 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 (*ItemItemCheckSuitesItemCheckRunsGetResponse) GetCheckRuns ¶
func (m *ItemItemCheckSuitesItemCheckRunsGetResponse) GetCheckRuns() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CheckRunable
GetCheckRuns gets the check_runs property value. The check_runs property returns a []CheckRunable when successful
func (*ItemItemCheckSuitesItemCheckRunsGetResponse) GetFieldDeserializers ¶
func (m *ItemItemCheckSuitesItemCheckRunsGetResponse) 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 (*ItemItemCheckSuitesItemCheckRunsGetResponse) GetTotalCount ¶
func (m *ItemItemCheckSuitesItemCheckRunsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemItemCheckSuitesItemCheckRunsGetResponse) Serialize ¶
func (m *ItemItemCheckSuitesItemCheckRunsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemCheckSuitesItemCheckRunsGetResponse) SetAdditionalData ¶
func (m *ItemItemCheckSuitesItemCheckRunsGetResponse) 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 (*ItemItemCheckSuitesItemCheckRunsGetResponse) SetCheckRuns ¶
func (m *ItemItemCheckSuitesItemCheckRunsGetResponse) SetCheckRuns(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CheckRunable)
SetCheckRuns sets the check_runs property value. The check_runs property
func (*ItemItemCheckSuitesItemCheckRunsGetResponse) SetTotalCount ¶
func (m *ItemItemCheckSuitesItemCheckRunsGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemItemCheckSuitesItemCheckRunsGetResponseable ¶
type ItemItemCheckSuitesItemCheckRunsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCheckRuns() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CheckRunable GetTotalCount() *int32 SetCheckRuns(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CheckRunable) SetTotalCount(value *int32) }
type ItemItemCheckSuitesItemCheckRunsRequestBuilder ¶
type ItemItemCheckSuitesItemCheckRunsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCheckSuitesItemCheckRunsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\check-suites\{check_suite_id}\check-runs
func NewItemItemCheckSuitesItemCheckRunsRequestBuilder ¶
func NewItemItemCheckSuitesItemCheckRunsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCheckSuitesItemCheckRunsRequestBuilder
NewItemItemCheckSuitesItemCheckRunsRequestBuilder instantiates a new ItemItemCheckSuitesItemCheckRunsRequestBuilder and sets the default values.
func NewItemItemCheckSuitesItemCheckRunsRequestBuilderInternal ¶
func NewItemItemCheckSuitesItemCheckRunsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCheckSuitesItemCheckRunsRequestBuilder
NewItemItemCheckSuitesItemCheckRunsRequestBuilderInternal instantiates a new ItemItemCheckSuitesItemCheckRunsRequestBuilder and sets the default values.
func (*ItemItemCheckSuitesItemCheckRunsRequestBuilder) Get ¶
func (m *ItemItemCheckSuitesItemCheckRunsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCheckSuitesItemCheckRunsRequestBuilderGetQueryParameters]) (ItemItemCheckSuitesItemCheckRunsGetResponseable, error)
Get lists check runs for a check suite using its `id`.> [!NOTE]> The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. returns a ItemItemCheckSuitesItemCheckRunsGetResponseable when successful API method documentation
func (*ItemItemCheckSuitesItemCheckRunsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCheckSuitesItemCheckRunsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCheckSuitesItemCheckRunsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists check runs for a check suite using its `id`.> [!NOTE]> The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. returns a *RequestInformation when successful
func (*ItemItemCheckSuitesItemCheckRunsRequestBuilder) WithUrl ¶
func (m *ItemItemCheckSuitesItemCheckRunsRequestBuilder) WithUrl(rawUrl string) *ItemItemCheckSuitesItemCheckRunsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCheckSuitesItemCheckRunsRequestBuilder when successful
type ItemItemCheckSuitesItemCheckRunsRequestBuilderGetQueryParameters ¶
type ItemItemCheckSuitesItemCheckRunsRequestBuilderGetQueryParameters struct { // Returns check runs with the specified `name`. Check_name *string `uriparametername:"check_name"` // Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. Filter *ia59821f935278ce2134e37176fcfc47c47f81819f8a6e9b764577234616aa46a.GetFilterQueryParameterType `uriparametername:"filter"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // Returns check runs with the specified `status`. Status *ia59821f935278ce2134e37176fcfc47c47f81819f8a6e9b764577234616aa46a.GetStatusQueryParameterType `uriparametername:"status"` }
ItemItemCheckSuitesItemCheckRunsRequestBuilderGetQueryParameters lists check runs for a check suite using its `id`.> [!NOTE]> The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository.
type ItemItemCheckSuitesItemRerequestRequestBuilder ¶
type ItemItemCheckSuitesItemRerequestRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCheckSuitesItemRerequestRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\check-suites\{check_suite_id}\rerequest
func NewItemItemCheckSuitesItemRerequestRequestBuilder ¶
func NewItemItemCheckSuitesItemRerequestRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCheckSuitesItemRerequestRequestBuilder
NewItemItemCheckSuitesItemRerequestRequestBuilder instantiates a new ItemItemCheckSuitesItemRerequestRequestBuilder and sets the default values.
func NewItemItemCheckSuitesItemRerequestRequestBuilderInternal ¶
func NewItemItemCheckSuitesItemRerequestRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCheckSuitesItemRerequestRequestBuilder
NewItemItemCheckSuitesItemRerequestRequestBuilderInternal instantiates a new ItemItemCheckSuitesItemRerequestRequestBuilder and sets the default values.
func (*ItemItemCheckSuitesItemRerequestRequestBuilder) Post ¶
func (m *ItemItemCheckSuitesItemRerequestRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EmptyObjectable, error)
Post triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.10/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.OAuth apps and personal access tokens (classic) cannot use this endpoint. returns a EmptyObjectable when successful API method documentation
func (*ItemItemCheckSuitesItemRerequestRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemCheckSuitesItemRerequestRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.10/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.OAuth apps and personal access tokens (classic) cannot use this endpoint. returns a *RequestInformation when successful
func (*ItemItemCheckSuitesItemRerequestRequestBuilder) WithUrl ¶
func (m *ItemItemCheckSuitesItemRerequestRequestBuilder) WithUrl(rawUrl string) *ItemItemCheckSuitesItemRerequestRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCheckSuitesItemRerequestRequestBuilder when successful
type ItemItemCheckSuitesPostRequestBody ¶
type ItemItemCheckSuitesPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemCheckSuitesPostRequestBody ¶
func NewItemItemCheckSuitesPostRequestBody() *ItemItemCheckSuitesPostRequestBody
NewItemItemCheckSuitesPostRequestBody instantiates a new ItemItemCheckSuitesPostRequestBody and sets the default values.
func (*ItemItemCheckSuitesPostRequestBody) GetAdditionalData ¶
func (m *ItemItemCheckSuitesPostRequestBody) 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 (*ItemItemCheckSuitesPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemCheckSuitesPostRequestBody) 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 (*ItemItemCheckSuitesPostRequestBody) GetHeadSha ¶
func (m *ItemItemCheckSuitesPostRequestBody) GetHeadSha() *string
GetHeadSha gets the head_sha property value. The sha of the head commit. returns a *string when successful
func (*ItemItemCheckSuitesPostRequestBody) Serialize ¶
func (m *ItemItemCheckSuitesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemCheckSuitesPostRequestBody) SetAdditionalData ¶
func (m *ItemItemCheckSuitesPostRequestBody) 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 (*ItemItemCheckSuitesPostRequestBody) SetHeadSha ¶
func (m *ItemItemCheckSuitesPostRequestBody) SetHeadSha(value *string)
SetHeadSha sets the head_sha property value. The sha of the head commit.
type ItemItemCheckSuitesPostRequestBodyable ¶
type ItemItemCheckSuitesPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetHeadSha() *string SetHeadSha(value *string) }
type ItemItemCheckSuitesPreferencesPatchRequestBody ¶
type ItemItemCheckSuitesPreferencesPatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemCheckSuitesPreferencesPatchRequestBody ¶
func NewItemItemCheckSuitesPreferencesPatchRequestBody() *ItemItemCheckSuitesPreferencesPatchRequestBody
NewItemItemCheckSuitesPreferencesPatchRequestBody instantiates a new ItemItemCheckSuitesPreferencesPatchRequestBody and sets the default values.
func (*ItemItemCheckSuitesPreferencesPatchRequestBody) GetAdditionalData ¶
func (m *ItemItemCheckSuitesPreferencesPatchRequestBody) 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 (*ItemItemCheckSuitesPreferencesPatchRequestBody) GetAutoTriggerChecks ¶
func (m *ItemItemCheckSuitesPreferencesPatchRequestBody) GetAutoTriggerChecks() []ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checksable
GetAutoTriggerChecks gets the auto_trigger_checks property value. Enables or disables automatic creation of CheckSuite events upon pushes to the repository. Enabled by default. returns a []ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checksable when successful
func (*ItemItemCheckSuitesPreferencesPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemItemCheckSuitesPreferencesPatchRequestBody) 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 (*ItemItemCheckSuitesPreferencesPatchRequestBody) Serialize ¶
func (m *ItemItemCheckSuitesPreferencesPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemCheckSuitesPreferencesPatchRequestBody) SetAdditionalData ¶
func (m *ItemItemCheckSuitesPreferencesPatchRequestBody) 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 (*ItemItemCheckSuitesPreferencesPatchRequestBody) SetAutoTriggerChecks ¶
func (m *ItemItemCheckSuitesPreferencesPatchRequestBody) SetAutoTriggerChecks(value []ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checksable)
SetAutoTriggerChecks sets the auto_trigger_checks property value. Enables or disables automatic creation of CheckSuite events upon pushes to the repository. Enabled by default.
type ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks ¶
type ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks struct {
// contains filtered or unexported fields
}
func NewItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks ¶
func NewItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks() *ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks
NewItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks instantiates a new ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks and sets the default values.
func (*ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) GetAdditionalData ¶
func (m *ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) 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 (*ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) GetAppId ¶
func (m *ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) GetAppId() *int32
GetAppId gets the app_id property value. The `id` of the GitHub App. returns a *int32 when successful
func (*ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) GetFieldDeserializers ¶
func (m *ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) 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 (*ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) GetSetting ¶
func (m *ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) GetSetting() *bool
GetSetting gets the setting property value. Set to `true` to enable automatic creation of CheckSuite events upon pushes to the repository, or `false` to disable them. returns a *bool when successful
func (*ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) Serialize ¶
func (m *ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) SetAdditionalData ¶
func (m *ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) 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 (*ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) SetAppId ¶
func (m *ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) SetAppId(value *int32)
SetAppId sets the app_id property value. The `id` of the GitHub App.
func (*ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) SetSetting ¶
func (m *ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) SetSetting(value *bool)
SetSetting sets the setting property value. Set to `true` to enable automatic creation of CheckSuite events upon pushes to the repository, or `false` to disable them.
type ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checksable ¶
type ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checksable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAppId() *int32 GetSetting() *bool SetAppId(value *int32) SetSetting(value *bool) }
type ItemItemCheckSuitesPreferencesPatchRequestBodyable ¶
type ItemItemCheckSuitesPreferencesPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAutoTriggerChecks() []ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checksable SetAutoTriggerChecks(value []ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checksable) }
type ItemItemCheckSuitesPreferencesRequestBuilder ¶
type ItemItemCheckSuitesPreferencesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCheckSuitesPreferencesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\check-suites\preferences
func NewItemItemCheckSuitesPreferencesRequestBuilder ¶
func NewItemItemCheckSuitesPreferencesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCheckSuitesPreferencesRequestBuilder
NewItemItemCheckSuitesPreferencesRequestBuilder instantiates a new ItemItemCheckSuitesPreferencesRequestBuilder and sets the default values.
func NewItemItemCheckSuitesPreferencesRequestBuilderInternal ¶
func NewItemItemCheckSuitesPreferencesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCheckSuitesPreferencesRequestBuilder
NewItemItemCheckSuitesPreferencesRequestBuilderInternal instantiates a new ItemItemCheckSuitesPreferencesRequestBuilder and sets the default values.
func (*ItemItemCheckSuitesPreferencesRequestBuilder) Patch ¶
func (m *ItemItemCheckSuitesPreferencesRequestBuilder) Patch(ctx context.Context, body ItemItemCheckSuitesPreferencesPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CheckSuitePreferenceable, error)
Patch changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@3.10/rest/checks/suites#create-a-check-suite).You must have admin permissions in the repository to set preferences for check suites. returns a CheckSuitePreferenceable when successful API method documentation
func (*ItemItemCheckSuitesPreferencesRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemCheckSuitesPreferencesRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemCheckSuitesPreferencesPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation changes the default automatic flow when creating check suites. By default, a check suite is automatically created each time code is pushed to a repository. When you disable the automatic creation of check suites, you can manually [Create a check suite](https://docs.github.com/enterprise-server@3.10/rest/checks/suites#create-a-check-suite).You must have admin permissions in the repository to set preferences for check suites. returns a *RequestInformation when successful
func (*ItemItemCheckSuitesPreferencesRequestBuilder) WithUrl ¶
func (m *ItemItemCheckSuitesPreferencesRequestBuilder) WithUrl(rawUrl string) *ItemItemCheckSuitesPreferencesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCheckSuitesPreferencesRequestBuilder when successful
type ItemItemCheckSuitesRequestBuilder ¶
type ItemItemCheckSuitesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCheckSuitesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\check-suites
func NewItemItemCheckSuitesRequestBuilder ¶
func NewItemItemCheckSuitesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCheckSuitesRequestBuilder
NewItemItemCheckSuitesRequestBuilder instantiates a new ItemItemCheckSuitesRequestBuilder and sets the default values.
func NewItemItemCheckSuitesRequestBuilderInternal ¶
func NewItemItemCheckSuitesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCheckSuitesRequestBuilder
NewItemItemCheckSuitesRequestBuilderInternal instantiates a new ItemItemCheckSuitesRequestBuilder and sets the default values.
func (*ItemItemCheckSuitesRequestBuilder) ByCheck_suite_id ¶
func (m *ItemItemCheckSuitesRequestBuilder) ByCheck_suite_id(check_suite_id int32) *ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder
ByCheck_suite_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.checkSuites.item collection returns a *ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder when successful
func (*ItemItemCheckSuitesRequestBuilder) Post ¶
func (m *ItemItemCheckSuitesRequestBuilder) Post(ctx context.Context, body ItemItemCheckSuitesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CheckSuiteable, error)
Post creates a check suite manually. By default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@3.10/rest/checks/runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://docs.github.com/enterprise-server@3.10/rest/checks/suites#update-repository-preferences-for-check-suites)".> [!NOTE]> The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.OAuth apps and personal access tokens (classic) cannot use this endpoint. returns a CheckSuiteable when successful API method documentation
func (*ItemItemCheckSuitesRequestBuilder) Preferences ¶
func (m *ItemItemCheckSuitesRequestBuilder) Preferences() *ItemItemCheckSuitesPreferencesRequestBuilder
Preferences the preferences property returns a *ItemItemCheckSuitesPreferencesRequestBuilder when successful
func (*ItemItemCheckSuitesRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemCheckSuitesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemCheckSuitesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation creates a check suite manually. By default, check suites are automatically created when you create a [check run](https://docs.github.com/enterprise-server@3.10/rest/checks/runs). You only need to use this endpoint for manually creating check suites when you've disabled automatic creation using "[Update repository preferences for check suites](https://docs.github.com/enterprise-server@3.10/rest/checks/suites#update-repository-preferences-for-check-suites)".> [!NOTE]> The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.OAuth apps and personal access tokens (classic) cannot use this endpoint. returns a *RequestInformation when successful
func (*ItemItemCheckSuitesRequestBuilder) WithUrl ¶
func (m *ItemItemCheckSuitesRequestBuilder) WithUrl(rawUrl string) *ItemItemCheckSuitesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCheckSuitesRequestBuilder when successful
type ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder ¶
type ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\check-suites\{check_suite_id}
func NewItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder ¶
func NewItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder
NewItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder instantiates a new ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder and sets the default values.
func NewItemItemCheckSuitesWithCheck_suite_ItemRequestBuilderInternal ¶
func NewItemItemCheckSuitesWithCheck_suite_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder
NewItemItemCheckSuitesWithCheck_suite_ItemRequestBuilderInternal instantiates a new ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder and sets the default values.
func (*ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder) CheckRuns ¶
func (m *ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder) CheckRuns() *ItemItemCheckSuitesItemCheckRunsRequestBuilder
CheckRuns the checkRuns property returns a *ItemItemCheckSuitesItemCheckRunsRequestBuilder when successful
func (*ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder) Get ¶
func (m *ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CheckSuiteable, error)
Get gets a single check suite using its `id`.> [!NOTE]> The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. returns a CheckSuiteable when successful API method documentation
func (*ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder) Rerequest ¶
func (m *ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder) Rerequest() *ItemItemCheckSuitesItemRerequestRequestBuilder
Rerequest the rerequest property returns a *ItemItemCheckSuitesItemRerequestRequestBuilder when successful
func (*ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a single check suite using its `id`.> [!NOTE]> The Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. returns a *RequestInformation when successful
func (*ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemCheckSuitesWithCheck_suite_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 *ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder when successful
type ItemItemCodeScanningAlertsItemInstancesRequestBuilder ¶
type ItemItemCodeScanningAlertsItemInstancesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCodeScanningAlertsItemInstancesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\code-scanning\alerts\{alert_number}\instances
func NewItemItemCodeScanningAlertsItemInstancesRequestBuilder ¶
func NewItemItemCodeScanningAlertsItemInstancesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCodeScanningAlertsItemInstancesRequestBuilder
NewItemItemCodeScanningAlertsItemInstancesRequestBuilder instantiates a new ItemItemCodeScanningAlertsItemInstancesRequestBuilder and sets the default values.
func NewItemItemCodeScanningAlertsItemInstancesRequestBuilderInternal ¶
func NewItemItemCodeScanningAlertsItemInstancesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCodeScanningAlertsItemInstancesRequestBuilder
NewItemItemCodeScanningAlertsItemInstancesRequestBuilderInternal instantiates a new ItemItemCodeScanningAlertsItemInstancesRequestBuilder and sets the default values.
func (*ItemItemCodeScanningAlertsItemInstancesRequestBuilder) Get ¶
func (m *ItemItemCodeScanningAlertsItemInstancesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCodeScanningAlertsItemInstancesRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningAlertInstanceable, error)
Get lists all instances of the specified code scanning alert.OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. returns a []CodeScanningAlertInstanceable 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 Instances503Error error when the service returns a 503 status code API method documentation
func (*ItemItemCodeScanningAlertsItemInstancesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCodeScanningAlertsItemInstancesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCodeScanningAlertsItemInstancesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all instances of the specified code scanning alert.OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. returns a *RequestInformation when successful
func (*ItemItemCodeScanningAlertsItemInstancesRequestBuilder) WithUrl ¶
func (m *ItemItemCodeScanningAlertsItemInstancesRequestBuilder) WithUrl(rawUrl string) *ItemItemCodeScanningAlertsItemInstancesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCodeScanningAlertsItemInstancesRequestBuilder when successful
type ItemItemCodeScanningAlertsItemInstancesRequestBuilderGetQueryParameters ¶
type ItemItemCodeScanningAlertsItemInstancesRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/<branch name>` or simply `<branch name>`. To reference a pull request use `refs/pull/<number>/merge`. Ref *string `uriparametername:"ref"` }
ItemItemCodeScanningAlertsItemInstancesRequestBuilderGetQueryParameters lists all instances of the specified code scanning alert.OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.
type ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody ¶
type ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody ¶
func NewItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody() *ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody
NewItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody instantiates a new ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody and sets the default values.
func (*ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) GetAdditionalData ¶
func (m *ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) 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 (*ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) GetDismissedComment ¶
func (m *ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) GetDismissedComment() *string
GetDismissedComment gets the dismissed_comment property value. The dismissal comment associated with the dismissal of the alert. returns a *string when successful
func (*ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) GetDismissedReason ¶
func (m *ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) GetDismissedReason() *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningAlertDismissedReason
GetDismissedReason gets the dismissed_reason property value. **Required when the state is dismissed.** The reason for dismissing or closing the alert. returns a *CodeScanningAlertDismissedReason when successful
func (*ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) 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 (*ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) GetState ¶
func (m *ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) GetState() *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningAlertSetState
GetState gets the state property value. Sets the state of the code scanning alert. You must provide `dismissed_reason` when you set the state to `dismissed`. returns a *CodeScanningAlertSetState when successful
func (*ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) Serialize ¶
func (m *ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) SetAdditionalData ¶
func (m *ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) 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 (*ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) SetDismissedComment ¶
func (m *ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) SetDismissedComment(value *string)
SetDismissedComment sets the dismissed_comment property value. The dismissal comment associated with the dismissal of the alert.
func (*ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) SetDismissedReason ¶
func (m *ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) SetDismissedReason(value *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningAlertDismissedReason)
SetDismissedReason sets the dismissed_reason property value. **Required when the state is dismissed.** The reason for dismissing or closing the alert.
func (*ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) SetState ¶
func (m *ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) SetState(value *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningAlertSetState)
SetState sets the state property value. Sets the state of the code scanning alert. You must provide `dismissed_reason` when you set the state to `dismissed`.
type ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBodyable ¶
type ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetDismissedComment() *string GetDismissedReason() *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningAlertDismissedReason GetState() *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningAlertSetState SetDismissedComment(value *string) SetDismissedReason(value *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningAlertDismissedReason) SetState(value *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningAlertSetState) }
type ItemItemCodeScanningAlertsRequestBuilder ¶
type ItemItemCodeScanningAlertsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCodeScanningAlertsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\code-scanning\alerts
func NewItemItemCodeScanningAlertsRequestBuilder ¶
func NewItemItemCodeScanningAlertsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCodeScanningAlertsRequestBuilder
NewItemItemCodeScanningAlertsRequestBuilder instantiates a new ItemItemCodeScanningAlertsRequestBuilder and sets the default values.
func NewItemItemCodeScanningAlertsRequestBuilderInternal ¶
func NewItemItemCodeScanningAlertsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCodeScanningAlertsRequestBuilder
NewItemItemCodeScanningAlertsRequestBuilderInternal instantiates a new ItemItemCodeScanningAlertsRequestBuilder and sets the default values.
func (*ItemItemCodeScanningAlertsRequestBuilder) ByAlert_number ¶
func (m *ItemItemCodeScanningAlertsRequestBuilder) ByAlert_number(alert_number int32) *ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder
ByAlert_number gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.codeScanning.alerts.item collection returns a *ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder when successful
func (*ItemItemCodeScanningAlertsRequestBuilder) Get ¶
func (m *ItemItemCodeScanningAlertsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCodeScanningAlertsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningAlertItemsable, error)
Get lists code scanning alerts.The response includes a `most_recent_instance` object.This provides details of the most recent instance of this alertfor the default branch (or for the specified Git reference if you used `ref` in the request).OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. returns a []CodeScanningAlertItemsable 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 Alerts503Error error when the service returns a 503 status code API method documentation
func (*ItemItemCodeScanningAlertsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCodeScanningAlertsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCodeScanningAlertsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists code scanning alerts.The response includes a `most_recent_instance` object.This provides details of the most recent instance of this alertfor the default branch (or for the specified Git reference if you used `ref` in the request).OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. returns a *RequestInformation when successful
func (*ItemItemCodeScanningAlertsRequestBuilder) WithUrl ¶
func (m *ItemItemCodeScanningAlertsRequestBuilder) WithUrl(rawUrl string) *ItemItemCodeScanningAlertsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCodeScanningAlertsRequestBuilder when successful
type ItemItemCodeScanningAlertsRequestBuilderGetQueryParameters ¶
type ItemItemCodeScanningAlertsRequestBuilderGetQueryParameters struct { // The direction to sort the results by. Direction *i6c770f215866341afbb0263b70f7d303a7c6d6d999489894513c17b798403478.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/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/<branch name>` or simply `<branch name>`. To reference a pull request use `refs/pull/<number>/merge`. Ref *string `uriparametername:"ref"` // If specified, only code scanning alerts with this severity will be returned. Severity *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningAlertSeverity `uriparametername:"severity"` // The property by which to sort the results. Sort *i6c770f215866341afbb0263b70f7d303a7c6d6d999489894513c17b798403478.GetSortQueryParameterType `uriparametername:"sort"` // If specified, only code scanning alerts with this state will be returned. State *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningAlertStateQuery `uriparametername:"state"` // The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in their analysis data. You can specify the tool by using either `tool_guid` or `tool_name`, but not both. Tool_guid *string `uriparametername:"tool_guid"` // The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. Tool_name *string `uriparametername:"tool_name"` }
ItemItemCodeScanningAlertsRequestBuilderGetQueryParameters lists code scanning alerts.The response includes a `most_recent_instance` object.This provides details of the most recent instance of this alertfor the default branch (or for the specified Git reference if you used `ref` in the request).OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.
type ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder ¶
type ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\code-scanning\alerts\{alert_number}
func NewItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder ¶
func NewItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder
NewItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder instantiates a new ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder and sets the default values.
func NewItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilderInternal ¶
func NewItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder
NewItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilderInternal instantiates a new ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder and sets the default values.
func (*ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder) Get ¶
func (m *ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningAlertable, error)
Get gets a single code scanning alert.OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. returns a CodeScanningAlertable 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 CodeScanningAlert503Error error when the service returns a 503 status code API method documentation
func (*ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder) Instances ¶
func (m *ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder) Instances() *ItemItemCodeScanningAlertsItemInstancesRequestBuilder
Instances the instances property returns a *ItemItemCodeScanningAlertsItemInstancesRequestBuilder when successful
func (*ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder) Patch ¶
func (m *ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder) Patch(ctx context.Context, body ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningAlertable, error)
Patch updates the status of a single code scanning alert.OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. returns a CodeScanningAlertable 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 CodeScanningAlert503Error error when the service returns a 503 status code API method documentation
func (*ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a single code scanning alert.OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. returns a *RequestInformation when successful
func (*ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation updates the status of a single code scanning alert.OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. returns a *RequestInformation when successful
func (*ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder) WithUrl ¶
func (m *ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder) WithUrl(rawUrl string) *ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder when successful
type ItemItemCodeScanningAnalysesRequestBuilder ¶
type ItemItemCodeScanningAnalysesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCodeScanningAnalysesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\code-scanning\analyses
func NewItemItemCodeScanningAnalysesRequestBuilder ¶
func NewItemItemCodeScanningAnalysesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCodeScanningAnalysesRequestBuilder
NewItemItemCodeScanningAnalysesRequestBuilder instantiates a new ItemItemCodeScanningAnalysesRequestBuilder and sets the default values.
func NewItemItemCodeScanningAnalysesRequestBuilderInternal ¶
func NewItemItemCodeScanningAnalysesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCodeScanningAnalysesRequestBuilder
NewItemItemCodeScanningAnalysesRequestBuilderInternal instantiates a new ItemItemCodeScanningAnalysesRequestBuilder and sets the default values.
func (*ItemItemCodeScanningAnalysesRequestBuilder) ByAnalysis_id ¶
func (m *ItemItemCodeScanningAnalysesRequestBuilder) ByAnalysis_id(analysis_id int32) *ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder
ByAnalysis_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.codeScanning.analyses.item collection returns a *ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder when successful
func (*ItemItemCodeScanningAnalysesRequestBuilder) Get ¶
func (m *ItemItemCodeScanningAnalysesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCodeScanningAnalysesRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningAnalysisable, error)
Get lists the details of all code scanning analyses for a repository,starting with the most recent.The response is paginated and you can use the `page` and `per_page` parametersto list the analyses you're interested in.By default 30 analyses are listed per page.The `rules_count` field in the response give the number of rulesthat were run in the analysis.For very old analyses this data is not available,and `0` is returned in this field.> [!WARNING]> **Deprecation notice:** The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. returns a []CodeScanningAnalysisable 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 Analyses503Error error when the service returns a 503 status code API method documentation
func (*ItemItemCodeScanningAnalysesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCodeScanningAnalysesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCodeScanningAnalysesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the details of all code scanning analyses for a repository,starting with the most recent.The response is paginated and you can use the `page` and `per_page` parametersto list the analyses you're interested in.By default 30 analyses are listed per page.The `rules_count` field in the response give the number of rulesthat were run in the analysis.For very old analyses this data is not available,and `0` is returned in this field.> [!WARNING]> **Deprecation notice:** The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. returns a *RequestInformation when successful
func (*ItemItemCodeScanningAnalysesRequestBuilder) WithUrl ¶
func (m *ItemItemCodeScanningAnalysesRequestBuilder) WithUrl(rawUrl string) *ItemItemCodeScanningAnalysesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCodeScanningAnalysesRequestBuilder when successful
type ItemItemCodeScanningAnalysesRequestBuilderGetQueryParameters ¶
type ItemItemCodeScanningAnalysesRequestBuilderGetQueryParameters struct { // The direction to sort the results by. Direction *i28946bb8568c041f1c5556b91b3fd696a730699a2d05643ff6b069662bd098ab.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/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/<branch name>` or simply `<branch name>`. To reference a pull request use `refs/pull/<number>/merge`. Ref *string `uriparametername:"ref"` // Filter analyses belonging to the same SARIF upload. Sarif_id *string `uriparametername:"sarif_id"` // The property by which to sort the results. Sort *i28946bb8568c041f1c5556b91b3fd696a730699a2d05643ff6b069662bd098ab.GetSortQueryParameterType `uriparametername:"sort"` // The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in their analysis data. You can specify the tool by using either `tool_guid` or `tool_name`, but not both. Tool_guid *string `uriparametername:"tool_guid"` // The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. Tool_name *string `uriparametername:"tool_name"` }
ItemItemCodeScanningAnalysesRequestBuilderGetQueryParameters lists the details of all code scanning analyses for a repository,starting with the most recent.The response is paginated and you can use the `page` and `per_page` parametersto list the analyses you're interested in.By default 30 analyses are listed per page.The `rules_count` field in the response give the number of rulesthat were run in the analysis.For very old analyses this data is not available,and `0` is returned in this field.> [!WARNING]> **Deprecation notice:** The `tool_name` field is deprecated and will, in future, not be included in the response for this endpoint. The example response reflects this change. The tool name can now be found inside the `tool` field.OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.
type ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder ¶
type ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\code-scanning\analyses\{analysis_id}
func NewItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder ¶
func NewItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder
NewItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder instantiates a new ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder and sets the default values.
func NewItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilderInternal ¶
func NewItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder
NewItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilderInternal instantiates a new ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder and sets the default values.
func (*ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder) Delete ¶
func (m *ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilderDeleteQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningAnalysisDeletionable, error)
Delete deletes a specified code scanning analysis from a repository.You can delete one analysis at a time.To delete a series of analyses, start with the most recent analysis and work backwards.Conceptually, the process is similar to the undo function in a text editor.When you list the analyses for a repository,one or more will be identified as deletable in the response:```"deletable": true```An analysis is deletable when it's the most recent in a set of analyses.Typically, a repository will have multiple sets of analysesfor each enabled code scanning tool,where a set is determined by a unique combination of analysis values:* `ref`* `tool`* `category`If you attempt to delete an analysis that is not the most recent in a set,you'll get a 400 response with the message:```Analysis specified is not deletable.```The response from a successful `DELETE` operation provides you withtwo alternative URLs for deleting the next analysis in the set:`next_analysis_url` and `confirm_delete_url`.Use the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysisin a set. This is a useful option if you want to preserve at least one analysisfor the specified tool in your repository.Use the `confirm_delete_url` URL if you are content to remove all analyses for a tool.When you delete the last analysis in a set, the value of `next_analysis_url` and `confirm_delete_url`in the 200 response is `null`.As an example of the deletion process,let's imagine that you added a workflow that configured a particular code scanning toolto analyze the code in a repository. This tool has added 15 analyses:10 on the default branch, and another 5 on a topic branch.You therefore have two separate sets of analyses for this tool.You've now decided that you want to remove all of the analyses for the tool.To do this you must make 15 separate deletion requests.To start, you must find an analysis that's identified as deletable.Each set of analyses always has one that's identified as deletable.Having found the deletable analysis for one of the two sets,delete this analysis and then continue deleting the next analysis in the set until they're all deleted.Then repeat the process for the second set.The procedure therefore consists of a nested loop:**Outer loop**:* List the analyses for the repository, filtered by tool.* Parse this list to find a deletable analysis. If found: **Inner loop**: * Delete the identified analysis. * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration.The above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. returns a CodeScanningAnalysisDeletionable when successful returns a BasicError error when the service returns a 400 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 CodeScanningAnalysisDeletion503Error error when the service returns a 503 status code API method documentation
func (*ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder) Get ¶
func (m *ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningAnalysisable, error)
Get gets a specified code scanning analysis for a repository.The default JSON response contains fields that describe the analysis.This includes the Git reference and commit SHA to which the analysis relates,the datetime of the analysis, the name of the code scanning tool,and the number of alerts.The `rules_count` field in the default response give the number of rulesthat were run in the analysis.For very old analyses this data is not available,and `0` is returned in this field.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/sarif+json`**: Instead of returning a summary of the analysis, this endpoint returns a subset of the analysis data that was uploaded. The data is formatted as [SARIF version 2.1.0](https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html). It also returns additional data such as the `github/alertNumber` and `github/alertUrl` properties.OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. returns a CodeScanningAnalysisable 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 CodeScanningAnalysis503Error error when the service returns a 503 status code API method documentation
func (*ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilderDeleteQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a specified code scanning analysis from a repository.You can delete one analysis at a time.To delete a series of analyses, start with the most recent analysis and work backwards.Conceptually, the process is similar to the undo function in a text editor.When you list the analyses for a repository,one or more will be identified as deletable in the response:```"deletable": true```An analysis is deletable when it's the most recent in a set of analyses.Typically, a repository will have multiple sets of analysesfor each enabled code scanning tool,where a set is determined by a unique combination of analysis values:* `ref`* `tool`* `category`If you attempt to delete an analysis that is not the most recent in a set,you'll get a 400 response with the message:```Analysis specified is not deletable.```The response from a successful `DELETE` operation provides you withtwo alternative URLs for deleting the next analysis in the set:`next_analysis_url` and `confirm_delete_url`.Use the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysisin a set. This is a useful option if you want to preserve at least one analysisfor the specified tool in your repository.Use the `confirm_delete_url` URL if you are content to remove all analyses for a tool.When you delete the last analysis in a set, the value of `next_analysis_url` and `confirm_delete_url`in the 200 response is `null`.As an example of the deletion process,let's imagine that you added a workflow that configured a particular code scanning toolto analyze the code in a repository. This tool has added 15 analyses:10 on the default branch, and another 5 on a topic branch.You therefore have two separate sets of analyses for this tool.You've now decided that you want to remove all of the analyses for the tool.To do this you must make 15 separate deletion requests.To start, you must find an analysis that's identified as deletable.Each set of analyses always has one that's identified as deletable.Having found the deletable analysis for one of the two sets,delete this analysis and then continue deleting the next analysis in the set until they're all deleted.Then repeat the process for the second set.The procedure therefore consists of a nested loop:**Outer loop**:* List the analyses for the repository, filtered by tool.* Parse this list to find a deletable analysis. If found: **Inner loop**: * Delete the identified analysis. * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration.The above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. returns a *RequestInformation when successful
func (*ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a specified code scanning analysis for a repository.The default JSON response contains fields that describe the analysis.This includes the Git reference and commit SHA to which the analysis relates,the datetime of the analysis, the name of the code scanning tool,and the number of alerts.The `rules_count` field in the default response give the number of rulesthat were run in the analysis.For very old analyses this data is not available,and `0` is returned in this field.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/sarif+json`**: Instead of returning a summary of the analysis, this endpoint returns a subset of the analysis data that was uploaded. The data is formatted as [SARIF version 2.1.0](https://docs.oasis-open.org/sarif/sarif/v2.1.0/cs01/sarif-v2.1.0-cs01.html). It also returns additional data such as the `github/alertNumber` and `github/alertUrl` properties.OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. returns a *RequestInformation when successful
func (*ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemCodeScanningAnalysesWithAnalysis_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 *ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilder when successful
type ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilderDeleteQueryParameters ¶
type ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilderDeleteQueryParameters struct { // Allow deletion if the specified analysis is the last in a set. If you attempt to delete the final analysis in a set without setting this parameter to `true`, you'll get a 400 response with the message: `Analysis is last of its type and deletion may result in the loss of historical alert data. Please specify confirm_delete.` Confirm_delete *string `uriparametername:"confirm_delete"` }
ItemItemCodeScanningAnalysesWithAnalysis_ItemRequestBuilderDeleteQueryParameters deletes a specified code scanning analysis from a repository.You can delete one analysis at a time.To delete a series of analyses, start with the most recent analysis and work backwards.Conceptually, the process is similar to the undo function in a text editor.When you list the analyses for a repository,one or more will be identified as deletable in the response:```"deletable": true```An analysis is deletable when it's the most recent in a set of analyses.Typically, a repository will have multiple sets of analysesfor each enabled code scanning tool,where a set is determined by a unique combination of analysis values:* `ref`* `tool`* `category`If you attempt to delete an analysis that is not the most recent in a set,you'll get a 400 response with the message:```Analysis specified is not deletable.```The response from a successful `DELETE` operation provides you withtwo alternative URLs for deleting the next analysis in the set:`next_analysis_url` and `confirm_delete_url`.Use the `next_analysis_url` URL if you want to avoid accidentally deleting the final analysisin a set. This is a useful option if you want to preserve at least one analysisfor the specified tool in your repository.Use the `confirm_delete_url` URL if you are content to remove all analyses for a tool.When you delete the last analysis in a set, the value of `next_analysis_url` and `confirm_delete_url`in the 200 response is `null`.As an example of the deletion process,let's imagine that you added a workflow that configured a particular code scanning toolto analyze the code in a repository. This tool has added 15 analyses:10 on the default branch, and another 5 on a topic branch.You therefore have two separate sets of analyses for this tool.You've now decided that you want to remove all of the analyses for the tool.To do this you must make 15 separate deletion requests.To start, you must find an analysis that's identified as deletable.Each set of analyses always has one that's identified as deletable.Having found the deletable analysis for one of the two sets,delete this analysis and then continue deleting the next analysis in the set until they're all deleted.Then repeat the process for the second set.The procedure therefore consists of a nested loop:**Outer loop**:* List the analyses for the repository, filtered by tool.* Parse this list to find a deletable analysis. If found: **Inner loop**: * Delete the identified analysis. * Parse the response for the value of `confirm_delete_url` and, if found, use this in the next iteration.The above process assumes that you want to remove all trace of the tool's analyses from the GitHub user interface, for the specified repository, and it therefore uses the `confirm_delete_url` value. Alternatively, you could use the `next_analysis_url` value, which would leave the last analysis in each set undeleted to avoid removing a tool's analysis entirely.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.
type ItemItemCodeScanningDefaultSetupRequestBuilder ¶
type ItemItemCodeScanningDefaultSetupRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCodeScanningDefaultSetupRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\code-scanning\default-setup
func NewItemItemCodeScanningDefaultSetupRequestBuilder ¶
func NewItemItemCodeScanningDefaultSetupRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCodeScanningDefaultSetupRequestBuilder
NewItemItemCodeScanningDefaultSetupRequestBuilder instantiates a new ItemItemCodeScanningDefaultSetupRequestBuilder and sets the default values.
func NewItemItemCodeScanningDefaultSetupRequestBuilderInternal ¶
func NewItemItemCodeScanningDefaultSetupRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCodeScanningDefaultSetupRequestBuilder
NewItemItemCodeScanningDefaultSetupRequestBuilderInternal instantiates a new ItemItemCodeScanningDefaultSetupRequestBuilder and sets the default values.
func (*ItemItemCodeScanningDefaultSetupRequestBuilder) Get ¶
func (m *ItemItemCodeScanningDefaultSetupRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningDefaultSetupable, error)
Get gets a code scanning default setup configuration.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. returns a CodeScanningDefaultSetupable 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 CodeScanningDefaultSetup503Error error when the service returns a 503 status code API method documentation
func (*ItemItemCodeScanningDefaultSetupRequestBuilder) Patch ¶
func (m *ItemItemCodeScanningDefaultSetupRequestBuilder) Patch(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningDefaultSetupUpdateable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EmptyObjectable, error)
Patch updates a code scanning default setup configuration.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. returns a EmptyObjectable 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 BasicError error when the service returns a 409 status code returns a EmptyObject503Error error when the service returns a 503 status code API method documentation
func (*ItemItemCodeScanningDefaultSetupRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCodeScanningDefaultSetupRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a code scanning default setup configuration.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. returns a *RequestInformation when successful
func (*ItemItemCodeScanningDefaultSetupRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemCodeScanningDefaultSetupRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningDefaultSetupUpdateable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation updates a code scanning default setup configuration.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. returns a *RequestInformation when successful
func (*ItemItemCodeScanningDefaultSetupRequestBuilder) WithUrl ¶
func (m *ItemItemCodeScanningDefaultSetupRequestBuilder) WithUrl(rawUrl string) *ItemItemCodeScanningDefaultSetupRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCodeScanningDefaultSetupRequestBuilder when successful
type ItemItemCodeScanningRequestBuilder ¶
type ItemItemCodeScanningRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCodeScanningRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\code-scanning
func NewItemItemCodeScanningRequestBuilder ¶
func NewItemItemCodeScanningRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCodeScanningRequestBuilder
NewItemItemCodeScanningRequestBuilder instantiates a new ItemItemCodeScanningRequestBuilder and sets the default values.
func NewItemItemCodeScanningRequestBuilderInternal ¶
func NewItemItemCodeScanningRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCodeScanningRequestBuilder
NewItemItemCodeScanningRequestBuilderInternal instantiates a new ItemItemCodeScanningRequestBuilder and sets the default values.
func (*ItemItemCodeScanningRequestBuilder) Alerts ¶
func (m *ItemItemCodeScanningRequestBuilder) Alerts() *ItemItemCodeScanningAlertsRequestBuilder
Alerts the alerts property returns a *ItemItemCodeScanningAlertsRequestBuilder when successful
func (*ItemItemCodeScanningRequestBuilder) Analyses ¶
func (m *ItemItemCodeScanningRequestBuilder) Analyses() *ItemItemCodeScanningAnalysesRequestBuilder
Analyses the analyses property returns a *ItemItemCodeScanningAnalysesRequestBuilder when successful
func (*ItemItemCodeScanningRequestBuilder) DefaultSetup ¶
func (m *ItemItemCodeScanningRequestBuilder) DefaultSetup() *ItemItemCodeScanningDefaultSetupRequestBuilder
DefaultSetup the defaultSetup property returns a *ItemItemCodeScanningDefaultSetupRequestBuilder when successful
func (*ItemItemCodeScanningRequestBuilder) Sarifs ¶
func (m *ItemItemCodeScanningRequestBuilder) Sarifs() *ItemItemCodeScanningSarifsRequestBuilder
Sarifs the sarifs property returns a *ItemItemCodeScanningSarifsRequestBuilder when successful
type ItemItemCodeScanningSarifsPostRequestBody ¶
type ItemItemCodeScanningSarifsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemCodeScanningSarifsPostRequestBody ¶
func NewItemItemCodeScanningSarifsPostRequestBody() *ItemItemCodeScanningSarifsPostRequestBody
NewItemItemCodeScanningSarifsPostRequestBody instantiates a new ItemItemCodeScanningSarifsPostRequestBody and sets the default values.
func (*ItemItemCodeScanningSarifsPostRequestBody) GetCheckoutUri ¶
func (m *ItemItemCodeScanningSarifsPostRequestBody) GetCheckoutUri() *string
GetCheckoutUri gets the checkout_uri property value. The base directory used in the analysis, as it appears in the SARIF file.This property is used to convert file paths from absolute to relative, so that alerts can be mapped to their correct location in the repository. returns a *string when successful
func (*ItemItemCodeScanningSarifsPostRequestBody) GetCommitSha ¶
func (m *ItemItemCodeScanningSarifsPostRequestBody) GetCommitSha() *string
GetCommitSha gets the commit_sha property value. The SHA of the commit to which the analysis you are uploading relates. returns a *string when successful
func (*ItemItemCodeScanningSarifsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemCodeScanningSarifsPostRequestBody) 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 (*ItemItemCodeScanningSarifsPostRequestBody) GetRef ¶
func (m *ItemItemCodeScanningSarifsPostRequestBody) GetRef() *string
GetRef gets the ref property value. The full Git reference, formatted as `refs/heads/<branch name>`,`refs/tags/<tag>`, `refs/pull/<number>/merge`, or `refs/pull/<number>/head`. returns a *string when successful
func (*ItemItemCodeScanningSarifsPostRequestBody) GetSarif ¶
func (m *ItemItemCodeScanningSarifsPostRequestBody) GetSarif() *string
GetSarif gets the sarif property value. A Base64 string representing the SARIF file to upload. You must first compress your SARIF file using [`gzip`](http://www.gnu.org/software/gzip/manual/gzip.html) and then translate the contents of the file into a Base64 encoding string. For more information, see "[SARIF support for code scanning](https://docs.github.com/enterprise-server@3.10/code-security/secure-coding/sarif-support-for-code-scanning)." returns a *string when successful
func (*ItemItemCodeScanningSarifsPostRequestBody) GetStartedAt ¶
func (m *ItemItemCodeScanningSarifsPostRequestBody) GetStartedAt() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
GetStartedAt gets the started_at property value. The time that the analysis run began. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. returns a *Time when successful
func (*ItemItemCodeScanningSarifsPostRequestBody) GetToolName ¶
func (m *ItemItemCodeScanningSarifsPostRequestBody) GetToolName() *string
GetToolName gets the tool_name property value. The name of the tool used to generate the code scanning analysis. If this parameter is not used, the tool name defaults to "API". If the uploaded SARIF contains a tool GUID, this will be available for filtering using the `tool_guid` parameter of operations such as `GET /repos/{owner}/{repo}/code-scanning/alerts`. returns a *string when successful
func (*ItemItemCodeScanningSarifsPostRequestBody) Serialize ¶
func (m *ItemItemCodeScanningSarifsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemCodeScanningSarifsPostRequestBody) SetCheckoutUri ¶
func (m *ItemItemCodeScanningSarifsPostRequestBody) SetCheckoutUri(value *string)
SetCheckoutUri sets the checkout_uri property value. The base directory used in the analysis, as it appears in the SARIF file.This property is used to convert file paths from absolute to relative, so that alerts can be mapped to their correct location in the repository.
func (*ItemItemCodeScanningSarifsPostRequestBody) SetCommitSha ¶
func (m *ItemItemCodeScanningSarifsPostRequestBody) SetCommitSha(value *string)
SetCommitSha sets the commit_sha property value. The SHA of the commit to which the analysis you are uploading relates.
func (*ItemItemCodeScanningSarifsPostRequestBody) SetRef ¶
func (m *ItemItemCodeScanningSarifsPostRequestBody) SetRef(value *string)
SetRef sets the ref property value. The full Git reference, formatted as `refs/heads/<branch name>`,`refs/tags/<tag>`, `refs/pull/<number>/merge`, or `refs/pull/<number>/head`.
func (*ItemItemCodeScanningSarifsPostRequestBody) SetSarif ¶
func (m *ItemItemCodeScanningSarifsPostRequestBody) SetSarif(value *string)
SetSarif sets the sarif property value. A Base64 string representing the SARIF file to upload. You must first compress your SARIF file using [`gzip`](http://www.gnu.org/software/gzip/manual/gzip.html) and then translate the contents of the file into a Base64 encoding string. For more information, see "[SARIF support for code scanning](https://docs.github.com/enterprise-server@3.10/code-security/secure-coding/sarif-support-for-code-scanning)."
func (*ItemItemCodeScanningSarifsPostRequestBody) SetStartedAt ¶
func (m *ItemItemCodeScanningSarifsPostRequestBody) SetStartedAt(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
SetStartedAt sets the started_at property value. The time that the analysis run began. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
func (*ItemItemCodeScanningSarifsPostRequestBody) SetToolName ¶
func (m *ItemItemCodeScanningSarifsPostRequestBody) SetToolName(value *string)
SetToolName sets the tool_name property value. The name of the tool used to generate the code scanning analysis. If this parameter is not used, the tool name defaults to "API". If the uploaded SARIF contains a tool GUID, this will be available for filtering using the `tool_guid` parameter of operations such as `GET /repos/{owner}/{repo}/code-scanning/alerts`.
type ItemItemCodeScanningSarifsPostRequestBodyable ¶
type ItemItemCodeScanningSarifsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCheckoutUri() *string GetCommitSha() *string GetRef() *string GetSarif() *string GetStartedAt() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time GetToolName() *string SetCheckoutUri(value *string) SetCommitSha(value *string) SetRef(value *string) SetSarif(value *string) SetStartedAt(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) SetToolName(value *string) }
type ItemItemCodeScanningSarifsRequestBuilder ¶
type ItemItemCodeScanningSarifsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCodeScanningSarifsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\code-scanning\sarifs
func NewItemItemCodeScanningSarifsRequestBuilder ¶
func NewItemItemCodeScanningSarifsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCodeScanningSarifsRequestBuilder
NewItemItemCodeScanningSarifsRequestBuilder instantiates a new ItemItemCodeScanningSarifsRequestBuilder and sets the default values.
func NewItemItemCodeScanningSarifsRequestBuilderInternal ¶
func NewItemItemCodeScanningSarifsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCodeScanningSarifsRequestBuilder
NewItemItemCodeScanningSarifsRequestBuilderInternal instantiates a new ItemItemCodeScanningSarifsRequestBuilder and sets the default values.
func (*ItemItemCodeScanningSarifsRequestBuilder) BySarif_id ¶
func (m *ItemItemCodeScanningSarifsRequestBuilder) BySarif_id(sarif_id string) *ItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder
BySarif_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.codeScanning.sarifs.item collection returns a *ItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder when successful
func (*ItemItemCodeScanningSarifsRequestBuilder) Post ¶
func (m *ItemItemCodeScanningSarifsRequestBuilder) Post(ctx context.Context, body ItemItemCodeScanningSarifsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningSarifsReceiptable, error)
Post uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. For troubleshooting information, see "[Troubleshooting SARIF uploads](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/troubleshooting-sarif)."There are two places where you can upload code scanning results. - If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see "[Triaging code scanning alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests)." - If you upload to a branch, for example `--ref refs/heads/my-branch`, then the results appear in the **Security** tab for your repository. For more information, see "[Managing code scanning alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository)."You must compress the SARIF-formatted analysis data that you want to upload, using `gzip`, and then encode it as a Base64 format string. For example:```gzip -c analysis-data.sarif | base64 -w0```SARIF upload supports a maximum number of entries per the following data objects, and an analysis will be rejected if any of these objects is above its maximum value. For some objects, there are additional values over which the entries will be ignored while keeping the most important entries whenever applicable.To get the most out of your analysis when it includes data above the supported limits, try to optimize the analysis configuration. For example, for the CodeQL tool, identify and remove the most noisy queries. For more information, see "[SARIF results exceed one or more limits](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/troubleshooting-sarif/results-exceed-limit)."| **SARIF data** | **Maximum values** | **Additional limits** ||----------------------------------|:------------------:|----------------------------------------------------------------------------------|| Runs per file | 20 | || Results per run | 25,000 | Only the top 5,000 results will be included, prioritized by severity. || Rules per run | 25,000 | || Tool extensions per run | 100 | || Thread Flow Locations per result | 10,000 | Only the top 1,000 Thread Flow Locations will be included, using prioritization. || Location per result | 1,000 | Only 100 locations will be included. || Tags per rule | 20 | Only 10 tags will be included. |The `202 Accepted` response includes an `id` value.You can use this ID to check the status of the upload by using it in the `/sarifs/{sarif_id}` endpoint.For more information, see "[Get information about a SARIF upload](/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload)."OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.This endpoint is limited to 1,000 requests per hour for each user or app installation calling it. returns a CodeScanningSarifsReceiptable 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 CodeScanningSarifsReceipt503Error error when the service returns a 503 status code API method documentation
func (*ItemItemCodeScanningSarifsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemCodeScanningSarifsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemCodeScanningSarifsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. For troubleshooting information, see "[Troubleshooting SARIF uploads](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/troubleshooting-sarif)."There are two places where you can upload code scanning results. - If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see "[Triaging code scanning alerts in pull requests](/code-security/secure-coding/triaging-code-scanning-alerts-in-pull-requests)." - If you upload to a branch, for example `--ref refs/heads/my-branch`, then the results appear in the **Security** tab for your repository. For more information, see "[Managing code scanning alerts for your repository](/code-security/secure-coding/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository)."You must compress the SARIF-formatted analysis data that you want to upload, using `gzip`, and then encode it as a Base64 format string. For example:```gzip -c analysis-data.sarif | base64 -w0```SARIF upload supports a maximum number of entries per the following data objects, and an analysis will be rejected if any of these objects is above its maximum value. For some objects, there are additional values over which the entries will be ignored while keeping the most important entries whenever applicable.To get the most out of your analysis when it includes data above the supported limits, try to optimize the analysis configuration. For example, for the CodeQL tool, identify and remove the most noisy queries. For more information, see "[SARIF results exceed one or more limits](https://docs.github.com/enterprise-server@3.10/code-security/code-scanning/troubleshooting-sarif/results-exceed-limit)."| **SARIF data** | **Maximum values** | **Additional limits** ||----------------------------------|:------------------:|----------------------------------------------------------------------------------|| Runs per file | 20 | || Results per run | 25,000 | Only the top 5,000 results will be included, prioritized by severity. || Rules per run | 25,000 | || Tool extensions per run | 100 | || Thread Flow Locations per result | 10,000 | Only the top 1,000 Thread Flow Locations will be included, using prioritization. || Location per result | 1,000 | Only 100 locations will be included. || Tags per rule | 20 | Only 10 tags will be included. |The `202 Accepted` response includes an `id` value.You can use this ID to check the status of the upload by using it in the `/sarifs/{sarif_id}` endpoint.For more information, see "[Get information about a SARIF upload](/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload)."OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.This endpoint is limited to 1,000 requests per hour for each user or app installation calling it. returns a *RequestInformation when successful
func (*ItemItemCodeScanningSarifsRequestBuilder) WithUrl ¶
func (m *ItemItemCodeScanningSarifsRequestBuilder) WithUrl(rawUrl string) *ItemItemCodeScanningSarifsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCodeScanningSarifsRequestBuilder when successful
type ItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder ¶
type ItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\code-scanning\sarifs\{sarif_id}
func NewItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder ¶
func NewItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder
NewItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder instantiates a new ItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder and sets the default values.
func NewItemItemCodeScanningSarifsWithSarif_ItemRequestBuilderInternal ¶
func NewItemItemCodeScanningSarifsWithSarif_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder
NewItemItemCodeScanningSarifsWithSarif_ItemRequestBuilderInternal instantiates a new ItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder and sets the default values.
func (*ItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder) Get ¶
func (m *ItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningSarifsStatusable, error)
Get gets information about a SARIF upload, including the status and the URL of the analysis that was uploaded so that you can retrieve details of the analysis. For more information, see "[Get a code scanning analysis for a repository](/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository)."OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. returns a CodeScanningSarifsStatusable when successful returns a BasicError error when the service returns a 403 status code returns a CodeScanningSarifsStatus503Error error when the service returns a 503 status code API method documentation
func (*ItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets information about a SARIF upload, including the status and the URL of the analysis that was uploaded so that you can retrieve details of the analysis. For more information, see "[Get a code scanning analysis for a repository](/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository)."OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. returns a *RequestInformation when successful
func (*ItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemCodeScanningSarifsWithSarif_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 *ItemItemCodeScanningSarifsWithSarif_ItemRequestBuilder when successful
type ItemItemCodeownersErrorsRequestBuilder ¶
type ItemItemCodeownersErrorsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCodeownersErrorsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\codeowners\errors
func NewItemItemCodeownersErrorsRequestBuilder ¶
func NewItemItemCodeownersErrorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCodeownersErrorsRequestBuilder
NewItemItemCodeownersErrorsRequestBuilder instantiates a new ItemItemCodeownersErrorsRequestBuilder and sets the default values.
func NewItemItemCodeownersErrorsRequestBuilderInternal ¶
func NewItemItemCodeownersErrorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCodeownersErrorsRequestBuilder
NewItemItemCodeownersErrorsRequestBuilderInternal instantiates a new ItemItemCodeownersErrorsRequestBuilder and sets the default values.
func (*ItemItemCodeownersErrorsRequestBuilder) Get ¶
func (m *ItemItemCodeownersErrorsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCodeownersErrorsRequestBuilderGetQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeownersErrorsable, error)
Get list any syntax errors that are detected in the CODEOWNERSfile.For more information about the correct CODEOWNERS syntax,see "[About code owners](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners)." returns a CodeownersErrorsable when successful API method documentation
func (*ItemItemCodeownersErrorsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCodeownersErrorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCodeownersErrorsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list any syntax errors that are detected in the CODEOWNERSfile.For more information about the correct CODEOWNERS syntax,see "[About code owners](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners)." returns a *RequestInformation when successful
func (*ItemItemCodeownersErrorsRequestBuilder) WithUrl ¶
func (m *ItemItemCodeownersErrorsRequestBuilder) WithUrl(rawUrl string) *ItemItemCodeownersErrorsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCodeownersErrorsRequestBuilder when successful
type ItemItemCodeownersErrorsRequestBuilderGetQueryParameters ¶
type ItemItemCodeownersErrorsRequestBuilderGetQueryParameters struct { // A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository's default branch (e.g. `main`) Ref *string `uriparametername:"ref"` }
ItemItemCodeownersErrorsRequestBuilderGetQueryParameters list any syntax errors that are detected in the CODEOWNERSfile.For more information about the correct CODEOWNERS syntax,see "[About code owners](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners)."
type ItemItemCodeownersRequestBuilder ¶
type ItemItemCodeownersRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCodeownersRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\codeowners
func NewItemItemCodeownersRequestBuilder ¶
func NewItemItemCodeownersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCodeownersRequestBuilder
NewItemItemCodeownersRequestBuilder instantiates a new ItemItemCodeownersRequestBuilder and sets the default values.
func NewItemItemCodeownersRequestBuilderInternal ¶
func NewItemItemCodeownersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCodeownersRequestBuilder
NewItemItemCodeownersRequestBuilderInternal instantiates a new ItemItemCodeownersRequestBuilder and sets the default values.
func (*ItemItemCodeownersRequestBuilder) Errors ¶
func (m *ItemItemCodeownersRequestBuilder) Errors() *ItemItemCodeownersErrorsRequestBuilder
Errors the errors property returns a *ItemItemCodeownersErrorsRequestBuilder when successful
type ItemItemCollaboratorsItemPermissionRequestBuilder ¶
type ItemItemCollaboratorsItemPermissionRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCollaboratorsItemPermissionRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\collaborators\{username}\permission
func NewItemItemCollaboratorsItemPermissionRequestBuilder ¶
func NewItemItemCollaboratorsItemPermissionRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCollaboratorsItemPermissionRequestBuilder
NewItemItemCollaboratorsItemPermissionRequestBuilder instantiates a new ItemItemCollaboratorsItemPermissionRequestBuilder and sets the default values.
func NewItemItemCollaboratorsItemPermissionRequestBuilderInternal ¶
func NewItemItemCollaboratorsItemPermissionRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCollaboratorsItemPermissionRequestBuilder
NewItemItemCollaboratorsItemPermissionRequestBuilderInternal instantiates a new ItemItemCollaboratorsItemPermissionRequestBuilder and sets the default values.
func (*ItemItemCollaboratorsItemPermissionRequestBuilder) Get ¶
func (m *ItemItemCollaboratorsItemPermissionRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryCollaboratorPermissionable, error)
Get checks the repository permission of a collaborator. The possible repositorypermissions are `admin`, `write`, `read`, and `none`.*Note*: The `permission` attribute provides the legacy base roles of `admin`, `write`, `read`, and `none`, where the`maintain` role is mapped to `write` and the `triage` role is mapped to `read`. To determine the role assigned to thecollaborator, see the `role_name` attribute, which will provide the full role name, including custom roles. The`permissions` hash can also be used to determine which base level of access the collaborator has to the repository. returns a RepositoryCollaboratorPermissionable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemCollaboratorsItemPermissionRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCollaboratorsItemPermissionRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation checks the repository permission of a collaborator. The possible repositorypermissions are `admin`, `write`, `read`, and `none`.*Note*: The `permission` attribute provides the legacy base roles of `admin`, `write`, `read`, and `none`, where the`maintain` role is mapped to `write` and the `triage` role is mapped to `read`. To determine the role assigned to thecollaborator, see the `role_name` attribute, which will provide the full role name, including custom roles. The`permissions` hash can also be used to determine which base level of access the collaborator has to the repository. returns a *RequestInformation when successful
func (*ItemItemCollaboratorsItemPermissionRequestBuilder) WithUrl ¶
func (m *ItemItemCollaboratorsItemPermissionRequestBuilder) WithUrl(rawUrl string) *ItemItemCollaboratorsItemPermissionRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCollaboratorsItemPermissionRequestBuilder when successful
type ItemItemCollaboratorsItemWithUsernamePutRequestBody ¶
type ItemItemCollaboratorsItemWithUsernamePutRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemCollaboratorsItemWithUsernamePutRequestBody ¶
func NewItemItemCollaboratorsItemWithUsernamePutRequestBody() *ItemItemCollaboratorsItemWithUsernamePutRequestBody
NewItemItemCollaboratorsItemWithUsernamePutRequestBody instantiates a new ItemItemCollaboratorsItemWithUsernamePutRequestBody and sets the default values.
func (*ItemItemCollaboratorsItemWithUsernamePutRequestBody) GetAdditionalData ¶
func (m *ItemItemCollaboratorsItemWithUsernamePutRequestBody) 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 (*ItemItemCollaboratorsItemWithUsernamePutRequestBody) GetFieldDeserializers ¶
func (m *ItemItemCollaboratorsItemWithUsernamePutRequestBody) 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 (*ItemItemCollaboratorsItemWithUsernamePutRequestBody) GetPermission ¶
func (m *ItemItemCollaboratorsItemWithUsernamePutRequestBody) GetPermission() *string
GetPermission gets the permission property value. The permission to grant the collaborator. **Only valid on organization-owned repositories.** returns a *string when successful
func (*ItemItemCollaboratorsItemWithUsernamePutRequestBody) Serialize ¶
func (m *ItemItemCollaboratorsItemWithUsernamePutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemCollaboratorsItemWithUsernamePutRequestBody) SetAdditionalData ¶
func (m *ItemItemCollaboratorsItemWithUsernamePutRequestBody) 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 (*ItemItemCollaboratorsItemWithUsernamePutRequestBody) SetPermission ¶
func (m *ItemItemCollaboratorsItemWithUsernamePutRequestBody) SetPermission(value *string)
SetPermission sets the permission property value. The permission to grant the collaborator. **Only valid on organization-owned repositories.**
type ItemItemCollaboratorsItemWithUsernamePutRequestBodyable ¶
type ItemItemCollaboratorsItemWithUsernamePutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetPermission() *string SetPermission(value *string) }
type ItemItemCollaboratorsRequestBuilder ¶
type ItemItemCollaboratorsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCollaboratorsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\collaborators
func NewItemItemCollaboratorsRequestBuilder ¶
func NewItemItemCollaboratorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCollaboratorsRequestBuilder
NewItemItemCollaboratorsRequestBuilder instantiates a new ItemItemCollaboratorsRequestBuilder and sets the default values.
func NewItemItemCollaboratorsRequestBuilderInternal ¶
func NewItemItemCollaboratorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCollaboratorsRequestBuilder
NewItemItemCollaboratorsRequestBuilderInternal instantiates a new ItemItemCollaboratorsRequestBuilder and sets the default values.
func (*ItemItemCollaboratorsRequestBuilder) ByUsername ¶
func (m *ItemItemCollaboratorsRequestBuilder) ByUsername(username string) *ItemItemCollaboratorsWithUsernameItemRequestBuilder
ByUsername gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.collaborators.item collection returns a *ItemItemCollaboratorsWithUsernameItemRequestBuilder when successful
func (*ItemItemCollaboratorsRequestBuilder) Get ¶
func (m *ItemItemCollaboratorsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCollaboratorsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Collaboratorable, error)
Get for organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.Organization members with write, maintain, or admin privileges on the organization-owned repository can use this endpoint.Team members will include the members of child teams.The authenticated user must have push access to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `read:org` and `repo` scopes to use this endpoint. returns a []Collaboratorable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemCollaboratorsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCollaboratorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCollaboratorsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation for organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.Organization members with write, maintain, or admin privileges on the organization-owned repository can use this endpoint.Team members will include the members of child teams.The authenticated user must have push access to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `read:org` and `repo` scopes to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemCollaboratorsRequestBuilder) WithUrl ¶
func (m *ItemItemCollaboratorsRequestBuilder) WithUrl(rawUrl string) *ItemItemCollaboratorsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCollaboratorsRequestBuilder when successful
type ItemItemCollaboratorsRequestBuilderGetQueryParameters ¶
type ItemItemCollaboratorsRequestBuilderGetQueryParameters struct { // Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` means all collaborators with permissions to an organization-owned repository, regardless of organization membership status. `all` means all collaborators the authenticated user can see. Affiliation *i293299893727ad48e14dcd30db71529cc064f23afc28739e14075a132764fd44.GetAffiliationQueryParameterType `uriparametername:"affiliation"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // Filter collaborators by the permissions they have on the repository. If not specified, all collaborators will be returned. Permission *i293299893727ad48e14dcd30db71529cc064f23afc28739e14075a132764fd44.GetPermissionQueryParameterType `uriparametername:"permission"` }
ItemItemCollaboratorsRequestBuilderGetQueryParameters for organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.Organization members with write, maintain, or admin privileges on the organization-owned repository can use this endpoint.Team members will include the members of child teams.The authenticated user must have push access to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `read:org` and `repo` scopes to use this endpoint.
type ItemItemCollaboratorsWithUsernameItemRequestBuilder ¶
type ItemItemCollaboratorsWithUsernameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCollaboratorsWithUsernameItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\collaborators\{username}
func NewItemItemCollaboratorsWithUsernameItemRequestBuilder ¶
func NewItemItemCollaboratorsWithUsernameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCollaboratorsWithUsernameItemRequestBuilder
NewItemItemCollaboratorsWithUsernameItemRequestBuilder instantiates a new ItemItemCollaboratorsWithUsernameItemRequestBuilder and sets the default values.
func NewItemItemCollaboratorsWithUsernameItemRequestBuilderInternal ¶
func NewItemItemCollaboratorsWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCollaboratorsWithUsernameItemRequestBuilder
NewItemItemCollaboratorsWithUsernameItemRequestBuilderInternal instantiates a new ItemItemCollaboratorsWithUsernameItemRequestBuilder and sets the default values.
func (*ItemItemCollaboratorsWithUsernameItemRequestBuilder) Delete ¶
func (m *ItemItemCollaboratorsWithUsernameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete removes a collaborator from a repository.To use this endpoint, the authenticated user must either be an administrator of the repository or target themselves for removal.This endpoint also:- Cancels any outstanding invitations- Unasigns the user from any issues- Removes access to organization projects if the user is not an organization member and is not a collaborator on any other organization repositories.- Unstars the repository- Updates access permissions to packagesRemoving a user as a collaborator has the following effects on forks: - If the user had access to a fork through their membership to this repository, the user will also be removed from the fork. - If the user had their own fork of the repository, the fork will be deleted. - If the user still has read access to the repository, open pull requests by this user from a fork will be denied.> [!NOTE]> A user can still have access to the repository through organization permissions like base repository permissions.Although the API responds immediately, the additional permission updates might take some extra time to complete in the background.For more information on fork permissions, see "[About permissions and visibility of forks](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/working-with-forks/about-permissions-and-visibility-of-forks)". 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 (*ItemItemCollaboratorsWithUsernameItemRequestBuilder) Get ¶
func (m *ItemItemCollaboratorsWithUsernameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Get for organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.Team members will include the members of child teams.The authenticated user must have push access to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `read:org` and `repo` scopes to use this endpoint. API method documentation
func (*ItemItemCollaboratorsWithUsernameItemRequestBuilder) Permission ¶
func (m *ItemItemCollaboratorsWithUsernameItemRequestBuilder) Permission() *ItemItemCollaboratorsItemPermissionRequestBuilder
Permission the permission property returns a *ItemItemCollaboratorsItemPermissionRequestBuilder when successful
func (*ItemItemCollaboratorsWithUsernameItemRequestBuilder) Put ¶
func (m *ItemItemCollaboratorsWithUsernameItemRequestBuilder) Put(ctx context.Context, body ItemItemCollaboratorsItemWithUsernamePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put this endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.10/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/best-practices-for-using-the-rest-api)."Adding an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.10/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)."For more information on permission levels, see "[Repository permission levels for an organization](https://docs.github.com/enterprise-server@3.10/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:```Cannot assign {member} permission of {role name}```Note that, if you choose not to pass any parameters, 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/enterprise-server@3.10/rest/guides/getting-started-with-the-rest-api#http-method)."**Updating an existing collaborator's permission level**The endpoint can also be used to change the permissions of an existing collaborator without first removing and re-adding the collaborator. To change the permissions, use the same endpoint and pass a different `permission` parameter. The response will be a `204`, with no other indication that the permission level changed. 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 (*ItemItemCollaboratorsWithUsernameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemCollaboratorsWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation removes a collaborator from a repository.To use this endpoint, the authenticated user must either be an administrator of the repository or target themselves for removal.This endpoint also:- Cancels any outstanding invitations- Unasigns the user from any issues- Removes access to organization projects if the user is not an organization member and is not a collaborator on any other organization repositories.- Unstars the repository- Updates access permissions to packagesRemoving a user as a collaborator has the following effects on forks: - If the user had access to a fork through their membership to this repository, the user will also be removed from the fork. - If the user had their own fork of the repository, the fork will be deleted. - If the user still has read access to the repository, open pull requests by this user from a fork will be denied.> [!NOTE]> A user can still have access to the repository through organization permissions like base repository permissions.Although the API responds immediately, the additional permission updates might take some extra time to complete in the background.For more information on fork permissions, see "[About permissions and visibility of forks](https://docs.github.com/enterprise-server@3.10/pull-requests/collaborating-with-pull-requests/working-with-forks/about-permissions-and-visibility-of-forks)". returns a *RequestInformation when successful
func (*ItemItemCollaboratorsWithUsernameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCollaboratorsWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation for organization-owned repositories, the list of collaborators includes outside collaborators, organization members that are direct collaborators, organization members with access through team memberships, organization members with access through default organization permissions, and organization owners.Team members will include the members of child teams.The authenticated user must have push access to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `read:org` and `repo` scopes to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemCollaboratorsWithUsernameItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemCollaboratorsWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemCollaboratorsItemWithUsernamePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation this endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.10/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/best-practices-for-using-the-rest-api)."Adding an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/enterprise-server@3.10/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)."For more information on permission levels, see "[Repository permission levels for an organization](https://docs.github.com/enterprise-server@3.10/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". There are restrictions on which permissions can be granted to organization members when an organization base role is in place. In this case, the permission being given must be equal to or higher than the org base permission. Otherwise, the request will fail with:```Cannot assign {member} permission of {role name}```Note that, if you choose not to pass any parameters, 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/enterprise-server@3.10/rest/guides/getting-started-with-the-rest-api#http-method)."**Updating an existing collaborator's permission level**The endpoint can also be used to change the permissions of an existing collaborator without first removing and re-adding the collaborator. To change the permissions, use the same endpoint and pass a different `permission` parameter. The response will be a `204`, with no other indication that the permission level changed. returns a *RequestInformation when successful
func (*ItemItemCollaboratorsWithUsernameItemRequestBuilder) WithUrl ¶
func (m *ItemItemCollaboratorsWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *ItemItemCollaboratorsWithUsernameItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCollaboratorsWithUsernameItemRequestBuilder when successful
type ItemItemCommentsItemReactionsPostRequestBody ¶
type ItemItemCommentsItemReactionsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemCommentsItemReactionsPostRequestBody ¶
func NewItemItemCommentsItemReactionsPostRequestBody() *ItemItemCommentsItemReactionsPostRequestBody
NewItemItemCommentsItemReactionsPostRequestBody instantiates a new ItemItemCommentsItemReactionsPostRequestBody and sets the default values.
func (*ItemItemCommentsItemReactionsPostRequestBody) GetAdditionalData ¶
func (m *ItemItemCommentsItemReactionsPostRequestBody) 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 (*ItemItemCommentsItemReactionsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemCommentsItemReactionsPostRequestBody) 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 (*ItemItemCommentsItemReactionsPostRequestBody) Serialize ¶
func (m *ItemItemCommentsItemReactionsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemCommentsItemReactionsPostRequestBody) SetAdditionalData ¶
func (m *ItemItemCommentsItemReactionsPostRequestBody) 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 ItemItemCommentsItemReactionsPostRequestBodyable ¶
type ItemItemCommentsItemReactionsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemItemCommentsItemReactionsRequestBuilder ¶
type ItemItemCommentsItemReactionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCommentsItemReactionsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\comments\{comment_id}\reactions
func NewItemItemCommentsItemReactionsRequestBuilder ¶
func NewItemItemCommentsItemReactionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommentsItemReactionsRequestBuilder
NewItemItemCommentsItemReactionsRequestBuilder instantiates a new ItemItemCommentsItemReactionsRequestBuilder and sets the default values.
func NewItemItemCommentsItemReactionsRequestBuilderInternal ¶
func NewItemItemCommentsItemReactionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommentsItemReactionsRequestBuilder
NewItemItemCommentsItemReactionsRequestBuilderInternal instantiates a new ItemItemCommentsItemReactionsRequestBuilder and sets the default values.
func (*ItemItemCommentsItemReactionsRequestBuilder) ByReaction_id ¶
func (m *ItemItemCommentsItemReactionsRequestBuilder) ByReaction_id(reaction_id int32) *ItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder
ByReaction_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.comments.item.reactions.item collection returns a *ItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder when successful
func (*ItemItemCommentsItemReactionsRequestBuilder) Get ¶
func (m *ItemItemCommentsItemReactionsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCommentsItemReactionsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Reactionable, error)
Get list the reactions to a [commit comment](https://docs.github.com/enterprise-server@3.10/rest/commits/comments#get-a-commit-comment). returns a []Reactionable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemCommentsItemReactionsRequestBuilder) Post ¶
func (m *ItemItemCommentsItemReactionsRequestBuilder) Post(ctx context.Context, body ItemItemCommentsItemReactionsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Reactionable, error)
Post create a reaction to a [commit comment](https://docs.github.com/enterprise-server@3.10/rest/commits/comments#get-a-commit-comment). A response with an HTTP `200` status means that you already added the reaction type to this commit comment. returns a Reactionable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemCommentsItemReactionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCommentsItemReactionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCommentsItemReactionsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list the reactions to a [commit comment](https://docs.github.com/enterprise-server@3.10/rest/commits/comments#get-a-commit-comment). returns a *RequestInformation when successful
func (*ItemItemCommentsItemReactionsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemCommentsItemReactionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemCommentsItemReactionsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation create a reaction to a [commit comment](https://docs.github.com/enterprise-server@3.10/rest/commits/comments#get-a-commit-comment). A response with an HTTP `200` status means that you already added the reaction type to this commit comment. returns a *RequestInformation when successful
func (*ItemItemCommentsItemReactionsRequestBuilder) WithUrl ¶
func (m *ItemItemCommentsItemReactionsRequestBuilder) WithUrl(rawUrl string) *ItemItemCommentsItemReactionsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCommentsItemReactionsRequestBuilder when successful
type ItemItemCommentsItemReactionsRequestBuilderGetQueryParameters ¶
type ItemItemCommentsItemReactionsRequestBuilderGetQueryParameters struct { // Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. Content *i2daa89030a4a9be72ff596adb42acdd38f379e1d583f9f68dea5e1f91d45ba3d.GetContentQueryParameterType `uriparametername:"content"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemCommentsItemReactionsRequestBuilderGetQueryParameters list the reactions to a [commit comment](https://docs.github.com/enterprise-server@3.10/rest/commits/comments#get-a-commit-comment).
type ItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder ¶
type ItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\comments\{comment_id}\reactions\{reaction_id}
func NewItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder ¶
func NewItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder
NewItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder instantiates a new ItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder and sets the default values.
func NewItemItemCommentsItemReactionsWithReaction_ItemRequestBuilderInternal ¶
func NewItemItemCommentsItemReactionsWithReaction_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder
NewItemItemCommentsItemReactionsWithReaction_ItemRequestBuilderInternal instantiates a new ItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder and sets the default values.
func (*ItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder) Delete ¶
func (m *ItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete > [!NOTE]> You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.Delete a reaction to a [commit comment](https://docs.github.com/enterprise-server@3.10/rest/commits/comments#get-a-commit-comment). API method documentation
func (*ItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation > [!NOTE]> You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.Delete a reaction to a [commit comment](https://docs.github.com/enterprise-server@3.10/rest/commits/comments#get-a-commit-comment). returns a *RequestInformation when successful
func (*ItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemCommentsItemReactionsWithReaction_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 *ItemItemCommentsItemReactionsWithReaction_ItemRequestBuilder when successful
type ItemItemCommentsItemWithComment_PatchRequestBody ¶
type ItemItemCommentsItemWithComment_PatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemCommentsItemWithComment_PatchRequestBody ¶
func NewItemItemCommentsItemWithComment_PatchRequestBody() *ItemItemCommentsItemWithComment_PatchRequestBody
NewItemItemCommentsItemWithComment_PatchRequestBody instantiates a new ItemItemCommentsItemWithComment_PatchRequestBody and sets the default values.
func (*ItemItemCommentsItemWithComment_PatchRequestBody) GetAdditionalData ¶
func (m *ItemItemCommentsItemWithComment_PatchRequestBody) 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 (*ItemItemCommentsItemWithComment_PatchRequestBody) GetBody ¶
func (m *ItemItemCommentsItemWithComment_PatchRequestBody) GetBody() *string
GetBody gets the body property value. The contents of the comment returns a *string when successful
func (*ItemItemCommentsItemWithComment_PatchRequestBody) GetFieldDeserializers ¶
func (m *ItemItemCommentsItemWithComment_PatchRequestBody) 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 (*ItemItemCommentsItemWithComment_PatchRequestBody) Serialize ¶
func (m *ItemItemCommentsItemWithComment_PatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemCommentsItemWithComment_PatchRequestBody) SetAdditionalData ¶
func (m *ItemItemCommentsItemWithComment_PatchRequestBody) 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 (*ItemItemCommentsItemWithComment_PatchRequestBody) SetBody ¶
func (m *ItemItemCommentsItemWithComment_PatchRequestBody) SetBody(value *string)
SetBody sets the body property value. The contents of the comment
type ItemItemCommentsItemWithComment_PatchRequestBodyable ¶
type ItemItemCommentsItemWithComment_PatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBody() *string SetBody(value *string) }
type ItemItemCommentsRequestBuilder ¶
type ItemItemCommentsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCommentsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\comments
func NewItemItemCommentsRequestBuilder ¶
func NewItemItemCommentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommentsRequestBuilder
NewItemItemCommentsRequestBuilder instantiates a new ItemItemCommentsRequestBuilder and sets the default values.
func NewItemItemCommentsRequestBuilderInternal ¶
func NewItemItemCommentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommentsRequestBuilder
NewItemItemCommentsRequestBuilderInternal instantiates a new ItemItemCommentsRequestBuilder and sets the default values.
func (*ItemItemCommentsRequestBuilder) ByComment_id ¶
func (m *ItemItemCommentsRequestBuilder) ByComment_id(comment_id int32) *ItemItemCommentsWithComment_ItemRequestBuilder
ByComment_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.comments.item collection returns a *ItemItemCommentsWithComment_ItemRequestBuilder when successful
func (*ItemItemCommentsRequestBuilder) Get ¶
func (m *ItemItemCommentsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCommentsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CommitCommentable, error)
Get lists the commit comments for a specified repository. Comments are ordered by ascending ID.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a []CommitCommentable when successful API method documentation
func (*ItemItemCommentsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCommentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCommentsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the commit comments for a specified repository. Comments are ordered by ascending ID.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a *RequestInformation when successful
func (*ItemItemCommentsRequestBuilder) WithUrl ¶
func (m *ItemItemCommentsRequestBuilder) WithUrl(rawUrl string) *ItemItemCommentsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCommentsRequestBuilder when successful
type ItemItemCommentsRequestBuilderGetQueryParameters ¶
type ItemItemCommentsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemCommentsRequestBuilderGetQueryParameters lists the commit comments for a specified repository. Comments are ordered by ascending ID.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.
type ItemItemCommentsWithComment_ItemRequestBuilder ¶
type ItemItemCommentsWithComment_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCommentsWithComment_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\comments\{comment_id}
func NewItemItemCommentsWithComment_ItemRequestBuilder ¶
func NewItemItemCommentsWithComment_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommentsWithComment_ItemRequestBuilder
NewItemItemCommentsWithComment_ItemRequestBuilder instantiates a new ItemItemCommentsWithComment_ItemRequestBuilder and sets the default values.
func NewItemItemCommentsWithComment_ItemRequestBuilderInternal ¶
func NewItemItemCommentsWithComment_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommentsWithComment_ItemRequestBuilder
NewItemItemCommentsWithComment_ItemRequestBuilderInternal instantiates a new ItemItemCommentsWithComment_ItemRequestBuilder and sets the default values.
func (*ItemItemCommentsWithComment_ItemRequestBuilder) Delete ¶
func (m *ItemItemCommentsWithComment_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete delete a commit comment returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemCommentsWithComment_ItemRequestBuilder) Get ¶
func (m *ItemItemCommentsWithComment_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CommitCommentable, error)
Get gets a specified commit comment.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a CommitCommentable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemCommentsWithComment_ItemRequestBuilder) Patch ¶
func (m *ItemItemCommentsWithComment_ItemRequestBuilder) Patch(ctx context.Context, body ItemItemCommentsItemWithComment_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CommitCommentable, error)
Patch updates the contents of a specified commit comment.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a CommitCommentable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemCommentsWithComment_ItemRequestBuilder) Reactions ¶
func (m *ItemItemCommentsWithComment_ItemRequestBuilder) Reactions() *ItemItemCommentsItemReactionsRequestBuilder
Reactions the reactions property returns a *ItemItemCommentsItemReactionsRequestBuilder when successful
func (*ItemItemCommentsWithComment_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemCommentsWithComment_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*ItemItemCommentsWithComment_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCommentsWithComment_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a specified commit comment.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a *RequestInformation when successful
func (*ItemItemCommentsWithComment_ItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemCommentsWithComment_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemCommentsItemWithComment_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation updates the contents of a specified commit comment.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a *RequestInformation when successful
func (*ItemItemCommentsWithComment_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemCommentsWithComment_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemCommentsWithComment_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 *ItemItemCommentsWithComment_ItemRequestBuilder when successful
type ItemItemCommitsCommit_shaItemRequestBuilder ¶
type ItemItemCommitsCommit_shaItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCommitsCommit_shaItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\commits\{commit_sha-id}
func NewItemItemCommitsCommit_shaItemRequestBuilder ¶
func NewItemItemCommitsCommit_shaItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommitsCommit_shaItemRequestBuilder
NewItemItemCommitsCommit_shaItemRequestBuilder instantiates a new ItemItemCommitsCommit_shaItemRequestBuilder and sets the default values.
func NewItemItemCommitsCommit_shaItemRequestBuilderInternal ¶
func NewItemItemCommitsCommit_shaItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommitsCommit_shaItemRequestBuilder
NewItemItemCommitsCommit_shaItemRequestBuilderInternal instantiates a new ItemItemCommitsCommit_shaItemRequestBuilder and sets the default values.
func (*ItemItemCommitsCommit_shaItemRequestBuilder) BranchesWhereHead ¶
func (m *ItemItemCommitsCommit_shaItemRequestBuilder) BranchesWhereHead() *ItemItemCommitsItemBranchesWhereHeadRequestBuilder
BranchesWhereHead the branchesWhereHead property returns a *ItemItemCommitsItemBranchesWhereHeadRequestBuilder when successful
func (*ItemItemCommitsCommit_shaItemRequestBuilder) CheckRuns ¶
func (m *ItemItemCommitsCommit_shaItemRequestBuilder) CheckRuns() *ItemItemCommitsItemCheckRunsRequestBuilder
CheckRuns the checkRuns property returns a *ItemItemCommitsItemCheckRunsRequestBuilder when successful
func (*ItemItemCommitsCommit_shaItemRequestBuilder) CheckSuites ¶
func (m *ItemItemCommitsCommit_shaItemRequestBuilder) CheckSuites() *ItemItemCommitsItemCheckSuitesRequestBuilder
CheckSuites the checkSuites property returns a *ItemItemCommitsItemCheckSuitesRequestBuilder when successful
func (*ItemItemCommitsCommit_shaItemRequestBuilder) Comments ¶
func (m *ItemItemCommitsCommit_shaItemRequestBuilder) Comments() *ItemItemCommitsItemCommentsRequestBuilder
Comments the comments property returns a *ItemItemCommitsItemCommentsRequestBuilder when successful
func (*ItemItemCommitsCommit_shaItemRequestBuilder) Get ¶
func (m *ItemItemCommitsCommit_shaItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCommitsCommit_shaItemRequestBuilderGetQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Commitable, error)
Get returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.> [!NOTE]> If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." Pagination query parameters are not supported for these media types.- **`application/vnd.github.diff`**: Returns the diff of the commit. Larger diffs may time out and return a 5xx status code.- **`application/vnd.github.patch`**: Returns the patch of the commit. Diffs with binary data will have no `patch` property. Larger diffs may time out and return a 5xx status code.- **`application/vnd.github.sha`**: Returns the commit's SHA-1 hash. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.**Signature verification object**The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:| Name | Type | Description || ---- | ---- | ----------- || `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. || `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. || `signature` | `string` | The signature that was extracted from the commit. || `payload` | `string` | The value that was signed. |These are the possible values for `reason` in the `verification` object:| Value | Description || ----- | ----------- || `expired_key` | The key that made the signature is expired. || `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. || `gpgverify_error` | There was an error communicating with the signature verification service. || `gpgverify_unavailable` | The signature verification service is currently unavailable. || `unsigned` | The object does not include a signature. || `unknown_signature_type` | A non-PGP signature was found in the commit. || `no_user` | No user was associated with the `committer` email address in the commit. || `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. || `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. || `unknown_key` | The key that made the signature has not been registered with any user's account. || `malformed_signature` | There was an error parsing the signature. || `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. || `valid` | None of the above errors applied, so the signature is considered to be verified. | returns a Commitable when successful 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 ValidationError error when the service returns a 422 status code returns a BasicError error when the service returns a 500 status code returns a Commit503Error error when the service returns a 503 status code API method documentation
func (*ItemItemCommitsCommit_shaItemRequestBuilder) Pulls ¶
func (m *ItemItemCommitsCommit_shaItemRequestBuilder) Pulls() *ItemItemCommitsItemPullsRequestBuilder
Pulls the pulls property returns a *ItemItemCommitsItemPullsRequestBuilder when successful
func (*ItemItemCommitsCommit_shaItemRequestBuilder) Status ¶
func (m *ItemItemCommitsCommit_shaItemRequestBuilder) Status() *ItemItemCommitsItemStatusRequestBuilder
Status the status property returns a *ItemItemCommitsItemStatusRequestBuilder when successful
func (*ItemItemCommitsCommit_shaItemRequestBuilder) Statuses ¶
func (m *ItemItemCommitsCommit_shaItemRequestBuilder) Statuses() *ItemItemCommitsItemStatusesRequestBuilder
Statuses the statuses property returns a *ItemItemCommitsItemStatusesRequestBuilder when successful
func (*ItemItemCommitsCommit_shaItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCommitsCommit_shaItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCommitsCommit_shaItemRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.> [!NOTE]> If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." Pagination query parameters are not supported for these media types.- **`application/vnd.github.diff`**: Returns the diff of the commit. Larger diffs may time out and return a 5xx status code.- **`application/vnd.github.patch`**: Returns the patch of the commit. Diffs with binary data will have no `patch` property. Larger diffs may time out and return a 5xx status code.- **`application/vnd.github.sha`**: Returns the commit's SHA-1 hash. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.**Signature verification object**The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:| Name | Type | Description || ---- | ---- | ----------- || `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. || `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. || `signature` | `string` | The signature that was extracted from the commit. || `payload` | `string` | The value that was signed. |These are the possible values for `reason` in the `verification` object:| Value | Description || ----- | ----------- || `expired_key` | The key that made the signature is expired. || `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. || `gpgverify_error` | There was an error communicating with the signature verification service. || `gpgverify_unavailable` | The signature verification service is currently unavailable. || `unsigned` | The object does not include a signature. || `unknown_signature_type` | A non-PGP signature was found in the commit. || `no_user` | No user was associated with the `committer` email address in the commit. || `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. || `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. || `unknown_key` | The key that made the signature has not been registered with any user's account. || `malformed_signature` | There was an error parsing the signature. || `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. || `valid` | None of the above errors applied, so the signature is considered to be verified. | returns a *RequestInformation when successful
func (*ItemItemCommitsCommit_shaItemRequestBuilder) WithUrl ¶
func (m *ItemItemCommitsCommit_shaItemRequestBuilder) WithUrl(rawUrl string) *ItemItemCommitsCommit_shaItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCommitsCommit_shaItemRequestBuilder when successful
type ItemItemCommitsCommit_shaItemRequestBuilderGetQueryParameters ¶
type ItemItemCommitsCommit_shaItemRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemCommitsCommit_shaItemRequestBuilderGetQueryParameters returns the contents of a single commit reference. You must have `read` access for the repository to use this endpoint.> [!NOTE]> If there are more than 300 files in the commit diff and the default JSON media type is requested, the response will include pagination link headers for the remaining files, up to a limit of 3000 files. Each page contains the static commit information, and the only changes are to the file listing.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)." Pagination query parameters are not supported for these media types.- **`application/vnd.github.diff`**: Returns the diff of the commit. Larger diffs may time out and return a 5xx status code.- **`application/vnd.github.patch`**: Returns the patch of the commit. Diffs with binary data will have no `patch` property. Larger diffs may time out and return a 5xx status code.- **`application/vnd.github.sha`**: Returns the commit's SHA-1 hash. You can use this endpoint to check if a remote reference's SHA-1 hash is the same as your local reference's SHA-1 hash by providing the local SHA-1 reference as the ETag.**Signature verification object**The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:| Name | Type | Description || ---- | ---- | ----------- || `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. || `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. || `signature` | `string` | The signature that was extracted from the commit. || `payload` | `string` | The value that was signed. |These are the possible values for `reason` in the `verification` object:| Value | Description || ----- | ----------- || `expired_key` | The key that made the signature is expired. || `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. || `gpgverify_error` | There was an error communicating with the signature verification service. || `gpgverify_unavailable` | The signature verification service is currently unavailable. || `unsigned` | The object does not include a signature. || `unknown_signature_type` | A non-PGP signature was found in the commit. || `no_user` | No user was associated with the `committer` email address in the commit. || `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. || `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. || `unknown_key` | The key that made the signature has not been registered with any user's account. || `malformed_signature` | There was an error parsing the signature. || `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. || `valid` | None of the above errors applied, so the signature is considered to be verified. |
type ItemItemCommitsItemBranchesWhereHeadRequestBuilder ¶
type ItemItemCommitsItemBranchesWhereHeadRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCommitsItemBranchesWhereHeadRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\commits\{commit_sha-id}\branches-where-head
func NewItemItemCommitsItemBranchesWhereHeadRequestBuilder ¶
func NewItemItemCommitsItemBranchesWhereHeadRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommitsItemBranchesWhereHeadRequestBuilder
NewItemItemCommitsItemBranchesWhereHeadRequestBuilder instantiates a new ItemItemCommitsItemBranchesWhereHeadRequestBuilder and sets the default values.
func NewItemItemCommitsItemBranchesWhereHeadRequestBuilderInternal ¶
func NewItemItemCommitsItemBranchesWhereHeadRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommitsItemBranchesWhereHeadRequestBuilder
NewItemItemCommitsItemBranchesWhereHeadRequestBuilderInternal instantiates a new ItemItemCommitsItemBranchesWhereHeadRequestBuilder and sets the default values.
func (*ItemItemCommitsItemBranchesWhereHeadRequestBuilder) Get ¶
func (m *ItemItemCommitsItemBranchesWhereHeadRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.BranchShortable, error)
Get protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Returns all branches where the given commit SHA is the HEAD, or latest commit for the branch. returns a []BranchShortable when successful returns a BasicError error when the service returns a 409 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemCommitsItemBranchesWhereHeadRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCommitsItemBranchesWhereHeadRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Returns all branches where the given commit SHA is the HEAD, or latest commit for the branch. returns a *RequestInformation when successful
func (*ItemItemCommitsItemBranchesWhereHeadRequestBuilder) WithUrl ¶
func (m *ItemItemCommitsItemBranchesWhereHeadRequestBuilder) WithUrl(rawUrl string) *ItemItemCommitsItemBranchesWhereHeadRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCommitsItemBranchesWhereHeadRequestBuilder when successful
type ItemItemCommitsItemCheckRunsGetResponse ¶
type ItemItemCommitsItemCheckRunsGetResponse struct {
// contains filtered or unexported fields
}
func NewItemItemCommitsItemCheckRunsGetResponse ¶
func NewItemItemCommitsItemCheckRunsGetResponse() *ItemItemCommitsItemCheckRunsGetResponse
NewItemItemCommitsItemCheckRunsGetResponse instantiates a new ItemItemCommitsItemCheckRunsGetResponse and sets the default values.
func (*ItemItemCommitsItemCheckRunsGetResponse) GetAdditionalData ¶
func (m *ItemItemCommitsItemCheckRunsGetResponse) 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 (*ItemItemCommitsItemCheckRunsGetResponse) GetCheckRuns ¶
func (m *ItemItemCommitsItemCheckRunsGetResponse) GetCheckRuns() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CheckRunable
GetCheckRuns gets the check_runs property value. The check_runs property returns a []CheckRunable when successful
func (*ItemItemCommitsItemCheckRunsGetResponse) GetFieldDeserializers ¶
func (m *ItemItemCommitsItemCheckRunsGetResponse) 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 (*ItemItemCommitsItemCheckRunsGetResponse) GetTotalCount ¶
func (m *ItemItemCommitsItemCheckRunsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemItemCommitsItemCheckRunsGetResponse) Serialize ¶
func (m *ItemItemCommitsItemCheckRunsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemCommitsItemCheckRunsGetResponse) SetAdditionalData ¶
func (m *ItemItemCommitsItemCheckRunsGetResponse) 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 (*ItemItemCommitsItemCheckRunsGetResponse) SetCheckRuns ¶
func (m *ItemItemCommitsItemCheckRunsGetResponse) SetCheckRuns(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CheckRunable)
SetCheckRuns sets the check_runs property value. The check_runs property
func (*ItemItemCommitsItemCheckRunsGetResponse) SetTotalCount ¶
func (m *ItemItemCommitsItemCheckRunsGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemItemCommitsItemCheckRunsGetResponseable ¶
type ItemItemCommitsItemCheckRunsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCheckRuns() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CheckRunable GetTotalCount() *int32 SetCheckRuns(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CheckRunable) SetTotalCount(value *int32) }
type ItemItemCommitsItemCheckRunsRequestBuilder ¶
type ItemItemCommitsItemCheckRunsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCommitsItemCheckRunsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\commits\{commit_sha-id}\check-runs
func NewItemItemCommitsItemCheckRunsRequestBuilder ¶
func NewItemItemCommitsItemCheckRunsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommitsItemCheckRunsRequestBuilder
NewItemItemCommitsItemCheckRunsRequestBuilder instantiates a new ItemItemCommitsItemCheckRunsRequestBuilder and sets the default values.
func NewItemItemCommitsItemCheckRunsRequestBuilderInternal ¶
func NewItemItemCommitsItemCheckRunsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommitsItemCheckRunsRequestBuilder
NewItemItemCommitsItemCheckRunsRequestBuilderInternal instantiates a new ItemItemCommitsItemCheckRunsRequestBuilder and sets the default values.
func (*ItemItemCommitsItemCheckRunsRequestBuilder) Get ¶
func (m *ItemItemCommitsItemCheckRunsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCommitsItemCheckRunsRequestBuilderGetQueryParameters]) (ItemItemCommitsItemCheckRunsGetResponseable, error)
Get lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name.> [!NOTE]> The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.If there are more than 1000 check suites on a single git reference, this endpoint will limit check runs to the 1000 most recent check suites. To iterate over all possible check runs, use the [List check suites for a Git reference](https://docs.github.com/enterprise-server@3.10/rest/reference/checks#list-check-suites-for-a-git-reference) endpoint and provide the `check_suite_id` parameter to the [List check runs in a check suite](https://docs.github.com/enterprise-server@3.10/rest/reference/checks#list-check-runs-in-a-check-suite) endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. returns a ItemItemCommitsItemCheckRunsGetResponseable when successful API method documentation
func (*ItemItemCommitsItemCheckRunsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCommitsItemCheckRunsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCommitsItemCheckRunsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name.> [!NOTE]> The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.If there are more than 1000 check suites on a single git reference, this endpoint will limit check runs to the 1000 most recent check suites. To iterate over all possible check runs, use the [List check suites for a Git reference](https://docs.github.com/enterprise-server@3.10/rest/reference/checks#list-check-suites-for-a-git-reference) endpoint and provide the `check_suite_id` parameter to the [List check runs in a check suite](https://docs.github.com/enterprise-server@3.10/rest/reference/checks#list-check-runs-in-a-check-suite) endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. returns a *RequestInformation when successful
func (*ItemItemCommitsItemCheckRunsRequestBuilder) WithUrl ¶
func (m *ItemItemCommitsItemCheckRunsRequestBuilder) WithUrl(rawUrl string) *ItemItemCommitsItemCheckRunsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCommitsItemCheckRunsRequestBuilder when successful
type ItemItemCommitsItemCheckRunsRequestBuilderGetQueryParameters ¶
type ItemItemCommitsItemCheckRunsRequestBuilderGetQueryParameters struct { App_id *int32 `uriparametername:"app_id"` // Returns check runs with the specified `name`. Check_name *string `uriparametername:"check_name"` // Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. Filter *ia54199ab4ea9f515da05caac08d933841a68e598f4835042091716e5b346eb74.GetFilterQueryParameterType `uriparametername:"filter"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // Returns check runs with the specified `status`. Status *ia54199ab4ea9f515da05caac08d933841a68e598f4835042091716e5b346eb74.GetStatusQueryParameterType `uriparametername:"status"` }
ItemItemCommitsItemCheckRunsRequestBuilderGetQueryParameters lists check runs for a commit ref. The `ref` can be a SHA, branch name, or a tag name.> [!NOTE]> The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array.If there are more than 1000 check suites on a single git reference, this endpoint will limit check runs to the 1000 most recent check suites. To iterate over all possible check runs, use the [List check suites for a Git reference](https://docs.github.com/enterprise-server@3.10/rest/reference/checks#list-check-suites-for-a-git-reference) endpoint and provide the `check_suite_id` parameter to the [List check runs in a check suite](https://docs.github.com/enterprise-server@3.10/rest/reference/checks#list-check-runs-in-a-check-suite) endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository.
type ItemItemCommitsItemCheckSuitesGetResponse ¶
type ItemItemCommitsItemCheckSuitesGetResponse struct {
// contains filtered or unexported fields
}
func NewItemItemCommitsItemCheckSuitesGetResponse ¶
func NewItemItemCommitsItemCheckSuitesGetResponse() *ItemItemCommitsItemCheckSuitesGetResponse
NewItemItemCommitsItemCheckSuitesGetResponse instantiates a new ItemItemCommitsItemCheckSuitesGetResponse and sets the default values.
func (*ItemItemCommitsItemCheckSuitesGetResponse) GetAdditionalData ¶
func (m *ItemItemCommitsItemCheckSuitesGetResponse) 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 (*ItemItemCommitsItemCheckSuitesGetResponse) GetCheckSuites ¶
func (m *ItemItemCommitsItemCheckSuitesGetResponse) GetCheckSuites() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CheckSuiteable
GetCheckSuites gets the check_suites property value. The check_suites property returns a []CheckSuiteable when successful
func (*ItemItemCommitsItemCheckSuitesGetResponse) GetFieldDeserializers ¶
func (m *ItemItemCommitsItemCheckSuitesGetResponse) 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 (*ItemItemCommitsItemCheckSuitesGetResponse) GetTotalCount ¶
func (m *ItemItemCommitsItemCheckSuitesGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemItemCommitsItemCheckSuitesGetResponse) Serialize ¶
func (m *ItemItemCommitsItemCheckSuitesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemCommitsItemCheckSuitesGetResponse) SetAdditionalData ¶
func (m *ItemItemCommitsItemCheckSuitesGetResponse) 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 (*ItemItemCommitsItemCheckSuitesGetResponse) SetCheckSuites ¶
func (m *ItemItemCommitsItemCheckSuitesGetResponse) SetCheckSuites(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CheckSuiteable)
SetCheckSuites sets the check_suites property value. The check_suites property
func (*ItemItemCommitsItemCheckSuitesGetResponse) SetTotalCount ¶
func (m *ItemItemCommitsItemCheckSuitesGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemItemCommitsItemCheckSuitesGetResponseable ¶
type ItemItemCommitsItemCheckSuitesGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCheckSuites() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CheckSuiteable GetTotalCount() *int32 SetCheckSuites(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CheckSuiteable) SetTotalCount(value *int32) }
type ItemItemCommitsItemCheckSuitesRequestBuilder ¶
type ItemItemCommitsItemCheckSuitesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCommitsItemCheckSuitesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\commits\{commit_sha-id}\check-suites
func NewItemItemCommitsItemCheckSuitesRequestBuilder ¶
func NewItemItemCommitsItemCheckSuitesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommitsItemCheckSuitesRequestBuilder
NewItemItemCommitsItemCheckSuitesRequestBuilder instantiates a new ItemItemCommitsItemCheckSuitesRequestBuilder and sets the default values.
func NewItemItemCommitsItemCheckSuitesRequestBuilderInternal ¶
func NewItemItemCommitsItemCheckSuitesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommitsItemCheckSuitesRequestBuilder
NewItemItemCommitsItemCheckSuitesRequestBuilderInternal instantiates a new ItemItemCommitsItemCheckSuitesRequestBuilder and sets the default values.
func (*ItemItemCommitsItemCheckSuitesRequestBuilder) Get ¶
func (m *ItemItemCommitsItemCheckSuitesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCommitsItemCheckSuitesRequestBuilderGetQueryParameters]) (ItemItemCommitsItemCheckSuitesGetResponseable, error)
Get lists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name.> [!NOTE]> The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. returns a ItemItemCommitsItemCheckSuitesGetResponseable when successful API method documentation
func (*ItemItemCommitsItemCheckSuitesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCommitsItemCheckSuitesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCommitsItemCheckSuitesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name.> [!NOTE]> The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository. returns a *RequestInformation when successful
func (*ItemItemCommitsItemCheckSuitesRequestBuilder) WithUrl ¶
func (m *ItemItemCommitsItemCheckSuitesRequestBuilder) WithUrl(rawUrl string) *ItemItemCommitsItemCheckSuitesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCommitsItemCheckSuitesRequestBuilder when successful
type ItemItemCommitsItemCheckSuitesRequestBuilderGetQueryParameters ¶
type ItemItemCommitsItemCheckSuitesRequestBuilderGetQueryParameters struct { // Filters check suites by GitHub App `id`. App_id *int32 `uriparametername:"app_id"` // Returns check runs with the specified `name`. Check_name *string `uriparametername:"check_name"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemCommitsItemCheckSuitesRequestBuilderGetQueryParameters lists check suites for a commit `ref`. The `ref` can be a SHA, branch name, or a tag name.> [!NOTE]> The endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty `pull_requests` array and a `null` value for `head_branch`.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint on a private repository.
type ItemItemCommitsItemCommentsPostRequestBody ¶
type ItemItemCommitsItemCommentsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemCommitsItemCommentsPostRequestBody ¶
func NewItemItemCommitsItemCommentsPostRequestBody() *ItemItemCommitsItemCommentsPostRequestBody
NewItemItemCommitsItemCommentsPostRequestBody instantiates a new ItemItemCommitsItemCommentsPostRequestBody and sets the default values.
func (*ItemItemCommitsItemCommentsPostRequestBody) GetAdditionalData ¶
func (m *ItemItemCommitsItemCommentsPostRequestBody) 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 (*ItemItemCommitsItemCommentsPostRequestBody) GetBody ¶
func (m *ItemItemCommitsItemCommentsPostRequestBody) GetBody() *string
GetBody gets the body property value. The contents of the comment. returns a *string when successful
func (*ItemItemCommitsItemCommentsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemCommitsItemCommentsPostRequestBody) 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 (*ItemItemCommitsItemCommentsPostRequestBody) GetLine ¶
func (m *ItemItemCommitsItemCommentsPostRequestBody) GetLine() *int32
GetLine gets the line property value. **Deprecated**. Use **position** parameter instead. Line number in the file to comment on. returns a *int32 when successful
func (*ItemItemCommitsItemCommentsPostRequestBody) GetPath ¶
func (m *ItemItemCommitsItemCommentsPostRequestBody) GetPath() *string
GetPath gets the path property value. Relative path of the file to comment on. returns a *string when successful
func (*ItemItemCommitsItemCommentsPostRequestBody) GetPosition ¶
func (m *ItemItemCommitsItemCommentsPostRequestBody) GetPosition() *int32
GetPosition gets the position property value. Line index in the diff to comment on. returns a *int32 when successful
func (*ItemItemCommitsItemCommentsPostRequestBody) Serialize ¶
func (m *ItemItemCommitsItemCommentsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemCommitsItemCommentsPostRequestBody) SetAdditionalData ¶
func (m *ItemItemCommitsItemCommentsPostRequestBody) 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 (*ItemItemCommitsItemCommentsPostRequestBody) SetBody ¶
func (m *ItemItemCommitsItemCommentsPostRequestBody) SetBody(value *string)
SetBody sets the body property value. The contents of the comment.
func (*ItemItemCommitsItemCommentsPostRequestBody) SetLine ¶
func (m *ItemItemCommitsItemCommentsPostRequestBody) SetLine(value *int32)
SetLine sets the line property value. **Deprecated**. Use **position** parameter instead. Line number in the file to comment on.
func (*ItemItemCommitsItemCommentsPostRequestBody) SetPath ¶
func (m *ItemItemCommitsItemCommentsPostRequestBody) SetPath(value *string)
SetPath sets the path property value. Relative path of the file to comment on.
func (*ItemItemCommitsItemCommentsPostRequestBody) SetPosition ¶
func (m *ItemItemCommitsItemCommentsPostRequestBody) SetPosition(value *int32)
SetPosition sets the position property value. Line index in the diff to comment on.
type ItemItemCommitsItemCommentsPostRequestBodyable ¶
type ItemItemCommitsItemCommentsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBody() *string GetLine() *int32 GetPath() *string GetPosition() *int32 SetBody(value *string) SetLine(value *int32) SetPath(value *string) SetPosition(value *int32) }
type ItemItemCommitsItemCommentsRequestBuilder ¶
type ItemItemCommitsItemCommentsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCommitsItemCommentsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\commits\{commit_sha-id}\comments
func NewItemItemCommitsItemCommentsRequestBuilder ¶
func NewItemItemCommitsItemCommentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommitsItemCommentsRequestBuilder
NewItemItemCommitsItemCommentsRequestBuilder instantiates a new ItemItemCommitsItemCommentsRequestBuilder and sets the default values.
func NewItemItemCommitsItemCommentsRequestBuilderInternal ¶
func NewItemItemCommitsItemCommentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommitsItemCommentsRequestBuilder
NewItemItemCommitsItemCommentsRequestBuilderInternal instantiates a new ItemItemCommitsItemCommentsRequestBuilder and sets the default values.
func (*ItemItemCommitsItemCommentsRequestBuilder) Get ¶
func (m *ItemItemCommitsItemCommentsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCommitsItemCommentsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CommitCommentable, error)
Get lists the comments for a specified commit.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a []CommitCommentable when successful API method documentation
func (*ItemItemCommitsItemCommentsRequestBuilder) Post ¶
func (m *ItemItemCommitsItemCommentsRequestBuilder) Post(ctx context.Context, body ItemItemCommitsItemCommentsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CommitCommentable, error)
Post create a comment for a commit using its `:commit_sha`.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.10/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/best-practices-for-using-the-rest-api)."This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a CommitCommentable when successful 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 (*ItemItemCommitsItemCommentsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCommitsItemCommentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCommitsItemCommentsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the comments for a specified commit.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a *RequestInformation when successful
func (*ItemItemCommitsItemCommentsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemCommitsItemCommentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemCommitsItemCommentsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation create a comment for a commit using its `:commit_sha`.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.10/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/best-practices-for-using-the-rest-api)."This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a *RequestInformation when successful
func (*ItemItemCommitsItemCommentsRequestBuilder) WithUrl ¶
func (m *ItemItemCommitsItemCommentsRequestBuilder) WithUrl(rawUrl string) *ItemItemCommitsItemCommentsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCommitsItemCommentsRequestBuilder when successful
type ItemItemCommitsItemCommentsRequestBuilderGetQueryParameters ¶
type ItemItemCommitsItemCommentsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemCommitsItemCommentsRequestBuilderGetQueryParameters lists the comments for a specified commit.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.
type ItemItemCommitsItemPullsRequestBuilder ¶
type ItemItemCommitsItemPullsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCommitsItemPullsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\commits\{commit_sha-id}\pulls
func NewItemItemCommitsItemPullsRequestBuilder ¶
func NewItemItemCommitsItemPullsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommitsItemPullsRequestBuilder
NewItemItemCommitsItemPullsRequestBuilder instantiates a new ItemItemCommitsItemPullsRequestBuilder and sets the default values.
func NewItemItemCommitsItemPullsRequestBuilderInternal ¶
func NewItemItemCommitsItemPullsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommitsItemPullsRequestBuilder
NewItemItemCommitsItemPullsRequestBuilderInternal instantiates a new ItemItemCommitsItemPullsRequestBuilder and sets the default values.
func (*ItemItemCommitsItemPullsRequestBuilder) Get ¶
func (m *ItemItemCommitsItemPullsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCommitsItemPullsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PullRequestSimpleable, error)
Get lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit.To list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name. returns a []PullRequestSimpleable when successful returns a BasicError error when the service returns a 409 status code API method documentation
func (*ItemItemCommitsItemPullsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCommitsItemPullsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCommitsItemPullsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit.To list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name. returns a *RequestInformation when successful
func (*ItemItemCommitsItemPullsRequestBuilder) WithUrl ¶
func (m *ItemItemCommitsItemPullsRequestBuilder) WithUrl(rawUrl string) *ItemItemCommitsItemPullsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCommitsItemPullsRequestBuilder when successful
type ItemItemCommitsItemPullsRequestBuilderGetQueryParameters ¶
type ItemItemCommitsItemPullsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemCommitsItemPullsRequestBuilderGetQueryParameters lists the merged pull request that introduced the commit to the repository. If the commit is not present in the default branch, will only return open pull requests associated with the commit.To list the open or merged pull requests associated with a branch, you can set the `commit_sha` parameter to the branch name.
type ItemItemCommitsItemStatusRequestBuilder ¶
type ItemItemCommitsItemStatusRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCommitsItemStatusRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\commits\{commit_sha-id}\status
func NewItemItemCommitsItemStatusRequestBuilder ¶
func NewItemItemCommitsItemStatusRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommitsItemStatusRequestBuilder
NewItemItemCommitsItemStatusRequestBuilder instantiates a new ItemItemCommitsItemStatusRequestBuilder and sets the default values.
func NewItemItemCommitsItemStatusRequestBuilderInternal ¶
func NewItemItemCommitsItemStatusRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommitsItemStatusRequestBuilder
NewItemItemCommitsItemStatusRequestBuilderInternal instantiates a new ItemItemCommitsItemStatusRequestBuilder and sets the default values.
func (*ItemItemCommitsItemStatusRequestBuilder) Get ¶
func (m *ItemItemCommitsItemStatusRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCommitsItemStatusRequestBuilderGetQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CombinedCommitStatusable, error)
Get users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.Additionally, a combined `state` is returned. The `state` is one of:* **failure** if any of the contexts report as `error` or `failure`* **pending** if there are no statuses or a context is `pending`* **success** if the latest status for all contexts is `success` returns a CombinedCommitStatusable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemCommitsItemStatusRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCommitsItemStatusRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCommitsItemStatusRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.Additionally, a combined `state` is returned. The `state` is one of:* **failure** if any of the contexts report as `error` or `failure`* **pending** if there are no statuses or a context is `pending`* **success** if the latest status for all contexts is `success` returns a *RequestInformation when successful
func (*ItemItemCommitsItemStatusRequestBuilder) WithUrl ¶
func (m *ItemItemCommitsItemStatusRequestBuilder) WithUrl(rawUrl string) *ItemItemCommitsItemStatusRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCommitsItemStatusRequestBuilder when successful
type ItemItemCommitsItemStatusRequestBuilderGetQueryParameters ¶
type ItemItemCommitsItemStatusRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemCommitsItemStatusRequestBuilderGetQueryParameters users with pull access in a repository can access a combined view of commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name.Additionally, a combined `state` is returned. The `state` is one of:* **failure** if any of the contexts report as `error` or `failure`* **pending** if there are no statuses or a context is `pending`* **success** if the latest status for all contexts is `success`
type ItemItemCommitsItemStatusesRequestBuilder ¶
type ItemItemCommitsItemStatusesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCommitsItemStatusesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\commits\{commit_sha-id}\statuses
func NewItemItemCommitsItemStatusesRequestBuilder ¶
func NewItemItemCommitsItemStatusesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommitsItemStatusesRequestBuilder
NewItemItemCommitsItemStatusesRequestBuilder instantiates a new ItemItemCommitsItemStatusesRequestBuilder and sets the default values.
func NewItemItemCommitsItemStatusesRequestBuilderInternal ¶
func NewItemItemCommitsItemStatusesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommitsItemStatusesRequestBuilder
NewItemItemCommitsItemStatusesRequestBuilderInternal instantiates a new ItemItemCommitsItemStatusesRequestBuilder and sets the default values.
func (*ItemItemCommitsItemStatusesRequestBuilder) Get ¶
func (m *ItemItemCommitsItemStatusesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCommitsItemStatusesRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Statusable, error)
Get users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.This resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`. returns a []Statusable when successful API method documentation
func (*ItemItemCommitsItemStatusesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCommitsItemStatusesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCommitsItemStatusesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.This resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`. returns a *RequestInformation when successful
func (*ItemItemCommitsItemStatusesRequestBuilder) WithUrl ¶
func (m *ItemItemCommitsItemStatusesRequestBuilder) WithUrl(rawUrl string) *ItemItemCommitsItemStatusesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCommitsItemStatusesRequestBuilder when successful
type ItemItemCommitsItemStatusesRequestBuilderGetQueryParameters ¶
type ItemItemCommitsItemStatusesRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemCommitsItemStatusesRequestBuilderGetQueryParameters users with pull access in a repository can view commit statuses for a given ref. The ref can be a SHA, a branch name, or a tag name. Statuses are returned in reverse chronological order. The first status in the list will be the latest one.This resource is also available via a legacy route: `GET /repos/:owner/:repo/statuses/:ref`.
type ItemItemCommitsRequestBuilder ¶
type ItemItemCommitsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCommitsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\commits
func NewItemItemCommitsRequestBuilder ¶
func NewItemItemCommitsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommitsRequestBuilder
NewItemItemCommitsRequestBuilder instantiates a new ItemItemCommitsRequestBuilder and sets the default values.
func NewItemItemCommitsRequestBuilderInternal ¶
func NewItemItemCommitsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCommitsRequestBuilder
NewItemItemCommitsRequestBuilderInternal instantiates a new ItemItemCommitsRequestBuilder and sets the default values.
func (*ItemItemCommitsRequestBuilder) ByCommit_shaId ¶
func (m *ItemItemCommitsRequestBuilder) ByCommit_shaId(commit_shaId string) *ItemItemCommitsCommit_shaItemRequestBuilder
ByCommit_shaId gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.commits.item collection returns a *ItemItemCommitsCommit_shaItemRequestBuilder when successful
func (*ItemItemCommitsRequestBuilder) Get ¶
func (m *ItemItemCommitsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCommitsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Commitable, error)
Get **Signature verification object**The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:| Name | Type | Description || ---- | ---- | ----------- || `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. || `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. || `signature` | `string` | The signature that was extracted from the commit. || `payload` | `string` | The value that was signed. |These are the possible values for `reason` in the `verification` object:| Value | Description || ----- | ----------- || `expired_key` | The key that made the signature is expired. || `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. || `gpgverify_error` | There was an error communicating with the signature verification service. || `gpgverify_unavailable` | The signature verification service is currently unavailable. || `unsigned` | The object does not include a signature. || `unknown_signature_type` | A non-PGP signature was found in the commit. || `no_user` | No user was associated with the `committer` email address in the commit. || `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. || `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. || `unknown_key` | The key that made the signature has not been registered with any user's account. || `malformed_signature` | There was an error parsing the signature. || `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. || `valid` | None of the above errors applied, so the signature is considered to be verified. | returns a []Commitable when successful returns a BasicError error when the service returns a 400 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 (*ItemItemCommitsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCommitsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCommitsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation **Signature verification object**The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:| Name | Type | Description || ---- | ---- | ----------- || `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. || `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. || `signature` | `string` | The signature that was extracted from the commit. || `payload` | `string` | The value that was signed. |These are the possible values for `reason` in the `verification` object:| Value | Description || ----- | ----------- || `expired_key` | The key that made the signature is expired. || `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. || `gpgverify_error` | There was an error communicating with the signature verification service. || `gpgverify_unavailable` | The signature verification service is currently unavailable. || `unsigned` | The object does not include a signature. || `unknown_signature_type` | A non-PGP signature was found in the commit. || `no_user` | No user was associated with the `committer` email address in the commit. || `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. || `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. || `unknown_key` | The key that made the signature has not been registered with any user's account. || `malformed_signature` | There was an error parsing the signature. || `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. || `valid` | None of the above errors applied, so the signature is considered to be verified. | returns a *RequestInformation when successful
func (*ItemItemCommitsRequestBuilder) WithUrl ¶
func (m *ItemItemCommitsRequestBuilder) WithUrl(rawUrl string) *ItemItemCommitsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCommitsRequestBuilder when successful
type ItemItemCommitsRequestBuilderGetQueryParameters ¶
type ItemItemCommitsRequestBuilderGetQueryParameters struct { // GitHub username or email address to use to filter by commit author. Author *string `uriparametername:"author"` // GitHub username or email address to use to filter by commit committer. Committer *string `uriparametername:"committer"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // Only commits containing this file path will be returned. Path *string `uriparametername:"path"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`). Sha *string `uriparametername:"sha"` // 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`. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned. Since *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"since"` // Only commits before this date will be returned. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Due to limitations of Git, timestamps must be between 1970-01-01 and 2099-12-31 (inclusive) or unexpected results may be returned. Until *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"until"` }
ItemItemCommitsRequestBuilderGetQueryParameters **Signature verification object**The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:| Name | Type | Description || ---- | ---- | ----------- || `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. || `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. || `signature` | `string` | The signature that was extracted from the commit. || `payload` | `string` | The value that was signed. |These are the possible values for `reason` in the `verification` object:| Value | Description || ----- | ----------- || `expired_key` | The key that made the signature is expired. || `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. || `gpgverify_error` | There was an error communicating with the signature verification service. || `gpgverify_unavailable` | The signature verification service is currently unavailable. || `unsigned` | The object does not include a signature. || `unknown_signature_type` | A non-PGP signature was found in the commit. || `no_user` | No user was associated with the `committer` email address in the commit. || `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. || `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. || `unknown_key` | The key that made the signature has not been registered with any user's account. || `malformed_signature` | There was an error parsing the signature. || `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. || `valid` | None of the above errors applied, so the signature is considered to be verified. |
type ItemItemCompareRequestBuilder ¶
type ItemItemCompareRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCompareRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\compare
func NewItemItemCompareRequestBuilder ¶
func NewItemItemCompareRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCompareRequestBuilder
NewItemItemCompareRequestBuilder instantiates a new ItemItemCompareRequestBuilder and sets the default values.
func NewItemItemCompareRequestBuilderInternal ¶
func NewItemItemCompareRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCompareRequestBuilder
NewItemItemCompareRequestBuilderInternal instantiates a new ItemItemCompareRequestBuilder and sets the default values.
func (*ItemItemCompareRequestBuilder) ByBasehead ¶
func (m *ItemItemCompareRequestBuilder) ByBasehead(basehead string) *ItemItemCompareWithBaseheadItemRequestBuilder
ByBasehead gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.compare.item collection returns a *ItemItemCompareWithBaseheadItemRequestBuilder when successful
type ItemItemCompareWithBaseheadItemRequestBuilder ¶
type ItemItemCompareWithBaseheadItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemCompareWithBaseheadItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\compare\{basehead}
func NewItemItemCompareWithBaseheadItemRequestBuilder ¶
func NewItemItemCompareWithBaseheadItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCompareWithBaseheadItemRequestBuilder
NewItemItemCompareWithBaseheadItemRequestBuilder instantiates a new ItemItemCompareWithBaseheadItemRequestBuilder and sets the default values.
func NewItemItemCompareWithBaseheadItemRequestBuilderInternal ¶
func NewItemItemCompareWithBaseheadItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemCompareWithBaseheadItemRequestBuilder
NewItemItemCompareWithBaseheadItemRequestBuilderInternal instantiates a new ItemItemCompareWithBaseheadItemRequestBuilder and sets the default values.
func (*ItemItemCompareWithBaseheadItemRequestBuilder) Get ¶
func (m *ItemItemCompareWithBaseheadItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCompareWithBaseheadItemRequestBuilderGetQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CommitComparisonable, error)
Get compares two commits against one another. You can compare refs (branches or tags) and commit SHAs in the same repository, or you can compare refs and commit SHAs that exist in different repositories within the same repository network, including fork branches. For more information about how to view a repository's network, see "[Understanding connections between repositories](https://docs.github.com/enterprise-server@3.10/repositories/viewing-activity-and-data-for-your-repository/understanding-connections-between-repositories)."This endpoint is equivalent to running the `git log BASE..HEAD` command, but it returns commits in a different order. The `git log BASE..HEAD` command returns commits in reverse chronological order, whereas the API returns commits in chronological order.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.diff`**: Returns the diff of the commit.- **`application/vnd.github.patch`**: Returns the patch of the commit. Diffs with binary data will have no `patch` property.The API response includes details about the files that were changed between the two commits. This includes the status of the change (if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.When calling this endpoint without any paging parameter (`per_page` or `page`), the returned list is limited to 250 commits, and the last commit in the list is the most recent of the entire comparison.**Working with large comparisons**To process a response with a large number of commits, use a query parameter (`per_page` or `page`) to paginate the results. When using pagination:- The list of changed files is only shown on the first page of results, and it includes up to 300 changed files for the entire comparison.- The results are returned in chronological order, but the last commit in the returned list may not be the most recent one in the entire set if there are more pages of results.For more information on working with pagination, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api)."**Signature verification object**The response will include a `verification` object that describes the result of verifying the commit's signature. The `verification` object includes the following fields:| Name | Type | Description || ---- | ---- | ----------- || `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. || `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. || `signature` | `string` | The signature that was extracted from the commit. || `payload` | `string` | The value that was signed. |These are the possible values for `reason` in the `verification` object:| Value | Description || ----- | ----------- || `expired_key` | The key that made the signature is expired. || `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. || `gpgverify_error` | There was an error communicating with the signature verification service. || `gpgverify_unavailable` | The signature verification service is currently unavailable. || `unsigned` | The object does not include a signature. || `unknown_signature_type` | A non-PGP signature was found in the commit. || `no_user` | No user was associated with the `committer` email address in the commit. || `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. || `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. || `unknown_key` | The key that made the signature has not been registered with any user's account. || `malformed_signature` | There was an error parsing the signature. || `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. || `valid` | None of the above errors applied, so the signature is considered to be verified. | returns a CommitComparisonable when successful returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code returns a CommitComparison503Error error when the service returns a 503 status code API method documentation
func (*ItemItemCompareWithBaseheadItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemCompareWithBaseheadItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemCompareWithBaseheadItemRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation compares two commits against one another. You can compare refs (branches or tags) and commit SHAs in the same repository, or you can compare refs and commit SHAs that exist in different repositories within the same repository network, including fork branches. For more information about how to view a repository's network, see "[Understanding connections between repositories](https://docs.github.com/enterprise-server@3.10/repositories/viewing-activity-and-data-for-your-repository/understanding-connections-between-repositories)."This endpoint is equivalent to running the `git log BASE..HEAD` command, but it returns commits in a different order. The `git log BASE..HEAD` command returns commits in reverse chronological order, whereas the API returns commits in chronological order.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.diff`**: Returns the diff of the commit.- **`application/vnd.github.patch`**: Returns the patch of the commit. Diffs with binary data will have no `patch` property.The API response includes details about the files that were changed between the two commits. This includes the status of the change (if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.When calling this endpoint without any paging parameter (`per_page` or `page`), the returned list is limited to 250 commits, and the last commit in the list is the most recent of the entire comparison.**Working with large comparisons**To process a response with a large number of commits, use a query parameter (`per_page` or `page`) to paginate the results. When using pagination:- The list of changed files is only shown on the first page of results, and it includes up to 300 changed files for the entire comparison.- The results are returned in chronological order, but the last commit in the returned list may not be the most recent one in the entire set if there are more pages of results.For more information on working with pagination, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api)."**Signature verification object**The response will include a `verification` object that describes the result of verifying the commit's signature. The `verification` object includes the following fields:| Name | Type | Description || ---- | ---- | ----------- || `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. || `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. || `signature` | `string` | The signature that was extracted from the commit. || `payload` | `string` | The value that was signed. |These are the possible values for `reason` in the `verification` object:| Value | Description || ----- | ----------- || `expired_key` | The key that made the signature is expired. || `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. || `gpgverify_error` | There was an error communicating with the signature verification service. || `gpgverify_unavailable` | The signature verification service is currently unavailable. || `unsigned` | The object does not include a signature. || `unknown_signature_type` | A non-PGP signature was found in the commit. || `no_user` | No user was associated with the `committer` email address in the commit. || `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. || `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. || `unknown_key` | The key that made the signature has not been registered with any user's account. || `malformed_signature` | There was an error parsing the signature. || `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. || `valid` | None of the above errors applied, so the signature is considered to be verified. | returns a *RequestInformation when successful
func (*ItemItemCompareWithBaseheadItemRequestBuilder) WithUrl ¶
func (m *ItemItemCompareWithBaseheadItemRequestBuilder) WithUrl(rawUrl string) *ItemItemCompareWithBaseheadItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemCompareWithBaseheadItemRequestBuilder when successful
type ItemItemCompareWithBaseheadItemRequestBuilderGetQueryParameters ¶
type ItemItemCompareWithBaseheadItemRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemCompareWithBaseheadItemRequestBuilderGetQueryParameters compares two commits against one another. You can compare refs (branches or tags) and commit SHAs in the same repository, or you can compare refs and commit SHAs that exist in different repositories within the same repository network, including fork branches. For more information about how to view a repository's network, see "[Understanding connections between repositories](https://docs.github.com/enterprise-server@3.10/repositories/viewing-activity-and-data-for-your-repository/understanding-connections-between-repositories)."This endpoint is equivalent to running the `git log BASE..HEAD` command, but it returns commits in a different order. The `git log BASE..HEAD` command returns commits in reverse chronological order, whereas the API returns commits in chronological order.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.diff`**: Returns the diff of the commit.- **`application/vnd.github.patch`**: Returns the patch of the commit. Diffs with binary data will have no `patch` property.The API response includes details about the files that were changed between the two commits. This includes the status of the change (if a file was added, removed, modified, or renamed), and details of the change itself. For example, files with a `renamed` status have a `previous_filename` field showing the previous filename of the file, and files with a `modified` status have a `patch` field showing the changes made to the file.When calling this endpoint without any paging parameter (`per_page` or `page`), the returned list is limited to 250 commits, and the last commit in the list is the most recent of the entire comparison.**Working with large comparisons**To process a response with a large number of commits, use a query parameter (`per_page` or `page`) to paginate the results. When using pagination:- The list of changed files is only shown on the first page of results, and it includes up to 300 changed files for the entire comparison.- The results are returned in chronological order, but the last commit in the returned list may not be the most recent one in the entire set if there are more pages of results.For more information on working with pagination, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api)."**Signature verification object**The response will include a `verification` object that describes the result of verifying the commit's signature. The `verification` object includes the following fields:| Name | Type | Description || ---- | ---- | ----------- || `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. || `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. || `signature` | `string` | The signature that was extracted from the commit. || `payload` | `string` | The value that was signed. |These are the possible values for `reason` in the `verification` object:| Value | Description || ----- | ----------- || `expired_key` | The key that made the signature is expired. || `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. || `gpgverify_error` | There was an error communicating with the signature verification service. || `gpgverify_unavailable` | The signature verification service is currently unavailable. || `unsigned` | The object does not include a signature. || `unknown_signature_type` | A non-PGP signature was found in the commit. || `no_user` | No user was associated with the `committer` email address in the commit. || `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. || `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. || `unknown_key` | The key that made the signature has not been registered with any user's account. || `malformed_signature` | There was an error parsing the signature. || `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. || `valid` | None of the above errors applied, so the signature is considered to be verified. |
type ItemItemContentsItemWithPathDeleteRequestBody ¶
type ItemItemContentsItemWithPathDeleteRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemContentsItemWithPathDeleteRequestBody ¶
func NewItemItemContentsItemWithPathDeleteRequestBody() *ItemItemContentsItemWithPathDeleteRequestBody
NewItemItemContentsItemWithPathDeleteRequestBody instantiates a new ItemItemContentsItemWithPathDeleteRequestBody and sets the default values.
func (*ItemItemContentsItemWithPathDeleteRequestBody) GetAdditionalData ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody) 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 (*ItemItemContentsItemWithPathDeleteRequestBody) GetAuthor ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody) GetAuthor() ItemItemContentsItemWithPathDeleteRequestBody_authorable
GetAuthor gets the author property value. object containing information about the author. returns a ItemItemContentsItemWithPathDeleteRequestBody_authorable when successful
func (*ItemItemContentsItemWithPathDeleteRequestBody) GetBranch ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody) GetBranch() *string
GetBranch gets the branch property value. The branch name. Default: the repository’s default branch returns a *string when successful
func (*ItemItemContentsItemWithPathDeleteRequestBody) GetCommitter ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody) GetCommitter() ItemItemContentsItemWithPathDeleteRequestBody_committerable
GetCommitter gets the committer property value. object containing information about the committer. returns a ItemItemContentsItemWithPathDeleteRequestBody_committerable when successful
func (*ItemItemContentsItemWithPathDeleteRequestBody) GetFieldDeserializers ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody) 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 (*ItemItemContentsItemWithPathDeleteRequestBody) GetMessage ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody) GetMessage() *string
GetMessage gets the message property value. The commit message. returns a *string when successful
func (*ItemItemContentsItemWithPathDeleteRequestBody) GetSha ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody) GetSha() *string
GetSha gets the sha property value. The blob SHA of the file being deleted. returns a *string when successful
func (*ItemItemContentsItemWithPathDeleteRequestBody) Serialize ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemContentsItemWithPathDeleteRequestBody) SetAdditionalData ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody) 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 (*ItemItemContentsItemWithPathDeleteRequestBody) SetAuthor ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody) SetAuthor(value ItemItemContentsItemWithPathDeleteRequestBody_authorable)
SetAuthor sets the author property value. object containing information about the author.
func (*ItemItemContentsItemWithPathDeleteRequestBody) SetBranch ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody) SetBranch(value *string)
SetBranch sets the branch property value. The branch name. Default: the repository’s default branch
func (*ItemItemContentsItemWithPathDeleteRequestBody) SetCommitter ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody) SetCommitter(value ItemItemContentsItemWithPathDeleteRequestBody_committerable)
SetCommitter sets the committer property value. object containing information about the committer.
func (*ItemItemContentsItemWithPathDeleteRequestBody) SetMessage ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody) SetMessage(value *string)
SetMessage sets the message property value. The commit message.
func (*ItemItemContentsItemWithPathDeleteRequestBody) SetSha ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody) SetSha(value *string)
SetSha sets the sha property value. The blob SHA of the file being deleted.
type ItemItemContentsItemWithPathDeleteRequestBody_author ¶
type ItemItemContentsItemWithPathDeleteRequestBody_author struct {
// contains filtered or unexported fields
}
ItemItemContentsItemWithPathDeleteRequestBody_author object containing information about the author.
func NewItemItemContentsItemWithPathDeleteRequestBody_author ¶
func NewItemItemContentsItemWithPathDeleteRequestBody_author() *ItemItemContentsItemWithPathDeleteRequestBody_author
NewItemItemContentsItemWithPathDeleteRequestBody_author instantiates a new ItemItemContentsItemWithPathDeleteRequestBody_author and sets the default values.
func (*ItemItemContentsItemWithPathDeleteRequestBody_author) GetAdditionalData ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody_author) 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 (*ItemItemContentsItemWithPathDeleteRequestBody_author) GetEmail ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody_author) GetEmail() *string
GetEmail gets the email property value. The email of the author (or committer) of the commit returns a *string when successful
func (*ItemItemContentsItemWithPathDeleteRequestBody_author) GetFieldDeserializers ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody_author) 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 (*ItemItemContentsItemWithPathDeleteRequestBody_author) GetName ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody_author) GetName() *string
GetName gets the name property value. The name of the author (or committer) of the commit returns a *string when successful
func (*ItemItemContentsItemWithPathDeleteRequestBody_author) Serialize ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody_author) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemContentsItemWithPathDeleteRequestBody_author) SetAdditionalData ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody_author) 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 (*ItemItemContentsItemWithPathDeleteRequestBody_author) SetEmail ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody_author) SetEmail(value *string)
SetEmail sets the email property value. The email of the author (or committer) of the commit
func (*ItemItemContentsItemWithPathDeleteRequestBody_author) SetName ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody_author) SetName(value *string)
SetName sets the name property value. The name of the author (or committer) of the commit
type ItemItemContentsItemWithPathDeleteRequestBody_authorable ¶
type ItemItemContentsItemWithPathDeleteRequestBody_authorable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemItemContentsItemWithPathDeleteRequestBody_committer ¶
type ItemItemContentsItemWithPathDeleteRequestBody_committer struct {
// contains filtered or unexported fields
}
ItemItemContentsItemWithPathDeleteRequestBody_committer object containing information about the committer.
func NewItemItemContentsItemWithPathDeleteRequestBody_committer ¶
func NewItemItemContentsItemWithPathDeleteRequestBody_committer() *ItemItemContentsItemWithPathDeleteRequestBody_committer
NewItemItemContentsItemWithPathDeleteRequestBody_committer instantiates a new ItemItemContentsItemWithPathDeleteRequestBody_committer and sets the default values.
func (*ItemItemContentsItemWithPathDeleteRequestBody_committer) GetAdditionalData ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody_committer) 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 (*ItemItemContentsItemWithPathDeleteRequestBody_committer) GetEmail ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody_committer) GetEmail() *string
GetEmail gets the email property value. The email of the author (or committer) of the commit returns a *string when successful
func (*ItemItemContentsItemWithPathDeleteRequestBody_committer) GetFieldDeserializers ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody_committer) 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 (*ItemItemContentsItemWithPathDeleteRequestBody_committer) GetName ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody_committer) GetName() *string
GetName gets the name property value. The name of the author (or committer) of the commit returns a *string when successful
func (*ItemItemContentsItemWithPathDeleteRequestBody_committer) Serialize ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody_committer) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemContentsItemWithPathDeleteRequestBody_committer) SetAdditionalData ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody_committer) 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 (*ItemItemContentsItemWithPathDeleteRequestBody_committer) SetEmail ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody_committer) SetEmail(value *string)
SetEmail sets the email property value. The email of the author (or committer) of the commit
func (*ItemItemContentsItemWithPathDeleteRequestBody_committer) SetName ¶
func (m *ItemItemContentsItemWithPathDeleteRequestBody_committer) SetName(value *string)
SetName sets the name property value. The name of the author (or committer) of the commit
type ItemItemContentsItemWithPathDeleteRequestBody_committerable ¶
type ItemItemContentsItemWithPathDeleteRequestBody_committerable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetEmail() *string GetName() *string SetEmail(value *string) SetName(value *string) }
type ItemItemContentsItemWithPathDeleteRequestBodyable ¶
type ItemItemContentsItemWithPathDeleteRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAuthor() ItemItemContentsItemWithPathDeleteRequestBody_authorable GetBranch() *string GetCommitter() ItemItemContentsItemWithPathDeleteRequestBody_committerable GetMessage() *string GetSha() *string SetAuthor(value ItemItemContentsItemWithPathDeleteRequestBody_authorable) SetBranch(value *string) SetCommitter(value ItemItemContentsItemWithPathDeleteRequestBody_committerable) SetMessage(value *string) SetSha(value *string) }
type ItemItemContentsItemWithPathPutRequestBody ¶
type ItemItemContentsItemWithPathPutRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemContentsItemWithPathPutRequestBody ¶
func NewItemItemContentsItemWithPathPutRequestBody() *ItemItemContentsItemWithPathPutRequestBody
NewItemItemContentsItemWithPathPutRequestBody instantiates a new ItemItemContentsItemWithPathPutRequestBody and sets the default values.
func (*ItemItemContentsItemWithPathPutRequestBody) GetAdditionalData ¶
func (m *ItemItemContentsItemWithPathPutRequestBody) 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 (*ItemItemContentsItemWithPathPutRequestBody) GetAuthor ¶
func (m *ItemItemContentsItemWithPathPutRequestBody) GetAuthor() ItemItemContentsItemWithPathPutRequestBody_authorable
GetAuthor gets the author property value. The author of the file. Default: The `committer` or the authenticated user if you omit `committer`. returns a ItemItemContentsItemWithPathPutRequestBody_authorable when successful
func (*ItemItemContentsItemWithPathPutRequestBody) GetBranch ¶
func (m *ItemItemContentsItemWithPathPutRequestBody) GetBranch() *string
GetBranch gets the branch property value. The branch name. Default: the repository’s default branch. returns a *string when successful
func (*ItemItemContentsItemWithPathPutRequestBody) GetCommitter ¶
func (m *ItemItemContentsItemWithPathPutRequestBody) GetCommitter() ItemItemContentsItemWithPathPutRequestBody_committerable
GetCommitter gets the committer property value. The person that committed the file. Default: the authenticated user. returns a ItemItemContentsItemWithPathPutRequestBody_committerable when successful
func (*ItemItemContentsItemWithPathPutRequestBody) GetContent ¶
func (m *ItemItemContentsItemWithPathPutRequestBody) GetContent() *string
GetContent gets the content property value. The new file content, using Base64 encoding. returns a *string when successful
func (*ItemItemContentsItemWithPathPutRequestBody) GetFieldDeserializers ¶
func (m *ItemItemContentsItemWithPathPutRequestBody) 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 (*ItemItemContentsItemWithPathPutRequestBody) GetMessage ¶
func (m *ItemItemContentsItemWithPathPutRequestBody) GetMessage() *string
GetMessage gets the message property value. The commit message. returns a *string when successful
func (*ItemItemContentsItemWithPathPutRequestBody) GetSha ¶
func (m *ItemItemContentsItemWithPathPutRequestBody) GetSha() *string
GetSha gets the sha property value. **Required if you are updating a file**. The blob SHA of the file being replaced. returns a *string when successful
func (*ItemItemContentsItemWithPathPutRequestBody) Serialize ¶
func (m *ItemItemContentsItemWithPathPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemContentsItemWithPathPutRequestBody) SetAdditionalData ¶
func (m *ItemItemContentsItemWithPathPutRequestBody) 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 (*ItemItemContentsItemWithPathPutRequestBody) SetAuthor ¶
func (m *ItemItemContentsItemWithPathPutRequestBody) SetAuthor(value ItemItemContentsItemWithPathPutRequestBody_authorable)
SetAuthor sets the author property value. The author of the file. Default: The `committer` or the authenticated user if you omit `committer`.
func (*ItemItemContentsItemWithPathPutRequestBody) SetBranch ¶
func (m *ItemItemContentsItemWithPathPutRequestBody) SetBranch(value *string)
SetBranch sets the branch property value. The branch name. Default: the repository’s default branch.
func (*ItemItemContentsItemWithPathPutRequestBody) SetCommitter ¶
func (m *ItemItemContentsItemWithPathPutRequestBody) SetCommitter(value ItemItemContentsItemWithPathPutRequestBody_committerable)
SetCommitter sets the committer property value. The person that committed the file. Default: the authenticated user.
func (*ItemItemContentsItemWithPathPutRequestBody) SetContent ¶
func (m *ItemItemContentsItemWithPathPutRequestBody) SetContent(value *string)
SetContent sets the content property value. The new file content, using Base64 encoding.
func (*ItemItemContentsItemWithPathPutRequestBody) SetMessage ¶
func (m *ItemItemContentsItemWithPathPutRequestBody) SetMessage(value *string)
SetMessage sets the message property value. The commit message.
func (*ItemItemContentsItemWithPathPutRequestBody) SetSha ¶
func (m *ItemItemContentsItemWithPathPutRequestBody) SetSha(value *string)
SetSha sets the sha property value. **Required if you are updating a file**. The blob SHA of the file being replaced.
type ItemItemContentsItemWithPathPutRequestBody_author ¶
type ItemItemContentsItemWithPathPutRequestBody_author struct {
// contains filtered or unexported fields
}
ItemItemContentsItemWithPathPutRequestBody_author the author of the file. Default: The `committer` or the authenticated user if you omit `committer`.
func NewItemItemContentsItemWithPathPutRequestBody_author ¶
func NewItemItemContentsItemWithPathPutRequestBody_author() *ItemItemContentsItemWithPathPutRequestBody_author
NewItemItemContentsItemWithPathPutRequestBody_author instantiates a new ItemItemContentsItemWithPathPutRequestBody_author and sets the default values.
func (*ItemItemContentsItemWithPathPutRequestBody_author) GetAdditionalData ¶
func (m *ItemItemContentsItemWithPathPutRequestBody_author) 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 (*ItemItemContentsItemWithPathPutRequestBody_author) GetDate ¶
func (m *ItemItemContentsItemWithPathPutRequestBody_author) GetDate() *string
GetDate gets the date property value. The date property returns a *string when successful
func (*ItemItemContentsItemWithPathPutRequestBody_author) GetEmail ¶
func (m *ItemItemContentsItemWithPathPutRequestBody_author) GetEmail() *string
GetEmail gets the email property value. The email of the author or committer of the commit. You'll receive a `422` status code if `email` is omitted. returns a *string when successful
func (*ItemItemContentsItemWithPathPutRequestBody_author) GetFieldDeserializers ¶
func (m *ItemItemContentsItemWithPathPutRequestBody_author) 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 (*ItemItemContentsItemWithPathPutRequestBody_author) GetName ¶
func (m *ItemItemContentsItemWithPathPutRequestBody_author) GetName() *string
GetName gets the name property value. The name of the author or committer of the commit. You'll receive a `422` status code if `name` is omitted. returns a *string when successful
func (*ItemItemContentsItemWithPathPutRequestBody_author) Serialize ¶
func (m *ItemItemContentsItemWithPathPutRequestBody_author) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemContentsItemWithPathPutRequestBody_author) SetAdditionalData ¶
func (m *ItemItemContentsItemWithPathPutRequestBody_author) 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 (*ItemItemContentsItemWithPathPutRequestBody_author) SetDate ¶
func (m *ItemItemContentsItemWithPathPutRequestBody_author) SetDate(value *string)
SetDate sets the date property value. The date property
func (*ItemItemContentsItemWithPathPutRequestBody_author) SetEmail ¶
func (m *ItemItemContentsItemWithPathPutRequestBody_author) SetEmail(value *string)
SetEmail sets the email property value. The email of the author or committer of the commit. You'll receive a `422` status code if `email` is omitted.
func (*ItemItemContentsItemWithPathPutRequestBody_author) SetName ¶
func (m *ItemItemContentsItemWithPathPutRequestBody_author) SetName(value *string)
SetName sets the name property value. The name of the author or committer of the commit. You'll receive a `422` status code if `name` is omitted.
type ItemItemContentsItemWithPathPutRequestBody_authorable ¶
type ItemItemContentsItemWithPathPutRequestBody_authorable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemItemContentsItemWithPathPutRequestBody_committer ¶
type ItemItemContentsItemWithPathPutRequestBody_committer struct {
// contains filtered or unexported fields
}
ItemItemContentsItemWithPathPutRequestBody_committer the person that committed the file. Default: the authenticated user.
func NewItemItemContentsItemWithPathPutRequestBody_committer ¶
func NewItemItemContentsItemWithPathPutRequestBody_committer() *ItemItemContentsItemWithPathPutRequestBody_committer
NewItemItemContentsItemWithPathPutRequestBody_committer instantiates a new ItemItemContentsItemWithPathPutRequestBody_committer and sets the default values.
func (*ItemItemContentsItemWithPathPutRequestBody_committer) GetAdditionalData ¶
func (m *ItemItemContentsItemWithPathPutRequestBody_committer) 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 (*ItemItemContentsItemWithPathPutRequestBody_committer) GetDate ¶
func (m *ItemItemContentsItemWithPathPutRequestBody_committer) GetDate() *string
GetDate gets the date property value. The date property returns a *string when successful
func (*ItemItemContentsItemWithPathPutRequestBody_committer) GetEmail ¶
func (m *ItemItemContentsItemWithPathPutRequestBody_committer) GetEmail() *string
GetEmail gets the email property value. The email of the author or committer of the commit. You'll receive a `422` status code if `email` is omitted. returns a *string when successful
func (*ItemItemContentsItemWithPathPutRequestBody_committer) GetFieldDeserializers ¶
func (m *ItemItemContentsItemWithPathPutRequestBody_committer) 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 (*ItemItemContentsItemWithPathPutRequestBody_committer) GetName ¶
func (m *ItemItemContentsItemWithPathPutRequestBody_committer) GetName() *string
GetName gets the name property value. The name of the author or committer of the commit. You'll receive a `422` status code if `name` is omitted. returns a *string when successful
func (*ItemItemContentsItemWithPathPutRequestBody_committer) Serialize ¶
func (m *ItemItemContentsItemWithPathPutRequestBody_committer) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemContentsItemWithPathPutRequestBody_committer) SetAdditionalData ¶
func (m *ItemItemContentsItemWithPathPutRequestBody_committer) 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 (*ItemItemContentsItemWithPathPutRequestBody_committer) SetDate ¶
func (m *ItemItemContentsItemWithPathPutRequestBody_committer) SetDate(value *string)
SetDate sets the date property value. The date property
func (*ItemItemContentsItemWithPathPutRequestBody_committer) SetEmail ¶
func (m *ItemItemContentsItemWithPathPutRequestBody_committer) SetEmail(value *string)
SetEmail sets the email property value. The email of the author or committer of the commit. You'll receive a `422` status code if `email` is omitted.
func (*ItemItemContentsItemWithPathPutRequestBody_committer) SetName ¶
func (m *ItemItemContentsItemWithPathPutRequestBody_committer) SetName(value *string)
SetName sets the name property value. The name of the author or committer of the commit. You'll receive a `422` status code if `name` is omitted.
type ItemItemContentsItemWithPathPutRequestBody_committerable ¶
type ItemItemContentsItemWithPathPutRequestBody_committerable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetDate() *string GetEmail() *string GetName() *string SetDate(value *string) SetEmail(value *string) SetName(value *string) }
type ItemItemContentsItemWithPathPutRequestBodyable ¶
type ItemItemContentsItemWithPathPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAuthor() ItemItemContentsItemWithPathPutRequestBody_authorable GetBranch() *string GetCommitter() ItemItemContentsItemWithPathPutRequestBody_committerable GetContent() *string GetMessage() *string GetSha() *string SetAuthor(value ItemItemContentsItemWithPathPutRequestBody_authorable) SetBranch(value *string) SetCommitter(value ItemItemContentsItemWithPathPutRequestBody_committerable) SetContent(value *string) SetMessage(value *string) SetSha(value *string) }
type ItemItemContentsRequestBuilder ¶
type ItemItemContentsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemContentsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\contents
func NewItemItemContentsRequestBuilder ¶
func NewItemItemContentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemContentsRequestBuilder
NewItemItemContentsRequestBuilder instantiates a new ItemItemContentsRequestBuilder and sets the default values.
func NewItemItemContentsRequestBuilderInternal ¶
func NewItemItemContentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemContentsRequestBuilder
NewItemItemContentsRequestBuilderInternal instantiates a new ItemItemContentsRequestBuilder and sets the default values.
func (*ItemItemContentsRequestBuilder) ByPath ¶
func (m *ItemItemContentsRequestBuilder) ByPath(path string) *ItemItemContentsWithPathItemRequestBuilder
ByPath gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.contents.item collection returns a *ItemItemContentsWithPathItemRequestBuilder when successful
type ItemItemContentsWithPathItemRequestBuilder ¶
type ItemItemContentsWithPathItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemContentsWithPathItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\contents\{path}
func NewItemItemContentsWithPathItemRequestBuilder ¶
func NewItemItemContentsWithPathItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemContentsWithPathItemRequestBuilder
NewItemItemContentsWithPathItemRequestBuilder instantiates a new ItemItemContentsWithPathItemRequestBuilder and sets the default values.
func NewItemItemContentsWithPathItemRequestBuilderInternal ¶
func NewItemItemContentsWithPathItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemContentsWithPathItemRequestBuilder
NewItemItemContentsWithPathItemRequestBuilderInternal instantiates a new ItemItemContentsWithPathItemRequestBuilder and sets the default values.
func (*ItemItemContentsWithPathItemRequestBuilder) Delete ¶
func (m *ItemItemContentsWithPathItemRequestBuilder) Delete(ctx context.Context, body ItemItemContentsItemWithPathDeleteRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.FileCommitable, error)
Delete deletes a file in a repository.You can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.The `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.You must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.> [!NOTE]> If you use this endpoint and the "[Create or update file contents](https://docs.github.com/enterprise-server@3.10/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. returns a FileCommitable when successful 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 ValidationError error when the service returns a 422 status code returns a FileCommit503Error error when the service returns a 503 status code API method documentation
func (*ItemItemContentsWithPathItemRequestBuilder) Get ¶
func (m *ItemItemContentsWithPathItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemContentsWithPathItemRequestBuilderGetQueryParameters]) (WithPathGetResponseable, error)
Get gets the contents of a file or directory in a repository. Specify the file path or directory with the `path` parameter. If you omit the `path` parameter, you will receive the contents of the repository's root directory.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.raw+json`**: Returns the raw file contents for files and symlinks.- **`application/vnd.github.html+json`**: Returns the file contents in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup).- **`application/vnd.github.object+json`**: Returns the contents in a consistent object format regardless of the content type. For example, instead of an array of objects for a directory, the response will be an object with an `entries` attribute containing the array of objects.If the content is a directory, the response will be an array of objects, one object for each item in the directory. When listing the contents of a directory, submodules have their "type" specified as "file". Logically, the value _should_ be "submodule". This behavior exists [for backwards compatibility purposes](https://git.io/v1YCW). In the next major version of the API, the type will be returned as "submodule".If the content is a symlink and the symlink's target is a normal file in the repository, then the API responds with the content of the file. Otherwise, the API responds with an object describing the symlink itself.If the content is a submodule, the `submodule_git_url` field identifies the location of the submodule repository, and the `sha` identifies a specific commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit. If the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links["git"]`) and the github.com URLs (`html_url` and `_links["html"]`) will have null values.**Notes**:- To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@3.10/rest/git/trees#get-a-tree).- This API has an upper limit of 1,000 files for a directory. If you need to retrievemore files, use the [Git Trees API](https://docs.github.com/enterprise-server@3.10/rest/git/trees#get-a-tree).- Download URLs expire and are meant to be used just once. To ensure the download URL does not expire, please use the contents API to obtain a fresh download URL for each download.- If the requested file's size is: - 1 MB or smaller: All features of this endpoint are supported. - Between 1-100 MB: Only the `raw` or `object` custom media types are supported. Both will work as normal, except that when using the `object` media type, the `content` field will be an emptystring and the `encoding` field will be `"none"`. To get the contents of these larger files, use the `raw` media type. - Greater than 100 MB: This endpoint is not supported. returns a WithPathGetResponseable 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 (*ItemItemContentsWithPathItemRequestBuilder) Put ¶
func (m *ItemItemContentsWithPathItemRequestBuilder) Put(ctx context.Context, body ItemItemContentsItemWithPathPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.FileCommitable, error)
Put creates a new file or replaces an existing file in a repository.> [!NOTE]> If you use this endpoint and the "[Delete a file](https://docs.github.com/enterprise-server@3.10/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The `workflow` scope is also required in order to modify files in the `.github/workflows` directory. returns a FileCommitable 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 (*ItemItemContentsWithPathItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemContentsWithPathItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, body ItemItemContentsItemWithPathDeleteRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a file in a repository.You can provide an additional `committer` parameter, which is an object containing information about the committer. Or, you can provide an `author` parameter, which is an object containing information about the author.The `author` section is optional and is filled in with the `committer` information if omitted. If the `committer` information is omitted, the authenticated user's information is used.You must provide values for both `name` and `email`, whether you choose to use `author` or `committer`. Otherwise, you'll receive a `422` status code.> [!NOTE]> If you use this endpoint and the "[Create or update file contents](https://docs.github.com/enterprise-server@3.10/rest/repos/contents/#create-or-update-file-contents)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead. returns a *RequestInformation when successful
func (*ItemItemContentsWithPathItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemContentsWithPathItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemContentsWithPathItemRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the contents of a file or directory in a repository. Specify the file path or directory with the `path` parameter. If you omit the `path` parameter, you will receive the contents of the repository's root directory.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.raw+json`**: Returns the raw file contents for files and symlinks.- **`application/vnd.github.html+json`**: Returns the file contents in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup).- **`application/vnd.github.object+json`**: Returns the contents in a consistent object format regardless of the content type. For example, instead of an array of objects for a directory, the response will be an object with an `entries` attribute containing the array of objects.If the content is a directory, the response will be an array of objects, one object for each item in the directory. When listing the contents of a directory, submodules have their "type" specified as "file". Logically, the value _should_ be "submodule". This behavior exists [for backwards compatibility purposes](https://git.io/v1YCW). In the next major version of the API, the type will be returned as "submodule".If the content is a symlink and the symlink's target is a normal file in the repository, then the API responds with the content of the file. Otherwise, the API responds with an object describing the symlink itself.If the content is a submodule, the `submodule_git_url` field identifies the location of the submodule repository, and the `sha` identifies a specific commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit. If the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links["git"]`) and the github.com URLs (`html_url` and `_links["html"]`) will have null values.**Notes**:- To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@3.10/rest/git/trees#get-a-tree).- This API has an upper limit of 1,000 files for a directory. If you need to retrievemore files, use the [Git Trees API](https://docs.github.com/enterprise-server@3.10/rest/git/trees#get-a-tree).- Download URLs expire and are meant to be used just once. To ensure the download URL does not expire, please use the contents API to obtain a fresh download URL for each download.- If the requested file's size is: - 1 MB or smaller: All features of this endpoint are supported. - Between 1-100 MB: Only the `raw` or `object` custom media types are supported. Both will work as normal, except that when using the `object` media type, the `content` field will be an emptystring and the `encoding` field will be `"none"`. To get the contents of these larger files, use the `raw` media type. - Greater than 100 MB: This endpoint is not supported. returns a *RequestInformation when successful
func (*ItemItemContentsWithPathItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemContentsWithPathItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemContentsItemWithPathPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation creates a new file or replaces an existing file in a repository.> [!NOTE]> If you use this endpoint and the "[Delete a file](https://docs.github.com/enterprise-server@3.10/rest/repos/contents/#delete-a-file)" endpoint in parallel, the concurrent requests will conflict and you will receive errors. You must use these endpoints serially instead.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. The `workflow` scope is also required in order to modify files in the `.github/workflows` directory. returns a *RequestInformation when successful
func (*ItemItemContentsWithPathItemRequestBuilder) WithUrl ¶
func (m *ItemItemContentsWithPathItemRequestBuilder) WithUrl(rawUrl string) *ItemItemContentsWithPathItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemContentsWithPathItemRequestBuilder when successful
type ItemItemContentsWithPathItemRequestBuilderGetQueryParameters ¶
type ItemItemContentsWithPathItemRequestBuilderGetQueryParameters struct { // The name of the commit/branch/tag. Default: the repository’s default branch. Ref *string `uriparametername:"ref"` }
ItemItemContentsWithPathItemRequestBuilderGetQueryParameters gets the contents of a file or directory in a repository. Specify the file path or directory with the `path` parameter. If you omit the `path` parameter, you will receive the contents of the repository's root directory.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.raw+json`**: Returns the raw file contents for files and symlinks.- **`application/vnd.github.html+json`**: Returns the file contents in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup).- **`application/vnd.github.object+json`**: Returns the contents in a consistent object format regardless of the content type. For example, instead of an array of objects for a directory, the response will be an object with an `entries` attribute containing the array of objects.If the content is a directory, the response will be an array of objects, one object for each item in the directory. When listing the contents of a directory, submodules have their "type" specified as "file". Logically, the value _should_ be "submodule". This behavior exists [for backwards compatibility purposes](https://git.io/v1YCW). In the next major version of the API, the type will be returned as "submodule".If the content is a symlink and the symlink's target is a normal file in the repository, then the API responds with the content of the file. Otherwise, the API responds with an object describing the symlink itself.If the content is a submodule, the `submodule_git_url` field identifies the location of the submodule repository, and the `sha` identifies a specific commit within the submodule repository. Git uses the given URL when cloning the submodule repository, and checks out the submodule at that specific commit. If the submodule repository is not hosted on github.com, the Git URLs (`git_url` and `_links["git"]`) and the github.com URLs (`html_url` and `_links["html"]`) will have null values.**Notes**:- To get a repository's contents recursively, you can [recursively get the tree](https://docs.github.com/enterprise-server@3.10/rest/git/trees#get-a-tree).- This API has an upper limit of 1,000 files for a directory. If you need to retrievemore files, use the [Git Trees API](https://docs.github.com/enterprise-server@3.10/rest/git/trees#get-a-tree).- Download URLs expire and are meant to be used just once. To ensure the download URL does not expire, please use the contents API to obtain a fresh download URL for each download.- If the requested file's size is: - 1 MB or smaller: All features of this endpoint are supported. - Between 1-100 MB: Only the `raw` or `object` custom media types are supported. Both will work as normal, except that when using the `object` media type, the `content` field will be an emptystring and the `encoding` field will be `"none"`. To get the contents of these larger files, use the `raw` media type. - Greater than 100 MB: This endpoint is not supported.
type ItemItemContributorsRequestBuilder ¶
type ItemItemContributorsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemContributorsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\contributors
func NewItemItemContributorsRequestBuilder ¶
func NewItemItemContributorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemContributorsRequestBuilder
NewItemItemContributorsRequestBuilder instantiates a new ItemItemContributorsRequestBuilder and sets the default values.
func NewItemItemContributorsRequestBuilderInternal ¶
func NewItemItemContributorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemContributorsRequestBuilder
NewItemItemContributorsRequestBuilderInternal instantiates a new ItemItemContributorsRequestBuilder and sets the default values.
func (*ItemItemContributorsRequestBuilder) Get ¶
func (m *ItemItemContributorsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemContributorsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Contributorable, error)
Get lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API caches contributor data to improve performance.GitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information. returns a []Contributorable 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 (*ItemItemContributorsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemContributorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemContributorsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API caches contributor data to improve performance.GitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information. returns a *RequestInformation when successful
func (*ItemItemContributorsRequestBuilder) WithUrl ¶
func (m *ItemItemContributorsRequestBuilder) WithUrl(rawUrl string) *ItemItemContributorsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemContributorsRequestBuilder when successful
type ItemItemContributorsRequestBuilderGetQueryParameters ¶
type ItemItemContributorsRequestBuilderGetQueryParameters struct { // Set to `1` or `true` to include anonymous contributors in results. Anon *string `uriparametername:"anon"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemContributorsRequestBuilderGetQueryParameters lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API caches contributor data to improve performance.GitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.
type ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBody ¶
type ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemDependabotAlertsItemWithAlert_numberPatchRequestBody ¶
func NewItemItemDependabotAlertsItemWithAlert_numberPatchRequestBody() *ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBody
NewItemItemDependabotAlertsItemWithAlert_numberPatchRequestBody instantiates a new ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBody and sets the default values.
func (*ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBody) GetDismissedComment ¶
func (m *ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBody) GetDismissedComment() *string
GetDismissedComment gets the dismissed_comment property value. An optional comment associated with dismissing the alert. returns a *string when successful
func (*ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBody) 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 (*ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBody) Serialize ¶
func (m *ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBody) SetDismissedComment ¶
func (m *ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBody) SetDismissedComment(value *string)
SetDismissedComment sets the dismissed_comment property value. An optional comment associated with dismissing the alert.
type ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBodyable ¶
type ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetDismissedComment() *string SetDismissedComment(value *string) }
type ItemItemDependabotAlertsRequestBuilder ¶
type ItemItemDependabotAlertsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemDependabotAlertsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\dependabot\alerts
func NewItemItemDependabotAlertsRequestBuilder ¶
func NewItemItemDependabotAlertsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDependabotAlertsRequestBuilder
NewItemItemDependabotAlertsRequestBuilder instantiates a new ItemItemDependabotAlertsRequestBuilder and sets the default values.
func NewItemItemDependabotAlertsRequestBuilderInternal ¶
func NewItemItemDependabotAlertsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDependabotAlertsRequestBuilder
NewItemItemDependabotAlertsRequestBuilderInternal instantiates a new ItemItemDependabotAlertsRequestBuilder and sets the default values.
func (*ItemItemDependabotAlertsRequestBuilder) ByAlert_number ¶
func (m *ItemItemDependabotAlertsRequestBuilder) ByAlert_number(alert_number int32) *ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder
ByAlert_number gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.dependabot.alerts.item collection returns a *ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder when successful
func (*ItemItemDependabotAlertsRequestBuilder) Get ¶
func (m *ItemItemDependabotAlertsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemDependabotAlertsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DependabotAlertable, error)
Get oAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. returns a []DependabotAlertable when successful returns a BasicError error when the service returns a 400 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 ValidationErrorSimple error when the service returns a 422 status code API method documentation
func (*ItemItemDependabotAlertsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemDependabotAlertsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemDependabotAlertsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation oAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. returns a *RequestInformation when successful
func (*ItemItemDependabotAlertsRequestBuilder) WithUrl ¶
func (m *ItemItemDependabotAlertsRequestBuilder) WithUrl(rawUrl string) *ItemItemDependabotAlertsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemDependabotAlertsRequestBuilder when successful
type ItemItemDependabotAlertsRequestBuilderGetQueryParameters ¶
type ItemItemDependabotAlertsRequestBuilderGetQueryParameters struct { // A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." After *string `uriparametername:"after"` // A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Before *string `uriparametername:"before"` // The direction to sort the results by. Direction *i8393e6fbe49565baf8cec2bd146fda3d83f1a474d09b264e9b4a52c3a16b03f1.GetDirectionQueryParameterType `uriparametername:"direction"` // A comma-separated list of ecosystems. If specified, only alerts for these ecosystems will be returned.Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` Ecosystem *string `uriparametername:"ecosystem"` // **Deprecated**. The number of results per page (max 100), starting from the first matching result.This parameter must not be used in combination with `last`.Instead, use `per_page` in combination with `after` to fetch the first page of results. First *int32 `uriparametername:"first"` // **Deprecated**. The number of results per page (max 100), starting from the last matching result.This parameter must not be used in combination with `first`.Instead, use `per_page` in combination with `before` to fetch the last page of results. Last *int32 `uriparametername:"last"` // A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. Manifest *string `uriparametername:"manifest"` // A comma-separated list of package names. If specified, only alerts for these packages will be returned. Package *string `uriparametername:"package"` // **Deprecated**. Page number of the results to fetch. Use cursor-based pagination with `before` or `after` instead. // Deprecated: Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." // Deprecated: Per_page *int32 `uriparametername:"per_page"` // The scope of the vulnerable dependency. If specified, only alerts with this scope will be returned. Scope *i8393e6fbe49565baf8cec2bd146fda3d83f1a474d09b264e9b4a52c3a16b03f1.GetScopeQueryParameterType `uriparametername:"scope"` // A comma-separated list of severities. If specified, only alerts with these severities will be returned.Can be: `low`, `medium`, `high`, `critical` Severity *string `uriparametername:"severity"` // The property by which to sort the results.`created` means when the alert was created.`updated` means when the alert's state last changed. Sort *i8393e6fbe49565baf8cec2bd146fda3d83f1a474d09b264e9b4a52c3a16b03f1.GetSortQueryParameterType `uriparametername:"sort"` // A comma-separated list of states. If specified, only alerts with these states will be returned.Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` State *string `uriparametername:"state"` }
ItemItemDependabotAlertsRequestBuilderGetQueryParameters oAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.
type ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder ¶
type ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\dependabot\alerts\{alert_number}
func NewItemItemDependabotAlertsWithAlert_numberItemRequestBuilder ¶
func NewItemItemDependabotAlertsWithAlert_numberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder
NewItemItemDependabotAlertsWithAlert_numberItemRequestBuilder instantiates a new ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder and sets the default values.
func NewItemItemDependabotAlertsWithAlert_numberItemRequestBuilderInternal ¶
func NewItemItemDependabotAlertsWithAlert_numberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder
NewItemItemDependabotAlertsWithAlert_numberItemRequestBuilderInternal instantiates a new ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder and sets the default values.
func (*ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder) Get ¶
func (m *ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DependabotAlertable, error)
Get oAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. returns a DependabotAlertable 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 (*ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder) Patch ¶
func (m *ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder) Patch(ctx context.Context, body ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DependabotAlertable, error)
Patch the authenticated user must have access to security alerts for the repository to use this endpoint. For more information, see "[Granting access to security alerts](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository#granting-access-to-security-alerts)."OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. returns a DependabotAlertable when successful returns a BasicError error when the service returns a 400 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 ValidationErrorSimple error when the service returns a 422 status code API method documentation
func (*ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation oAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. returns a *RequestInformation when successful
func (*ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation the authenticated user must have access to security alerts for the repository to use this endpoint. For more information, see "[Granting access to security alerts](https://docs.github.com/enterprise-server@3.10/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-security-and-analysis-settings-for-your-repository#granting-access-to-security-alerts)."OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. returns a *RequestInformation when successful
func (*ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder) WithUrl ¶
func (m *ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder) WithUrl(rawUrl string) *ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemDependabotAlertsWithAlert_numberItemRequestBuilder when successful
type ItemItemDependabotRequestBuilder ¶
type ItemItemDependabotRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemDependabotRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\dependabot
func NewItemItemDependabotRequestBuilder ¶
func NewItemItemDependabotRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDependabotRequestBuilder
NewItemItemDependabotRequestBuilder instantiates a new ItemItemDependabotRequestBuilder and sets the default values.
func NewItemItemDependabotRequestBuilderInternal ¶
func NewItemItemDependabotRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDependabotRequestBuilder
NewItemItemDependabotRequestBuilderInternal instantiates a new ItemItemDependabotRequestBuilder and sets the default values.
func (*ItemItemDependabotRequestBuilder) Alerts ¶
func (m *ItemItemDependabotRequestBuilder) Alerts() *ItemItemDependabotAlertsRequestBuilder
Alerts the alerts property returns a *ItemItemDependabotAlertsRequestBuilder when successful
func (*ItemItemDependabotRequestBuilder) Secrets ¶
func (m *ItemItemDependabotRequestBuilder) Secrets() *ItemItemDependabotSecretsRequestBuilder
Secrets the secrets property returns a *ItemItemDependabotSecretsRequestBuilder when successful
type ItemItemDependabotSecretsGetResponse ¶
type ItemItemDependabotSecretsGetResponse struct {
// contains filtered or unexported fields
}
func NewItemItemDependabotSecretsGetResponse ¶
func NewItemItemDependabotSecretsGetResponse() *ItemItemDependabotSecretsGetResponse
NewItemItemDependabotSecretsGetResponse instantiates a new ItemItemDependabotSecretsGetResponse and sets the default values.
func (*ItemItemDependabotSecretsGetResponse) GetAdditionalData ¶
func (m *ItemItemDependabotSecretsGetResponse) 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 (*ItemItemDependabotSecretsGetResponse) GetFieldDeserializers ¶
func (m *ItemItemDependabotSecretsGetResponse) 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 (*ItemItemDependabotSecretsGetResponse) GetSecrets ¶
func (m *ItemItemDependabotSecretsGetResponse) GetSecrets() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DependabotSecretable
GetSecrets gets the secrets property value. The secrets property returns a []DependabotSecretable when successful
func (*ItemItemDependabotSecretsGetResponse) GetTotalCount ¶
func (m *ItemItemDependabotSecretsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemItemDependabotSecretsGetResponse) Serialize ¶
func (m *ItemItemDependabotSecretsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemDependabotSecretsGetResponse) SetAdditionalData ¶
func (m *ItemItemDependabotSecretsGetResponse) 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 (*ItemItemDependabotSecretsGetResponse) SetSecrets ¶
func (m *ItemItemDependabotSecretsGetResponse) SetSecrets(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DependabotSecretable)
SetSecrets sets the secrets property value. The secrets property
func (*ItemItemDependabotSecretsGetResponse) SetTotalCount ¶
func (m *ItemItemDependabotSecretsGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemItemDependabotSecretsGetResponseable ¶
type ItemItemDependabotSecretsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSecrets() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DependabotSecretable GetTotalCount() *int32 SetSecrets(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DependabotSecretable) SetTotalCount(value *int32) }
type ItemItemDependabotSecretsItemWithSecret_namePutRequestBody ¶
type ItemItemDependabotSecretsItemWithSecret_namePutRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemDependabotSecretsItemWithSecret_namePutRequestBody ¶
func NewItemItemDependabotSecretsItemWithSecret_namePutRequestBody() *ItemItemDependabotSecretsItemWithSecret_namePutRequestBody
NewItemItemDependabotSecretsItemWithSecret_namePutRequestBody instantiates a new ItemItemDependabotSecretsItemWithSecret_namePutRequestBody and sets the default values.
func (*ItemItemDependabotSecretsItemWithSecret_namePutRequestBody) GetAdditionalData ¶
func (m *ItemItemDependabotSecretsItemWithSecret_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 (*ItemItemDependabotSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue ¶
func (m *ItemItemDependabotSecretsItemWithSecret_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 a repository public key](https://docs.github.com/enterprise-server@3.10/rest/dependabot/secrets#get-a-repository-public-key) endpoint. returns a *string when successful
func (*ItemItemDependabotSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers ¶
func (m *ItemItemDependabotSecretsItemWithSecret_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 (*ItemItemDependabotSecretsItemWithSecret_namePutRequestBody) GetKeyId ¶
func (m *ItemItemDependabotSecretsItemWithSecret_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 (*ItemItemDependabotSecretsItemWithSecret_namePutRequestBody) Serialize ¶
func (m *ItemItemDependabotSecretsItemWithSecret_namePutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemDependabotSecretsItemWithSecret_namePutRequestBody) SetAdditionalData ¶
func (m *ItemItemDependabotSecretsItemWithSecret_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 (*ItemItemDependabotSecretsItemWithSecret_namePutRequestBody) SetEncryptedValue ¶
func (m *ItemItemDependabotSecretsItemWithSecret_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 a repository public key](https://docs.github.com/enterprise-server@3.10/rest/dependabot/secrets#get-a-repository-public-key) endpoint.
func (*ItemItemDependabotSecretsItemWithSecret_namePutRequestBody) SetKeyId ¶
func (m *ItemItemDependabotSecretsItemWithSecret_namePutRequestBody) SetKeyId(value *string)
SetKeyId sets the key_id property value. ID of the key you used to encrypt the secret.
type ItemItemDependabotSecretsItemWithSecret_namePutRequestBodyable ¶
type ItemItemDependabotSecretsItemWithSecret_namePutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetEncryptedValue() *string GetKeyId() *string SetEncryptedValue(value *string) SetKeyId(value *string) }
type ItemItemDependabotSecretsPublicKeyRequestBuilder ¶
type ItemItemDependabotSecretsPublicKeyRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemDependabotSecretsPublicKeyRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\dependabot\secrets\public-key
func NewItemItemDependabotSecretsPublicKeyRequestBuilder ¶
func NewItemItemDependabotSecretsPublicKeyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDependabotSecretsPublicKeyRequestBuilder
NewItemItemDependabotSecretsPublicKeyRequestBuilder instantiates a new ItemItemDependabotSecretsPublicKeyRequestBuilder and sets the default values.
func NewItemItemDependabotSecretsPublicKeyRequestBuilderInternal ¶
func NewItemItemDependabotSecretsPublicKeyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDependabotSecretsPublicKeyRequestBuilder
NewItemItemDependabotSecretsPublicKeyRequestBuilderInternal instantiates a new ItemItemDependabotSecretsPublicKeyRequestBuilder and sets the default values.
func (*ItemItemDependabotSecretsPublicKeyRequestBuilder) Get ¶
func (m *ItemItemDependabotSecretsPublicKeyRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DependabotPublicKeyable, error)
Get gets your public key, which you need to encrypt secrets. You need toencrypt a secret before you can create or update secrets. Anyone with read accessto the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the repository is private. returns a DependabotPublicKeyable when successful API method documentation
func (*ItemItemDependabotSecretsPublicKeyRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemDependabotSecretsPublicKeyRequestBuilder) 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 toencrypt a secret before you can create or update secrets. Anyone with read accessto the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the repository is private. returns a *RequestInformation when successful
func (*ItemItemDependabotSecretsPublicKeyRequestBuilder) WithUrl ¶
func (m *ItemItemDependabotSecretsPublicKeyRequestBuilder) WithUrl(rawUrl string) *ItemItemDependabotSecretsPublicKeyRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemDependabotSecretsPublicKeyRequestBuilder when successful
type ItemItemDependabotSecretsRequestBuilder ¶
type ItemItemDependabotSecretsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemDependabotSecretsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\dependabot\secrets
func NewItemItemDependabotSecretsRequestBuilder ¶
func NewItemItemDependabotSecretsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDependabotSecretsRequestBuilder
NewItemItemDependabotSecretsRequestBuilder instantiates a new ItemItemDependabotSecretsRequestBuilder and sets the default values.
func NewItemItemDependabotSecretsRequestBuilderInternal ¶
func NewItemItemDependabotSecretsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDependabotSecretsRequestBuilder
NewItemItemDependabotSecretsRequestBuilderInternal instantiates a new ItemItemDependabotSecretsRequestBuilder and sets the default values.
func (*ItemItemDependabotSecretsRequestBuilder) BySecret_name ¶
func (m *ItemItemDependabotSecretsRequestBuilder) BySecret_name(secret_name string) *ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder
BySecret_name gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.dependabot.secrets.item collection returns a *ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder when successful
func (*ItemItemDependabotSecretsRequestBuilder) Get ¶
func (m *ItemItemDependabotSecretsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemDependabotSecretsRequestBuilderGetQueryParameters]) (ItemItemDependabotSecretsGetResponseable, error)
Get lists all secrets available in a repository without revealing their encryptedvalues.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ItemItemDependabotSecretsGetResponseable when successful API method documentation
func (*ItemItemDependabotSecretsRequestBuilder) PublicKey ¶
func (m *ItemItemDependabotSecretsRequestBuilder) PublicKey() *ItemItemDependabotSecretsPublicKeyRequestBuilder
PublicKey the publicKey property returns a *ItemItemDependabotSecretsPublicKeyRequestBuilder when successful
func (*ItemItemDependabotSecretsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemDependabotSecretsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemDependabotSecretsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all secrets available in a repository without revealing their encryptedvalues.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemDependabotSecretsRequestBuilder) WithUrl ¶
func (m *ItemItemDependabotSecretsRequestBuilder) WithUrl(rawUrl string) *ItemItemDependabotSecretsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemDependabotSecretsRequestBuilder when successful
type ItemItemDependabotSecretsRequestBuilderGetQueryParameters ¶
type ItemItemDependabotSecretsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemDependabotSecretsRequestBuilderGetQueryParameters lists all secrets available in a repository without revealing their encryptedvalues.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
type ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder ¶
type ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\dependabot\secrets\{secret_name}
func NewItemItemDependabotSecretsWithSecret_nameItemRequestBuilder ¶
func NewItemItemDependabotSecretsWithSecret_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder
NewItemItemDependabotSecretsWithSecret_nameItemRequestBuilder instantiates a new ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder and sets the default values.
func NewItemItemDependabotSecretsWithSecret_nameItemRequestBuilderInternal ¶
func NewItemItemDependabotSecretsWithSecret_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder
NewItemItemDependabotSecretsWithSecret_nameItemRequestBuilderInternal instantiates a new ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder and sets the default values.
func (*ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder) Delete ¶
func (m *ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete deletes a secret in a repository using the secret name.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder) Get ¶
func (m *ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DependabotSecretable, error)
Get gets a single repository secret without revealing its encrypted value.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a DependabotSecretable when successful API method documentation
func (*ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder) Put ¶
func (m *ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder) Put(ctx context.Context, body ItemItemDependabotSecretsItemWithSecret_namePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EmptyObjectable, error)
Put creates or updates a repository secret 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/enterprise-server@3.10/rest/guides/encrypting-secrets-for-the-rest-api)."OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a EmptyObjectable when successful API method documentation
func (*ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a secret in a repository using the secret name.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a single repository secret without revealing its encrypted value.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemDependabotSecretsItemWithSecret_namePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation creates or updates a repository secret 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/enterprise-server@3.10/rest/guides/encrypting-secrets-for-the-rest-api)."OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder) WithUrl ¶
func (m *ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder) WithUrl(rawUrl string) *ItemItemDependabotSecretsWithSecret_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 *ItemItemDependabotSecretsWithSecret_nameItemRequestBuilder when successful
type ItemItemDependencyGraphCompareRequestBuilder ¶
type ItemItemDependencyGraphCompareRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemDependencyGraphCompareRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\dependency-graph\compare
func NewItemItemDependencyGraphCompareRequestBuilder ¶
func NewItemItemDependencyGraphCompareRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDependencyGraphCompareRequestBuilder
NewItemItemDependencyGraphCompareRequestBuilder instantiates a new ItemItemDependencyGraphCompareRequestBuilder and sets the default values.
func NewItemItemDependencyGraphCompareRequestBuilderInternal ¶
func NewItemItemDependencyGraphCompareRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDependencyGraphCompareRequestBuilder
NewItemItemDependencyGraphCompareRequestBuilderInternal instantiates a new ItemItemDependencyGraphCompareRequestBuilder and sets the default values.
func (*ItemItemDependencyGraphCompareRequestBuilder) ByBasehead ¶
func (m *ItemItemDependencyGraphCompareRequestBuilder) ByBasehead(basehead string) *ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder
ByBasehead gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.dependencyGraph.compare.item collection returns a *ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder when successful
type ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder ¶
type ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\dependency-graph\compare\{basehead}
func NewItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder ¶
func NewItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder
NewItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder instantiates a new ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder and sets the default values.
func NewItemItemDependencyGraphCompareWithBaseheadItemRequestBuilderInternal ¶
func NewItemItemDependencyGraphCompareWithBaseheadItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder
NewItemItemDependencyGraphCompareWithBaseheadItemRequestBuilderInternal instantiates a new ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder and sets the default values.
func (*ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder) Get ¶
func (m *ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DependencyGraphDiffable, error)
Get gets the diff of the dependency changes between two commits of a repository, based on the changes to the dependency manifests made in those commits. returns a []DependencyGraphDiffable 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 (*ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the diff of the dependency changes between two commits of a repository, based on the changes to the dependency manifests made in those commits. returns a *RequestInformation when successful
func (*ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder) WithUrl ¶
func (m *ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder) WithUrl(rawUrl string) *ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilder when successful
type ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilderGetQueryParameters ¶
type ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilderGetQueryParameters struct { // The full path, relative to the repository root, of the dependency manifest file. Name *string `uriparametername:"name"` }
ItemItemDependencyGraphCompareWithBaseheadItemRequestBuilderGetQueryParameters gets the diff of the dependency changes between two commits of a repository, based on the changes to the dependency manifests made in those commits.
type ItemItemDependencyGraphRequestBuilder ¶
type ItemItemDependencyGraphRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemDependencyGraphRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\dependency-graph
func NewItemItemDependencyGraphRequestBuilder ¶
func NewItemItemDependencyGraphRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDependencyGraphRequestBuilder
NewItemItemDependencyGraphRequestBuilder instantiates a new ItemItemDependencyGraphRequestBuilder and sets the default values.
func NewItemItemDependencyGraphRequestBuilderInternal ¶
func NewItemItemDependencyGraphRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDependencyGraphRequestBuilder
NewItemItemDependencyGraphRequestBuilderInternal instantiates a new ItemItemDependencyGraphRequestBuilder and sets the default values.
func (*ItemItemDependencyGraphRequestBuilder) Compare ¶
func (m *ItemItemDependencyGraphRequestBuilder) Compare() *ItemItemDependencyGraphCompareRequestBuilder
Compare the compare property returns a *ItemItemDependencyGraphCompareRequestBuilder when successful
func (*ItemItemDependencyGraphRequestBuilder) Sbom ¶
Sbom the sbom property returns a *ItemItemDependencyGraphSbomRequestBuilder when successful
func (*ItemItemDependencyGraphRequestBuilder) Snapshots ¶
func (m *ItemItemDependencyGraphRequestBuilder) Snapshots() *ItemItemDependencyGraphSnapshotsRequestBuilder
Snapshots the snapshots property returns a *ItemItemDependencyGraphSnapshotsRequestBuilder when successful
type ItemItemDependencyGraphSbomRequestBuilder ¶
type ItemItemDependencyGraphSbomRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemDependencyGraphSbomRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\dependency-graph\sbom
func NewItemItemDependencyGraphSbomRequestBuilder ¶
func NewItemItemDependencyGraphSbomRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDependencyGraphSbomRequestBuilder
NewItemItemDependencyGraphSbomRequestBuilder instantiates a new ItemItemDependencyGraphSbomRequestBuilder and sets the default values.
func NewItemItemDependencyGraphSbomRequestBuilderInternal ¶
func NewItemItemDependencyGraphSbomRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDependencyGraphSbomRequestBuilder
NewItemItemDependencyGraphSbomRequestBuilderInternal instantiates a new ItemItemDependencyGraphSbomRequestBuilder and sets the default values.
func (*ItemItemDependencyGraphSbomRequestBuilder) Get ¶
func (m *ItemItemDependencyGraphSbomRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DependencyGraphSpdxSbomable, error)
Get exports the software bill of materials (SBOM) for a repository in SPDX JSON format. returns a DependencyGraphSpdxSbomable 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 (*ItemItemDependencyGraphSbomRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemDependencyGraphSbomRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation exports the software bill of materials (SBOM) for a repository in SPDX JSON format. returns a *RequestInformation when successful
func (*ItemItemDependencyGraphSbomRequestBuilder) WithUrl ¶
func (m *ItemItemDependencyGraphSbomRequestBuilder) WithUrl(rawUrl string) *ItemItemDependencyGraphSbomRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemDependencyGraphSbomRequestBuilder when successful
type ItemItemDependencyGraphSnapshotsPostResponse ¶
type ItemItemDependencyGraphSnapshotsPostResponse struct {
// contains filtered or unexported fields
}
func NewItemItemDependencyGraphSnapshotsPostResponse ¶
func NewItemItemDependencyGraphSnapshotsPostResponse() *ItemItemDependencyGraphSnapshotsPostResponse
NewItemItemDependencyGraphSnapshotsPostResponse instantiates a new ItemItemDependencyGraphSnapshotsPostResponse and sets the default values.
func (*ItemItemDependencyGraphSnapshotsPostResponse) GetAdditionalData ¶
func (m *ItemItemDependencyGraphSnapshotsPostResponse) 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 (*ItemItemDependencyGraphSnapshotsPostResponse) GetCreatedAt ¶
func (m *ItemItemDependencyGraphSnapshotsPostResponse) GetCreatedAt() *string
GetCreatedAt gets the created_at property value. The time at which the snapshot was created. returns a *string when successful
func (*ItemItemDependencyGraphSnapshotsPostResponse) GetFieldDeserializers ¶
func (m *ItemItemDependencyGraphSnapshotsPostResponse) 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 (*ItemItemDependencyGraphSnapshotsPostResponse) GetId ¶
func (m *ItemItemDependencyGraphSnapshotsPostResponse) GetId() *int32
GetId gets the id property value. ID of the created snapshot. returns a *int32 when successful
func (*ItemItemDependencyGraphSnapshotsPostResponse) GetMessage ¶
func (m *ItemItemDependencyGraphSnapshotsPostResponse) GetMessage() *string
GetMessage gets the message property value. A message providing further details about the result, such as why the dependencies were not updated. returns a *string when successful
func (*ItemItemDependencyGraphSnapshotsPostResponse) GetResult ¶
func (m *ItemItemDependencyGraphSnapshotsPostResponse) GetResult() *string
GetResult gets the result property value. Either "SUCCESS", "ACCEPTED", or "INVALID". "SUCCESS" indicates that the snapshot was successfully created and the repository's dependencies were updated. "ACCEPTED" indicates that the snapshot was successfully created, but the repository's dependencies were not updated. "INVALID" indicates that the snapshot was malformed. returns a *string when successful
func (*ItemItemDependencyGraphSnapshotsPostResponse) Serialize ¶
func (m *ItemItemDependencyGraphSnapshotsPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemDependencyGraphSnapshotsPostResponse) SetAdditionalData ¶
func (m *ItemItemDependencyGraphSnapshotsPostResponse) 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 (*ItemItemDependencyGraphSnapshotsPostResponse) SetCreatedAt ¶
func (m *ItemItemDependencyGraphSnapshotsPostResponse) SetCreatedAt(value *string)
SetCreatedAt sets the created_at property value. The time at which the snapshot was created.
func (*ItemItemDependencyGraphSnapshotsPostResponse) SetId ¶
func (m *ItemItemDependencyGraphSnapshotsPostResponse) SetId(value *int32)
SetId sets the id property value. ID of the created snapshot.
func (*ItemItemDependencyGraphSnapshotsPostResponse) SetMessage ¶
func (m *ItemItemDependencyGraphSnapshotsPostResponse) SetMessage(value *string)
SetMessage sets the message property value. A message providing further details about the result, such as why the dependencies were not updated.
func (*ItemItemDependencyGraphSnapshotsPostResponse) SetResult ¶
func (m *ItemItemDependencyGraphSnapshotsPostResponse) SetResult(value *string)
SetResult sets the result property value. Either "SUCCESS", "ACCEPTED", or "INVALID". "SUCCESS" indicates that the snapshot was successfully created and the repository's dependencies were updated. "ACCEPTED" indicates that the snapshot was successfully created, but the repository's dependencies were not updated. "INVALID" indicates that the snapshot was malformed.
type ItemItemDependencyGraphSnapshotsPostResponseable ¶
type ItemItemDependencyGraphSnapshotsPostResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCreatedAt() *string GetId() *int32 GetMessage() *string GetResult() *string SetCreatedAt(value *string) SetId(value *int32) SetMessage(value *string) SetResult(value *string) }
type ItemItemDependencyGraphSnapshotsRequestBuilder ¶
type ItemItemDependencyGraphSnapshotsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemDependencyGraphSnapshotsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\dependency-graph\snapshots
func NewItemItemDependencyGraphSnapshotsRequestBuilder ¶
func NewItemItemDependencyGraphSnapshotsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDependencyGraphSnapshotsRequestBuilder
NewItemItemDependencyGraphSnapshotsRequestBuilder instantiates a new ItemItemDependencyGraphSnapshotsRequestBuilder and sets the default values.
func NewItemItemDependencyGraphSnapshotsRequestBuilderInternal ¶
func NewItemItemDependencyGraphSnapshotsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDependencyGraphSnapshotsRequestBuilder
NewItemItemDependencyGraphSnapshotsRequestBuilderInternal instantiates a new ItemItemDependencyGraphSnapshotsRequestBuilder and sets the default values.
func (*ItemItemDependencyGraphSnapshotsRequestBuilder) Post ¶
func (m *ItemItemDependencyGraphSnapshotsRequestBuilder) Post(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Snapshotable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemItemDependencyGraphSnapshotsPostResponseable, error)
Post create a new snapshot of a repository's dependencies.The authenticated user must have access to the repository.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ItemItemDependencyGraphSnapshotsPostResponseable when successful API method documentation
func (*ItemItemDependencyGraphSnapshotsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemDependencyGraphSnapshotsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Snapshotable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation create a new snapshot of a repository's dependencies.The authenticated user must have access to the repository.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemDependencyGraphSnapshotsRequestBuilder) WithUrl ¶
func (m *ItemItemDependencyGraphSnapshotsRequestBuilder) WithUrl(rawUrl string) *ItemItemDependencyGraphSnapshotsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemDependencyGraphSnapshotsRequestBuilder when successful
type ItemItemDeploymentsItemStatusesPostRequestBody ¶
type ItemItemDeploymentsItemStatusesPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemDeploymentsItemStatusesPostRequestBody ¶
func NewItemItemDeploymentsItemStatusesPostRequestBody() *ItemItemDeploymentsItemStatusesPostRequestBody
NewItemItemDeploymentsItemStatusesPostRequestBody instantiates a new ItemItemDeploymentsItemStatusesPostRequestBody and sets the default values.
func (*ItemItemDeploymentsItemStatusesPostRequestBody) GetAdditionalData ¶
func (m *ItemItemDeploymentsItemStatusesPostRequestBody) 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 (*ItemItemDeploymentsItemStatusesPostRequestBody) GetAutoInactive ¶
func (m *ItemItemDeploymentsItemStatusesPostRequestBody) GetAutoInactive() *bool
GetAutoInactive gets the auto_inactive property value. Adds a new `inactive` status to all prior non-transient, non-production environment deployments with the same repository and `environment` name as the created status's deployment. An `inactive` status is only added to deployments that had a `success` state. Default: `true` returns a *bool when successful
func (*ItemItemDeploymentsItemStatusesPostRequestBody) GetDescription ¶
func (m *ItemItemDeploymentsItemStatusesPostRequestBody) GetDescription() *string
GetDescription gets the description property value. A short description of the status. The maximum description length is 140 characters. returns a *string when successful
func (*ItemItemDeploymentsItemStatusesPostRequestBody) GetEnvironment ¶
func (m *ItemItemDeploymentsItemStatusesPostRequestBody) GetEnvironment() *string
GetEnvironment gets the environment property value. Name for the target deployment environment, which can be changed when setting a deploy status. For example, `production`, `staging`, or `qa`. If not defined, the environment of the previous status on the deployment will be used, if it exists. Otherwise, the environment of the deployment will be used. returns a *string when successful
func (*ItemItemDeploymentsItemStatusesPostRequestBody) GetEnvironmentUrl ¶
func (m *ItemItemDeploymentsItemStatusesPostRequestBody) GetEnvironmentUrl() *string
GetEnvironmentUrl gets the environment_url property value. Sets the URL for accessing your environment. Default: `""` returns a *string when successful
func (*ItemItemDeploymentsItemStatusesPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemDeploymentsItemStatusesPostRequestBody) 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 (*ItemItemDeploymentsItemStatusesPostRequestBody) GetLogUrl ¶
func (m *ItemItemDeploymentsItemStatusesPostRequestBody) GetLogUrl() *string
GetLogUrl gets the log_url property value. The full URL of the deployment's output. This parameter replaces `target_url`. We will continue to accept `target_url` to support legacy uses, but we recommend replacing `target_url` with `log_url`. Setting `log_url` will automatically set `target_url` to the same value. Default: `""` returns a *string when successful
func (*ItemItemDeploymentsItemStatusesPostRequestBody) GetTargetUrl ¶
func (m *ItemItemDeploymentsItemStatusesPostRequestBody) GetTargetUrl() *string
GetTargetUrl gets the target_url property value. The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment.> [!NOTE]> It's recommended to use the `log_url` parameter, which replaces `target_url`. returns a *string when successful
func (*ItemItemDeploymentsItemStatusesPostRequestBody) Serialize ¶
func (m *ItemItemDeploymentsItemStatusesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemDeploymentsItemStatusesPostRequestBody) SetAdditionalData ¶
func (m *ItemItemDeploymentsItemStatusesPostRequestBody) 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 (*ItemItemDeploymentsItemStatusesPostRequestBody) SetAutoInactive ¶
func (m *ItemItemDeploymentsItemStatusesPostRequestBody) SetAutoInactive(value *bool)
SetAutoInactive sets the auto_inactive property value. Adds a new `inactive` status to all prior non-transient, non-production environment deployments with the same repository and `environment` name as the created status's deployment. An `inactive` status is only added to deployments that had a `success` state. Default: `true`
func (*ItemItemDeploymentsItemStatusesPostRequestBody) SetDescription ¶
func (m *ItemItemDeploymentsItemStatusesPostRequestBody) SetDescription(value *string)
SetDescription sets the description property value. A short description of the status. The maximum description length is 140 characters.
func (*ItemItemDeploymentsItemStatusesPostRequestBody) SetEnvironment ¶
func (m *ItemItemDeploymentsItemStatusesPostRequestBody) SetEnvironment(value *string)
SetEnvironment sets the environment property value. Name for the target deployment environment, which can be changed when setting a deploy status. For example, `production`, `staging`, or `qa`. If not defined, the environment of the previous status on the deployment will be used, if it exists. Otherwise, the environment of the deployment will be used.
func (*ItemItemDeploymentsItemStatusesPostRequestBody) SetEnvironmentUrl ¶
func (m *ItemItemDeploymentsItemStatusesPostRequestBody) SetEnvironmentUrl(value *string)
SetEnvironmentUrl sets the environment_url property value. Sets the URL for accessing your environment. Default: `""`
func (*ItemItemDeploymentsItemStatusesPostRequestBody) SetLogUrl ¶
func (m *ItemItemDeploymentsItemStatusesPostRequestBody) SetLogUrl(value *string)
SetLogUrl sets the log_url property value. The full URL of the deployment's output. This parameter replaces `target_url`. We will continue to accept `target_url` to support legacy uses, but we recommend replacing `target_url` with `log_url`. Setting `log_url` will automatically set `target_url` to the same value. Default: `""`
func (*ItemItemDeploymentsItemStatusesPostRequestBody) SetTargetUrl ¶
func (m *ItemItemDeploymentsItemStatusesPostRequestBody) SetTargetUrl(value *string)
SetTargetUrl sets the target_url property value. The target URL to associate with this status. This URL should contain output to keep the user updated while the task is running or serve as historical information for what happened in the deployment.> [!NOTE]> It's recommended to use the `log_url` parameter, which replaces `target_url`.
type ItemItemDeploymentsItemStatusesPostRequestBodyable ¶
type ItemItemDeploymentsItemStatusesPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAutoInactive() *bool GetDescription() *string GetEnvironment() *string GetEnvironmentUrl() *string GetLogUrl() *string GetTargetUrl() *string SetAutoInactive(value *bool) SetDescription(value *string) SetEnvironment(value *string) SetEnvironmentUrl(value *string) SetLogUrl(value *string) SetTargetUrl(value *string) }
type ItemItemDeploymentsItemStatusesRequestBuilder ¶
type ItemItemDeploymentsItemStatusesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemDeploymentsItemStatusesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\deployments\{deployment_id}\statuses
func NewItemItemDeploymentsItemStatusesRequestBuilder ¶
func NewItemItemDeploymentsItemStatusesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDeploymentsItemStatusesRequestBuilder
NewItemItemDeploymentsItemStatusesRequestBuilder instantiates a new ItemItemDeploymentsItemStatusesRequestBuilder and sets the default values.
func NewItemItemDeploymentsItemStatusesRequestBuilderInternal ¶
func NewItemItemDeploymentsItemStatusesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDeploymentsItemStatusesRequestBuilder
NewItemItemDeploymentsItemStatusesRequestBuilderInternal instantiates a new ItemItemDeploymentsItemStatusesRequestBuilder and sets the default values.
func (*ItemItemDeploymentsItemStatusesRequestBuilder) ByStatus_id ¶
func (m *ItemItemDeploymentsItemStatusesRequestBuilder) ByStatus_id(status_id int32) *ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder
ByStatus_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.deployments.item.statuses.item collection returns a *ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder when successful
func (*ItemItemDeploymentsItemStatusesRequestBuilder) Get ¶
func (m *ItemItemDeploymentsItemStatusesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemDeploymentsItemStatusesRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentStatusable, error)
Get users with pull access can view deployment statuses for a deployment: returns a []DeploymentStatusable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemDeploymentsItemStatusesRequestBuilder) Post ¶
func (m *ItemItemDeploymentsItemStatusesRequestBuilder) Post(ctx context.Context, body ItemItemDeploymentsItemStatusesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentStatusable, error)
Post users with `push` access can create deployment statuses for a given deployment.OAuth app tokens and personal access tokens (classic) need the `repo_deployment` scope to use this endpoint. returns a DeploymentStatusable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemDeploymentsItemStatusesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemDeploymentsItemStatusesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemDeploymentsItemStatusesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation users with pull access can view deployment statuses for a deployment: returns a *RequestInformation when successful
func (*ItemItemDeploymentsItemStatusesRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemDeploymentsItemStatusesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemDeploymentsItemStatusesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation users with `push` access can create deployment statuses for a given deployment.OAuth app tokens and personal access tokens (classic) need the `repo_deployment` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemDeploymentsItemStatusesRequestBuilder) WithUrl ¶
func (m *ItemItemDeploymentsItemStatusesRequestBuilder) WithUrl(rawUrl string) *ItemItemDeploymentsItemStatusesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemDeploymentsItemStatusesRequestBuilder when successful
type ItemItemDeploymentsItemStatusesRequestBuilderGetQueryParameters ¶
type ItemItemDeploymentsItemStatusesRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemDeploymentsItemStatusesRequestBuilderGetQueryParameters users with pull access can view deployment statuses for a deployment:
type ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder ¶
type ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\deployments\{deployment_id}\statuses\{status_id}
func NewItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder ¶
func NewItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder
NewItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder instantiates a new ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder and sets the default values.
func NewItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilderInternal ¶
func NewItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder
NewItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilderInternal instantiates a new ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder and sets the default values.
func (*ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder) Get ¶
func (m *ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentStatusable, error)
Get users with pull access can view a deployment status for a deployment: returns a DeploymentStatusable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation users with pull access can view a deployment status for a deployment: returns a *RequestInformation when successful
func (*ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemDeploymentsItemStatusesWithStatus_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 *ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder when successful
type ItemItemDeploymentsPostRequestBody ¶
type ItemItemDeploymentsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemDeploymentsPostRequestBody ¶
func NewItemItemDeploymentsPostRequestBody() *ItemItemDeploymentsPostRequestBody
NewItemItemDeploymentsPostRequestBody instantiates a new ItemItemDeploymentsPostRequestBody and sets the default values.
func (*ItemItemDeploymentsPostRequestBody) GetAdditionalData ¶
func (m *ItemItemDeploymentsPostRequestBody) 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 (*ItemItemDeploymentsPostRequestBody) GetAutoMerge ¶
func (m *ItemItemDeploymentsPostRequestBody) GetAutoMerge() *bool
GetAutoMerge gets the auto_merge property value. Attempts to automatically merge the default branch into the requested ref, if it's behind the default branch. returns a *bool when successful
func (*ItemItemDeploymentsPostRequestBody) GetDescription ¶
func (m *ItemItemDeploymentsPostRequestBody) GetDescription() *string
GetDescription gets the description property value. Short description of the deployment. returns a *string when successful
func (*ItemItemDeploymentsPostRequestBody) GetEnvironment ¶
func (m *ItemItemDeploymentsPostRequestBody) GetEnvironment() *string
GetEnvironment gets the environment property value. Name for the target deployment environment (e.g., `production`, `staging`, `qa`). returns a *string when successful
func (*ItemItemDeploymentsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemDeploymentsPostRequestBody) 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 (*ItemItemDeploymentsPostRequestBody) GetPayload ¶
func (m *ItemItemDeploymentsPostRequestBody) GetPayload() *string
GetPayload gets the payload property value. The payload property returns a *string when successful
func (*ItemItemDeploymentsPostRequestBody) GetProductionEnvironment ¶
func (m *ItemItemDeploymentsPostRequestBody) GetProductionEnvironment() *bool
GetProductionEnvironment gets the production_environment property value. Specifies if the given environment is one that end-users directly interact with. Default: `true` when `environment` is `production` and `false` otherwise. returns a *bool when successful
func (*ItemItemDeploymentsPostRequestBody) GetRef ¶
func (m *ItemItemDeploymentsPostRequestBody) GetRef() *string
GetRef gets the ref property value. The ref to deploy. This can be a branch, tag, or SHA. returns a *string when successful
func (*ItemItemDeploymentsPostRequestBody) GetRequiredContexts ¶
func (m *ItemItemDeploymentsPostRequestBody) GetRequiredContexts() []string
GetRequiredContexts gets the required_contexts property value. The [status](https://docs.github.com/enterprise-server@3.10/rest/commits/statuses) contexts to verify against commit status checks. If you omit this parameter, GitHub verifies all unique contexts before creating a deployment. To bypass checking entirely, pass an empty array. Defaults to all unique contexts. returns a []string when successful
func (*ItemItemDeploymentsPostRequestBody) GetTask ¶
func (m *ItemItemDeploymentsPostRequestBody) GetTask() *string
GetTask gets the task property value. Specifies a task to execute (e.g., `deploy` or `deploy:migrations`). returns a *string when successful
func (*ItemItemDeploymentsPostRequestBody) GetTransientEnvironment ¶
func (m *ItemItemDeploymentsPostRequestBody) GetTransientEnvironment() *bool
GetTransientEnvironment gets the transient_environment property value. Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: `false` returns a *bool when successful
func (*ItemItemDeploymentsPostRequestBody) Serialize ¶
func (m *ItemItemDeploymentsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemDeploymentsPostRequestBody) SetAdditionalData ¶
func (m *ItemItemDeploymentsPostRequestBody) 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 (*ItemItemDeploymentsPostRequestBody) SetAutoMerge ¶
func (m *ItemItemDeploymentsPostRequestBody) SetAutoMerge(value *bool)
SetAutoMerge sets the auto_merge property value. Attempts to automatically merge the default branch into the requested ref, if it's behind the default branch.
func (*ItemItemDeploymentsPostRequestBody) SetDescription ¶
func (m *ItemItemDeploymentsPostRequestBody) SetDescription(value *string)
SetDescription sets the description property value. Short description of the deployment.
func (*ItemItemDeploymentsPostRequestBody) SetEnvironment ¶
func (m *ItemItemDeploymentsPostRequestBody) SetEnvironment(value *string)
SetEnvironment sets the environment property value. Name for the target deployment environment (e.g., `production`, `staging`, `qa`).
func (*ItemItemDeploymentsPostRequestBody) SetPayload ¶
func (m *ItemItemDeploymentsPostRequestBody) SetPayload(value *string)
SetPayload sets the payload property value. The payload property
func (*ItemItemDeploymentsPostRequestBody) SetProductionEnvironment ¶
func (m *ItemItemDeploymentsPostRequestBody) SetProductionEnvironment(value *bool)
SetProductionEnvironment sets the production_environment property value. Specifies if the given environment is one that end-users directly interact with. Default: `true` when `environment` is `production` and `false` otherwise.
func (*ItemItemDeploymentsPostRequestBody) SetRef ¶
func (m *ItemItemDeploymentsPostRequestBody) SetRef(value *string)
SetRef sets the ref property value. The ref to deploy. This can be a branch, tag, or SHA.
func (*ItemItemDeploymentsPostRequestBody) SetRequiredContexts ¶
func (m *ItemItemDeploymentsPostRequestBody) SetRequiredContexts(value []string)
SetRequiredContexts sets the required_contexts property value. The [status](https://docs.github.com/enterprise-server@3.10/rest/commits/statuses) contexts to verify against commit status checks. If you omit this parameter, GitHub verifies all unique contexts before creating a deployment. To bypass checking entirely, pass an empty array. Defaults to all unique contexts.
func (*ItemItemDeploymentsPostRequestBody) SetTask ¶
func (m *ItemItemDeploymentsPostRequestBody) SetTask(value *string)
SetTask sets the task property value. Specifies a task to execute (e.g., `deploy` or `deploy:migrations`).
func (*ItemItemDeploymentsPostRequestBody) SetTransientEnvironment ¶
func (m *ItemItemDeploymentsPostRequestBody) SetTransientEnvironment(value *bool)
SetTransientEnvironment sets the transient_environment property value. Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: `false`
type ItemItemDeploymentsPostRequestBodyable ¶
type ItemItemDeploymentsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAutoMerge() *bool GetDescription() *string GetEnvironment() *string GetPayload() *string GetProductionEnvironment() *bool GetRef() *string GetRequiredContexts() []string GetTask() *string GetTransientEnvironment() *bool SetAutoMerge(value *bool) SetDescription(value *string) SetEnvironment(value *string) SetPayload(value *string) SetProductionEnvironment(value *bool) SetRef(value *string) SetRequiredContexts(value []string) SetTask(value *string) SetTransientEnvironment(value *bool) }
type ItemItemDeploymentsRequestBuilder ¶
type ItemItemDeploymentsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemDeploymentsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\deployments
func NewItemItemDeploymentsRequestBuilder ¶
func NewItemItemDeploymentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDeploymentsRequestBuilder
NewItemItemDeploymentsRequestBuilder instantiates a new ItemItemDeploymentsRequestBuilder and sets the default values.
func NewItemItemDeploymentsRequestBuilderInternal ¶
func NewItemItemDeploymentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDeploymentsRequestBuilder
NewItemItemDeploymentsRequestBuilderInternal instantiates a new ItemItemDeploymentsRequestBuilder and sets the default values.
func (*ItemItemDeploymentsRequestBuilder) ByDeployment_id ¶
func (m *ItemItemDeploymentsRequestBuilder) ByDeployment_id(deployment_id int32) *ItemItemDeploymentsWithDeployment_ItemRequestBuilder
ByDeployment_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.deployments.item collection returns a *ItemItemDeploymentsWithDeployment_ItemRequestBuilder when successful
func (*ItemItemDeploymentsRequestBuilder) Get ¶
func (m *ItemItemDeploymentsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemDeploymentsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Deploymentable, error)
Get simple filtering of deployments is available via query parameters: returns a []Deploymentable when successful API method documentation
func (*ItemItemDeploymentsRequestBuilder) Post ¶
func (m *ItemItemDeploymentsRequestBuilder) Post(ctx context.Context, body ItemItemDeploymentsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Deploymentable, error)
Post deployments offer a few configurable parameters with certain defaults.The `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify thembefore we merge a pull request.The `environment` parameter allows deployments to be issued to different runtime environments. Teams often havemultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parametermakes it easier to track which environments have requested deployments. The default environment is `production`.The `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. Ifthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API willreturn a failure response.By default, [commit statuses](https://docs.github.com/enterprise-server@3.10/rest/commits/statuses) for every submitted context must be in a `success`state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or tospecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you donot require any contexts or create any commit statuses, the deployment will always succeed.The `payload` parameter is available for any extra information that a deployment system might need. It is a JSON textfield that will be passed on when a deployment event is dispatched.The `task` parameter is used by the deployment system to allow different execution paths. In the web world this mightbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile anapplication with debugging enabled.Merged branch response:You will see this response when GitHub automatically merges the base branch into the topic branch instead of creatinga deployment. This auto-merge happens when:* Auto-merge option is enabled in the repository* Topic branch does not include the latest changes on the base branch, which is `master` in the response example* There are no merge conflictsIf there are no new commits in the base branch, a new request to create a deployment should give a successfulresponse.Merge conflict response:This error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can'tbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.Failed commit status checks:This error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.OAuth app tokens and personal access tokens (classic) need the `repo` or `repo_deployment` scope to use this endpoint. returns a Deploymentable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemDeploymentsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemDeploymentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemDeploymentsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation simple filtering of deployments is available via query parameters: returns a *RequestInformation when successful
func (*ItemItemDeploymentsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemDeploymentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemDeploymentsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation deployments offer a few configurable parameters with certain defaults.The `ref` parameter can be any named branch, tag, or SHA. At GitHub Enterprise Server we often deploy branches and verify thembefore we merge a pull request.The `environment` parameter allows deployments to be issued to different runtime environments. Teams often havemultiple environments for verifying their applications, such as `production`, `staging`, and `qa`. This parametermakes it easier to track which environments have requested deployments. The default environment is `production`.The `auto_merge` parameter is used to ensure that the requested ref is not behind the repository's default branch. Ifthe ref _is_ behind the default branch for the repository, we will attempt to merge it for you. If the merge succeeds,the API will return a successful merge commit. If merge conflicts prevent the merge from succeeding, the API willreturn a failure response.By default, [commit statuses](https://docs.github.com/enterprise-server@3.10/rest/commits/statuses) for every submitted context must be in a `success`state. The `required_contexts` parameter allows you to specify a subset of contexts that must be `success`, or tospecify contexts that have not yet been submitted. You are not required to use commit statuses to deploy. If you donot require any contexts or create any commit statuses, the deployment will always succeed.The `payload` parameter is available for any extra information that a deployment system might need. It is a JSON textfield that will be passed on when a deployment event is dispatched.The `task` parameter is used by the deployment system to allow different execution paths. In the web world this mightbe `deploy:migrations` to run schema changes on the system. In the compiled world this could be a flag to compile anapplication with debugging enabled.Merged branch response:You will see this response when GitHub automatically merges the base branch into the topic branch instead of creatinga deployment. This auto-merge happens when:* Auto-merge option is enabled in the repository* Topic branch does not include the latest changes on the base branch, which is `master` in the response example* There are no merge conflictsIf there are no new commits in the base branch, a new request to create a deployment should give a successfulresponse.Merge conflict response:This error happens when the `auto_merge` option is enabled and when the default branch (in this case `master`), can'tbe merged into the branch that's being deployed (in this case `topic-branch`), due to merge conflicts.Failed commit status checks:This error happens when the `required_contexts` parameter indicates that one or more contexts need to have a `success`status for the commit to be deployed, but one or more of the required contexts do not have a state of `success`.OAuth app tokens and personal access tokens (classic) need the `repo` or `repo_deployment` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemDeploymentsRequestBuilder) WithUrl ¶
func (m *ItemItemDeploymentsRequestBuilder) WithUrl(rawUrl string) *ItemItemDeploymentsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemDeploymentsRequestBuilder when successful
type ItemItemDeploymentsRequestBuilderGetQueryParameters ¶
type ItemItemDeploymentsRequestBuilderGetQueryParameters struct { // The name of the environment that was deployed to (e.g., `staging` or `production`). Environment *string `uriparametername:"environment"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // The name of the ref. This can be a branch, tag, or SHA. Ref *string `uriparametername:"ref"` // The SHA recorded at creation time. Sha *string `uriparametername:"sha"` // The name of the task for the deployment (e.g., `deploy` or `deploy:migrations`). Task *string `uriparametername:"task"` }
ItemItemDeploymentsRequestBuilderGetQueryParameters simple filtering of deployments is available via query parameters:
type ItemItemDeploymentsWithDeployment_ItemRequestBuilder ¶
type ItemItemDeploymentsWithDeployment_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemDeploymentsWithDeployment_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\deployments\{deployment_id}
func NewItemItemDeploymentsWithDeployment_ItemRequestBuilder ¶
func NewItemItemDeploymentsWithDeployment_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDeploymentsWithDeployment_ItemRequestBuilder
NewItemItemDeploymentsWithDeployment_ItemRequestBuilder instantiates a new ItemItemDeploymentsWithDeployment_ItemRequestBuilder and sets the default values.
func NewItemItemDeploymentsWithDeployment_ItemRequestBuilderInternal ¶
func NewItemItemDeploymentsWithDeployment_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDeploymentsWithDeployment_ItemRequestBuilder
NewItemItemDeploymentsWithDeployment_ItemRequestBuilderInternal instantiates a new ItemItemDeploymentsWithDeployment_ItemRequestBuilder and sets the default values.
func (*ItemItemDeploymentsWithDeployment_ItemRequestBuilder) Delete ¶
func (m *ItemItemDeploymentsWithDeployment_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete if the repository only has one deployment, you can delete the deployment regardless of its status. If the repository has more than one deployment, you can only delete inactive deployments. This ensures that repositories with multiple deployments will always have an active deployment.To set a deployment as inactive, you must:* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.* Mark the active deployment as inactive by adding any non-successful deployment status.For more information, see "[Create a deployment](https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments/#create-a-deployment)" and "[Create a deployment status](https://docs.github.com/enterprise-server@3.10/rest/deployments/statuses#create-a-deployment-status)."OAuth app tokens and personal access tokens (classic) need the `repo` or `repo_deployment` scope to use this endpoint. returns a BasicError error when the service returns a 404 status code returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation
func (*ItemItemDeploymentsWithDeployment_ItemRequestBuilder) Get ¶
func (m *ItemItemDeploymentsWithDeployment_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Deploymentable, error)
Get get a deployment returns a Deploymentable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemDeploymentsWithDeployment_ItemRequestBuilder) Statuses ¶
func (m *ItemItemDeploymentsWithDeployment_ItemRequestBuilder) Statuses() *ItemItemDeploymentsItemStatusesRequestBuilder
Statuses the statuses property returns a *ItemItemDeploymentsItemStatusesRequestBuilder when successful
func (*ItemItemDeploymentsWithDeployment_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemDeploymentsWithDeployment_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation if the repository only has one deployment, you can delete the deployment regardless of its status. If the repository has more than one deployment, you can only delete inactive deployments. This ensures that repositories with multiple deployments will always have an active deployment.To set a deployment as inactive, you must:* Create a new deployment that is active so that the system has a record of the current state, then delete the previously active deployment.* Mark the active deployment as inactive by adding any non-successful deployment status.For more information, see "[Create a deployment](https://docs.github.com/enterprise-server@3.10/rest/deployments/deployments/#create-a-deployment)" and "[Create a deployment status](https://docs.github.com/enterprise-server@3.10/rest/deployments/statuses#create-a-deployment-status)."OAuth app tokens and personal access tokens (classic) need the `repo` or `repo_deployment` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemDeploymentsWithDeployment_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemDeploymentsWithDeployment_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*ItemItemDeploymentsWithDeployment_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemDeploymentsWithDeployment_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemDeploymentsWithDeployment_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 *ItemItemDeploymentsWithDeployment_ItemRequestBuilder when successful
type ItemItemDispatchesPostRequestBody ¶
type ItemItemDispatchesPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemDispatchesPostRequestBody ¶
func NewItemItemDispatchesPostRequestBody() *ItemItemDispatchesPostRequestBody
NewItemItemDispatchesPostRequestBody instantiates a new ItemItemDispatchesPostRequestBody and sets the default values.
func (*ItemItemDispatchesPostRequestBody) GetAdditionalData ¶
func (m *ItemItemDispatchesPostRequestBody) 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 (*ItemItemDispatchesPostRequestBody) GetClientPayload ¶
func (m *ItemItemDispatchesPostRequestBody) GetClientPayload() ItemItemDispatchesPostRequestBody_client_payloadable
GetClientPayload gets the client_payload property value. JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10. returns a ItemItemDispatchesPostRequestBody_client_payloadable when successful
func (*ItemItemDispatchesPostRequestBody) GetEventType ¶
func (m *ItemItemDispatchesPostRequestBody) GetEventType() *string
GetEventType gets the event_type property value. A custom webhook event name. Must be 100 characters or fewer. returns a *string when successful
func (*ItemItemDispatchesPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemDispatchesPostRequestBody) 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 (*ItemItemDispatchesPostRequestBody) Serialize ¶
func (m *ItemItemDispatchesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemDispatchesPostRequestBody) SetAdditionalData ¶
func (m *ItemItemDispatchesPostRequestBody) 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 (*ItemItemDispatchesPostRequestBody) SetClientPayload ¶
func (m *ItemItemDispatchesPostRequestBody) SetClientPayload(value ItemItemDispatchesPostRequestBody_client_payloadable)
SetClientPayload sets the client_payload property value. JSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10.
func (*ItemItemDispatchesPostRequestBody) SetEventType ¶
func (m *ItemItemDispatchesPostRequestBody) SetEventType(value *string)
SetEventType sets the event_type property value. A custom webhook event name. Must be 100 characters or fewer.
type ItemItemDispatchesPostRequestBody_client_payload ¶
type ItemItemDispatchesPostRequestBody_client_payload struct {
// contains filtered or unexported fields
}
ItemItemDispatchesPostRequestBody_client_payload jSON payload with extra information about the webhook event that your action or workflow may use. The maximum number of top-level properties is 10.
func NewItemItemDispatchesPostRequestBody_client_payload ¶
func NewItemItemDispatchesPostRequestBody_client_payload() *ItemItemDispatchesPostRequestBody_client_payload
NewItemItemDispatchesPostRequestBody_client_payload instantiates a new ItemItemDispatchesPostRequestBody_client_payload and sets the default values.
func (*ItemItemDispatchesPostRequestBody_client_payload) GetAdditionalData ¶
func (m *ItemItemDispatchesPostRequestBody_client_payload) 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 (*ItemItemDispatchesPostRequestBody_client_payload) GetFieldDeserializers ¶
func (m *ItemItemDispatchesPostRequestBody_client_payload) 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 (*ItemItemDispatchesPostRequestBody_client_payload) Serialize ¶
func (m *ItemItemDispatchesPostRequestBody_client_payload) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemDispatchesPostRequestBody_client_payload) SetAdditionalData ¶
func (m *ItemItemDispatchesPostRequestBody_client_payload) 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 ItemItemDispatchesPostRequestBody_client_payloadable ¶
type ItemItemDispatchesPostRequestBody_client_payloadable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemItemDispatchesPostRequestBodyable ¶
type ItemItemDispatchesPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetClientPayload() ItemItemDispatchesPostRequestBody_client_payloadable GetEventType() *string SetClientPayload(value ItemItemDispatchesPostRequestBody_client_payloadable) SetEventType(value *string) }
type ItemItemDispatchesRequestBuilder ¶
type ItemItemDispatchesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemDispatchesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\dispatches
func NewItemItemDispatchesRequestBuilder ¶
func NewItemItemDispatchesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDispatchesRequestBuilder
NewItemItemDispatchesRequestBuilder instantiates a new ItemItemDispatchesRequestBuilder and sets the default values.
func NewItemItemDispatchesRequestBuilderInternal ¶
func NewItemItemDispatchesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemDispatchesRequestBuilder
NewItemItemDispatchesRequestBuilderInternal instantiates a new ItemItemDispatchesRequestBuilder and sets the default values.
func (*ItemItemDispatchesRequestBuilder) Post ¶
func (m *ItemItemDispatchesRequestBuilder) Post(ctx context.Context, body ItemItemDispatchesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Post you can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub Enterprise Server to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see "[RepositoryDispatchEvent](https://docs.github.com/enterprise-server@3.10/webhooks/event-payloads/#repository_dispatch)."The `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.This input example shows how you can use the `client_payload` as a test to debug your workflow.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. 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 (*ItemItemDispatchesRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemDispatchesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemDispatchesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation you can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub Enterprise Server to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see "[RepositoryDispatchEvent](https://docs.github.com/enterprise-server@3.10/webhooks/event-payloads/#repository_dispatch)."The `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.This input example shows how you can use the `client_payload` as a test to debug your workflow.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemDispatchesRequestBuilder) WithUrl ¶
func (m *ItemItemDispatchesRequestBuilder) WithUrl(rawUrl string) *ItemItemDispatchesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemDispatchesRequestBuilder when successful
type ItemItemEnvironmentsGetResponse ¶
type ItemItemEnvironmentsGetResponse struct {
// contains filtered or unexported fields
}
func NewItemItemEnvironmentsGetResponse ¶
func NewItemItemEnvironmentsGetResponse() *ItemItemEnvironmentsGetResponse
NewItemItemEnvironmentsGetResponse instantiates a new ItemItemEnvironmentsGetResponse and sets the default values.
func (*ItemItemEnvironmentsGetResponse) GetAdditionalData ¶
func (m *ItemItemEnvironmentsGetResponse) 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 (*ItemItemEnvironmentsGetResponse) GetEnvironments ¶
func (m *ItemItemEnvironmentsGetResponse) GetEnvironments() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Environmentable
GetEnvironments gets the environments property value. The environments property returns a []Environmentable when successful
func (*ItemItemEnvironmentsGetResponse) GetFieldDeserializers ¶
func (m *ItemItemEnvironmentsGetResponse) 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 (*ItemItemEnvironmentsGetResponse) GetTotalCount ¶
func (m *ItemItemEnvironmentsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The number of environments in this repository returns a *int32 when successful
func (*ItemItemEnvironmentsGetResponse) Serialize ¶
func (m *ItemItemEnvironmentsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemEnvironmentsGetResponse) SetAdditionalData ¶
func (m *ItemItemEnvironmentsGetResponse) 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 (*ItemItemEnvironmentsGetResponse) SetEnvironments ¶
func (m *ItemItemEnvironmentsGetResponse) SetEnvironments(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Environmentable)
SetEnvironments sets the environments property value. The environments property
func (*ItemItemEnvironmentsGetResponse) SetTotalCount ¶
func (m *ItemItemEnvironmentsGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The number of environments in this repository
type ItemItemEnvironmentsGetResponseable ¶
type ItemItemEnvironmentsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetEnvironments() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Environmentable GetTotalCount() *int32 SetEnvironments(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Environmentable) SetTotalCount(value *int32) }
type ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse ¶
type ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse struct {
// contains filtered or unexported fields
}
func NewItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse ¶
func NewItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse() *ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse
NewItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse instantiates a new ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse and sets the default values.
func (*ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) GetAdditionalData ¶
func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) 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 (*ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) GetBranchPolicies ¶
func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) GetBranchPolicies() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentBranchPolicyable
GetBranchPolicies gets the branch_policies property value. The branch_policies property returns a []DeploymentBranchPolicyable when successful
func (*ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) GetFieldDeserializers ¶
func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) 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 (*ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) GetTotalCount ¶
func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The number of deployment branch policies for the environment. returns a *int32 when successful
func (*ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) Serialize ¶
func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) SetAdditionalData ¶
func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) 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 (*ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) SetBranchPolicies ¶
func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) SetBranchPolicies(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentBranchPolicyable)
SetBranchPolicies sets the branch_policies property value. The branch_policies property
func (*ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) SetTotalCount ¶
func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The number of deployment branch policies for the environment.
type ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponseable ¶
type ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBranchPolicies() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentBranchPolicyable GetTotalCount() *int32 SetBranchPolicies(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentBranchPolicyable) SetTotalCount(value *int32) }
type ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder ¶
type ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\environments\{environment_name}\deployment-branch-policies
func NewItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder ¶
func NewItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder
NewItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder instantiates a new ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder and sets the default values.
func NewItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilderInternal ¶
func NewItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder
NewItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilderInternal instantiates a new ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder and sets the default values.
func (*ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder) ByBranch_policy_id ¶
func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder) ByBranch_policy_id(branch_policy_id int32) *ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder
ByBranch_policy_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.environments.item.deploymentBranchPolicies.item collection returns a *ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder when successful
func (*ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder) Get ¶
func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilderGetQueryParameters]) (ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponseable, error)
Get lists the deployment branch policies for an environment.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponseable when successful API method documentation
func (*ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder) Post ¶
func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder) Post(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentBranchPolicyNamePatternWithTypeable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentBranchPolicyable, error)
Post creates a deployment branch policy for an environment.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a DeploymentBranchPolicyable when successful API method documentation
func (*ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the deployment branch policies for an environment.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a *RequestInformation when successful
func (*ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentBranchPolicyNamePatternWithTypeable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation creates a deployment branch policy for an environment.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder) WithUrl ¶
func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder) WithUrl(rawUrl string) *ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder when successful
type ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilderGetQueryParameters ¶
type ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilderGetQueryParameters lists the deployment branch policies for an environment.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
type ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder ¶
type ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\environments\{environment_name}\deployment-branch-policies\{branch_policy_id}
func NewItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder ¶
func NewItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder
NewItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder instantiates a new ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder and sets the default values.
func NewItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilderInternal ¶
func NewItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder
NewItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilderInternal instantiates a new ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder and sets the default values.
func (*ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder) Delete ¶
func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete deletes a deployment branch policy for an environment.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder) Get ¶
func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentBranchPolicyable, error)
Get gets a deployment branch policy for an environment.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a DeploymentBranchPolicyable when successful API method documentation
func (*ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder) Put ¶
func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder) Put(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentBranchPolicyNamePatternable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentBranchPolicyable, error)
Put updates a deployment branch policy for an environment.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a DeploymentBranchPolicyable when successful API method documentation
func (*ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a deployment branch policy for an environment.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a deployment branch policy for an environment.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a *RequestInformation when successful
func (*ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentBranchPolicyNamePatternable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation updates a deployment branch policy for an environment.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_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 *ItemItemEnvironmentsItemDeploymentBranchPoliciesWithBranch_policy_ItemRequestBuilder when successful
type ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse ¶
type ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse struct {
// contains filtered or unexported fields
}
func NewItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse ¶
func NewItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse() *ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse
NewItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse instantiates a new ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse and sets the default values.
func (*ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) GetAdditionalData ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) 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 (*ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) GetAvailableCustomDeploymentProtectionRuleIntegrations ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) GetAvailableCustomDeploymentProtectionRuleIntegrations() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CustomDeploymentRuleAppable
GetAvailableCustomDeploymentProtectionRuleIntegrations gets the available_custom_deployment_protection_rule_integrations property value. The available_custom_deployment_protection_rule_integrations property returns a []CustomDeploymentRuleAppable when successful
func (*ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) GetFieldDeserializers ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) 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 (*ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) GetTotalCount ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total number of custom deployment protection rule integrations available for this environment. returns a *int32 when successful
func (*ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) Serialize ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) SetAdditionalData ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) 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 (*ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) SetAvailableCustomDeploymentProtectionRuleIntegrations ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) SetAvailableCustomDeploymentProtectionRuleIntegrations(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CustomDeploymentRuleAppable)
SetAvailableCustomDeploymentProtectionRuleIntegrations sets the available_custom_deployment_protection_rule_integrations property value. The available_custom_deployment_protection_rule_integrations property
func (*ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) SetTotalCount ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total number of custom deployment protection rule integrations available for this environment.
type ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponseable ¶
type ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAvailableCustomDeploymentProtectionRuleIntegrations() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CustomDeploymentRuleAppable GetTotalCount() *int32 SetAvailableCustomDeploymentProtectionRuleIntegrations(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CustomDeploymentRuleAppable) SetTotalCount(value *int32) }
type ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder ¶
type ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\environments\{environment_name}\deployment_protection_rules\apps
func NewItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder ¶
func NewItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder
NewItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder instantiates a new ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder and sets the default values.
func NewItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilderInternal ¶
func NewItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder
NewItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilderInternal instantiates a new ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder and sets the default values.
func (*ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder) Get ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilderGetQueryParameters]) (ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponseable, error)
Get gets all custom deployment protection rule integrations that are available for an environment.The authenticated user must have admin or owner permissions to the repository to use this endpoint.For more information about environments, see "[Using environments for deployment](https://docs.github.com/enterprise-server@3.10/actions/deployment/targeting-different-environments/using-environments-for-deployment)."For more information about the app that is providing this custom deployment rule, see "[GET an app](https://docs.github.com/enterprise-server@3.10/rest/apps/apps#get-an-app)".OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponseable when successful API method documentation
func (*ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets all custom deployment protection rule integrations that are available for an environment.The authenticated user must have admin or owner permissions to the repository to use this endpoint.For more information about environments, see "[Using environments for deployment](https://docs.github.com/enterprise-server@3.10/actions/deployment/targeting-different-environments/using-environments-for-deployment)."For more information about the app that is providing this custom deployment rule, see "[GET an app](https://docs.github.com/enterprise-server@3.10/rest/apps/apps#get-an-app)".OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a *RequestInformation when successful
func (*ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder) WithUrl ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder) WithUrl(rawUrl string) *ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder when successful
type ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilderGetQueryParameters ¶
type ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilderGetQueryParameters gets all custom deployment protection rule integrations that are available for an environment.The authenticated user must have admin or owner permissions to the repository to use this endpoint.For more information about environments, see "[Using environments for deployment](https://docs.github.com/enterprise-server@3.10/actions/deployment/targeting-different-environments/using-environments-for-deployment)."For more information about the app that is providing this custom deployment rule, see "[GET an app](https://docs.github.com/enterprise-server@3.10/rest/apps/apps#get-an-app)".OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
type ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse ¶
type ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse struct {
// contains filtered or unexported fields
}
func NewItemItemEnvironmentsItemDeployment_protection_rulesGetResponse ¶
func NewItemItemEnvironmentsItemDeployment_protection_rulesGetResponse() *ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse
NewItemItemEnvironmentsItemDeployment_protection_rulesGetResponse instantiates a new ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse and sets the default values.
func (*ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) GetAdditionalData ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) 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 (*ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) GetCustomDeploymentProtectionRules ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) GetCustomDeploymentProtectionRules() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentProtectionRuleable
GetCustomDeploymentProtectionRules gets the custom_deployment_protection_rules property value. The custom_deployment_protection_rules property returns a []DeploymentProtectionRuleable when successful
func (*ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) GetFieldDeserializers ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) 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 (*ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) GetTotalCount ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The number of enabled custom deployment protection rules for this environment returns a *int32 when successful
func (*ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) Serialize ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) SetAdditionalData ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) 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 (*ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) SetCustomDeploymentProtectionRules ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) SetCustomDeploymentProtectionRules(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentProtectionRuleable)
SetCustomDeploymentProtectionRules sets the custom_deployment_protection_rules property value. The custom_deployment_protection_rules property
func (*ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) SetTotalCount ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The number of enabled custom deployment protection rules for this environment
type ItemItemEnvironmentsItemDeployment_protection_rulesGetResponseable ¶
type ItemItemEnvironmentsItemDeployment_protection_rulesGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCustomDeploymentProtectionRules() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentProtectionRuleable GetTotalCount() *int32 SetCustomDeploymentProtectionRules(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentProtectionRuleable) SetTotalCount(value *int32) }
type ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody ¶
type ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody ¶
func NewItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody() *ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody
NewItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody instantiates a new ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody and sets the default values.
func (*ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody) GetAdditionalData ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody) 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 (*ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody) 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 (*ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody) GetIntegrationId ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody) GetIntegrationId() *int32
GetIntegrationId gets the integration_id property value. The ID of the custom app that will be enabled on the environment. returns a *int32 when successful
func (*ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody) Serialize ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody) SetAdditionalData ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody) 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 (*ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody) SetIntegrationId ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody) SetIntegrationId(value *int32)
SetIntegrationId sets the integration_id property value. The ID of the custom app that will be enabled on the environment.
type ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBodyable ¶
type ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetIntegrationId() *int32 SetIntegrationId(value *int32) }
type ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder ¶
type ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\environments\{environment_name}\deployment_protection_rules
func NewItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder ¶
func NewItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder
NewItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder instantiates a new ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder and sets the default values.
func NewItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilderInternal ¶
func NewItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder
NewItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilderInternal instantiates a new ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder and sets the default values.
func (*ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder) Apps ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder) Apps() *ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder
Apps the apps property returns a *ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder when successful
func (*ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder) ByProtection_rule_id ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder) ByProtection_rule_id(protection_rule_id int32) *ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder
ByProtection_rule_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.environments.item.deployment_protection_rules.item collection returns a *ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder when successful
func (*ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder) Get ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemItemEnvironmentsItemDeployment_protection_rulesGetResponseable, error)
Get gets all custom deployment protection rules that are enabled for an environment. Anyone with read access to the repository can use this endpoint. For more information about environments, see "[Using environments for deployment](https://docs.github.com/enterprise-server@3.10/actions/deployment/targeting-different-environments/using-environments-for-deployment)."For more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/enterprise-server@3.10/rest/apps/apps#get-an-app).OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a ItemItemEnvironmentsItemDeployment_protection_rulesGetResponseable when successful API method documentation
func (*ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder) Post ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder) Post(ctx context.Context, body ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentProtectionRuleable, error)
Post enable a custom deployment protection rule for an environment.The authenticated user must have admin or owner permissions to the repository to use this endpoint.For more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/enterprise-server@3.10/rest/apps/apps#get-an-app).OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a DeploymentProtectionRuleable when successful API method documentation
func (*ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets all custom deployment protection rules that are enabled for an environment. Anyone with read access to the repository can use this endpoint. For more information about environments, see "[Using environments for deployment](https://docs.github.com/enterprise-server@3.10/actions/deployment/targeting-different-environments/using-environments-for-deployment)."For more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/enterprise-server@3.10/rest/apps/apps#get-an-app).OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a *RequestInformation when successful
func (*ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation enable a custom deployment protection rule for an environment.The authenticated user must have admin or owner permissions to the repository to use this endpoint.For more information about the app that is providing this custom deployment rule, see the [documentation for the `GET /apps/{app_slug}` endpoint](https://docs.github.com/enterprise-server@3.10/rest/apps/apps#get-an-app).OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder) WithUrl ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder) WithUrl(rawUrl string) *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder when successful
type ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder ¶
type ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\environments\{environment_name}\deployment_protection_rules\{protection_rule_id}
func NewItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder ¶
func NewItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder
NewItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder instantiates a new ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder and sets the default values.
func NewItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilderInternal ¶
func NewItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder
NewItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilderInternal instantiates a new ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder and sets the default values.
func (*ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder) Delete ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete disables a custom deployment protection rule for an environment.The authenticated user must have admin or owner permissions to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder) Get ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentProtectionRuleable, error)
Get gets an enabled custom deployment protection rule for an environment. Anyone with read access to the repository can use this endpoint. For more information about environments, see "[Using environments for deployment](https://docs.github.com/enterprise-server@3.10/actions/deployment/targeting-different-environments/using-environments-for-deployment)."For more information about the app that is providing this custom deployment rule, see [`GET /apps/{app_slug}`](https://docs.github.com/enterprise-server@3.10/rest/apps/apps#get-an-app).OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a DeploymentProtectionRuleable when successful API method documentation
func (*ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation disables a custom deployment protection rule for an environment.The authenticated user must have admin or owner permissions to the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets an enabled custom deployment protection rule for an environment. Anyone with read access to the repository can use this endpoint. For more information about environments, see "[Using environments for deployment](https://docs.github.com/enterprise-server@3.10/actions/deployment/targeting-different-environments/using-environments-for-deployment)."For more information about the app that is providing this custom deployment rule, see [`GET /apps/{app_slug}`](https://docs.github.com/enterprise-server@3.10/rest/apps/apps#get-an-app).OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a *RequestInformation when successful
func (*ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_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 *ItemItemEnvironmentsItemDeployment_protection_rulesWithProtection_rule_ItemRequestBuilder when successful
type ItemItemEnvironmentsItemSecretsGetResponse ¶
type ItemItemEnvironmentsItemSecretsGetResponse struct {
// contains filtered or unexported fields
}
func NewItemItemEnvironmentsItemSecretsGetResponse ¶
func NewItemItemEnvironmentsItemSecretsGetResponse() *ItemItemEnvironmentsItemSecretsGetResponse
NewItemItemEnvironmentsItemSecretsGetResponse instantiates a new ItemItemEnvironmentsItemSecretsGetResponse and sets the default values.
func (*ItemItemEnvironmentsItemSecretsGetResponse) GetAdditionalData ¶
func (m *ItemItemEnvironmentsItemSecretsGetResponse) 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 (*ItemItemEnvironmentsItemSecretsGetResponse) GetFieldDeserializers ¶
func (m *ItemItemEnvironmentsItemSecretsGetResponse) 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 (*ItemItemEnvironmentsItemSecretsGetResponse) GetSecrets ¶
func (m *ItemItemEnvironmentsItemSecretsGetResponse) GetSecrets() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsSecretable
GetSecrets gets the secrets property value. The secrets property returns a []ActionsSecretable when successful
func (*ItemItemEnvironmentsItemSecretsGetResponse) GetTotalCount ¶
func (m *ItemItemEnvironmentsItemSecretsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemItemEnvironmentsItemSecretsGetResponse) Serialize ¶
func (m *ItemItemEnvironmentsItemSecretsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemEnvironmentsItemSecretsGetResponse) SetAdditionalData ¶
func (m *ItemItemEnvironmentsItemSecretsGetResponse) 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 (*ItemItemEnvironmentsItemSecretsGetResponse) SetSecrets ¶
func (m *ItemItemEnvironmentsItemSecretsGetResponse) SetSecrets(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsSecretable)
SetSecrets sets the secrets property value. The secrets property
func (*ItemItemEnvironmentsItemSecretsGetResponse) SetTotalCount ¶
func (m *ItemItemEnvironmentsItemSecretsGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemItemEnvironmentsItemSecretsGetResponseable ¶
type ItemItemEnvironmentsItemSecretsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSecrets() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsSecretable GetTotalCount() *int32 SetSecrets(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsSecretable) SetTotalCount(value *int32) }
type ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody ¶
type ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody ¶
func NewItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody() *ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody
NewItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody instantiates a new ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody and sets the default values.
func (*ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) GetAdditionalData ¶
func (m *ItemItemEnvironmentsItemSecretsItemWithSecret_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 (*ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue ¶
func (m *ItemItemEnvironmentsItemSecretsItemWithSecret_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 an environment public key](https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#get-an-environment-public-key) endpoint. returns a *string when successful
func (*ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers ¶
func (m *ItemItemEnvironmentsItemSecretsItemWithSecret_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 (*ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) GetKeyId ¶
func (m *ItemItemEnvironmentsItemSecretsItemWithSecret_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 (*ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) Serialize ¶
func (m *ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) SetAdditionalData ¶
func (m *ItemItemEnvironmentsItemSecretsItemWithSecret_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 (*ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) SetEncryptedValue ¶
func (m *ItemItemEnvironmentsItemSecretsItemWithSecret_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 an environment public key](https://docs.github.com/enterprise-server@3.10/rest/actions/secrets#get-an-environment-public-key) endpoint.
func (*ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) SetKeyId ¶
func (m *ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) SetKeyId(value *string)
SetKeyId sets the key_id property value. ID of the key you used to encrypt the secret.
type ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBodyable ¶
type ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetEncryptedValue() *string GetKeyId() *string SetEncryptedValue(value *string) SetKeyId(value *string) }
type ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder ¶
type ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\environments\{environment_name}\secrets\public-key
func NewItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder ¶
func NewItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder
NewItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder instantiates a new ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder and sets the default values.
func NewItemItemEnvironmentsItemSecretsPublicKeyRequestBuilderInternal ¶
func NewItemItemEnvironmentsItemSecretsPublicKeyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder
NewItemItemEnvironmentsItemSecretsPublicKeyRequestBuilderInternal instantiates a new ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder and sets the default values.
func (*ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder) Get ¶
func (m *ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsPublicKeyable, error)
Get get the public key for an environment, which you need to encrypt environmentsecrets. You need to encrypt a secret before you can create or update secrets.Anyone with read access to the repository can use this endpoint.If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ActionsPublicKeyable when successful API method documentation
func (*ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation get the public key for an environment, which you need to encrypt environmentsecrets. You need to encrypt a secret before you can create or update secrets.Anyone with read access to the repository can use this endpoint.If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder) WithUrl ¶
func (m *ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder) WithUrl(rawUrl string) *ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder when successful
type ItemItemEnvironmentsItemSecretsRequestBuilder ¶
type ItemItemEnvironmentsItemSecretsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemEnvironmentsItemSecretsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\environments\{environment_name}\secrets
func NewItemItemEnvironmentsItemSecretsRequestBuilder ¶
func NewItemItemEnvironmentsItemSecretsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEnvironmentsItemSecretsRequestBuilder
NewItemItemEnvironmentsItemSecretsRequestBuilder instantiates a new ItemItemEnvironmentsItemSecretsRequestBuilder and sets the default values.
func NewItemItemEnvironmentsItemSecretsRequestBuilderInternal ¶
func NewItemItemEnvironmentsItemSecretsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEnvironmentsItemSecretsRequestBuilder
NewItemItemEnvironmentsItemSecretsRequestBuilderInternal instantiates a new ItemItemEnvironmentsItemSecretsRequestBuilder and sets the default values.
func (*ItemItemEnvironmentsItemSecretsRequestBuilder) BySecret_name ¶
func (m *ItemItemEnvironmentsItemSecretsRequestBuilder) BySecret_name(secret_name string) *ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder
BySecret_name gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.environments.item.secrets.item collection returns a *ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder when successful
func (*ItemItemEnvironmentsItemSecretsRequestBuilder) Get ¶
func (m *ItemItemEnvironmentsItemSecretsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemEnvironmentsItemSecretsRequestBuilderGetQueryParameters]) (ItemItemEnvironmentsItemSecretsGetResponseable, error)
Get lists all secrets available in an environment without revealing theirencrypted values.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ItemItemEnvironmentsItemSecretsGetResponseable when successful API method documentation
func (*ItemItemEnvironmentsItemSecretsRequestBuilder) PublicKey ¶
func (m *ItemItemEnvironmentsItemSecretsRequestBuilder) PublicKey() *ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder
PublicKey the publicKey property returns a *ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder when successful
func (*ItemItemEnvironmentsItemSecretsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemEnvironmentsItemSecretsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemEnvironmentsItemSecretsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all secrets available in an environment without revealing theirencrypted values.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemEnvironmentsItemSecretsRequestBuilder) WithUrl ¶
func (m *ItemItemEnvironmentsItemSecretsRequestBuilder) WithUrl(rawUrl string) *ItemItemEnvironmentsItemSecretsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemEnvironmentsItemSecretsRequestBuilder when successful
type ItemItemEnvironmentsItemSecretsRequestBuilderGetQueryParameters ¶
type ItemItemEnvironmentsItemSecretsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemEnvironmentsItemSecretsRequestBuilderGetQueryParameters lists all secrets available in an environment without revealing theirencrypted values.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
type ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder ¶
type ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\environments\{environment_name}\secrets\{secret_name}
func NewItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder ¶
func NewItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder
NewItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder instantiates a new ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder and sets the default values.
func NewItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilderInternal ¶
func NewItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder
NewItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilderInternal instantiates a new ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder and sets the default values.
func (*ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) Delete ¶
func (m *ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete deletes a secret in an environment using the secret name.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) Get ¶
func (m *ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsSecretable, error)
Get gets a single environment secret without revealing its encrypted value.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ActionsSecretable when successful API method documentation
func (*ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) Put ¶
func (m *ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) Put(ctx context.Context, body ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EmptyObjectable, error)
Put creates or updates an environment secret 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/enterprise-server@3.10/rest/guides/encrypting-secrets-for-the-rest-api)."Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a EmptyObjectable when successful API method documentation
func (*ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a secret in an environment using the secret name.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a single environment secret without revealing its encrypted value.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation creates or updates an environment secret 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/enterprise-server@3.10/rest/guides/encrypting-secrets-for-the-rest-api)."Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) WithUrl ¶
func (m *ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder) WithUrl(rawUrl string) *ItemItemEnvironmentsItemSecretsWithSecret_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 *ItemItemEnvironmentsItemSecretsWithSecret_nameItemRequestBuilder when successful
type ItemItemEnvironmentsItemVariablesGetResponse ¶
type ItemItemEnvironmentsItemVariablesGetResponse struct {
// contains filtered or unexported fields
}
func NewItemItemEnvironmentsItemVariablesGetResponse ¶
func NewItemItemEnvironmentsItemVariablesGetResponse() *ItemItemEnvironmentsItemVariablesGetResponse
NewItemItemEnvironmentsItemVariablesGetResponse instantiates a new ItemItemEnvironmentsItemVariablesGetResponse and sets the default values.
func (*ItemItemEnvironmentsItemVariablesGetResponse) GetAdditionalData ¶
func (m *ItemItemEnvironmentsItemVariablesGetResponse) 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 (*ItemItemEnvironmentsItemVariablesGetResponse) GetFieldDeserializers ¶
func (m *ItemItemEnvironmentsItemVariablesGetResponse) 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 (*ItemItemEnvironmentsItemVariablesGetResponse) GetTotalCount ¶
func (m *ItemItemEnvironmentsItemVariablesGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemItemEnvironmentsItemVariablesGetResponse) GetVariables ¶
func (m *ItemItemEnvironmentsItemVariablesGetResponse) GetVariables() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsVariableable
GetVariables gets the variables property value. The variables property returns a []ActionsVariableable when successful
func (*ItemItemEnvironmentsItemVariablesGetResponse) Serialize ¶
func (m *ItemItemEnvironmentsItemVariablesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemEnvironmentsItemVariablesGetResponse) SetAdditionalData ¶
func (m *ItemItemEnvironmentsItemVariablesGetResponse) 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 (*ItemItemEnvironmentsItemVariablesGetResponse) SetTotalCount ¶
func (m *ItemItemEnvironmentsItemVariablesGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
func (*ItemItemEnvironmentsItemVariablesGetResponse) SetVariables ¶
func (m *ItemItemEnvironmentsItemVariablesGetResponse) SetVariables(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsVariableable)
SetVariables sets the variables property value. The variables property
type ItemItemEnvironmentsItemVariablesGetResponseable ¶
type ItemItemEnvironmentsItemVariablesGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetTotalCount() *int32 GetVariables() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsVariableable SetTotalCount(value *int32) SetVariables(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsVariableable) }
type ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody ¶
type ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody ¶
func NewItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody() *ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody
NewItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody instantiates a new ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody and sets the default values.
func (*ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) GetAdditionalData ¶
func (m *ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) 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 (*ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) GetFieldDeserializers ¶
func (m *ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) 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 (*ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) GetName ¶
func (m *ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) GetName() *string
GetName gets the name property value. The name of the variable. returns a *string when successful
func (*ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) GetValue ¶
func (m *ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) GetValue() *string
GetValue gets the value property value. The value of the variable. returns a *string when successful
func (*ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) Serialize ¶
func (m *ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) SetAdditionalData ¶
func (m *ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) 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 (*ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) SetName ¶
func (m *ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) SetName(value *string)
SetName sets the name property value. The name of the variable.
func (*ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) SetValue ¶
func (m *ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) SetValue(value *string)
SetValue sets the value property value. The value of the variable.
type ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBodyable ¶
type ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetName() *string GetValue() *string SetName(value *string) SetValue(value *string) }
type ItemItemEnvironmentsItemVariablesPostRequestBody ¶
type ItemItemEnvironmentsItemVariablesPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemEnvironmentsItemVariablesPostRequestBody ¶
func NewItemItemEnvironmentsItemVariablesPostRequestBody() *ItemItemEnvironmentsItemVariablesPostRequestBody
NewItemItemEnvironmentsItemVariablesPostRequestBody instantiates a new ItemItemEnvironmentsItemVariablesPostRequestBody and sets the default values.
func (*ItemItemEnvironmentsItemVariablesPostRequestBody) GetAdditionalData ¶
func (m *ItemItemEnvironmentsItemVariablesPostRequestBody) 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 (*ItemItemEnvironmentsItemVariablesPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemEnvironmentsItemVariablesPostRequestBody) 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 (*ItemItemEnvironmentsItemVariablesPostRequestBody) GetName ¶
func (m *ItemItemEnvironmentsItemVariablesPostRequestBody) GetName() *string
GetName gets the name property value. The name of the variable. returns a *string when successful
func (*ItemItemEnvironmentsItemVariablesPostRequestBody) GetValue ¶
func (m *ItemItemEnvironmentsItemVariablesPostRequestBody) GetValue() *string
GetValue gets the value property value. The value of the variable. returns a *string when successful
func (*ItemItemEnvironmentsItemVariablesPostRequestBody) Serialize ¶
func (m *ItemItemEnvironmentsItemVariablesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemEnvironmentsItemVariablesPostRequestBody) SetAdditionalData ¶
func (m *ItemItemEnvironmentsItemVariablesPostRequestBody) 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 (*ItemItemEnvironmentsItemVariablesPostRequestBody) SetName ¶
func (m *ItemItemEnvironmentsItemVariablesPostRequestBody) SetName(value *string)
SetName sets the name property value. The name of the variable.
func (*ItemItemEnvironmentsItemVariablesPostRequestBody) SetValue ¶
func (m *ItemItemEnvironmentsItemVariablesPostRequestBody) SetValue(value *string)
SetValue sets the value property value. The value of the variable.
type ItemItemEnvironmentsItemVariablesPostRequestBodyable ¶
type ItemItemEnvironmentsItemVariablesPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetName() *string GetValue() *string SetName(value *string) SetValue(value *string) }
type ItemItemEnvironmentsItemVariablesRequestBuilder ¶
type ItemItemEnvironmentsItemVariablesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemEnvironmentsItemVariablesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\environments\{environment_name}\variables
func NewItemItemEnvironmentsItemVariablesRequestBuilder ¶
func NewItemItemEnvironmentsItemVariablesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEnvironmentsItemVariablesRequestBuilder
NewItemItemEnvironmentsItemVariablesRequestBuilder instantiates a new ItemItemEnvironmentsItemVariablesRequestBuilder and sets the default values.
func NewItemItemEnvironmentsItemVariablesRequestBuilderInternal ¶
func NewItemItemEnvironmentsItemVariablesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEnvironmentsItemVariablesRequestBuilder
NewItemItemEnvironmentsItemVariablesRequestBuilderInternal instantiates a new ItemItemEnvironmentsItemVariablesRequestBuilder and sets the default values.
func (*ItemItemEnvironmentsItemVariablesRequestBuilder) ByName ¶
func (m *ItemItemEnvironmentsItemVariablesRequestBuilder) ByName(name string) *ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder
ByName gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.environments.item.variables.item collection returns a *ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder when successful
func (*ItemItemEnvironmentsItemVariablesRequestBuilder) Get ¶
func (m *ItemItemEnvironmentsItemVariablesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemEnvironmentsItemVariablesRequestBuilderGetQueryParameters]) (ItemItemEnvironmentsItemVariablesGetResponseable, error)
Get lists all environment variables.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ItemItemEnvironmentsItemVariablesGetResponseable when successful API method documentation
func (*ItemItemEnvironmentsItemVariablesRequestBuilder) Post ¶
func (m *ItemItemEnvironmentsItemVariablesRequestBuilder) Post(ctx context.Context, body ItemItemEnvironmentsItemVariablesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EmptyObjectable, error)
Post create an environment variable that you can reference in a GitHub Actions workflow.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a EmptyObjectable when successful API method documentation
func (*ItemItemEnvironmentsItemVariablesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemEnvironmentsItemVariablesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemEnvironmentsItemVariablesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all environment variables.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemEnvironmentsItemVariablesRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemEnvironmentsItemVariablesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemEnvironmentsItemVariablesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation create an environment variable that you can reference in a GitHub Actions workflow.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemEnvironmentsItemVariablesRequestBuilder) WithUrl ¶
func (m *ItemItemEnvironmentsItemVariablesRequestBuilder) WithUrl(rawUrl string) *ItemItemEnvironmentsItemVariablesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemEnvironmentsItemVariablesRequestBuilder when successful
type ItemItemEnvironmentsItemVariablesRequestBuilderGetQueryParameters ¶
type ItemItemEnvironmentsItemVariablesRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemEnvironmentsItemVariablesRequestBuilderGetQueryParameters lists all environment variables.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
type ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder ¶
type ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\environments\{environment_name}\variables\{name}
func NewItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder ¶
func NewItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder
NewItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder instantiates a new ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder and sets the default values.
func NewItemItemEnvironmentsItemVariablesWithNameItemRequestBuilderInternal ¶
func NewItemItemEnvironmentsItemVariablesWithNameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder
NewItemItemEnvironmentsItemVariablesWithNameItemRequestBuilderInternal instantiates a new ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder and sets the default values.
func (*ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder) Delete ¶
func (m *ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete deletes an environment variable using the variable name.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder) Get ¶
func (m *ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsVariableable, error)
Get gets a specific variable in an environment.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ActionsVariableable when successful API method documentation
func (*ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder) Patch ¶
func (m *ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder) Patch(ctx context.Context, body ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Patch updates an environment variable that you can reference in a GitHub Actions workflow.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes an environment variable using the variable name.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a specific variable in an environment.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation updates an environment variable that you can reference in a GitHub Actions workflow.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder) WithUrl ¶
func (m *ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder) WithUrl(rawUrl string) *ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemEnvironmentsItemVariablesWithNameItemRequestBuilder when successful
type ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody ¶
type ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemEnvironmentsItemWithEnvironment_namePutRequestBody ¶
func NewItemItemEnvironmentsItemWithEnvironment_namePutRequestBody() *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody
NewItemItemEnvironmentsItemWithEnvironment_namePutRequestBody instantiates a new ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody and sets the default values.
func (*ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) GetDeploymentBranchPolicy ¶
func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) GetDeploymentBranchPolicy() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentBranchPolicySettingsable
GetDeploymentBranchPolicy gets the deployment_branch_policy property value. The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. returns a DeploymentBranchPolicySettingsable when successful
func (*ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) GetFieldDeserializers ¶
func (m *ItemItemEnvironmentsItemWithEnvironment_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 (*ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) GetReviewers ¶
func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) GetReviewers() []ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewersable
GetReviewers gets the reviewers property value. The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed. returns a []ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewersable when successful
func (*ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) GetWaitTimer ¶
func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) GetWaitTimer() *int32
GetWaitTimer gets the wait_timer property value. The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days). returns a *int32 when successful
func (*ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) Serialize ¶
func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) SetDeploymentBranchPolicy ¶
func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) SetDeploymentBranchPolicy(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentBranchPolicySettingsable)
SetDeploymentBranchPolicy sets the deployment_branch_policy property value. The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`.
func (*ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) SetReviewers ¶
func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) SetReviewers(value []ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewersable)
SetReviewers sets the reviewers property value. The people or teams that may review jobs that reference the environment. You can list up to six users or teams as reviewers. The reviewers must have at least read access to the repository. Only one of the required reviewers needs to approve the job for it to proceed.
func (*ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) SetWaitTimer ¶
func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) SetWaitTimer(value *int32)
SetWaitTimer sets the wait_timer property value. The amount of time to delay a job after the job is initially triggered. The time (in minutes) must be an integer between 0 and 43,200 (30 days).
type ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers ¶
type ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers struct {
// contains filtered or unexported fields
}
func NewItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers ¶
func NewItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers() *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers
NewItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers instantiates a new ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers and sets the default values.
func (*ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) GetAdditionalData ¶
func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) 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 (*ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) GetFieldDeserializers ¶
func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) 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 (*ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) GetId ¶
func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) GetId() *int32
GetId gets the id property value. The id of the user or team who can review the deployment returns a *int32 when successful
func (*ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) GetTypeEscaped ¶
func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) GetTypeEscaped() *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentReviewerType
GetTypeEscaped gets the type property value. The type of reviewer. returns a *DeploymentReviewerType when successful
func (*ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) Serialize ¶
func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) SetAdditionalData ¶
func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) 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 (*ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) SetId ¶
func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) SetId(value *int32)
SetId sets the id property value. The id of the user or team who can review the deployment
func (*ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) SetTypeEscaped ¶
func (m *ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) SetTypeEscaped(value *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentReviewerType)
SetTypeEscaped sets the type property value. The type of reviewer.
type ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewersable ¶
type ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewersable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetId() *int32 GetTypeEscaped() *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentReviewerType SetId(value *int32) SetTypeEscaped(value *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentReviewerType) }
type ItemItemEnvironmentsItemWithEnvironment_namePutRequestBodyable ¶
type ItemItemEnvironmentsItemWithEnvironment_namePutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetDeploymentBranchPolicy() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentBranchPolicySettingsable GetReviewers() []ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewersable GetWaitTimer() *int32 SetDeploymentBranchPolicy(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeploymentBranchPolicySettingsable) SetReviewers(value []ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewersable) SetWaitTimer(value *int32) }
type ItemItemEnvironmentsRequestBuilder ¶
type ItemItemEnvironmentsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemEnvironmentsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\environments
func NewItemItemEnvironmentsRequestBuilder ¶
func NewItemItemEnvironmentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEnvironmentsRequestBuilder
NewItemItemEnvironmentsRequestBuilder instantiates a new ItemItemEnvironmentsRequestBuilder and sets the default values.
func NewItemItemEnvironmentsRequestBuilderInternal ¶
func NewItemItemEnvironmentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEnvironmentsRequestBuilder
NewItemItemEnvironmentsRequestBuilderInternal instantiates a new ItemItemEnvironmentsRequestBuilder and sets the default values.
func (*ItemItemEnvironmentsRequestBuilder) ByEnvironment_name ¶
func (m *ItemItemEnvironmentsRequestBuilder) ByEnvironment_name(environment_name string) *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder
ByEnvironment_name gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.environments.item collection returns a *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder when successful
func (*ItemItemEnvironmentsRequestBuilder) Get ¶
func (m *ItemItemEnvironmentsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemEnvironmentsRequestBuilderGetQueryParameters]) (ItemItemEnvironmentsGetResponseable, error)
Get lists the environments for a repository.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a ItemItemEnvironmentsGetResponseable when successful API method documentation
func (*ItemItemEnvironmentsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemEnvironmentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemEnvironmentsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the environments for a repository.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a *RequestInformation when successful
func (*ItemItemEnvironmentsRequestBuilder) WithUrl ¶
func (m *ItemItemEnvironmentsRequestBuilder) WithUrl(rawUrl string) *ItemItemEnvironmentsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemEnvironmentsRequestBuilder when successful
type ItemItemEnvironmentsRequestBuilderGetQueryParameters ¶
type ItemItemEnvironmentsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemEnvironmentsRequestBuilderGetQueryParameters lists the environments for a repository.Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository.
type ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder ¶
type ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\environments\{environment_name}
func NewItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder ¶
func NewItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder
NewItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder instantiates a new ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder and sets the default values.
func NewItemItemEnvironmentsWithEnvironment_nameItemRequestBuilderInternal ¶
func NewItemItemEnvironmentsWithEnvironment_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder
NewItemItemEnvironmentsWithEnvironment_nameItemRequestBuilderInternal instantiates a new ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder and sets the default values.
func (*ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) Delete ¶
func (m *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete oAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation
func (*ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) DeploymentBranchPolicies ¶
func (m *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) DeploymentBranchPolicies() *ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder
DeploymentBranchPolicies the deploymentBranchPolicies property returns a *ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder when successful
func (*ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) Deployment_protection_rules ¶
func (m *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) Deployment_protection_rules() *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder
Deployment_protection_rules the deployment_protection_rules property returns a *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder when successful
func (*ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) Get ¶
func (m *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Environmentable, error)
Get > [!NOTE]> To get information about name patterns that branches must match in order to deploy to this environment, see "[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy)."Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a Environmentable when successful API method documentation
func (*ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) Put ¶
func (m *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) Put(ctx context.Context, body ItemItemEnvironmentsItemWithEnvironment_namePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Environmentable, error)
Put create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see "[Environments](/actions/reference/environments#environment-protection-rules)."> [!NOTE]> To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)."> [!NOTE]> To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)."OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a Environmentable when successful returns a BasicError error when the service returns a 422 status code API method documentation
func (*ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) Secrets ¶
func (m *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) Secrets() *ItemItemEnvironmentsItemSecretsRequestBuilder
Secrets the secrets property returns a *ItemItemEnvironmentsItemSecretsRequestBuilder when successful
func (*ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation oAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation > [!NOTE]> To get information about name patterns that branches must match in order to deploy to this environment, see "[Get a deployment branch policy](/rest/deployments/branch-policies#get-a-deployment-branch-policy)."Anyone with read access to the repository can use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint with a private repository. returns a *RequestInformation when successful
func (*ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemEnvironmentsItemWithEnvironment_namePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation create or update an environment with protection rules, such as required reviewers. For more information about environment protection rules, see "[Environments](/actions/reference/environments#environment-protection-rules)."> [!NOTE]> To create or update name patterns that branches must match in order to deploy to this environment, see "[Deployment branch policies](/rest/deployments/branch-policies)."> [!NOTE]> To create or update secrets for an environment, see "[GitHub Actions secrets](/rest/actions/secrets)."OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) Variables ¶
func (m *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) Variables() *ItemItemEnvironmentsItemVariablesRequestBuilder
Variables the variables property returns a *ItemItemEnvironmentsItemVariablesRequestBuilder when successful
func (*ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) WithUrl ¶
func (m *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) WithUrl(rawUrl string) *ItemItemEnvironmentsWithEnvironment_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 *ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder when successful
type ItemItemEventsRequestBuilder ¶
type ItemItemEventsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemEventsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\events
func NewItemItemEventsRequestBuilder ¶
func NewItemItemEventsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEventsRequestBuilder
NewItemItemEventsRequestBuilder instantiates a new ItemItemEventsRequestBuilder and sets the default values.
func NewItemItemEventsRequestBuilderInternal ¶
func NewItemItemEventsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemEventsRequestBuilder
NewItemItemEventsRequestBuilderInternal instantiates a new ItemItemEventsRequestBuilder and sets the default values.
func (*ItemItemEventsRequestBuilder) Get ¶
func (m *ItemItemEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemEventsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Eventable, error)
Get > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. returns a []Eventable when successful API method documentation
func (*ItemItemEventsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemEventsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. returns a *RequestInformation when successful
func (*ItemItemEventsRequestBuilder) WithUrl ¶
func (m *ItemItemEventsRequestBuilder) WithUrl(rawUrl string) *ItemItemEventsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemEventsRequestBuilder when successful
type ItemItemEventsRequestBuilderGetQueryParameters ¶
type ItemItemEventsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemEventsRequestBuilderGetQueryParameters > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.
type ItemItemForksPostRequestBody ¶
type ItemItemForksPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemForksPostRequestBody ¶
func NewItemItemForksPostRequestBody() *ItemItemForksPostRequestBody
NewItemItemForksPostRequestBody instantiates a new ItemItemForksPostRequestBody and sets the default values.
func (*ItemItemForksPostRequestBody) GetAdditionalData ¶
func (m *ItemItemForksPostRequestBody) 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 (*ItemItemForksPostRequestBody) GetDefaultBranchOnly ¶
func (m *ItemItemForksPostRequestBody) GetDefaultBranchOnly() *bool
GetDefaultBranchOnly gets the default_branch_only property value. When forking from an existing repository, fork with only the default branch. returns a *bool when successful
func (*ItemItemForksPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemForksPostRequestBody) 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 (*ItemItemForksPostRequestBody) GetName ¶
func (m *ItemItemForksPostRequestBody) GetName() *string
GetName gets the name property value. When forking from an existing repository, a new name for the fork. returns a *string when successful
func (*ItemItemForksPostRequestBody) GetOrganization ¶
func (m *ItemItemForksPostRequestBody) GetOrganization() *string
GetOrganization gets the organization property value. Optional parameter to specify the organization name if forking into an organization. returns a *string when successful
func (*ItemItemForksPostRequestBody) Serialize ¶
func (m *ItemItemForksPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemForksPostRequestBody) SetAdditionalData ¶
func (m *ItemItemForksPostRequestBody) 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 (*ItemItemForksPostRequestBody) SetDefaultBranchOnly ¶
func (m *ItemItemForksPostRequestBody) SetDefaultBranchOnly(value *bool)
SetDefaultBranchOnly sets the default_branch_only property value. When forking from an existing repository, fork with only the default branch.
func (*ItemItemForksPostRequestBody) SetName ¶
func (m *ItemItemForksPostRequestBody) SetName(value *string)
SetName sets the name property value. When forking from an existing repository, a new name for the fork.
func (*ItemItemForksPostRequestBody) SetOrganization ¶
func (m *ItemItemForksPostRequestBody) SetOrganization(value *string)
SetOrganization sets the organization property value. Optional parameter to specify the organization name if forking into an organization.
type ItemItemForksPostRequestBodyable ¶
type ItemItemForksPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetDefaultBranchOnly() *bool GetName() *string GetOrganization() *string SetDefaultBranchOnly(value *bool) SetName(value *string) SetOrganization(value *string) }
type ItemItemForksRequestBuilder ¶
type ItemItemForksRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemForksRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\forks
func NewItemItemForksRequestBuilder ¶
func NewItemItemForksRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemForksRequestBuilder
NewItemItemForksRequestBuilder instantiates a new ItemItemForksRequestBuilder and sets the default values.
func NewItemItemForksRequestBuilderInternal ¶
func NewItemItemForksRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemForksRequestBuilder
NewItemItemForksRequestBuilderInternal instantiates a new ItemItemForksRequestBuilder and sets the default values.
func (*ItemItemForksRequestBuilder) Get ¶
func (m *ItemItemForksRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemForksRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable, error)
Get list forks returns a []MinimalRepositoryable when successful returns a BasicError error when the service returns a 400 status code API method documentation
func (*ItemItemForksRequestBuilder) Post ¶
func (m *ItemItemForksRequestBuilder) Post(ctx context.Context, body ItemItemForksPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.FullRepositoryable, error)
Post create a fork for the authenticated user.> [!NOTE]> Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).> [!NOTE]> Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source 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 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 (*ItemItemForksRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemForksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemForksRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*ItemItemForksRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemForksRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemForksPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation create a fork for the authenticated user.> [!NOTE]> Forking a Repository happens asynchronously. You may have to wait a short period of time before you can access the git objects. If this takes longer than 5 minutes, be sure to contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).> [!NOTE]> Although this endpoint works with GitHub Apps, the GitHub App must be installed on the destination account with access to all repositories and on the source account with access to the source repository. returns a *RequestInformation when successful
func (*ItemItemForksRequestBuilder) WithUrl ¶
func (m *ItemItemForksRequestBuilder) WithUrl(rawUrl string) *ItemItemForksRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemForksRequestBuilder when successful
type ItemItemForksRequestBuilderGetQueryParameters ¶
type ItemItemForksRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // The sort order. `stargazers` will sort by star count. Sort *i798d43269e92aadb9e3c0d3875f4c1ae215e34660f3f323293c403131b6cc28e.GetSortQueryParameterType `uriparametername:"sort"` }
ItemItemForksRequestBuilderGetQueryParameters list forks
type ItemItemGeneratePostRequestBody ¶
type ItemItemGeneratePostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemGeneratePostRequestBody ¶
func NewItemItemGeneratePostRequestBody() *ItemItemGeneratePostRequestBody
NewItemItemGeneratePostRequestBody instantiates a new ItemItemGeneratePostRequestBody and sets the default values.
func (*ItemItemGeneratePostRequestBody) GetAdditionalData ¶
func (m *ItemItemGeneratePostRequestBody) 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 (*ItemItemGeneratePostRequestBody) GetDescription ¶
func (m *ItemItemGeneratePostRequestBody) GetDescription() *string
GetDescription gets the description property value. A short description of the new repository. returns a *string when successful
func (*ItemItemGeneratePostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemGeneratePostRequestBody) 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 (*ItemItemGeneratePostRequestBody) GetIncludeAllBranches ¶
func (m *ItemItemGeneratePostRequestBody) GetIncludeAllBranches() *bool
GetIncludeAllBranches gets the include_all_branches property value. Set to `true` to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: `false`. returns a *bool when successful
func (*ItemItemGeneratePostRequestBody) GetName ¶
func (m *ItemItemGeneratePostRequestBody) GetName() *string
GetName gets the name property value. The name of the new repository. returns a *string when successful
func (*ItemItemGeneratePostRequestBody) GetOwner ¶
func (m *ItemItemGeneratePostRequestBody) GetOwner() *string
GetOwner gets the owner property value. The organization or person who will own the new repository. To create a new repository in an organization, the authenticated user must be a member of the specified organization. returns a *string when successful
func (*ItemItemGeneratePostRequestBody) GetPrivate ¶
func (m *ItemItemGeneratePostRequestBody) GetPrivate() *bool
GetPrivate gets the private property value. Either `true` to create a new private repository or `false` to create a new public one. returns a *bool when successful
func (*ItemItemGeneratePostRequestBody) Serialize ¶
func (m *ItemItemGeneratePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemGeneratePostRequestBody) SetAdditionalData ¶
func (m *ItemItemGeneratePostRequestBody) 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 (*ItemItemGeneratePostRequestBody) SetDescription ¶
func (m *ItemItemGeneratePostRequestBody) SetDescription(value *string)
SetDescription sets the description property value. A short description of the new repository.
func (*ItemItemGeneratePostRequestBody) SetIncludeAllBranches ¶
func (m *ItemItemGeneratePostRequestBody) SetIncludeAllBranches(value *bool)
SetIncludeAllBranches sets the include_all_branches property value. Set to `true` to include the directory structure and files from all branches in the template repository, and not just the default branch. Default: `false`.
func (*ItemItemGeneratePostRequestBody) SetName ¶
func (m *ItemItemGeneratePostRequestBody) SetName(value *string)
SetName sets the name property value. The name of the new repository.
func (*ItemItemGeneratePostRequestBody) SetOwner ¶
func (m *ItemItemGeneratePostRequestBody) SetOwner(value *string)
SetOwner sets the owner property value. The organization or person who will own the new repository. To create a new repository in an organization, the authenticated user must be a member of the specified organization.
func (*ItemItemGeneratePostRequestBody) SetPrivate ¶
func (m *ItemItemGeneratePostRequestBody) SetPrivate(value *bool)
SetPrivate sets the private property value. Either `true` to create a new private repository or `false` to create a new public one.
type ItemItemGeneratePostRequestBodyable ¶
type ItemItemGeneratePostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetDescription() *string GetIncludeAllBranches() *bool GetName() *string GetOwner() *string GetPrivate() *bool SetDescription(value *string) SetIncludeAllBranches(value *bool) SetName(value *string) SetOwner(value *string) SetPrivate(value *bool) }
type ItemItemGenerateRequestBuilder ¶
type ItemItemGenerateRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemGenerateRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\generate
func NewItemItemGenerateRequestBuilder ¶
func NewItemItemGenerateRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGenerateRequestBuilder
NewItemItemGenerateRequestBuilder instantiates a new ItemItemGenerateRequestBuilder and sets the default values.
func NewItemItemGenerateRequestBuilderInternal ¶
func NewItemItemGenerateRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGenerateRequestBuilder
NewItemItemGenerateRequestBuilderInternal instantiates a new ItemItemGenerateRequestBuilder and sets the default values.
func (*ItemItemGenerateRequestBuilder) Post ¶
func (m *ItemItemGenerateRequestBuilder) Post(ctx context.Context, body ItemItemGeneratePostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.FullRepositoryable, error)
Post creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. If the repository is not public, the authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@3.10/rest/repos/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.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 API method documentation
func (*ItemItemGenerateRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemGenerateRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemGeneratePostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. If the repository is not public, the authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/enterprise-server@3.10/rest/repos/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.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 (*ItemItemGenerateRequestBuilder) WithUrl ¶
func (m *ItemItemGenerateRequestBuilder) WithUrl(rawUrl string) *ItemItemGenerateRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemGenerateRequestBuilder when successful
type ItemItemGitBlobsPostRequestBody ¶
type ItemItemGitBlobsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemGitBlobsPostRequestBody ¶
func NewItemItemGitBlobsPostRequestBody() *ItemItemGitBlobsPostRequestBody
NewItemItemGitBlobsPostRequestBody instantiates a new ItemItemGitBlobsPostRequestBody and sets the default values.
func (*ItemItemGitBlobsPostRequestBody) GetAdditionalData ¶
func (m *ItemItemGitBlobsPostRequestBody) 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 (*ItemItemGitBlobsPostRequestBody) GetContent ¶
func (m *ItemItemGitBlobsPostRequestBody) GetContent() *string
GetContent gets the content property value. The new blob's content. returns a *string when successful
func (*ItemItemGitBlobsPostRequestBody) GetEncoding ¶
func (m *ItemItemGitBlobsPostRequestBody) GetEncoding() *string
GetEncoding gets the encoding property value. The encoding used for `content`. Currently, `"utf-8"` and `"base64"` are supported. returns a *string when successful
func (*ItemItemGitBlobsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemGitBlobsPostRequestBody) 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 (*ItemItemGitBlobsPostRequestBody) Serialize ¶
func (m *ItemItemGitBlobsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemGitBlobsPostRequestBody) SetAdditionalData ¶
func (m *ItemItemGitBlobsPostRequestBody) 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 (*ItemItemGitBlobsPostRequestBody) SetContent ¶
func (m *ItemItemGitBlobsPostRequestBody) SetContent(value *string)
SetContent sets the content property value. The new blob's content.
func (*ItemItemGitBlobsPostRequestBody) SetEncoding ¶
func (m *ItemItemGitBlobsPostRequestBody) SetEncoding(value *string)
SetEncoding sets the encoding property value. The encoding used for `content`. Currently, `"utf-8"` and `"base64"` are supported.
type ItemItemGitBlobsPostRequestBodyable ¶
type ItemItemGitBlobsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetContent() *string GetEncoding() *string SetContent(value *string) SetEncoding(value *string) }
type ItemItemGitBlobsRequestBuilder ¶
type ItemItemGitBlobsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemGitBlobsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\git\blobs
func NewItemItemGitBlobsRequestBuilder ¶
func NewItemItemGitBlobsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitBlobsRequestBuilder
NewItemItemGitBlobsRequestBuilder instantiates a new ItemItemGitBlobsRequestBuilder and sets the default values.
func NewItemItemGitBlobsRequestBuilderInternal ¶
func NewItemItemGitBlobsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitBlobsRequestBuilder
NewItemItemGitBlobsRequestBuilderInternal instantiates a new ItemItemGitBlobsRequestBuilder and sets the default values.
func (*ItemItemGitBlobsRequestBuilder) ByFile_sha ¶
func (m *ItemItemGitBlobsRequestBuilder) ByFile_sha(file_sha string) *ItemItemGitBlobsWithFile_shaItemRequestBuilder
ByFile_sha gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.git.blobs.item collection returns a *ItemItemGitBlobsWithFile_shaItemRequestBuilder when successful
func (*ItemItemGitBlobsRequestBuilder) Post ¶
func (m *ItemItemGitBlobsRequestBuilder) Post(ctx context.Context, body ItemItemGitBlobsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ShortBlobable, error)
Post create a blob returns a ShortBlobable 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 BasicError error when the service returns a 409 status code API method documentation
func (*ItemItemGitBlobsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemGitBlobsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemGitBlobsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*ItemItemGitBlobsRequestBuilder) WithUrl ¶
func (m *ItemItemGitBlobsRequestBuilder) WithUrl(rawUrl string) *ItemItemGitBlobsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemGitBlobsRequestBuilder when successful
type ItemItemGitBlobsWithFile_shaItemRequestBuilder ¶
type ItemItemGitBlobsWithFile_shaItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemGitBlobsWithFile_shaItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\git\blobs\{file_sha}
func NewItemItemGitBlobsWithFile_shaItemRequestBuilder ¶
func NewItemItemGitBlobsWithFile_shaItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitBlobsWithFile_shaItemRequestBuilder
NewItemItemGitBlobsWithFile_shaItemRequestBuilder instantiates a new ItemItemGitBlobsWithFile_shaItemRequestBuilder and sets the default values.
func NewItemItemGitBlobsWithFile_shaItemRequestBuilderInternal ¶
func NewItemItemGitBlobsWithFile_shaItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitBlobsWithFile_shaItemRequestBuilder
NewItemItemGitBlobsWithFile_shaItemRequestBuilderInternal instantiates a new ItemItemGitBlobsWithFile_shaItemRequestBuilder and sets the default values.
func (*ItemItemGitBlobsWithFile_shaItemRequestBuilder) Get ¶
func (m *ItemItemGitBlobsWithFile_shaItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Blobable, error)
Get the `content` in the response will always be Base64 encoded.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.raw+json`**: Returns the raw blob data.- **`application/vnd.github+json`**: Returns a JSON representation of the blob with `content` as a base64 encoded string. This is the default if no media type is specified.**Note** This endpoint supports blobs up to 100 megabytes in size. returns a Blobable 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 BasicError error when the service returns a 409 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemGitBlobsWithFile_shaItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemGitBlobsWithFile_shaItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation the `content` in the response will always be Base64 encoded.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.raw+json`**: Returns the raw blob data.- **`application/vnd.github+json`**: Returns a JSON representation of the blob with `content` as a base64 encoded string. This is the default if no media type is specified.**Note** This endpoint supports blobs up to 100 megabytes in size. returns a *RequestInformation when successful
func (*ItemItemGitBlobsWithFile_shaItemRequestBuilder) WithUrl ¶
func (m *ItemItemGitBlobsWithFile_shaItemRequestBuilder) WithUrl(rawUrl string) *ItemItemGitBlobsWithFile_shaItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemGitBlobsWithFile_shaItemRequestBuilder when successful
type ItemItemGitCommitsPostRequestBody ¶
type ItemItemGitCommitsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemGitCommitsPostRequestBody ¶
func NewItemItemGitCommitsPostRequestBody() *ItemItemGitCommitsPostRequestBody
NewItemItemGitCommitsPostRequestBody instantiates a new ItemItemGitCommitsPostRequestBody and sets the default values.
func (*ItemItemGitCommitsPostRequestBody) GetAdditionalData ¶
func (m *ItemItemGitCommitsPostRequestBody) 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 (*ItemItemGitCommitsPostRequestBody) GetAuthor ¶
func (m *ItemItemGitCommitsPostRequestBody) GetAuthor() ItemItemGitCommitsPostRequestBody_authorable
GetAuthor gets the author property value. Information about the author of the commit. By default, the `author` will be the authenticated user and the current date. See the `author` and `committer` object below for details. returns a ItemItemGitCommitsPostRequestBody_authorable when successful
func (*ItemItemGitCommitsPostRequestBody) GetCommitter ¶
func (m *ItemItemGitCommitsPostRequestBody) GetCommitter() ItemItemGitCommitsPostRequestBody_committerable
GetCommitter gets the committer property value. Information about the person who is making the commit. By default, `committer` will use the information set in `author`. See the `author` and `committer` object below for details. returns a ItemItemGitCommitsPostRequestBody_committerable when successful
func (*ItemItemGitCommitsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemGitCommitsPostRequestBody) 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 (*ItemItemGitCommitsPostRequestBody) GetMessage ¶
func (m *ItemItemGitCommitsPostRequestBody) GetMessage() *string
GetMessage gets the message property value. The commit message returns a *string when successful
func (*ItemItemGitCommitsPostRequestBody) GetParents ¶
func (m *ItemItemGitCommitsPostRequestBody) GetParents() []string
GetParents gets the parents property value. The full SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided. returns a []string when successful
func (*ItemItemGitCommitsPostRequestBody) GetSignature ¶
func (m *ItemItemGitCommitsPostRequestBody) GetSignature() *string
GetSignature gets the signature property value. The [PGP signature](https://en.wikipedia.org/wiki/Pretty_Good_Privacy) of the commit. GitHub adds the signature to the `gpgsig` header of the created commit. For a commit signature to be verifiable by Git or GitHub, it must be an ASCII-armored detached PGP signature over the string commit as it would be written to the object database. To pass a `signature` parameter, you need to first manually create a valid PGP signature, which can be complicated. You may find it easier to [use the command line](https://git-scm.com/book/id/v2/Git-Tools-Signing-Your-Work) to create signed commits. returns a *string when successful
func (*ItemItemGitCommitsPostRequestBody) GetTree ¶
func (m *ItemItemGitCommitsPostRequestBody) GetTree() *string
GetTree gets the tree property value. The SHA of the tree object this commit points to returns a *string when successful
func (*ItemItemGitCommitsPostRequestBody) Serialize ¶
func (m *ItemItemGitCommitsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemGitCommitsPostRequestBody) SetAdditionalData ¶
func (m *ItemItemGitCommitsPostRequestBody) 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 (*ItemItemGitCommitsPostRequestBody) SetAuthor ¶
func (m *ItemItemGitCommitsPostRequestBody) SetAuthor(value ItemItemGitCommitsPostRequestBody_authorable)
SetAuthor sets the author property value. Information about the author of the commit. By default, the `author` will be the authenticated user and the current date. See the `author` and `committer` object below for details.
func (*ItemItemGitCommitsPostRequestBody) SetCommitter ¶
func (m *ItemItemGitCommitsPostRequestBody) SetCommitter(value ItemItemGitCommitsPostRequestBody_committerable)
SetCommitter sets the committer property value. Information about the person who is making the commit. By default, `committer` will use the information set in `author`. See the `author` and `committer` object below for details.
func (*ItemItemGitCommitsPostRequestBody) SetMessage ¶
func (m *ItemItemGitCommitsPostRequestBody) SetMessage(value *string)
SetMessage sets the message property value. The commit message
func (*ItemItemGitCommitsPostRequestBody) SetParents ¶
func (m *ItemItemGitCommitsPostRequestBody) SetParents(value []string)
SetParents sets the parents property value. The full SHAs of the commits that were the parents of this commit. If omitted or empty, the commit will be written as a root commit. For a single parent, an array of one SHA should be provided; for a merge commit, an array of more than one should be provided.
func (*ItemItemGitCommitsPostRequestBody) SetSignature ¶
func (m *ItemItemGitCommitsPostRequestBody) SetSignature(value *string)
SetSignature sets the signature property value. The [PGP signature](https://en.wikipedia.org/wiki/Pretty_Good_Privacy) of the commit. GitHub adds the signature to the `gpgsig` header of the created commit. For a commit signature to be verifiable by Git or GitHub, it must be an ASCII-armored detached PGP signature over the string commit as it would be written to the object database. To pass a `signature` parameter, you need to first manually create a valid PGP signature, which can be complicated. You may find it easier to [use the command line](https://git-scm.com/book/id/v2/Git-Tools-Signing-Your-Work) to create signed commits.
func (*ItemItemGitCommitsPostRequestBody) SetTree ¶
func (m *ItemItemGitCommitsPostRequestBody) SetTree(value *string)
SetTree sets the tree property value. The SHA of the tree object this commit points to
type ItemItemGitCommitsPostRequestBody_author ¶
type ItemItemGitCommitsPostRequestBody_author struct {
// contains filtered or unexported fields
}
ItemItemGitCommitsPostRequestBody_author information about the author of the commit. By default, the `author` will be the authenticated user and the current date. See the `author` and `committer` object below for details.
func NewItemItemGitCommitsPostRequestBody_author ¶
func NewItemItemGitCommitsPostRequestBody_author() *ItemItemGitCommitsPostRequestBody_author
NewItemItemGitCommitsPostRequestBody_author instantiates a new ItemItemGitCommitsPostRequestBody_author and sets the default values.
func (*ItemItemGitCommitsPostRequestBody_author) GetAdditionalData ¶
func (m *ItemItemGitCommitsPostRequestBody_author) 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 (*ItemItemGitCommitsPostRequestBody_author) GetDate ¶
func (m *ItemItemGitCommitsPostRequestBody_author) GetDate() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
GetDate gets the date property value. Indicates when this commit was authored (or committed). This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. returns a *Time when successful
func (*ItemItemGitCommitsPostRequestBody_author) GetEmail ¶
func (m *ItemItemGitCommitsPostRequestBody_author) GetEmail() *string
GetEmail gets the email property value. The email of the author (or committer) of the commit returns a *string when successful
func (*ItemItemGitCommitsPostRequestBody_author) GetFieldDeserializers ¶
func (m *ItemItemGitCommitsPostRequestBody_author) 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 (*ItemItemGitCommitsPostRequestBody_author) GetName ¶
func (m *ItemItemGitCommitsPostRequestBody_author) GetName() *string
GetName gets the name property value. The name of the author (or committer) of the commit returns a *string when successful
func (*ItemItemGitCommitsPostRequestBody_author) Serialize ¶
func (m *ItemItemGitCommitsPostRequestBody_author) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemGitCommitsPostRequestBody_author) SetAdditionalData ¶
func (m *ItemItemGitCommitsPostRequestBody_author) 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 (*ItemItemGitCommitsPostRequestBody_author) SetDate ¶
func (m *ItemItemGitCommitsPostRequestBody_author) SetDate(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
SetDate sets the date property value. Indicates when this commit was authored (or committed). This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
func (*ItemItemGitCommitsPostRequestBody_author) SetEmail ¶
func (m *ItemItemGitCommitsPostRequestBody_author) SetEmail(value *string)
SetEmail sets the email property value. The email of the author (or committer) of the commit
func (*ItemItemGitCommitsPostRequestBody_author) SetName ¶
func (m *ItemItemGitCommitsPostRequestBody_author) SetName(value *string)
SetName sets the name property value. The name of the author (or committer) of the commit
type ItemItemGitCommitsPostRequestBody_authorable ¶
type ItemItemGitCommitsPostRequestBody_authorable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemItemGitCommitsPostRequestBody_committer ¶
type ItemItemGitCommitsPostRequestBody_committer struct {
// contains filtered or unexported fields
}
ItemItemGitCommitsPostRequestBody_committer information about the person who is making the commit. By default, `committer` will use the information set in `author`. See the `author` and `committer` object below for details.
func NewItemItemGitCommitsPostRequestBody_committer ¶
func NewItemItemGitCommitsPostRequestBody_committer() *ItemItemGitCommitsPostRequestBody_committer
NewItemItemGitCommitsPostRequestBody_committer instantiates a new ItemItemGitCommitsPostRequestBody_committer and sets the default values.
func (*ItemItemGitCommitsPostRequestBody_committer) GetAdditionalData ¶
func (m *ItemItemGitCommitsPostRequestBody_committer) 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 (*ItemItemGitCommitsPostRequestBody_committer) GetDate ¶
func (m *ItemItemGitCommitsPostRequestBody_committer) GetDate() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
GetDate gets the date property value. Indicates when this commit was authored (or committed). This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. returns a *Time when successful
func (*ItemItemGitCommitsPostRequestBody_committer) GetEmail ¶
func (m *ItemItemGitCommitsPostRequestBody_committer) GetEmail() *string
GetEmail gets the email property value. The email of the author (or committer) of the commit returns a *string when successful
func (*ItemItemGitCommitsPostRequestBody_committer) GetFieldDeserializers ¶
func (m *ItemItemGitCommitsPostRequestBody_committer) 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 (*ItemItemGitCommitsPostRequestBody_committer) GetName ¶
func (m *ItemItemGitCommitsPostRequestBody_committer) GetName() *string
GetName gets the name property value. The name of the author (or committer) of the commit returns a *string when successful
func (*ItemItemGitCommitsPostRequestBody_committer) Serialize ¶
func (m *ItemItemGitCommitsPostRequestBody_committer) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemGitCommitsPostRequestBody_committer) SetAdditionalData ¶
func (m *ItemItemGitCommitsPostRequestBody_committer) 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 (*ItemItemGitCommitsPostRequestBody_committer) SetDate ¶
func (m *ItemItemGitCommitsPostRequestBody_committer) SetDate(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
SetDate sets the date property value. Indicates when this commit was authored (or committed). This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
func (*ItemItemGitCommitsPostRequestBody_committer) SetEmail ¶
func (m *ItemItemGitCommitsPostRequestBody_committer) SetEmail(value *string)
SetEmail sets the email property value. The email of the author (or committer) of the commit
func (*ItemItemGitCommitsPostRequestBody_committer) SetName ¶
func (m *ItemItemGitCommitsPostRequestBody_committer) SetName(value *string)
SetName sets the name property value. The name of the author (or committer) of the commit
type ItemItemGitCommitsPostRequestBody_committerable ¶
type ItemItemGitCommitsPostRequestBody_committerable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetDate() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time GetEmail() *string GetName() *string SetDate(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) SetEmail(value *string) SetName(value *string) }
type ItemItemGitCommitsPostRequestBodyable ¶
type ItemItemGitCommitsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAuthor() ItemItemGitCommitsPostRequestBody_authorable GetCommitter() ItemItemGitCommitsPostRequestBody_committerable GetMessage() *string GetParents() []string GetSignature() *string GetTree() *string SetAuthor(value ItemItemGitCommitsPostRequestBody_authorable) SetCommitter(value ItemItemGitCommitsPostRequestBody_committerable) SetMessage(value *string) SetParents(value []string) SetSignature(value *string) SetTree(value *string) }
type ItemItemGitCommitsRequestBuilder ¶
type ItemItemGitCommitsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemGitCommitsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\git\commits
func NewItemItemGitCommitsRequestBuilder ¶
func NewItemItemGitCommitsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitCommitsRequestBuilder
NewItemItemGitCommitsRequestBuilder instantiates a new ItemItemGitCommitsRequestBuilder and sets the default values.
func NewItemItemGitCommitsRequestBuilderInternal ¶
func NewItemItemGitCommitsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitCommitsRequestBuilder
NewItemItemGitCommitsRequestBuilderInternal instantiates a new ItemItemGitCommitsRequestBuilder and sets the default values.
func (*ItemItemGitCommitsRequestBuilder) ByCommit_sha ¶
func (m *ItemItemGitCommitsRequestBuilder) ByCommit_sha(commit_sha string) *ItemItemGitCommitsWithCommit_shaItemRequestBuilder
ByCommit_sha gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.git.commits.item collection returns a *ItemItemGitCommitsWithCommit_shaItemRequestBuilder when successful
func (*ItemItemGitCommitsRequestBuilder) Post ¶
func (m *ItemItemGitCommitsRequestBuilder) Post(ctx context.Context, body ItemItemGitCommitsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.GitCommitable, error)
Post creates a new Git [commit object](https://git-scm.com/book/en/v2/Git-Internals-Git-Objects).**Signature verification object**The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:| Name | Type | Description || ---- | ---- | ----------- || `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. || `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. || `signature` | `string` | The signature that was extracted from the commit. || `payload` | `string` | The value that was signed. |These are the possible values for `reason` in the `verification` object:| Value | Description || ----- | ----------- || `expired_key` | The key that made the signature is expired. || `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. || `gpgverify_error` | There was an error communicating with the signature verification service. || `gpgverify_unavailable` | The signature verification service is currently unavailable. || `unsigned` | The object does not include a signature. || `unknown_signature_type` | A non-PGP signature was found in the commit. || `no_user` | No user was associated with the `committer` email address in the commit. || `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. || `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. || `unknown_key` | The key that made the signature has not been registered with any user's account. || `malformed_signature` | There was an error parsing the signature. || `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. || `valid` | None of the above errors applied, so the signature is considered to be verified. | returns a GitCommitable when successful 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 ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemGitCommitsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemGitCommitsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemGitCommitsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation creates a new Git [commit object](https://git-scm.com/book/en/v2/Git-Internals-Git-Objects).**Signature verification object**The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:| Name | Type | Description || ---- | ---- | ----------- || `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. || `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. || `signature` | `string` | The signature that was extracted from the commit. || `payload` | `string` | The value that was signed. |These are the possible values for `reason` in the `verification` object:| Value | Description || ----- | ----------- || `expired_key` | The key that made the signature is expired. || `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. || `gpgverify_error` | There was an error communicating with the signature verification service. || `gpgverify_unavailable` | The signature verification service is currently unavailable. || `unsigned` | The object does not include a signature. || `unknown_signature_type` | A non-PGP signature was found in the commit. || `no_user` | No user was associated with the `committer` email address in the commit. || `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. || `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. || `unknown_key` | The key that made the signature has not been registered with any user's account. || `malformed_signature` | There was an error parsing the signature. || `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. || `valid` | None of the above errors applied, so the signature is considered to be verified. | returns a *RequestInformation when successful
func (*ItemItemGitCommitsRequestBuilder) WithUrl ¶
func (m *ItemItemGitCommitsRequestBuilder) WithUrl(rawUrl string) *ItemItemGitCommitsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemGitCommitsRequestBuilder when successful
type ItemItemGitCommitsWithCommit_shaItemRequestBuilder ¶
type ItemItemGitCommitsWithCommit_shaItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemGitCommitsWithCommit_shaItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\git\commits\{commit_sha}
func NewItemItemGitCommitsWithCommit_shaItemRequestBuilder ¶
func NewItemItemGitCommitsWithCommit_shaItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitCommitsWithCommit_shaItemRequestBuilder
NewItemItemGitCommitsWithCommit_shaItemRequestBuilder instantiates a new ItemItemGitCommitsWithCommit_shaItemRequestBuilder and sets the default values.
func NewItemItemGitCommitsWithCommit_shaItemRequestBuilderInternal ¶
func NewItemItemGitCommitsWithCommit_shaItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitCommitsWithCommit_shaItemRequestBuilder
NewItemItemGitCommitsWithCommit_shaItemRequestBuilderInternal instantiates a new ItemItemGitCommitsWithCommit_shaItemRequestBuilder and sets the default values.
func (*ItemItemGitCommitsWithCommit_shaItemRequestBuilder) Get ¶
func (m *ItemItemGitCommitsWithCommit_shaItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.GitCommitable, error)
Get gets a Git [commit object](https://git-scm.com/book/en/v2/Git-Internals-Git-Objects).To get the contents of a commit, see "[Get a commit](/rest/commits/commits#get-a-commit)."**Signature verification object**The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:| Name | Type | Description || ---- | ---- | ----------- || `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. || `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. || `signature` | `string` | The signature that was extracted from the commit. || `payload` | `string` | The value that was signed. |These are the possible values for `reason` in the `verification` object:| Value | Description || ----- | ----------- || `expired_key` | The key that made the signature is expired. || `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. || `gpgverify_error` | There was an error communicating with the signature verification service. || `gpgverify_unavailable` | The signature verification service is currently unavailable. || `unsigned` | The object does not include a signature. || `unknown_signature_type` | A non-PGP signature was found in the commit. || `no_user` | No user was associated with the `committer` email address in the commit. || `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. || `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. || `unknown_key` | The key that made the signature has not been registered with any user's account. || `malformed_signature` | There was an error parsing the signature. || `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. || `valid` | None of the above errors applied, so the signature is considered to be verified. | returns a GitCommitable when successful 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 (*ItemItemGitCommitsWithCommit_shaItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemGitCommitsWithCommit_shaItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a Git [commit object](https://git-scm.com/book/en/v2/Git-Internals-Git-Objects).To get the contents of a commit, see "[Get a commit](/rest/commits/commits#get-a-commit)."**Signature verification object**The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:| Name | Type | Description || ---- | ---- | ----------- || `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. || `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in the table below. || `signature` | `string` | The signature that was extracted from the commit. || `payload` | `string` | The value that was signed. |These are the possible values for `reason` in the `verification` object:| Value | Description || ----- | ----------- || `expired_key` | The key that made the signature is expired. || `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. || `gpgverify_error` | There was an error communicating with the signature verification service. || `gpgverify_unavailable` | The signature verification service is currently unavailable. || `unsigned` | The object does not include a signature. || `unknown_signature_type` | A non-PGP signature was found in the commit. || `no_user` | No user was associated with the `committer` email address in the commit. || `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. || `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. || `unknown_key` | The key that made the signature has not been registered with any user's account. || `malformed_signature` | There was an error parsing the signature. || `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. || `valid` | None of the above errors applied, so the signature is considered to be verified. | returns a *RequestInformation when successful
func (*ItemItemGitCommitsWithCommit_shaItemRequestBuilder) WithUrl ¶
func (m *ItemItemGitCommitsWithCommit_shaItemRequestBuilder) WithUrl(rawUrl string) *ItemItemGitCommitsWithCommit_shaItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemGitCommitsWithCommit_shaItemRequestBuilder when successful
type ItemItemGitMatchingRefsRequestBuilder ¶
type ItemItemGitMatchingRefsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemGitMatchingRefsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\git\matching-refs
func NewItemItemGitMatchingRefsRequestBuilder ¶
func NewItemItemGitMatchingRefsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitMatchingRefsRequestBuilder
NewItemItemGitMatchingRefsRequestBuilder instantiates a new ItemItemGitMatchingRefsRequestBuilder and sets the default values.
func NewItemItemGitMatchingRefsRequestBuilderInternal ¶
func NewItemItemGitMatchingRefsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitMatchingRefsRequestBuilder
NewItemItemGitMatchingRefsRequestBuilderInternal instantiates a new ItemItemGitMatchingRefsRequestBuilder and sets the default values.
func (*ItemItemGitMatchingRefsRequestBuilder) ByRef ¶
func (m *ItemItemGitMatchingRefsRequestBuilder) ByRef(ref string) *ItemItemGitMatchingRefsWithRefItemRequestBuilder
ByRef gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.git.matchingRefs.item collection returns a *ItemItemGitMatchingRefsWithRefItemRequestBuilder when successful
type ItemItemGitMatchingRefsWithRefItemRequestBuilder ¶
type ItemItemGitMatchingRefsWithRefItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemGitMatchingRefsWithRefItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\git\matching-refs\{ref}
func NewItemItemGitMatchingRefsWithRefItemRequestBuilder ¶
func NewItemItemGitMatchingRefsWithRefItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitMatchingRefsWithRefItemRequestBuilder
NewItemItemGitMatchingRefsWithRefItemRequestBuilder instantiates a new ItemItemGitMatchingRefsWithRefItemRequestBuilder and sets the default values.
func NewItemItemGitMatchingRefsWithRefItemRequestBuilderInternal ¶
func NewItemItemGitMatchingRefsWithRefItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitMatchingRefsWithRefItemRequestBuilder
NewItemItemGitMatchingRefsWithRefItemRequestBuilderInternal instantiates a new ItemItemGitMatchingRefsWithRefItemRequestBuilder and sets the default values.
func (*ItemItemGitMatchingRefsWithRefItemRequestBuilder) Get ¶
func (m *ItemItemGitMatchingRefsWithRefItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.GitRefable, error)
Get returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/<branch name>` for branches and `tags/<tag name>` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.When you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.> [!NOTE]> You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)".If you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`. returns a []GitRefable when successful returns a BasicError error when the service returns a 409 status code API method documentation
func (*ItemItemGitMatchingRefsWithRefItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemGitMatchingRefsWithRefItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation returns an array of references from your Git database that match the supplied name. The `:ref` in the URL must be formatted as `heads/<branch name>` for branches and `tags/<tag name>` for tags. If the `:ref` doesn't exist in the repository, but existing refs start with `:ref`, they will be returned as an array.When you use this endpoint without providing a `:ref`, it will return an array of all the references from your Git database, including notes and stashes if they exist on the server. Anything in the namespace is returned, not just `heads` and `tags`.> [!NOTE]> You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)".If you request matching references for a branch named `feature` but the branch `feature` doesn't exist, the response can still include other matching head refs that start with the word `feature`, such as `featureA` and `featureB`. returns a *RequestInformation when successful
func (*ItemItemGitMatchingRefsWithRefItemRequestBuilder) WithUrl ¶
func (m *ItemItemGitMatchingRefsWithRefItemRequestBuilder) WithUrl(rawUrl string) *ItemItemGitMatchingRefsWithRefItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemGitMatchingRefsWithRefItemRequestBuilder when successful
type ItemItemGitRefRequestBuilder ¶
type ItemItemGitRefRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemGitRefRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\git\ref
func NewItemItemGitRefRequestBuilder ¶
func NewItemItemGitRefRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitRefRequestBuilder
NewItemItemGitRefRequestBuilder instantiates a new ItemItemGitRefRequestBuilder and sets the default values.
func NewItemItemGitRefRequestBuilderInternal ¶
func NewItemItemGitRefRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitRefRequestBuilder
NewItemItemGitRefRequestBuilderInternal instantiates a new ItemItemGitRefRequestBuilder and sets the default values.
func (*ItemItemGitRefRequestBuilder) ByRef ¶
func (m *ItemItemGitRefRequestBuilder) ByRef(ref string) *ItemItemGitRefWithRefItemRequestBuilder
ByRef gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.git.ref.item collection returns a *ItemItemGitRefWithRefItemRequestBuilder when successful
type ItemItemGitRefWithRefItemRequestBuilder ¶
type ItemItemGitRefWithRefItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemGitRefWithRefItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\git\ref\{ref}
func NewItemItemGitRefWithRefItemRequestBuilder ¶
func NewItemItemGitRefWithRefItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitRefWithRefItemRequestBuilder
NewItemItemGitRefWithRefItemRequestBuilder instantiates a new ItemItemGitRefWithRefItemRequestBuilder and sets the default values.
func NewItemItemGitRefWithRefItemRequestBuilderInternal ¶
func NewItemItemGitRefWithRefItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitRefWithRefItemRequestBuilder
NewItemItemGitRefWithRefItemRequestBuilderInternal instantiates a new ItemItemGitRefWithRefItemRequestBuilder and sets the default values.
func (*ItemItemGitRefWithRefItemRequestBuilder) Get ¶
func (m *ItemItemGitRefWithRefItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.GitRefable, error)
Get returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/<branch name>` for branches and `tags/<tag name>` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.> [!NOTE]> You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". returns a GitRefable when successful 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 (*ItemItemGitRefWithRefItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemGitRefWithRefItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation returns a single reference from your Git database. The `:ref` in the URL must be formatted as `heads/<branch name>` for branches and `tags/<tag name>` for tags. If the `:ref` doesn't match an existing ref, a `404` is returned.> [!NOTE]> You need to explicitly [request a pull request](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#get-a-pull-request) to trigger a test merge commit, which checks the mergeability of pull requests. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)". returns a *RequestInformation when successful
func (*ItemItemGitRefWithRefItemRequestBuilder) WithUrl ¶
func (m *ItemItemGitRefWithRefItemRequestBuilder) WithUrl(rawUrl string) *ItemItemGitRefWithRefItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemGitRefWithRefItemRequestBuilder when successful
type ItemItemGitRefsItemWithRefPatchRequestBody ¶
type ItemItemGitRefsItemWithRefPatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemGitRefsItemWithRefPatchRequestBody ¶
func NewItemItemGitRefsItemWithRefPatchRequestBody() *ItemItemGitRefsItemWithRefPatchRequestBody
NewItemItemGitRefsItemWithRefPatchRequestBody instantiates a new ItemItemGitRefsItemWithRefPatchRequestBody and sets the default values.
func (*ItemItemGitRefsItemWithRefPatchRequestBody) GetAdditionalData ¶
func (m *ItemItemGitRefsItemWithRefPatchRequestBody) 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 (*ItemItemGitRefsItemWithRefPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemItemGitRefsItemWithRefPatchRequestBody) 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 (*ItemItemGitRefsItemWithRefPatchRequestBody) GetForce ¶
func (m *ItemItemGitRefsItemWithRefPatchRequestBody) GetForce() *bool
GetForce gets the force property value. Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to `false` will make sure you're not overwriting work. returns a *bool when successful
func (*ItemItemGitRefsItemWithRefPatchRequestBody) GetSha ¶
func (m *ItemItemGitRefsItemWithRefPatchRequestBody) GetSha() *string
GetSha gets the sha property value. The SHA1 value to set this reference to returns a *string when successful
func (*ItemItemGitRefsItemWithRefPatchRequestBody) Serialize ¶
func (m *ItemItemGitRefsItemWithRefPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemGitRefsItemWithRefPatchRequestBody) SetAdditionalData ¶
func (m *ItemItemGitRefsItemWithRefPatchRequestBody) 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 (*ItemItemGitRefsItemWithRefPatchRequestBody) SetForce ¶
func (m *ItemItemGitRefsItemWithRefPatchRequestBody) SetForce(value *bool)
SetForce sets the force property value. Indicates whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to `false` will make sure you're not overwriting work.
func (*ItemItemGitRefsItemWithRefPatchRequestBody) SetSha ¶
func (m *ItemItemGitRefsItemWithRefPatchRequestBody) SetSha(value *string)
SetSha sets the sha property value. The SHA1 value to set this reference to
type ItemItemGitRefsItemWithRefPatchRequestBodyable ¶
type ItemItemGitRefsItemWithRefPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetForce() *bool GetSha() *string SetForce(value *bool) SetSha(value *string) }
type ItemItemGitRefsPostRequestBody ¶
type ItemItemGitRefsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemGitRefsPostRequestBody ¶
func NewItemItemGitRefsPostRequestBody() *ItemItemGitRefsPostRequestBody
NewItemItemGitRefsPostRequestBody instantiates a new ItemItemGitRefsPostRequestBody and sets the default values.
func (*ItemItemGitRefsPostRequestBody) GetAdditionalData ¶
func (m *ItemItemGitRefsPostRequestBody) 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 (*ItemItemGitRefsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemGitRefsPostRequestBody) 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 (*ItemItemGitRefsPostRequestBody) GetRef ¶
func (m *ItemItemGitRefsPostRequestBody) GetRef() *string
GetRef gets the ref property value. The name of the fully qualified reference (ie: `refs/heads/master`). If it doesn't start with 'refs' and have at least two slashes, it will be rejected. returns a *string when successful
func (*ItemItemGitRefsPostRequestBody) GetSha ¶
func (m *ItemItemGitRefsPostRequestBody) GetSha() *string
GetSha gets the sha property value. The SHA1 value for this reference. returns a *string when successful
func (*ItemItemGitRefsPostRequestBody) Serialize ¶
func (m *ItemItemGitRefsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemGitRefsPostRequestBody) SetAdditionalData ¶
func (m *ItemItemGitRefsPostRequestBody) 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 (*ItemItemGitRefsPostRequestBody) SetRef ¶
func (m *ItemItemGitRefsPostRequestBody) SetRef(value *string)
SetRef sets the ref property value. The name of the fully qualified reference (ie: `refs/heads/master`). If it doesn't start with 'refs' and have at least two slashes, it will be rejected.
func (*ItemItemGitRefsPostRequestBody) SetSha ¶
func (m *ItemItemGitRefsPostRequestBody) SetSha(value *string)
SetSha sets the sha property value. The SHA1 value for this reference.
type ItemItemGitRefsPostRequestBodyable ¶
type ItemItemGitRefsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetRef() *string GetSha() *string SetRef(value *string) SetSha(value *string) }
type ItemItemGitRefsRequestBuilder ¶
type ItemItemGitRefsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemGitRefsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\git\refs
func NewItemItemGitRefsRequestBuilder ¶
func NewItemItemGitRefsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitRefsRequestBuilder
NewItemItemGitRefsRequestBuilder instantiates a new ItemItemGitRefsRequestBuilder and sets the default values.
func NewItemItemGitRefsRequestBuilderInternal ¶
func NewItemItemGitRefsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitRefsRequestBuilder
NewItemItemGitRefsRequestBuilderInternal instantiates a new ItemItemGitRefsRequestBuilder and sets the default values.
func (*ItemItemGitRefsRequestBuilder) ByRef ¶
func (m *ItemItemGitRefsRequestBuilder) ByRef(ref string) *ItemItemGitRefsWithRefItemRequestBuilder
ByRef gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.git.refs.item collection returns a *ItemItemGitRefsWithRefItemRequestBuilder when successful
func (*ItemItemGitRefsRequestBuilder) Post ¶
func (m *ItemItemGitRefsRequestBuilder) Post(ctx context.Context, body ItemItemGitRefsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.GitRefable, error)
Post creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches. returns a GitRefable when successful returns a BasicError error when the service returns a 409 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemGitRefsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemGitRefsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemGitRefsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation creates a reference for your repository. You are unable to create new references for empty repositories, even if the commit SHA-1 hash used exists. Empty repositories are repositories without branches. returns a *RequestInformation when successful
func (*ItemItemGitRefsRequestBuilder) WithUrl ¶
func (m *ItemItemGitRefsRequestBuilder) WithUrl(rawUrl string) *ItemItemGitRefsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemGitRefsRequestBuilder when successful
type ItemItemGitRefsWithRefItemRequestBuilder ¶
type ItemItemGitRefsWithRefItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemGitRefsWithRefItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\git\refs\{ref}
func NewItemItemGitRefsWithRefItemRequestBuilder ¶
func NewItemItemGitRefsWithRefItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitRefsWithRefItemRequestBuilder
NewItemItemGitRefsWithRefItemRequestBuilder instantiates a new ItemItemGitRefsWithRefItemRequestBuilder and sets the default values.
func NewItemItemGitRefsWithRefItemRequestBuilderInternal ¶
func NewItemItemGitRefsWithRefItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitRefsWithRefItemRequestBuilder
NewItemItemGitRefsWithRefItemRequestBuilderInternal instantiates a new ItemItemGitRefsWithRefItemRequestBuilder and sets the default values.
func (*ItemItemGitRefsWithRefItemRequestBuilder) Delete ¶
func (m *ItemItemGitRefsWithRefItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete deletes the provided reference. returns a BasicError error when the service returns a 409 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemGitRefsWithRefItemRequestBuilder) Patch ¶
func (m *ItemItemGitRefsWithRefItemRequestBuilder) Patch(ctx context.Context, body ItemItemGitRefsItemWithRefPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.GitRefable, error)
Patch updates the provided reference to point to a new SHA. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. returns a GitRefable when successful returns a BasicError error when the service returns a 409 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemGitRefsWithRefItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemGitRefsWithRefItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes the provided reference. returns a *RequestInformation when successful
func (*ItemItemGitRefsWithRefItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemGitRefsWithRefItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemGitRefsItemWithRefPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation updates the provided reference to point to a new SHA. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. returns a *RequestInformation when successful
func (*ItemItemGitRefsWithRefItemRequestBuilder) WithUrl ¶
func (m *ItemItemGitRefsWithRefItemRequestBuilder) WithUrl(rawUrl string) *ItemItemGitRefsWithRefItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemGitRefsWithRefItemRequestBuilder when successful
type ItemItemGitRequestBuilder ¶
type ItemItemGitRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemGitRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\git
func NewItemItemGitRequestBuilder ¶
func NewItemItemGitRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitRequestBuilder
NewItemItemGitRequestBuilder instantiates a new ItemItemGitRequestBuilder and sets the default values.
func NewItemItemGitRequestBuilderInternal ¶
func NewItemItemGitRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitRequestBuilder
NewItemItemGitRequestBuilderInternal instantiates a new ItemItemGitRequestBuilder and sets the default values.
func (*ItemItemGitRequestBuilder) Blobs ¶
func (m *ItemItemGitRequestBuilder) Blobs() *ItemItemGitBlobsRequestBuilder
Blobs the blobs property returns a *ItemItemGitBlobsRequestBuilder when successful
func (*ItemItemGitRequestBuilder) Commits ¶
func (m *ItemItemGitRequestBuilder) Commits() *ItemItemGitCommitsRequestBuilder
Commits the commits property returns a *ItemItemGitCommitsRequestBuilder when successful
func (*ItemItemGitRequestBuilder) MatchingRefs ¶
func (m *ItemItemGitRequestBuilder) MatchingRefs() *ItemItemGitMatchingRefsRequestBuilder
MatchingRefs the matchingRefs property returns a *ItemItemGitMatchingRefsRequestBuilder when successful
func (*ItemItemGitRequestBuilder) Ref ¶
func (m *ItemItemGitRequestBuilder) Ref() *ItemItemGitRefRequestBuilder
Ref the ref property returns a *ItemItemGitRefRequestBuilder when successful
func (*ItemItemGitRequestBuilder) Refs ¶
func (m *ItemItemGitRequestBuilder) Refs() *ItemItemGitRefsRequestBuilder
Refs the refs property returns a *ItemItemGitRefsRequestBuilder when successful
func (*ItemItemGitRequestBuilder) Tags ¶
func (m *ItemItemGitRequestBuilder) Tags() *ItemItemGitTagsRequestBuilder
Tags the tags property returns a *ItemItemGitTagsRequestBuilder when successful
func (*ItemItemGitRequestBuilder) Trees ¶
func (m *ItemItemGitRequestBuilder) Trees() *ItemItemGitTreesRequestBuilder
Trees the trees property returns a *ItemItemGitTreesRequestBuilder when successful
type ItemItemGitTagsPostRequestBody ¶
type ItemItemGitTagsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemGitTagsPostRequestBody ¶
func NewItemItemGitTagsPostRequestBody() *ItemItemGitTagsPostRequestBody
NewItemItemGitTagsPostRequestBody instantiates a new ItemItemGitTagsPostRequestBody and sets the default values.
func (*ItemItemGitTagsPostRequestBody) GetAdditionalData ¶
func (m *ItemItemGitTagsPostRequestBody) 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 (*ItemItemGitTagsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemGitTagsPostRequestBody) 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 (*ItemItemGitTagsPostRequestBody) GetMessage ¶
func (m *ItemItemGitTagsPostRequestBody) GetMessage() *string
GetMessage gets the message property value. The tag message. returns a *string when successful
func (*ItemItemGitTagsPostRequestBody) GetObject ¶
func (m *ItemItemGitTagsPostRequestBody) GetObject() *string
GetObject gets the object property value. The SHA of the git object this is tagging. returns a *string when successful
func (*ItemItemGitTagsPostRequestBody) GetTag ¶
func (m *ItemItemGitTagsPostRequestBody) GetTag() *string
GetTag gets the tag property value. The tag's name. This is typically a version (e.g., "v0.0.1"). returns a *string when successful
func (*ItemItemGitTagsPostRequestBody) GetTagger ¶
func (m *ItemItemGitTagsPostRequestBody) GetTagger() ItemItemGitTagsPostRequestBody_taggerable
GetTagger gets the tagger property value. An object with information about the individual creating the tag. returns a ItemItemGitTagsPostRequestBody_taggerable when successful
func (*ItemItemGitTagsPostRequestBody) Serialize ¶
func (m *ItemItemGitTagsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemGitTagsPostRequestBody) SetAdditionalData ¶
func (m *ItemItemGitTagsPostRequestBody) 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 (*ItemItemGitTagsPostRequestBody) SetMessage ¶
func (m *ItemItemGitTagsPostRequestBody) SetMessage(value *string)
SetMessage sets the message property value. The tag message.
func (*ItemItemGitTagsPostRequestBody) SetObject ¶
func (m *ItemItemGitTagsPostRequestBody) SetObject(value *string)
SetObject sets the object property value. The SHA of the git object this is tagging.
func (*ItemItemGitTagsPostRequestBody) SetTag ¶
func (m *ItemItemGitTagsPostRequestBody) SetTag(value *string)
SetTag sets the tag property value. The tag's name. This is typically a version (e.g., "v0.0.1").
func (*ItemItemGitTagsPostRequestBody) SetTagger ¶
func (m *ItemItemGitTagsPostRequestBody) SetTagger(value ItemItemGitTagsPostRequestBody_taggerable)
SetTagger sets the tagger property value. An object with information about the individual creating the tag.
type ItemItemGitTagsPostRequestBody_tagger ¶
type ItemItemGitTagsPostRequestBody_tagger struct {
// contains filtered or unexported fields
}
ItemItemGitTagsPostRequestBody_tagger an object with information about the individual creating the tag.
func NewItemItemGitTagsPostRequestBody_tagger ¶
func NewItemItemGitTagsPostRequestBody_tagger() *ItemItemGitTagsPostRequestBody_tagger
NewItemItemGitTagsPostRequestBody_tagger instantiates a new ItemItemGitTagsPostRequestBody_tagger and sets the default values.
func (*ItemItemGitTagsPostRequestBody_tagger) GetAdditionalData ¶
func (m *ItemItemGitTagsPostRequestBody_tagger) 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 (*ItemItemGitTagsPostRequestBody_tagger) GetDate ¶
func (m *ItemItemGitTagsPostRequestBody_tagger) GetDate() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
GetDate gets the date property value. When this object was tagged. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. returns a *Time when successful
func (*ItemItemGitTagsPostRequestBody_tagger) GetEmail ¶
func (m *ItemItemGitTagsPostRequestBody_tagger) GetEmail() *string
GetEmail gets the email property value. The email of the author of the tag returns a *string when successful
func (*ItemItemGitTagsPostRequestBody_tagger) GetFieldDeserializers ¶
func (m *ItemItemGitTagsPostRequestBody_tagger) 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 (*ItemItemGitTagsPostRequestBody_tagger) GetName ¶
func (m *ItemItemGitTagsPostRequestBody_tagger) GetName() *string
GetName gets the name property value. The name of the author of the tag returns a *string when successful
func (*ItemItemGitTagsPostRequestBody_tagger) Serialize ¶
func (m *ItemItemGitTagsPostRequestBody_tagger) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemGitTagsPostRequestBody_tagger) SetAdditionalData ¶
func (m *ItemItemGitTagsPostRequestBody_tagger) 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 (*ItemItemGitTagsPostRequestBody_tagger) SetDate ¶
func (m *ItemItemGitTagsPostRequestBody_tagger) SetDate(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
SetDate sets the date property value. When this object was tagged. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
func (*ItemItemGitTagsPostRequestBody_tagger) SetEmail ¶
func (m *ItemItemGitTagsPostRequestBody_tagger) SetEmail(value *string)
SetEmail sets the email property value. The email of the author of the tag
func (*ItemItemGitTagsPostRequestBody_tagger) SetName ¶
func (m *ItemItemGitTagsPostRequestBody_tagger) SetName(value *string)
SetName sets the name property value. The name of the author of the tag
type ItemItemGitTagsPostRequestBody_taggerable ¶
type ItemItemGitTagsPostRequestBody_taggerable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetDate() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time GetEmail() *string GetName() *string SetDate(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) SetEmail(value *string) SetName(value *string) }
type ItemItemGitTagsPostRequestBodyable ¶
type ItemItemGitTagsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetMessage() *string GetObject() *string GetTag() *string GetTagger() ItemItemGitTagsPostRequestBody_taggerable SetMessage(value *string) SetObject(value *string) SetTag(value *string) SetTagger(value ItemItemGitTagsPostRequestBody_taggerable) }
type ItemItemGitTagsRequestBuilder ¶
type ItemItemGitTagsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemGitTagsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\git\tags
func NewItemItemGitTagsRequestBuilder ¶
func NewItemItemGitTagsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitTagsRequestBuilder
NewItemItemGitTagsRequestBuilder instantiates a new ItemItemGitTagsRequestBuilder and sets the default values.
func NewItemItemGitTagsRequestBuilderInternal ¶
func NewItemItemGitTagsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitTagsRequestBuilder
NewItemItemGitTagsRequestBuilderInternal instantiates a new ItemItemGitTagsRequestBuilder and sets the default values.
func (*ItemItemGitTagsRequestBuilder) ByTag_sha ¶
func (m *ItemItemGitTagsRequestBuilder) ByTag_sha(tag_sha string) *ItemItemGitTagsWithTag_shaItemRequestBuilder
ByTag_sha gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.git.tags.item collection returns a *ItemItemGitTagsWithTag_shaItemRequestBuilder when successful
func (*ItemItemGitTagsRequestBuilder) Post ¶
func (m *ItemItemGitTagsRequestBuilder) Post(ctx context.Context, body ItemItemGitTagsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.GitTagable, error)
Post note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@3.10/rest/git/refs#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@3.10/rest/git/refs#create-a-reference) the tag reference - this call would be unnecessary.**Signature verification object**The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:| Name | Type | Description || ---- | ---- | ----------- || `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. || `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. || `signature` | `string` | The signature that was extracted from the commit. || `payload` | `string` | The value that was signed. |These are the possible values for `reason` in the `verification` object:| Value | Description || ----- | ----------- || `expired_key` | The key that made the signature is expired. || `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. || `gpgverify_error` | There was an error communicating with the signature verification service. || `gpgverify_unavailable` | The signature verification service is currently unavailable. || `unsigned` | The object does not include a signature. || `unknown_signature_type` | A non-PGP signature was found in the commit. || `no_user` | No user was associated with the `committer` email address in the commit. || `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. || `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. || `unknown_key` | The key that made the signature has not been registered with any user's account. || `malformed_signature` | There was an error parsing the signature. || `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. || `valid` | None of the above errors applied, so the signature is considered to be verified. | returns a GitTagable when successful returns a BasicError error when the service returns a 409 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemGitTagsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemGitTagsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemGitTagsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation note that creating a tag object does not create the reference that makes a tag in Git. If you want to create an annotated tag in Git, you have to do this call to create the tag object, and then [create](https://docs.github.com/enterprise-server@3.10/rest/git/refs#create-a-reference) the `refs/tags/[tag]` reference. If you want to create a lightweight tag, you only have to [create](https://docs.github.com/enterprise-server@3.10/rest/git/refs#create-a-reference) the tag reference - this call would be unnecessary.**Signature verification object**The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:| Name | Type | Description || ---- | ---- | ----------- || `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. || `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. || `signature` | `string` | The signature that was extracted from the commit. || `payload` | `string` | The value that was signed. |These are the possible values for `reason` in the `verification` object:| Value | Description || ----- | ----------- || `expired_key` | The key that made the signature is expired. || `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. || `gpgverify_error` | There was an error communicating with the signature verification service. || `gpgverify_unavailable` | The signature verification service is currently unavailable. || `unsigned` | The object does not include a signature. || `unknown_signature_type` | A non-PGP signature was found in the commit. || `no_user` | No user was associated with the `committer` email address in the commit. || `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. || `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. || `unknown_key` | The key that made the signature has not been registered with any user's account. || `malformed_signature` | There was an error parsing the signature. || `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. || `valid` | None of the above errors applied, so the signature is considered to be verified. | returns a *RequestInformation when successful
func (*ItemItemGitTagsRequestBuilder) WithUrl ¶
func (m *ItemItemGitTagsRequestBuilder) WithUrl(rawUrl string) *ItemItemGitTagsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemGitTagsRequestBuilder when successful
type ItemItemGitTagsWithTag_shaItemRequestBuilder ¶
type ItemItemGitTagsWithTag_shaItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemGitTagsWithTag_shaItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\git\tags\{tag_sha}
func NewItemItemGitTagsWithTag_shaItemRequestBuilder ¶
func NewItemItemGitTagsWithTag_shaItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitTagsWithTag_shaItemRequestBuilder
NewItemItemGitTagsWithTag_shaItemRequestBuilder instantiates a new ItemItemGitTagsWithTag_shaItemRequestBuilder and sets the default values.
func NewItemItemGitTagsWithTag_shaItemRequestBuilderInternal ¶
func NewItemItemGitTagsWithTag_shaItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitTagsWithTag_shaItemRequestBuilder
NewItemItemGitTagsWithTag_shaItemRequestBuilderInternal instantiates a new ItemItemGitTagsWithTag_shaItemRequestBuilder and sets the default values.
func (*ItemItemGitTagsWithTag_shaItemRequestBuilder) Get ¶
func (m *ItemItemGitTagsWithTag_shaItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.GitTagable, error)
Get **Signature verification object**The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:| Name | Type | Description || ---- | ---- | ----------- || `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. || `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. || `signature` | `string` | The signature that was extracted from the commit. || `payload` | `string` | The value that was signed. |These are the possible values for `reason` in the `verification` object:| Value | Description || ----- | ----------- || `expired_key` | The key that made the signature is expired. || `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. || `gpgverify_error` | There was an error communicating with the signature verification service. || `gpgverify_unavailable` | The signature verification service is currently unavailable. || `unsigned` | The object does not include a signature. || `unknown_signature_type` | A non-PGP signature was found in the commit. || `no_user` | No user was associated with the `committer` email address in the commit. || `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. || `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. || `unknown_key` | The key that made the signature has not been registered with any user's account. || `malformed_signature` | There was an error parsing the signature. || `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. || `valid` | None of the above errors applied, so the signature is considered to be verified. | returns a GitTagable when successful 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 (*ItemItemGitTagsWithTag_shaItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemGitTagsWithTag_shaItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation **Signature verification object**The response will include a `verification` object that describes the result of verifying the commit's signature. The following fields are included in the `verification` object:| Name | Type | Description || ---- | ---- | ----------- || `verified` | `boolean` | Indicates whether GitHub considers the signature in this commit to be verified. || `reason` | `string` | The reason for verified value. Possible values and their meanings are enumerated in table below. || `signature` | `string` | The signature that was extracted from the commit. || `payload` | `string` | The value that was signed. |These are the possible values for `reason` in the `verification` object:| Value | Description || ----- | ----------- || `expired_key` | The key that made the signature is expired. || `not_signing_key` | The "signing" flag is not among the usage flags in the GPG key that made the signature. || `gpgverify_error` | There was an error communicating with the signature verification service. || `gpgverify_unavailable` | The signature verification service is currently unavailable. || `unsigned` | The object does not include a signature. || `unknown_signature_type` | A non-PGP signature was found in the commit. || `no_user` | No user was associated with the `committer` email address in the commit. || `unverified_email` | The `committer` email address in the commit was associated with a user, but the email address is not verified on their account. || `bad_email` | The `committer` email address in the commit is not included in the identities of the PGP key that made the signature. || `unknown_key` | The key that made the signature has not been registered with any user's account. || `malformed_signature` | There was an error parsing the signature. || `invalid` | The signature could not be cryptographically verified using the key whose key-id was found in the signature. || `valid` | None of the above errors applied, so the signature is considered to be verified. | returns a *RequestInformation when successful
func (*ItemItemGitTagsWithTag_shaItemRequestBuilder) WithUrl ¶
func (m *ItemItemGitTagsWithTag_shaItemRequestBuilder) WithUrl(rawUrl string) *ItemItemGitTagsWithTag_shaItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemGitTagsWithTag_shaItemRequestBuilder when successful
type ItemItemGitTreesPostRequestBody ¶
type ItemItemGitTreesPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemGitTreesPostRequestBody ¶
func NewItemItemGitTreesPostRequestBody() *ItemItemGitTreesPostRequestBody
NewItemItemGitTreesPostRequestBody instantiates a new ItemItemGitTreesPostRequestBody and sets the default values.
func (*ItemItemGitTreesPostRequestBody) GetAdditionalData ¶
func (m *ItemItemGitTreesPostRequestBody) 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 (*ItemItemGitTreesPostRequestBody) GetBaseTree ¶
func (m *ItemItemGitTreesPostRequestBody) GetBaseTree() *string
GetBaseTree gets the base_tree property value. The SHA1 of an existing Git tree object which will be used as the base for the new tree. If provided, a new Git tree object will be created from entries in the Git tree object pointed to by `base_tree` and entries defined in the `tree` parameter. Entries defined in the `tree` parameter will overwrite items from `base_tree` with the same `path`. If you're creating new changes on a branch, then normally you'd set `base_tree` to the SHA1 of the Git tree object of the current latest commit on the branch you're working on.If not provided, GitHub will create a new Git tree object from only the entries defined in the `tree` parameter. If you create a new commit pointing to such a tree, then all files which were a part of the parent commit's tree and were not defined in the `tree` parameter will be listed as deleted by the new commit. returns a *string when successful
func (*ItemItemGitTreesPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemGitTreesPostRequestBody) 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 (*ItemItemGitTreesPostRequestBody) GetTree ¶
func (m *ItemItemGitTreesPostRequestBody) GetTree() []ItemItemGitTreesPostRequestBody_treeable
GetTree gets the tree property value. Objects (of `path`, `mode`, `type`, and `sha`) specifying a tree structure. returns a []ItemItemGitTreesPostRequestBody_treeable when successful
func (*ItemItemGitTreesPostRequestBody) Serialize ¶
func (m *ItemItemGitTreesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemGitTreesPostRequestBody) SetAdditionalData ¶
func (m *ItemItemGitTreesPostRequestBody) 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 (*ItemItemGitTreesPostRequestBody) SetBaseTree ¶
func (m *ItemItemGitTreesPostRequestBody) SetBaseTree(value *string)
SetBaseTree sets the base_tree property value. The SHA1 of an existing Git tree object which will be used as the base for the new tree. If provided, a new Git tree object will be created from entries in the Git tree object pointed to by `base_tree` and entries defined in the `tree` parameter. Entries defined in the `tree` parameter will overwrite items from `base_tree` with the same `path`. If you're creating new changes on a branch, then normally you'd set `base_tree` to the SHA1 of the Git tree object of the current latest commit on the branch you're working on.If not provided, GitHub will create a new Git tree object from only the entries defined in the `tree` parameter. If you create a new commit pointing to such a tree, then all files which were a part of the parent commit's tree and were not defined in the `tree` parameter will be listed as deleted by the new commit.
func (*ItemItemGitTreesPostRequestBody) SetTree ¶
func (m *ItemItemGitTreesPostRequestBody) SetTree(value []ItemItemGitTreesPostRequestBody_treeable)
SetTree sets the tree property value. Objects (of `path`, `mode`, `type`, and `sha`) specifying a tree structure.
type ItemItemGitTreesPostRequestBody_tree ¶
type ItemItemGitTreesPostRequestBody_tree struct {
// contains filtered or unexported fields
}
func NewItemItemGitTreesPostRequestBody_tree ¶
func NewItemItemGitTreesPostRequestBody_tree() *ItemItemGitTreesPostRequestBody_tree
NewItemItemGitTreesPostRequestBody_tree instantiates a new ItemItemGitTreesPostRequestBody_tree and sets the default values.
func (*ItemItemGitTreesPostRequestBody_tree) GetAdditionalData ¶
func (m *ItemItemGitTreesPostRequestBody_tree) 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 (*ItemItemGitTreesPostRequestBody_tree) GetContent ¶
func (m *ItemItemGitTreesPostRequestBody_tree) GetContent() *string
GetContent gets the content property value. The content you want this file to have. GitHub will write this blob out and use that SHA for this entry. Use either this, or `tree.sha`. **Note:** Use either `tree.sha` or `content` to specify the contents of the entry. Using both `tree.sha` and `content` will return an error. returns a *string when successful
func (*ItemItemGitTreesPostRequestBody_tree) GetFieldDeserializers ¶
func (m *ItemItemGitTreesPostRequestBody_tree) 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 (*ItemItemGitTreesPostRequestBody_tree) GetPath ¶
func (m *ItemItemGitTreesPostRequestBody_tree) GetPath() *string
GetPath gets the path property value. The file referenced in the tree. returns a *string when successful
func (*ItemItemGitTreesPostRequestBody_tree) GetSha ¶
func (m *ItemItemGitTreesPostRequestBody_tree) GetSha() *string
GetSha gets the sha property value. The SHA1 checksum ID of the object in the tree. Also called `tree.sha`. If the value is `null` then the file will be deleted. **Note:** Use either `tree.sha` or `content` to specify the contents of the entry. Using both `tree.sha` and `content` will return an error. returns a *string when successful
func (*ItemItemGitTreesPostRequestBody_tree) Serialize ¶
func (m *ItemItemGitTreesPostRequestBody_tree) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemGitTreesPostRequestBody_tree) SetAdditionalData ¶
func (m *ItemItemGitTreesPostRequestBody_tree) 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 (*ItemItemGitTreesPostRequestBody_tree) SetContent ¶
func (m *ItemItemGitTreesPostRequestBody_tree) SetContent(value *string)
SetContent sets the content property value. The content you want this file to have. GitHub will write this blob out and use that SHA for this entry. Use either this, or `tree.sha`. **Note:** Use either `tree.sha` or `content` to specify the contents of the entry. Using both `tree.sha` and `content` will return an error.
func (*ItemItemGitTreesPostRequestBody_tree) SetPath ¶
func (m *ItemItemGitTreesPostRequestBody_tree) SetPath(value *string)
SetPath sets the path property value. The file referenced in the tree.
func (*ItemItemGitTreesPostRequestBody_tree) SetSha ¶
func (m *ItemItemGitTreesPostRequestBody_tree) SetSha(value *string)
SetSha sets the sha property value. The SHA1 checksum ID of the object in the tree. Also called `tree.sha`. If the value is `null` then the file will be deleted. **Note:** Use either `tree.sha` or `content` to specify the contents of the entry. Using both `tree.sha` and `content` will return an error.
type ItemItemGitTreesPostRequestBody_treeable ¶
type ItemItemGitTreesPostRequestBody_treeable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetContent() *string GetPath() *string GetSha() *string SetContent(value *string) SetPath(value *string) SetSha(value *string) }
type ItemItemGitTreesPostRequestBodyable ¶
type ItemItemGitTreesPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBaseTree() *string GetTree() []ItemItemGitTreesPostRequestBody_treeable SetBaseTree(value *string) SetTree(value []ItemItemGitTreesPostRequestBody_treeable) }
type ItemItemGitTreesRequestBuilder ¶
type ItemItemGitTreesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemGitTreesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\git\trees
func NewItemItemGitTreesRequestBuilder ¶
func NewItemItemGitTreesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitTreesRequestBuilder
NewItemItemGitTreesRequestBuilder instantiates a new ItemItemGitTreesRequestBuilder and sets the default values.
func NewItemItemGitTreesRequestBuilderInternal ¶
func NewItemItemGitTreesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitTreesRequestBuilder
NewItemItemGitTreesRequestBuilderInternal instantiates a new ItemItemGitTreesRequestBuilder and sets the default values.
func (*ItemItemGitTreesRequestBuilder) ByTree_sha ¶
func (m *ItemItemGitTreesRequestBuilder) ByTree_sha(tree_sha string) *ItemItemGitTreesWithTree_shaItemRequestBuilder
ByTree_sha gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.git.trees.item collection returns a *ItemItemGitTreesWithTree_shaItemRequestBuilder when successful
func (*ItemItemGitTreesRequestBuilder) Post ¶
func (m *ItemItemGitTreesRequestBuilder) Post(ctx context.Context, body ItemItemGitTreesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.GitTreeable, error)
Post the tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.If you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see "[Create a commit](https://docs.github.com/enterprise-server@3.10/rest/git/commits#create-a-commit)" and "[Update a reference](https://docs.github.com/enterprise-server@3.10/rest/git/refs#update-a-reference)."Returns an error if you try to delete a file that does not exist. returns a GitTreeable 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 BasicError error when the service returns a 409 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemGitTreesRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemGitTreesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemGitTreesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation the tree creation API accepts nested entries. If you specify both a tree and a nested path modifying that tree, this endpoint will overwrite the contents of the tree with the new path contents, and create a new tree structure.If you use this endpoint to add, delete, or modify the file contents in a tree, you will need to commit the tree and then update a branch to point to the commit. For more information see "[Create a commit](https://docs.github.com/enterprise-server@3.10/rest/git/commits#create-a-commit)" and "[Update a reference](https://docs.github.com/enterprise-server@3.10/rest/git/refs#update-a-reference)."Returns an error if you try to delete a file that does not exist. returns a *RequestInformation when successful
func (*ItemItemGitTreesRequestBuilder) WithUrl ¶
func (m *ItemItemGitTreesRequestBuilder) WithUrl(rawUrl string) *ItemItemGitTreesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemGitTreesRequestBuilder when successful
type ItemItemGitTreesWithTree_shaItemRequestBuilder ¶
type ItemItemGitTreesWithTree_shaItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemGitTreesWithTree_shaItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\git\trees\{tree_sha}
func NewItemItemGitTreesWithTree_shaItemRequestBuilder ¶
func NewItemItemGitTreesWithTree_shaItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitTreesWithTree_shaItemRequestBuilder
NewItemItemGitTreesWithTree_shaItemRequestBuilder instantiates a new ItemItemGitTreesWithTree_shaItemRequestBuilder and sets the default values.
func NewItemItemGitTreesWithTree_shaItemRequestBuilderInternal ¶
func NewItemItemGitTreesWithTree_shaItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemGitTreesWithTree_shaItemRequestBuilder
NewItemItemGitTreesWithTree_shaItemRequestBuilderInternal instantiates a new ItemItemGitTreesWithTree_shaItemRequestBuilder and sets the default values.
func (*ItemItemGitTreesWithTree_shaItemRequestBuilder) Get ¶
func (m *ItemItemGitTreesWithTree_shaItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemGitTreesWithTree_shaItemRequestBuilderGetQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.GitTreeable, error)
Get returns a single tree using the SHA1 value or ref name for that tree.If `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.> [!NOTE]> The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter. returns a GitTreeable when successful 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 ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemGitTreesWithTree_shaItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemGitTreesWithTree_shaItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemGitTreesWithTree_shaItemRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation returns a single tree using the SHA1 value or ref name for that tree.If `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.> [!NOTE]> The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter. returns a *RequestInformation when successful
func (*ItemItemGitTreesWithTree_shaItemRequestBuilder) WithUrl ¶
func (m *ItemItemGitTreesWithTree_shaItemRequestBuilder) WithUrl(rawUrl string) *ItemItemGitTreesWithTree_shaItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemGitTreesWithTree_shaItemRequestBuilder when successful
type ItemItemGitTreesWithTree_shaItemRequestBuilderGetQueryParameters ¶
type ItemItemGitTreesWithTree_shaItemRequestBuilderGetQueryParameters struct { // Setting this parameter to any value returns the objects or subtrees referenced by the tree specified in `:tree_sha`. For example, setting `recursive` to any of the following will enable returning objects or subtrees: `0`, `1`, `"true"`, and `"false"`. Omit this parameter to prevent recursively returning objects or subtrees. Recursive *string `uriparametername:"recursive"` }
ItemItemGitTreesWithTree_shaItemRequestBuilderGetQueryParameters returns a single tree using the SHA1 value or ref name for that tree.If `truncated` is `true` in the response then the number of items in the `tree` array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.> [!NOTE]> The limit for the `tree` array is 100,000 entries with a maximum size of 7 MB when using the `recursive` parameter.
type ItemItemHooksItemConfigPatchRequestBody ¶
type ItemItemHooksItemConfigPatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemHooksItemConfigPatchRequestBody ¶
func NewItemItemHooksItemConfigPatchRequestBody() *ItemItemHooksItemConfigPatchRequestBody
NewItemItemHooksItemConfigPatchRequestBody instantiates a new ItemItemHooksItemConfigPatchRequestBody and sets the default values.
func (*ItemItemHooksItemConfigPatchRequestBody) GetContentType ¶
func (m *ItemItemHooksItemConfigPatchRequestBody) GetContentType() *string
GetContentType gets the content_type property value. The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`. returns a *string when successful
func (*ItemItemHooksItemConfigPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemItemHooksItemConfigPatchRequestBody) 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 (*ItemItemHooksItemConfigPatchRequestBody) GetInsecureSsl ¶
func (m *ItemItemHooksItemConfigPatchRequestBody) GetInsecureSsl() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigInsecureSslable
GetInsecureSsl gets the insecure_ssl property value. The insecure_ssl property returns a WebhookConfigInsecureSslable when successful
func (*ItemItemHooksItemConfigPatchRequestBody) GetSecret ¶
func (m *ItemItemHooksItemConfigPatchRequestBody) GetSecret() *string
GetSecret gets the secret property value. If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-server@3.10/webhooks/event-payloads/#delivery-headers). returns a *string when successful
func (*ItemItemHooksItemConfigPatchRequestBody) GetUrl ¶
func (m *ItemItemHooksItemConfigPatchRequestBody) GetUrl() *string
GetUrl gets the url property value. The URL to which the payloads will be delivered. returns a *string when successful
func (*ItemItemHooksItemConfigPatchRequestBody) Serialize ¶
func (m *ItemItemHooksItemConfigPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemHooksItemConfigPatchRequestBody) SetContentType ¶
func (m *ItemItemHooksItemConfigPatchRequestBody) SetContentType(value *string)
SetContentType sets the content_type property value. The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.
func (*ItemItemHooksItemConfigPatchRequestBody) SetInsecureSsl ¶
func (m *ItemItemHooksItemConfigPatchRequestBody) SetInsecureSsl(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigInsecureSslable)
SetInsecureSsl sets the insecure_ssl property value. The insecure_ssl property
func (*ItemItemHooksItemConfigPatchRequestBody) SetSecret ¶
func (m *ItemItemHooksItemConfigPatchRequestBody) SetSecret(value *string)
SetSecret sets the secret property value. If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-server@3.10/webhooks/event-payloads/#delivery-headers).
func (*ItemItemHooksItemConfigPatchRequestBody) SetUrl ¶
func (m *ItemItemHooksItemConfigPatchRequestBody) SetUrl(value *string)
SetUrl sets the url property value. The URL to which the payloads will be delivered.
type ItemItemHooksItemConfigPatchRequestBodyable ¶
type ItemItemHooksItemConfigPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetContentType() *string GetInsecureSsl() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigInsecureSslable GetSecret() *string GetUrl() *string SetContentType(value *string) SetInsecureSsl(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigInsecureSslable) SetSecret(value *string) SetUrl(value *string) }
type ItemItemHooksItemConfigRequestBuilder ¶
type ItemItemHooksItemConfigRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemHooksItemConfigRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\hooks\{hook_id}\config
func NewItemItemHooksItemConfigRequestBuilder ¶
func NewItemItemHooksItemConfigRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemHooksItemConfigRequestBuilder
NewItemItemHooksItemConfigRequestBuilder instantiates a new ItemItemHooksItemConfigRequestBuilder and sets the default values.
func NewItemItemHooksItemConfigRequestBuilderInternal ¶
func NewItemItemHooksItemConfigRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemHooksItemConfigRequestBuilder
NewItemItemHooksItemConfigRequestBuilderInternal instantiates a new ItemItemHooksItemConfigRequestBuilder and sets the default values.
func (*ItemItemHooksItemConfigRequestBuilder) Get ¶
func (m *ItemItemHooksItemConfigRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigable, error)
Get returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use "[Get a repository webhook](/rest/webhooks/repos#get-a-repository-webhook)."OAuth app tokens and personal access tokens (classic) need the `read:repo_hook` or `repo` scope to use this endpoint. returns a WebhookConfigable when successful API method documentation
func (*ItemItemHooksItemConfigRequestBuilder) Patch ¶
func (m *ItemItemHooksItemConfigRequestBuilder) Patch(ctx context.Context, body ItemItemHooksItemConfigPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigable, error)
Patch updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use "[Update a repository webhook](/rest/webhooks/repos#update-a-repository-webhook)."OAuth app tokens and personal access tokens (classic) need the `write:repo_hook` or `repo` scope to use this endpoint. returns a WebhookConfigable when successful API method documentation
func (*ItemItemHooksItemConfigRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemHooksItemConfigRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation returns the webhook configuration for a repository. To get more information about the webhook, including the `active` state and `events`, use "[Get a repository webhook](/rest/webhooks/repos#get-a-repository-webhook)."OAuth app tokens and personal access tokens (classic) need the `read:repo_hook` or `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemHooksItemConfigRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemHooksItemConfigRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemHooksItemConfigPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation updates the webhook configuration for a repository. To update more information about the webhook, including the `active` state and `events`, use "[Update a repository webhook](/rest/webhooks/repos#update-a-repository-webhook)."OAuth app tokens and personal access tokens (classic) need the `write:repo_hook` or `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemHooksItemConfigRequestBuilder) WithUrl ¶
func (m *ItemItemHooksItemConfigRequestBuilder) WithUrl(rawUrl string) *ItemItemHooksItemConfigRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemHooksItemConfigRequestBuilder when successful
type ItemItemHooksItemDeliveriesItemAttemptsPostResponse ¶
type ItemItemHooksItemDeliveriesItemAttemptsPostResponse struct {
// contains filtered or unexported fields
}
func NewItemItemHooksItemDeliveriesItemAttemptsPostResponse ¶
func NewItemItemHooksItemDeliveriesItemAttemptsPostResponse() *ItemItemHooksItemDeliveriesItemAttemptsPostResponse
NewItemItemHooksItemDeliveriesItemAttemptsPostResponse instantiates a new ItemItemHooksItemDeliveriesItemAttemptsPostResponse and sets the default values.
func (*ItemItemHooksItemDeliveriesItemAttemptsPostResponse) GetAdditionalData ¶
func (m *ItemItemHooksItemDeliveriesItemAttemptsPostResponse) 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 (*ItemItemHooksItemDeliveriesItemAttemptsPostResponse) GetFieldDeserializers ¶
func (m *ItemItemHooksItemDeliveriesItemAttemptsPostResponse) 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 (*ItemItemHooksItemDeliveriesItemAttemptsPostResponse) Serialize ¶
func (m *ItemItemHooksItemDeliveriesItemAttemptsPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemHooksItemDeliveriesItemAttemptsPostResponse) SetAdditionalData ¶
func (m *ItemItemHooksItemDeliveriesItemAttemptsPostResponse) 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 ItemItemHooksItemDeliveriesItemAttemptsPostResponseable ¶
type ItemItemHooksItemDeliveriesItemAttemptsPostResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder ¶
type ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\hooks\{hook_id}\deliveries\{delivery_id}\attempts
func NewItemItemHooksItemDeliveriesItemAttemptsRequestBuilder ¶
func NewItemItemHooksItemDeliveriesItemAttemptsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder
NewItemItemHooksItemDeliveriesItemAttemptsRequestBuilder instantiates a new ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder and sets the default values.
func NewItemItemHooksItemDeliveriesItemAttemptsRequestBuilderInternal ¶
func NewItemItemHooksItemDeliveriesItemAttemptsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder
NewItemItemHooksItemDeliveriesItemAttemptsRequestBuilderInternal instantiates a new ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder and sets the default values.
func (*ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder) Post ¶
func (m *ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemItemHooksItemDeliveriesItemAttemptsPostResponseable, error)
Post redeliver a webhook delivery for a webhook configured in a repository. returns a ItemItemHooksItemDeliveriesItemAttemptsPostResponseable when successful returns a BasicError error when the service returns a 400 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation redeliver a webhook delivery for a webhook configured in a repository. returns a *RequestInformation when successful
func (*ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder) WithUrl ¶
func (m *ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder) WithUrl(rawUrl string) *ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder when successful
type ItemItemHooksItemDeliveriesRequestBuilder ¶
type ItemItemHooksItemDeliveriesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemHooksItemDeliveriesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\hooks\{hook_id}\deliveries
func NewItemItemHooksItemDeliveriesRequestBuilder ¶
func NewItemItemHooksItemDeliveriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemHooksItemDeliveriesRequestBuilder
NewItemItemHooksItemDeliveriesRequestBuilder instantiates a new ItemItemHooksItemDeliveriesRequestBuilder and sets the default values.
func NewItemItemHooksItemDeliveriesRequestBuilderInternal ¶
func NewItemItemHooksItemDeliveriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemHooksItemDeliveriesRequestBuilder
NewItemItemHooksItemDeliveriesRequestBuilderInternal instantiates a new ItemItemHooksItemDeliveriesRequestBuilder and sets the default values.
func (*ItemItemHooksItemDeliveriesRequestBuilder) ByDelivery_id ¶
func (m *ItemItemHooksItemDeliveriesRequestBuilder) ByDelivery_id(delivery_id int32) *ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder
ByDelivery_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.hooks.item.deliveries.item collection returns a *ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder when successful
func (*ItemItemHooksItemDeliveriesRequestBuilder) Get ¶
func (m *ItemItemHooksItemDeliveriesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemHooksItemDeliveriesRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.HookDeliveryItemable, error)
Get returns a list of webhook deliveries for a webhook configured in a repository. returns a []HookDeliveryItemable when successful returns a BasicError error when the service returns a 400 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemHooksItemDeliveriesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemHooksItemDeliveriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemHooksItemDeliveriesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation returns a list of webhook deliveries for a webhook configured in a repository. returns a *RequestInformation when successful
func (*ItemItemHooksItemDeliveriesRequestBuilder) WithUrl ¶
func (m *ItemItemHooksItemDeliveriesRequestBuilder) WithUrl(rawUrl string) *ItemItemHooksItemDeliveriesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemHooksItemDeliveriesRequestBuilder when successful
type ItemItemHooksItemDeliveriesRequestBuilderGetQueryParameters ¶
type ItemItemHooksItemDeliveriesRequestBuilderGetQueryParameters struct { // Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous page cursors. Cursor *string `uriparametername:"cursor"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` Redelivery *bool `uriparametername:"redelivery"` }
ItemItemHooksItemDeliveriesRequestBuilderGetQueryParameters returns a list of webhook deliveries for a webhook configured in a repository.
type ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder ¶
type ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\hooks\{hook_id}\deliveries\{delivery_id}
func NewItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder ¶
func NewItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder
NewItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder instantiates a new ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder and sets the default values.
func NewItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilderInternal ¶
func NewItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder
NewItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilderInternal instantiates a new ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder and sets the default values.
func (*ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) Attempts ¶
func (m *ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) Attempts() *ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder
Attempts the attempts property returns a *ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder when successful
func (*ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) Get ¶
func (m *ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.HookDeliveryable, error)
Get returns a delivery for a webhook configured in a repository. returns a HookDeliveryable when successful returns a BasicError error when the service returns a 400 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation returns a delivery for a webhook configured in a repository. returns a *RequestInformation when successful
func (*ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemHooksItemDeliveriesWithDelivery_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 *ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder when successful
type ItemItemHooksItemPingsRequestBuilder ¶
type ItemItemHooksItemPingsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemHooksItemPingsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\hooks\{hook_id}\pings
func NewItemItemHooksItemPingsRequestBuilder ¶
func NewItemItemHooksItemPingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemHooksItemPingsRequestBuilder
NewItemItemHooksItemPingsRequestBuilder instantiates a new ItemItemHooksItemPingsRequestBuilder and sets the default values.
func NewItemItemHooksItemPingsRequestBuilderInternal ¶
func NewItemItemHooksItemPingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemHooksItemPingsRequestBuilder
NewItemItemHooksItemPingsRequestBuilderInternal instantiates a new ItemItemHooksItemPingsRequestBuilder and sets the default values.
func (*ItemItemHooksItemPingsRequestBuilder) Post ¶
func (m *ItemItemHooksItemPingsRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Post this will trigger a [ping event](https://docs.github.com/enterprise-server@3.10/webhooks/#ping-event) to be sent to the hook. returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemHooksItemPingsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemHooksItemPingsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation this will trigger a [ping event](https://docs.github.com/enterprise-server@3.10/webhooks/#ping-event) to be sent to the hook. returns a *RequestInformation when successful
func (*ItemItemHooksItemPingsRequestBuilder) WithUrl ¶
func (m *ItemItemHooksItemPingsRequestBuilder) WithUrl(rawUrl string) *ItemItemHooksItemPingsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemHooksItemPingsRequestBuilder when successful
type ItemItemHooksItemTestsRequestBuilder ¶
type ItemItemHooksItemTestsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemHooksItemTestsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\hooks\{hook_id}\tests
func NewItemItemHooksItemTestsRequestBuilder ¶
func NewItemItemHooksItemTestsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemHooksItemTestsRequestBuilder
NewItemItemHooksItemTestsRequestBuilder instantiates a new ItemItemHooksItemTestsRequestBuilder and sets the default values.
func NewItemItemHooksItemTestsRequestBuilderInternal ¶
func NewItemItemHooksItemTestsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemHooksItemTestsRequestBuilder
NewItemItemHooksItemTestsRequestBuilderInternal instantiates a new ItemItemHooksItemTestsRequestBuilder and sets the default values.
func (*ItemItemHooksItemTestsRequestBuilder) Post ¶
func (m *ItemItemHooksItemTestsRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Post this will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.> [!NOTE]> Previously `/repos/:owner/:repo/hooks/:hook_id/test` returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemHooksItemTestsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemHooksItemTestsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation this will trigger the hook with the latest push to the current repository if the hook is subscribed to `push` events. If the hook is not subscribed to `push` events, the server will respond with 204 but no test POST will be generated.> [!NOTE]> Previously `/repos/:owner/:repo/hooks/:hook_id/test` returns a *RequestInformation when successful
func (*ItemItemHooksItemTestsRequestBuilder) WithUrl ¶
func (m *ItemItemHooksItemTestsRequestBuilder) WithUrl(rawUrl string) *ItemItemHooksItemTestsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemHooksItemTestsRequestBuilder when successful
type ItemItemHooksItemWithHook_PatchRequestBody ¶
type ItemItemHooksItemWithHook_PatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemHooksItemWithHook_PatchRequestBody ¶
func NewItemItemHooksItemWithHook_PatchRequestBody() *ItemItemHooksItemWithHook_PatchRequestBody
NewItemItemHooksItemWithHook_PatchRequestBody instantiates a new ItemItemHooksItemWithHook_PatchRequestBody and sets the default values.
func (*ItemItemHooksItemWithHook_PatchRequestBody) GetActive ¶
func (m *ItemItemHooksItemWithHook_PatchRequestBody) GetActive() *bool
GetActive gets the active property value. Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. returns a *bool when successful
func (*ItemItemHooksItemWithHook_PatchRequestBody) GetAddEvents ¶
func (m *ItemItemHooksItemWithHook_PatchRequestBody) GetAddEvents() []string
GetAddEvents gets the add_events property value. Determines a list of events to be added to the list of events that the Hook triggers for. returns a []string when successful
func (*ItemItemHooksItemWithHook_PatchRequestBody) GetAdditionalData ¶
func (m *ItemItemHooksItemWithHook_PatchRequestBody) 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 (*ItemItemHooksItemWithHook_PatchRequestBody) GetConfig ¶
func (m *ItemItemHooksItemWithHook_PatchRequestBody) GetConfig() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigable
GetConfig gets the config property value. Configuration object of the webhook returns a WebhookConfigable when successful
func (*ItemItemHooksItemWithHook_PatchRequestBody) GetEvents ¶
func (m *ItemItemHooksItemWithHook_PatchRequestBody) GetEvents() []string
GetEvents gets the events property value. Determines what [events](https://docs.github.com/enterprise-server@3.10/webhooks/event-payloads) the hook is triggered for. This replaces the entire array of events. returns a []string when successful
func (*ItemItemHooksItemWithHook_PatchRequestBody) GetFieldDeserializers ¶
func (m *ItemItemHooksItemWithHook_PatchRequestBody) 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 (*ItemItemHooksItemWithHook_PatchRequestBody) GetRemoveEvents ¶
func (m *ItemItemHooksItemWithHook_PatchRequestBody) GetRemoveEvents() []string
GetRemoveEvents gets the remove_events property value. Determines a list of events to be removed from the list of events that the Hook triggers for. returns a []string when successful
func (*ItemItemHooksItemWithHook_PatchRequestBody) Serialize ¶
func (m *ItemItemHooksItemWithHook_PatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemHooksItemWithHook_PatchRequestBody) SetActive ¶
func (m *ItemItemHooksItemWithHook_PatchRequestBody) SetActive(value *bool)
SetActive sets the active property value. Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.
func (*ItemItemHooksItemWithHook_PatchRequestBody) SetAddEvents ¶
func (m *ItemItemHooksItemWithHook_PatchRequestBody) SetAddEvents(value []string)
SetAddEvents sets the add_events property value. Determines a list of events to be added to the list of events that the Hook triggers for.
func (*ItemItemHooksItemWithHook_PatchRequestBody) SetAdditionalData ¶
func (m *ItemItemHooksItemWithHook_PatchRequestBody) 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 (*ItemItemHooksItemWithHook_PatchRequestBody) SetConfig ¶
func (m *ItemItemHooksItemWithHook_PatchRequestBody) SetConfig(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigable)
SetConfig sets the config property value. Configuration object of the webhook
func (*ItemItemHooksItemWithHook_PatchRequestBody) SetEvents ¶
func (m *ItemItemHooksItemWithHook_PatchRequestBody) SetEvents(value []string)
SetEvents sets the events property value. Determines what [events](https://docs.github.com/enterprise-server@3.10/webhooks/event-payloads) the hook is triggered for. This replaces the entire array of events.
func (*ItemItemHooksItemWithHook_PatchRequestBody) SetRemoveEvents ¶
func (m *ItemItemHooksItemWithHook_PatchRequestBody) SetRemoveEvents(value []string)
SetRemoveEvents sets the remove_events property value. Determines a list of events to be removed from the list of events that the Hook triggers for.
type ItemItemHooksItemWithHook_PatchRequestBodyable ¶
type ItemItemHooksItemWithHook_PatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetActive() *bool GetAddEvents() []string GetConfig() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigable GetEvents() []string GetRemoveEvents() []string SetActive(value *bool) SetAddEvents(value []string) SetConfig(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigable) SetEvents(value []string) SetRemoveEvents(value []string) }
type ItemItemHooksPostRequestBody ¶
type ItemItemHooksPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemHooksPostRequestBody ¶
func NewItemItemHooksPostRequestBody() *ItemItemHooksPostRequestBody
NewItemItemHooksPostRequestBody instantiates a new ItemItemHooksPostRequestBody and sets the default values.
func (*ItemItemHooksPostRequestBody) GetActive ¶
func (m *ItemItemHooksPostRequestBody) GetActive() *bool
GetActive gets the active property value. Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. returns a *bool when successful
func (*ItemItemHooksPostRequestBody) GetConfig ¶
func (m *ItemItemHooksPostRequestBody) GetConfig() ItemItemHooksPostRequestBody_configable
GetConfig gets the config property value. Key/value pairs to provide settings for this webhook. returns a ItemItemHooksPostRequestBody_configable when successful
func (*ItemItemHooksPostRequestBody) GetEvents ¶
func (m *ItemItemHooksPostRequestBody) GetEvents() []string
GetEvents gets the events property value. Determines what [events](https://docs.github.com/enterprise-server@3.10/webhooks/event-payloads) the hook is triggered for. returns a []string when successful
func (*ItemItemHooksPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemHooksPostRequestBody) 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 (*ItemItemHooksPostRequestBody) GetName ¶
func (m *ItemItemHooksPostRequestBody) GetName() *string
GetName gets the name property value. Use `web` to create a webhook. Default: `web`. This parameter only accepts the value `web`. returns a *string when successful
func (*ItemItemHooksPostRequestBody) Serialize ¶
func (m *ItemItemHooksPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemHooksPostRequestBody) SetActive ¶
func (m *ItemItemHooksPostRequestBody) SetActive(value *bool)
SetActive sets the active property value. Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.
func (*ItemItemHooksPostRequestBody) SetConfig ¶
func (m *ItemItemHooksPostRequestBody) SetConfig(value ItemItemHooksPostRequestBody_configable)
SetConfig sets the config property value. Key/value pairs to provide settings for this webhook.
func (*ItemItemHooksPostRequestBody) SetEvents ¶
func (m *ItemItemHooksPostRequestBody) SetEvents(value []string)
SetEvents sets the events property value. Determines what [events](https://docs.github.com/enterprise-server@3.10/webhooks/event-payloads) the hook is triggered for.
func (*ItemItemHooksPostRequestBody) SetName ¶
func (m *ItemItemHooksPostRequestBody) SetName(value *string)
SetName sets the name property value. Use `web` to create a webhook. Default: `web`. This parameter only accepts the value `web`.
type ItemItemHooksPostRequestBody_config ¶
type ItemItemHooksPostRequestBody_config struct {
// contains filtered or unexported fields
}
ItemItemHooksPostRequestBody_config key/value pairs to provide settings for this webhook.
func NewItemItemHooksPostRequestBody_config ¶
func NewItemItemHooksPostRequestBody_config() *ItemItemHooksPostRequestBody_config
NewItemItemHooksPostRequestBody_config instantiates a new ItemItemHooksPostRequestBody_config and sets the default values.
func (*ItemItemHooksPostRequestBody_config) GetAdditionalData ¶
func (m *ItemItemHooksPostRequestBody_config) 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 (*ItemItemHooksPostRequestBody_config) GetContentType ¶
func (m *ItemItemHooksPostRequestBody_config) GetContentType() *string
GetContentType gets the content_type property value. The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`. returns a *string when successful
func (*ItemItemHooksPostRequestBody_config) GetFieldDeserializers ¶
func (m *ItemItemHooksPostRequestBody_config) 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 (*ItemItemHooksPostRequestBody_config) GetInsecureSsl ¶
func (m *ItemItemHooksPostRequestBody_config) GetInsecureSsl() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigInsecureSslable
GetInsecureSsl gets the insecure_ssl property value. The insecure_ssl property returns a WebhookConfigInsecureSslable when successful
func (*ItemItemHooksPostRequestBody_config) GetSecret ¶
func (m *ItemItemHooksPostRequestBody_config) GetSecret() *string
GetSecret gets the secret property value. If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-server@3.10/webhooks/event-payloads/#delivery-headers). returns a *string when successful
func (*ItemItemHooksPostRequestBody_config) GetUrl ¶
func (m *ItemItemHooksPostRequestBody_config) GetUrl() *string
GetUrl gets the url property value. The URL to which the payloads will be delivered. returns a *string when successful
func (*ItemItemHooksPostRequestBody_config) Serialize ¶
func (m *ItemItemHooksPostRequestBody_config) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemHooksPostRequestBody_config) SetAdditionalData ¶
func (m *ItemItemHooksPostRequestBody_config) 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 (*ItemItemHooksPostRequestBody_config) SetContentType ¶
func (m *ItemItemHooksPostRequestBody_config) SetContentType(value *string)
SetContentType sets the content_type property value. The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.
func (*ItemItemHooksPostRequestBody_config) SetInsecureSsl ¶
func (m *ItemItemHooksPostRequestBody_config) SetInsecureSsl(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigInsecureSslable)
SetInsecureSsl sets the insecure_ssl property value. The insecure_ssl property
func (*ItemItemHooksPostRequestBody_config) SetSecret ¶
func (m *ItemItemHooksPostRequestBody_config) SetSecret(value *string)
SetSecret sets the secret property value. If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-server@3.10/webhooks/event-payloads/#delivery-headers).
func (*ItemItemHooksPostRequestBody_config) SetUrl ¶
func (m *ItemItemHooksPostRequestBody_config) SetUrl(value *string)
SetUrl sets the url property value. The URL to which the payloads will be delivered.
type ItemItemHooksPostRequestBody_configable ¶
type ItemItemHooksPostRequestBody_configable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetContentType() *string GetInsecureSsl() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigInsecureSslable GetSecret() *string GetUrl() *string SetContentType(value *string) SetInsecureSsl(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigInsecureSslable) SetSecret(value *string) SetUrl(value *string) }
type ItemItemHooksPostRequestBodyable ¶
type ItemItemHooksPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetActive() *bool GetConfig() ItemItemHooksPostRequestBody_configable GetEvents() []string GetName() *string SetActive(value *bool) SetConfig(value ItemItemHooksPostRequestBody_configable) SetEvents(value []string) SetName(value *string) }
type ItemItemHooksRequestBuilder ¶
type ItemItemHooksRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemHooksRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\hooks
func NewItemItemHooksRequestBuilder ¶
func NewItemItemHooksRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemHooksRequestBuilder
NewItemItemHooksRequestBuilder instantiates a new ItemItemHooksRequestBuilder and sets the default values.
func NewItemItemHooksRequestBuilderInternal ¶
func NewItemItemHooksRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemHooksRequestBuilder
NewItemItemHooksRequestBuilderInternal instantiates a new ItemItemHooksRequestBuilder and sets the default values.
func (*ItemItemHooksRequestBuilder) ByHook_id ¶
func (m *ItemItemHooksRequestBuilder) ByHook_id(hook_id int32) *ItemItemHooksWithHook_ItemRequestBuilder
ByHook_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.hooks.item collection returns a *ItemItemHooksWithHook_ItemRequestBuilder when successful
func (*ItemItemHooksRequestBuilder) Get ¶
func (m *ItemItemHooksRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemHooksRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Hookable, error)
Get lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days. returns a []Hookable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemHooksRequestBuilder) Post ¶
func (m *ItemItemHooksRequestBuilder) Post(ctx context.Context, body ItemItemHooksPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Hookable, error)
Post repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks canshare the same `config` as long as those webhooks do not have any `events` that overlap. returns a Hookable 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 (*ItemItemHooksRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemHooksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemHooksRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days. returns a *RequestInformation when successful
func (*ItemItemHooksRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemHooksRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemHooksPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation repositories can have multiple webhooks installed. Each webhook should have a unique `config`. Multiple webhooks canshare the same `config` as long as those webhooks do not have any `events` that overlap. returns a *RequestInformation when successful
func (*ItemItemHooksRequestBuilder) WithUrl ¶
func (m *ItemItemHooksRequestBuilder) WithUrl(rawUrl string) *ItemItemHooksRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemHooksRequestBuilder when successful
type ItemItemHooksRequestBuilderGetQueryParameters ¶
type ItemItemHooksRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemHooksRequestBuilderGetQueryParameters lists webhooks for a repository. `last response` may return null if there have not been any deliveries within 30 days.
type ItemItemHooksWithHook_ItemRequestBuilder ¶
type ItemItemHooksWithHook_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemHooksWithHook_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\hooks\{hook_id}
func NewItemItemHooksWithHook_ItemRequestBuilder ¶
func NewItemItemHooksWithHook_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemHooksWithHook_ItemRequestBuilder
NewItemItemHooksWithHook_ItemRequestBuilder instantiates a new ItemItemHooksWithHook_ItemRequestBuilder and sets the default values.
func NewItemItemHooksWithHook_ItemRequestBuilderInternal ¶
func NewItemItemHooksWithHook_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemHooksWithHook_ItemRequestBuilder
NewItemItemHooksWithHook_ItemRequestBuilderInternal instantiates a new ItemItemHooksWithHook_ItemRequestBuilder and sets the default values.
func (*ItemItemHooksWithHook_ItemRequestBuilder) Config ¶
func (m *ItemItemHooksWithHook_ItemRequestBuilder) Config() *ItemItemHooksItemConfigRequestBuilder
Config the config property returns a *ItemItemHooksItemConfigRequestBuilder when successful
func (*ItemItemHooksWithHook_ItemRequestBuilder) Delete ¶
func (m *ItemItemHooksWithHook_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete delete a repository webhook returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemHooksWithHook_ItemRequestBuilder) Deliveries ¶
func (m *ItemItemHooksWithHook_ItemRequestBuilder) Deliveries() *ItemItemHooksItemDeliveriesRequestBuilder
Deliveries the deliveries property returns a *ItemItemHooksItemDeliveriesRequestBuilder when successful
func (*ItemItemHooksWithHook_ItemRequestBuilder) Get ¶
func (m *ItemItemHooksWithHook_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Hookable, error)
Get returns a webhook configured in a repository. To get only the webhook `config` properties, see "[Get a webhook configuration for a repository](/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository)." returns a Hookable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemHooksWithHook_ItemRequestBuilder) Patch ¶
func (m *ItemItemHooksWithHook_ItemRequestBuilder) Patch(ctx context.Context, body ItemItemHooksItemWithHook_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Hookable, error)
Patch updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use "[Update a webhook configuration for a repository](/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository)." returns a Hookable 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 (*ItemItemHooksWithHook_ItemRequestBuilder) Pings ¶
func (m *ItemItemHooksWithHook_ItemRequestBuilder) Pings() *ItemItemHooksItemPingsRequestBuilder
Pings the pings property returns a *ItemItemHooksItemPingsRequestBuilder when successful
func (*ItemItemHooksWithHook_ItemRequestBuilder) Tests ¶
func (m *ItemItemHooksWithHook_ItemRequestBuilder) Tests() *ItemItemHooksItemTestsRequestBuilder
Tests the tests property returns a *ItemItemHooksItemTestsRequestBuilder when successful
func (*ItemItemHooksWithHook_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemHooksWithHook_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*ItemItemHooksWithHook_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemHooksWithHook_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation returns a webhook configured in a repository. To get only the webhook `config` properties, see "[Get a webhook configuration for a repository](/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository)." returns a *RequestInformation when successful
func (*ItemItemHooksWithHook_ItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemHooksWithHook_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemHooksItemWithHook_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation updates a webhook configured in a repository. If you previously had a `secret` set, you must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use "[Update a webhook configuration for a repository](/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository)." returns a *RequestInformation when successful
func (*ItemItemHooksWithHook_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemHooksWithHook_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemHooksWithHook_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 *ItemItemHooksWithHook_ItemRequestBuilder when successful
type ItemItemInstallationRequestBuilder ¶
type ItemItemInstallationRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemInstallationRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\installation
func NewItemItemInstallationRequestBuilder ¶
func NewItemItemInstallationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemInstallationRequestBuilder
NewItemItemInstallationRequestBuilder instantiates a new ItemItemInstallationRequestBuilder and sets the default values.
func NewItemItemInstallationRequestBuilderInternal ¶
func NewItemItemInstallationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemInstallationRequestBuilder
NewItemItemInstallationRequestBuilderInternal instantiates a new ItemItemInstallationRequestBuilder and sets the default values.
func (*ItemItemInstallationRequestBuilder) Get ¶
func (m *ItemItemInstallationRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Installationable, error)
Get enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.You must use a [JWT](https://docs.github.com/enterprise-server@3.10/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. returns a Installationable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemInstallationRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemInstallationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.You must use a [JWT](https://docs.github.com/enterprise-server@3.10/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. returns a *RequestInformation when successful
func (*ItemItemInstallationRequestBuilder) WithUrl ¶
func (m *ItemItemInstallationRequestBuilder) WithUrl(rawUrl string) *ItemItemInstallationRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemInstallationRequestBuilder when successful
type ItemItemInvitationsItemWithInvitation_PatchRequestBody ¶
type ItemItemInvitationsItemWithInvitation_PatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemInvitationsItemWithInvitation_PatchRequestBody ¶
func NewItemItemInvitationsItemWithInvitation_PatchRequestBody() *ItemItemInvitationsItemWithInvitation_PatchRequestBody
NewItemItemInvitationsItemWithInvitation_PatchRequestBody instantiates a new ItemItemInvitationsItemWithInvitation_PatchRequestBody and sets the default values.
func (*ItemItemInvitationsItemWithInvitation_PatchRequestBody) GetAdditionalData ¶
func (m *ItemItemInvitationsItemWithInvitation_PatchRequestBody) 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 (*ItemItemInvitationsItemWithInvitation_PatchRequestBody) GetFieldDeserializers ¶
func (m *ItemItemInvitationsItemWithInvitation_PatchRequestBody) 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 (*ItemItemInvitationsItemWithInvitation_PatchRequestBody) Serialize ¶
func (m *ItemItemInvitationsItemWithInvitation_PatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemInvitationsItemWithInvitation_PatchRequestBody) SetAdditionalData ¶
func (m *ItemItemInvitationsItemWithInvitation_PatchRequestBody) 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 ItemItemInvitationsItemWithInvitation_PatchRequestBodyable ¶
type ItemItemInvitationsItemWithInvitation_PatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemItemInvitationsRequestBuilder ¶
type ItemItemInvitationsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemInvitationsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\invitations
func NewItemItemInvitationsRequestBuilder ¶
func NewItemItemInvitationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemInvitationsRequestBuilder
NewItemItemInvitationsRequestBuilder instantiates a new ItemItemInvitationsRequestBuilder and sets the default values.
func NewItemItemInvitationsRequestBuilderInternal ¶
func NewItemItemInvitationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemInvitationsRequestBuilder
NewItemItemInvitationsRequestBuilderInternal instantiates a new ItemItemInvitationsRequestBuilder and sets the default values.
func (*ItemItemInvitationsRequestBuilder) ByInvitation_id ¶
func (m *ItemItemInvitationsRequestBuilder) ByInvitation_id(invitation_id int32) *ItemItemInvitationsWithInvitation_ItemRequestBuilder
ByInvitation_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.invitations.item collection returns a *ItemItemInvitationsWithInvitation_ItemRequestBuilder when successful
func (*ItemItemInvitationsRequestBuilder) Get ¶
func (m *ItemItemInvitationsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemInvitationsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryInvitationable, error)
Get when authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations. returns a []RepositoryInvitationable when successful API method documentation
func (*ItemItemInvitationsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemInvitationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemInvitationsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation when authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations. returns a *RequestInformation when successful
func (*ItemItemInvitationsRequestBuilder) WithUrl ¶
func (m *ItemItemInvitationsRequestBuilder) WithUrl(rawUrl string) *ItemItemInvitationsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemInvitationsRequestBuilder when successful
type ItemItemInvitationsRequestBuilderGetQueryParameters ¶
type ItemItemInvitationsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemInvitationsRequestBuilderGetQueryParameters when authenticating as a user with admin rights to a repository, this endpoint will list all currently open repository invitations.
type ItemItemInvitationsWithInvitation_ItemRequestBuilder ¶
type ItemItemInvitationsWithInvitation_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemInvitationsWithInvitation_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\invitations\{invitation_id}
func NewItemItemInvitationsWithInvitation_ItemRequestBuilder ¶
func NewItemItemInvitationsWithInvitation_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemInvitationsWithInvitation_ItemRequestBuilder
NewItemItemInvitationsWithInvitation_ItemRequestBuilder instantiates a new ItemItemInvitationsWithInvitation_ItemRequestBuilder and sets the default values.
func NewItemItemInvitationsWithInvitation_ItemRequestBuilderInternal ¶
func NewItemItemInvitationsWithInvitation_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemInvitationsWithInvitation_ItemRequestBuilder
NewItemItemInvitationsWithInvitation_ItemRequestBuilderInternal instantiates a new ItemItemInvitationsWithInvitation_ItemRequestBuilder and sets the default values.
func (*ItemItemInvitationsWithInvitation_ItemRequestBuilder) Delete ¶
func (m *ItemItemInvitationsWithInvitation_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete delete a repository invitation API method documentation
func (*ItemItemInvitationsWithInvitation_ItemRequestBuilder) Patch ¶
func (m *ItemItemInvitationsWithInvitation_ItemRequestBuilder) Patch(ctx context.Context, body ItemItemInvitationsItemWithInvitation_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryInvitationable, error)
Patch update a repository invitation returns a RepositoryInvitationable when successful API method documentation
func (*ItemItemInvitationsWithInvitation_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemInvitationsWithInvitation_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*ItemItemInvitationsWithInvitation_ItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemInvitationsWithInvitation_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemInvitationsItemWithInvitation_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*ItemItemInvitationsWithInvitation_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemInvitationsWithInvitation_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemInvitationsWithInvitation_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 *ItemItemInvitationsWithInvitation_ItemRequestBuilder when successful
type ItemItemIssuesCommentsItemReactionsPostRequestBody ¶
type ItemItemIssuesCommentsItemReactionsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemIssuesCommentsItemReactionsPostRequestBody ¶
func NewItemItemIssuesCommentsItemReactionsPostRequestBody() *ItemItemIssuesCommentsItemReactionsPostRequestBody
NewItemItemIssuesCommentsItemReactionsPostRequestBody instantiates a new ItemItemIssuesCommentsItemReactionsPostRequestBody and sets the default values.
func (*ItemItemIssuesCommentsItemReactionsPostRequestBody) GetAdditionalData ¶
func (m *ItemItemIssuesCommentsItemReactionsPostRequestBody) 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 (*ItemItemIssuesCommentsItemReactionsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemIssuesCommentsItemReactionsPostRequestBody) 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 (*ItemItemIssuesCommentsItemReactionsPostRequestBody) Serialize ¶
func (m *ItemItemIssuesCommentsItemReactionsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemIssuesCommentsItemReactionsPostRequestBody) SetAdditionalData ¶
func (m *ItemItemIssuesCommentsItemReactionsPostRequestBody) 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 ItemItemIssuesCommentsItemReactionsPostRequestBodyable ¶
type ItemItemIssuesCommentsItemReactionsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemItemIssuesCommentsItemReactionsRequestBuilder ¶
type ItemItemIssuesCommentsItemReactionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemIssuesCommentsItemReactionsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\issues\comments\{comment_id}\reactions
func NewItemItemIssuesCommentsItemReactionsRequestBuilder ¶
func NewItemItemIssuesCommentsItemReactionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesCommentsItemReactionsRequestBuilder
NewItemItemIssuesCommentsItemReactionsRequestBuilder instantiates a new ItemItemIssuesCommentsItemReactionsRequestBuilder and sets the default values.
func NewItemItemIssuesCommentsItemReactionsRequestBuilderInternal ¶
func NewItemItemIssuesCommentsItemReactionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesCommentsItemReactionsRequestBuilder
NewItemItemIssuesCommentsItemReactionsRequestBuilderInternal instantiates a new ItemItemIssuesCommentsItemReactionsRequestBuilder and sets the default values.
func (*ItemItemIssuesCommentsItemReactionsRequestBuilder) ByReaction_id ¶
func (m *ItemItemIssuesCommentsItemReactionsRequestBuilder) ByReaction_id(reaction_id int32) *ItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder
ByReaction_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.issues.comments.item.reactions.item collection returns a *ItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder when successful
func (*ItemItemIssuesCommentsItemReactionsRequestBuilder) Get ¶
func (m *ItemItemIssuesCommentsItemReactionsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemIssuesCommentsItemReactionsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Reactionable, error)
Get list the reactions to an [issue comment](https://docs.github.com/enterprise-server@3.10/rest/issues/comments#get-an-issue-comment). returns a []Reactionable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemIssuesCommentsItemReactionsRequestBuilder) Post ¶
func (m *ItemItemIssuesCommentsItemReactionsRequestBuilder) Post(ctx context.Context, body ItemItemIssuesCommentsItemReactionsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Reactionable, error)
Post create a reaction to an [issue comment](https://docs.github.com/enterprise-server@3.10/rest/issues/comments#get-an-issue-comment). A response with an HTTP `200` status means that you already added the reaction type to this issue comment. returns a Reactionable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemIssuesCommentsItemReactionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemIssuesCommentsItemReactionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemIssuesCommentsItemReactionsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list the reactions to an [issue comment](https://docs.github.com/enterprise-server@3.10/rest/issues/comments#get-an-issue-comment). returns a *RequestInformation when successful
func (*ItemItemIssuesCommentsItemReactionsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemIssuesCommentsItemReactionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemIssuesCommentsItemReactionsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation create a reaction to an [issue comment](https://docs.github.com/enterprise-server@3.10/rest/issues/comments#get-an-issue-comment). A response with an HTTP `200` status means that you already added the reaction type to this issue comment. returns a *RequestInformation when successful
func (*ItemItemIssuesCommentsItemReactionsRequestBuilder) WithUrl ¶
func (m *ItemItemIssuesCommentsItemReactionsRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesCommentsItemReactionsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemIssuesCommentsItemReactionsRequestBuilder when successful
type ItemItemIssuesCommentsItemReactionsRequestBuilderGetQueryParameters ¶
type ItemItemIssuesCommentsItemReactionsRequestBuilderGetQueryParameters struct { // Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. Content *i5a10400ca5eff11dc8c6b73f4eca4f74336ae966b820149343b78d655929e36f.GetContentQueryParameterType `uriparametername:"content"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemIssuesCommentsItemReactionsRequestBuilderGetQueryParameters list the reactions to an [issue comment](https://docs.github.com/enterprise-server@3.10/rest/issues/comments#get-an-issue-comment).
type ItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder ¶
type ItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\issues\comments\{comment_id}\reactions\{reaction_id}
func NewItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder ¶
func NewItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder
NewItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder instantiates a new ItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder and sets the default values.
func NewItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilderInternal ¶
func NewItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder
NewItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilderInternal instantiates a new ItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder and sets the default values.
func (*ItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder) Delete ¶
func (m *ItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete > [!NOTE]> You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.Delete a reaction to an [issue comment](https://docs.github.com/enterprise-server@3.10/rest/issues/comments#get-an-issue-comment). API method documentation
func (*ItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation > [!NOTE]> You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.Delete a reaction to an [issue comment](https://docs.github.com/enterprise-server@3.10/rest/issues/comments#get-an-issue-comment). returns a *RequestInformation when successful
func (*ItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesCommentsItemReactionsWithReaction_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 *ItemItemIssuesCommentsItemReactionsWithReaction_ItemRequestBuilder when successful
type ItemItemIssuesCommentsItemWithComment_PatchRequestBody ¶
type ItemItemIssuesCommentsItemWithComment_PatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemIssuesCommentsItemWithComment_PatchRequestBody ¶
func NewItemItemIssuesCommentsItemWithComment_PatchRequestBody() *ItemItemIssuesCommentsItemWithComment_PatchRequestBody
NewItemItemIssuesCommentsItemWithComment_PatchRequestBody instantiates a new ItemItemIssuesCommentsItemWithComment_PatchRequestBody and sets the default values.
func (*ItemItemIssuesCommentsItemWithComment_PatchRequestBody) GetAdditionalData ¶
func (m *ItemItemIssuesCommentsItemWithComment_PatchRequestBody) 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 (*ItemItemIssuesCommentsItemWithComment_PatchRequestBody) GetBody ¶
func (m *ItemItemIssuesCommentsItemWithComment_PatchRequestBody) GetBody() *string
GetBody gets the body property value. The contents of the comment. returns a *string when successful
func (*ItemItemIssuesCommentsItemWithComment_PatchRequestBody) GetFieldDeserializers ¶
func (m *ItemItemIssuesCommentsItemWithComment_PatchRequestBody) 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 (*ItemItemIssuesCommentsItemWithComment_PatchRequestBody) Serialize ¶
func (m *ItemItemIssuesCommentsItemWithComment_PatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemIssuesCommentsItemWithComment_PatchRequestBody) SetAdditionalData ¶
func (m *ItemItemIssuesCommentsItemWithComment_PatchRequestBody) 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 (*ItemItemIssuesCommentsItemWithComment_PatchRequestBody) SetBody ¶
func (m *ItemItemIssuesCommentsItemWithComment_PatchRequestBody) SetBody(value *string)
SetBody sets the body property value. The contents of the comment.
type ItemItemIssuesCommentsItemWithComment_PatchRequestBodyable ¶
type ItemItemIssuesCommentsItemWithComment_PatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBody() *string SetBody(value *string) }
type ItemItemIssuesCommentsRequestBuilder ¶
type ItemItemIssuesCommentsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemIssuesCommentsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\issues\comments
func NewItemItemIssuesCommentsRequestBuilder ¶
func NewItemItemIssuesCommentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesCommentsRequestBuilder
NewItemItemIssuesCommentsRequestBuilder instantiates a new ItemItemIssuesCommentsRequestBuilder and sets the default values.
func NewItemItemIssuesCommentsRequestBuilderInternal ¶
func NewItemItemIssuesCommentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesCommentsRequestBuilder
NewItemItemIssuesCommentsRequestBuilderInternal instantiates a new ItemItemIssuesCommentsRequestBuilder and sets the default values.
func (*ItemItemIssuesCommentsRequestBuilder) ByComment_id ¶
func (m *ItemItemIssuesCommentsRequestBuilder) ByComment_id(comment_id int32) *ItemItemIssuesCommentsWithComment_ItemRequestBuilder
ByComment_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.issues.comments.item collection returns a *ItemItemIssuesCommentsWithComment_ItemRequestBuilder when successful
func (*ItemItemIssuesCommentsRequestBuilder) Get ¶
func (m *ItemItemIssuesCommentsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemIssuesCommentsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.IssueCommentable, error)
Get you can use the REST API to list comments on issues and pull requests for a repository. Every pull request is an issue, but not every issue is a pull request.By default, issue comments are ordered by ascending ID.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 []IssueCommentable 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 (*ItemItemIssuesCommentsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemIssuesCommentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemIssuesCommentsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation you can use the REST API to list comments on issues and pull requests for a repository. Every pull request is an issue, but not every issue is a pull request.By default, issue comments are ordered by ascending ID.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 (*ItemItemIssuesCommentsRequestBuilder) WithUrl ¶
func (m *ItemItemIssuesCommentsRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesCommentsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemIssuesCommentsRequestBuilder when successful
type ItemItemIssuesCommentsRequestBuilderGetQueryParameters ¶
type ItemItemIssuesCommentsRequestBuilderGetQueryParameters struct { // Either `asc` or `desc`. Ignored without the `sort` parameter. Direction *i4d5f3c017b54ef14e1c25a3f4336a2c80936fe025b2e07c82c10af52ae23acb2.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/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/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"` // The property to sort the results by. Sort *i4d5f3c017b54ef14e1c25a3f4336a2c80936fe025b2e07c82c10af52ae23acb2.GetSortQueryParameterType `uriparametername:"sort"` }
ItemItemIssuesCommentsRequestBuilderGetQueryParameters you can use the REST API to list comments on issues and pull requests for a repository. Every pull request is an issue, but not every issue is a pull request.By default, issue comments are ordered by ascending ID.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 ItemItemIssuesCommentsWithComment_ItemRequestBuilder ¶
type ItemItemIssuesCommentsWithComment_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemIssuesCommentsWithComment_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\issues\comments\{comment_id}
func NewItemItemIssuesCommentsWithComment_ItemRequestBuilder ¶
func NewItemItemIssuesCommentsWithComment_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesCommentsWithComment_ItemRequestBuilder
NewItemItemIssuesCommentsWithComment_ItemRequestBuilder instantiates a new ItemItemIssuesCommentsWithComment_ItemRequestBuilder and sets the default values.
func NewItemItemIssuesCommentsWithComment_ItemRequestBuilderInternal ¶
func NewItemItemIssuesCommentsWithComment_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesCommentsWithComment_ItemRequestBuilder
NewItemItemIssuesCommentsWithComment_ItemRequestBuilderInternal instantiates a new ItemItemIssuesCommentsWithComment_ItemRequestBuilder and sets the default values.
func (*ItemItemIssuesCommentsWithComment_ItemRequestBuilder) Delete ¶
func (m *ItemItemIssuesCommentsWithComment_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete you can use the REST API to delete comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request. API method documentation
func (*ItemItemIssuesCommentsWithComment_ItemRequestBuilder) Get ¶
func (m *ItemItemIssuesCommentsWithComment_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.IssueCommentable, error)
Get you can use the REST API to get comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 IssueCommentable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemIssuesCommentsWithComment_ItemRequestBuilder) Patch ¶
func (m *ItemItemIssuesCommentsWithComment_ItemRequestBuilder) Patch(ctx context.Context, body ItemItemIssuesCommentsItemWithComment_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.IssueCommentable, error)
Patch you can use the REST API to update comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 IssueCommentable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemIssuesCommentsWithComment_ItemRequestBuilder) Reactions ¶
func (m *ItemItemIssuesCommentsWithComment_ItemRequestBuilder) Reactions() *ItemItemIssuesCommentsItemReactionsRequestBuilder
Reactions the reactions property returns a *ItemItemIssuesCommentsItemReactionsRequestBuilder when successful
func (*ItemItemIssuesCommentsWithComment_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemIssuesCommentsWithComment_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation you can use the REST API to delete comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request. returns a *RequestInformation when successful
func (*ItemItemIssuesCommentsWithComment_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemIssuesCommentsWithComment_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation you can use the REST API to get comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 (*ItemItemIssuesCommentsWithComment_ItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemIssuesCommentsWithComment_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemIssuesCommentsItemWithComment_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation you can use the REST API to update comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 (*ItemItemIssuesCommentsWithComment_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemIssuesCommentsWithComment_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesCommentsWithComment_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 *ItemItemIssuesCommentsWithComment_ItemRequestBuilder when successful
type ItemItemIssuesEventsRequestBuilder ¶
type ItemItemIssuesEventsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemIssuesEventsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\issues\events
func NewItemItemIssuesEventsRequestBuilder ¶
func NewItemItemIssuesEventsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesEventsRequestBuilder
NewItemItemIssuesEventsRequestBuilder instantiates a new ItemItemIssuesEventsRequestBuilder and sets the default values.
func NewItemItemIssuesEventsRequestBuilderInternal ¶
func NewItemItemIssuesEventsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesEventsRequestBuilder
NewItemItemIssuesEventsRequestBuilderInternal instantiates a new ItemItemIssuesEventsRequestBuilder and sets the default values.
func (*ItemItemIssuesEventsRequestBuilder) ByEvent_id ¶
func (m *ItemItemIssuesEventsRequestBuilder) ByEvent_id(event_id int32) *ItemItemIssuesEventsWithEvent_ItemRequestBuilder
ByEvent_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.issues.events.item collection returns a *ItemItemIssuesEventsWithEvent_ItemRequestBuilder when successful
func (*ItemItemIssuesEventsRequestBuilder) Get ¶
func (m *ItemItemIssuesEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemIssuesEventsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.IssueEventable, error)
Get lists events for a repository. returns a []IssueEventable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemIssuesEventsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemIssuesEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemIssuesEventsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists events for a repository. returns a *RequestInformation when successful
func (*ItemItemIssuesEventsRequestBuilder) WithUrl ¶
func (m *ItemItemIssuesEventsRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesEventsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemIssuesEventsRequestBuilder when successful
type ItemItemIssuesEventsRequestBuilderGetQueryParameters ¶
type ItemItemIssuesEventsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemIssuesEventsRequestBuilderGetQueryParameters lists events for a repository.
type ItemItemIssuesEventsWithEvent_ItemRequestBuilder ¶
type ItemItemIssuesEventsWithEvent_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemIssuesEventsWithEvent_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\issues\events\{event_id}
func NewItemItemIssuesEventsWithEvent_ItemRequestBuilder ¶
func NewItemItemIssuesEventsWithEvent_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesEventsWithEvent_ItemRequestBuilder
NewItemItemIssuesEventsWithEvent_ItemRequestBuilder instantiates a new ItemItemIssuesEventsWithEvent_ItemRequestBuilder and sets the default values.
func NewItemItemIssuesEventsWithEvent_ItemRequestBuilderInternal ¶
func NewItemItemIssuesEventsWithEvent_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesEventsWithEvent_ItemRequestBuilder
NewItemItemIssuesEventsWithEvent_ItemRequestBuilderInternal instantiates a new ItemItemIssuesEventsWithEvent_ItemRequestBuilder and sets the default values.
func (*ItemItemIssuesEventsWithEvent_ItemRequestBuilder) Get ¶
func (m *ItemItemIssuesEventsWithEvent_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.IssueEventable, error)
Get gets a single event by the event id. returns a IssueEventable 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 BasicError error when the service returns a 410 status code API method documentation
func (*ItemItemIssuesEventsWithEvent_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemIssuesEventsWithEvent_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a single event by the event id. returns a *RequestInformation when successful
func (*ItemItemIssuesEventsWithEvent_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemIssuesEventsWithEvent_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesEventsWithEvent_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 *ItemItemIssuesEventsWithEvent_ItemRequestBuilder when successful
type ItemItemIssuesItemAssigneesDeleteRequestBody ¶
type ItemItemIssuesItemAssigneesDeleteRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemIssuesItemAssigneesDeleteRequestBody ¶
func NewItemItemIssuesItemAssigneesDeleteRequestBody() *ItemItemIssuesItemAssigneesDeleteRequestBody
NewItemItemIssuesItemAssigneesDeleteRequestBody instantiates a new ItemItemIssuesItemAssigneesDeleteRequestBody and sets the default values.
func (*ItemItemIssuesItemAssigneesDeleteRequestBody) GetAdditionalData ¶
func (m *ItemItemIssuesItemAssigneesDeleteRequestBody) 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 (*ItemItemIssuesItemAssigneesDeleteRequestBody) GetAssignees ¶
func (m *ItemItemIssuesItemAssigneesDeleteRequestBody) GetAssignees() []string
GetAssignees gets the assignees property value. Usernames of assignees to remove from an issue. _NOTE: Only users with push access can remove assignees from an issue. Assignees are silently ignored otherwise._ returns a []string when successful
func (*ItemItemIssuesItemAssigneesDeleteRequestBody) GetFieldDeserializers ¶
func (m *ItemItemIssuesItemAssigneesDeleteRequestBody) 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 (*ItemItemIssuesItemAssigneesDeleteRequestBody) Serialize ¶
func (m *ItemItemIssuesItemAssigneesDeleteRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemIssuesItemAssigneesDeleteRequestBody) SetAdditionalData ¶
func (m *ItemItemIssuesItemAssigneesDeleteRequestBody) 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 (*ItemItemIssuesItemAssigneesDeleteRequestBody) SetAssignees ¶
func (m *ItemItemIssuesItemAssigneesDeleteRequestBody) SetAssignees(value []string)
SetAssignees sets the assignees property value. Usernames of assignees to remove from an issue. _NOTE: Only users with push access can remove assignees from an issue. Assignees are silently ignored otherwise._
type ItemItemIssuesItemAssigneesDeleteRequestBodyable ¶
type ItemItemIssuesItemAssigneesDeleteRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAssignees() []string SetAssignees(value []string) }
type ItemItemIssuesItemAssigneesPostRequestBody ¶
type ItemItemIssuesItemAssigneesPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemIssuesItemAssigneesPostRequestBody ¶
func NewItemItemIssuesItemAssigneesPostRequestBody() *ItemItemIssuesItemAssigneesPostRequestBody
NewItemItemIssuesItemAssigneesPostRequestBody instantiates a new ItemItemIssuesItemAssigneesPostRequestBody and sets the default values.
func (*ItemItemIssuesItemAssigneesPostRequestBody) GetAdditionalData ¶
func (m *ItemItemIssuesItemAssigneesPostRequestBody) 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 (*ItemItemIssuesItemAssigneesPostRequestBody) GetAssignees ¶
func (m *ItemItemIssuesItemAssigneesPostRequestBody) GetAssignees() []string
GetAssignees gets the assignees property value. Usernames of people to assign this issue to. _NOTE: Only users with push access can add assignees to an issue. Assignees are silently ignored otherwise._ returns a []string when successful
func (*ItemItemIssuesItemAssigneesPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemIssuesItemAssigneesPostRequestBody) 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 (*ItemItemIssuesItemAssigneesPostRequestBody) Serialize ¶
func (m *ItemItemIssuesItemAssigneesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemIssuesItemAssigneesPostRequestBody) SetAdditionalData ¶
func (m *ItemItemIssuesItemAssigneesPostRequestBody) 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 (*ItemItemIssuesItemAssigneesPostRequestBody) SetAssignees ¶
func (m *ItemItemIssuesItemAssigneesPostRequestBody) SetAssignees(value []string)
SetAssignees sets the assignees property value. Usernames of people to assign this issue to. _NOTE: Only users with push access can add assignees to an issue. Assignees are silently ignored otherwise._
type ItemItemIssuesItemAssigneesPostRequestBodyable ¶
type ItemItemIssuesItemAssigneesPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAssignees() []string SetAssignees(value []string) }
type ItemItemIssuesItemAssigneesRequestBuilder ¶
type ItemItemIssuesItemAssigneesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemIssuesItemAssigneesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\issues\{issue_number}\assignees
func NewItemItemIssuesItemAssigneesRequestBuilder ¶
func NewItemItemIssuesItemAssigneesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesItemAssigneesRequestBuilder
NewItemItemIssuesItemAssigneesRequestBuilder instantiates a new ItemItemIssuesItemAssigneesRequestBuilder and sets the default values.
func NewItemItemIssuesItemAssigneesRequestBuilderInternal ¶
func NewItemItemIssuesItemAssigneesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesItemAssigneesRequestBuilder
NewItemItemIssuesItemAssigneesRequestBuilderInternal instantiates a new ItemItemIssuesItemAssigneesRequestBuilder and sets the default values.
func (*ItemItemIssuesItemAssigneesRequestBuilder) ByAssignee ¶
func (m *ItemItemIssuesItemAssigneesRequestBuilder) ByAssignee(assignee string) *ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder
ByAssignee gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.issues.item.assignees.item collection returns a *ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder when successful
func (*ItemItemIssuesItemAssigneesRequestBuilder) Delete ¶
func (m *ItemItemIssuesItemAssigneesRequestBuilder) Delete(ctx context.Context, body ItemItemIssuesItemAssigneesDeleteRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Issueable, error)
Delete removes one or more assignees from an issue. returns a Issueable when successful API method documentation
func (*ItemItemIssuesItemAssigneesRequestBuilder) Post ¶
func (m *ItemItemIssuesItemAssigneesRequestBuilder) Post(ctx context.Context, body ItemItemIssuesItemAssigneesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Issueable, error)
Post adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced. returns a Issueable when successful API method documentation
func (*ItemItemIssuesItemAssigneesRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemIssuesItemAssigneesRequestBuilder) ToDeleteRequestInformation(ctx context.Context, body ItemItemIssuesItemAssigneesDeleteRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation removes one or more assignees from an issue. returns a *RequestInformation when successful
func (*ItemItemIssuesItemAssigneesRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemIssuesItemAssigneesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemIssuesItemAssigneesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation adds up to 10 assignees to an issue. Users already assigned to an issue are not replaced. returns a *RequestInformation when successful
func (*ItemItemIssuesItemAssigneesRequestBuilder) WithUrl ¶
func (m *ItemItemIssuesItemAssigneesRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesItemAssigneesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemIssuesItemAssigneesRequestBuilder when successful
type ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder ¶
type ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\issues\{issue_number}\assignees\{assignee}
func NewItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder ¶
func NewItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder
NewItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder instantiates a new ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder and sets the default values.
func NewItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilderInternal ¶
func NewItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder
NewItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilderInternal instantiates a new ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder and sets the default values.
func (*ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder) Get ¶
func (m *ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Get checks if a user has permission to be assigned to a specific issue.If the `assignee` can be assigned to this issue, a `204` status code with no content is returned.Otherwise a `404` status code is returned. returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation checks if a user has permission to be assigned to a specific issue.If the `assignee` can be assigned to this issue, a `204` status code with no content is returned.Otherwise a `404` status code is returned. returns a *RequestInformation when successful
func (*ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder) WithUrl ¶
func (m *ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemIssuesItemAssigneesWithAssigneeItemRequestBuilder when successful
type ItemItemIssuesItemCommentsPostRequestBody ¶
type ItemItemIssuesItemCommentsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemIssuesItemCommentsPostRequestBody ¶
func NewItemItemIssuesItemCommentsPostRequestBody() *ItemItemIssuesItemCommentsPostRequestBody
NewItemItemIssuesItemCommentsPostRequestBody instantiates a new ItemItemIssuesItemCommentsPostRequestBody and sets the default values.
func (*ItemItemIssuesItemCommentsPostRequestBody) GetAdditionalData ¶
func (m *ItemItemIssuesItemCommentsPostRequestBody) 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 (*ItemItemIssuesItemCommentsPostRequestBody) GetBody ¶
func (m *ItemItemIssuesItemCommentsPostRequestBody) GetBody() *string
GetBody gets the body property value. The contents of the comment. returns a *string when successful
func (*ItemItemIssuesItemCommentsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemIssuesItemCommentsPostRequestBody) 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 (*ItemItemIssuesItemCommentsPostRequestBody) Serialize ¶
func (m *ItemItemIssuesItemCommentsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemIssuesItemCommentsPostRequestBody) SetAdditionalData ¶
func (m *ItemItemIssuesItemCommentsPostRequestBody) 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 (*ItemItemIssuesItemCommentsPostRequestBody) SetBody ¶
func (m *ItemItemIssuesItemCommentsPostRequestBody) SetBody(value *string)
SetBody sets the body property value. The contents of the comment.
type ItemItemIssuesItemCommentsPostRequestBodyable ¶
type ItemItemIssuesItemCommentsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBody() *string SetBody(value *string) }
type ItemItemIssuesItemCommentsRequestBuilder ¶
type ItemItemIssuesItemCommentsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemIssuesItemCommentsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\issues\{issue_number}\comments
func NewItemItemIssuesItemCommentsRequestBuilder ¶
func NewItemItemIssuesItemCommentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesItemCommentsRequestBuilder
NewItemItemIssuesItemCommentsRequestBuilder instantiates a new ItemItemIssuesItemCommentsRequestBuilder and sets the default values.
func NewItemItemIssuesItemCommentsRequestBuilderInternal ¶
func NewItemItemIssuesItemCommentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesItemCommentsRequestBuilder
NewItemItemIssuesItemCommentsRequestBuilderInternal instantiates a new ItemItemIssuesItemCommentsRequestBuilder and sets the default values.
func (*ItemItemIssuesItemCommentsRequestBuilder) Get ¶
func (m *ItemItemIssuesItemCommentsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemIssuesItemCommentsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.IssueCommentable, error)
Get you can use the REST API to list comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.Issue comments are ordered by ascending ID.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 []IssueCommentable when successful returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 410 status code API method documentation
func (*ItemItemIssuesItemCommentsRequestBuilder) Post ¶
func (m *ItemItemIssuesItemCommentsRequestBuilder) Post(ctx context.Context, body ItemItemIssuesItemCommentsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.IssueCommentable, error)
Post you can use the REST API to create comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.10/github/managing-subscriptions-and-notifications-on-github/about-notifications).Creating content too quickly using this endpoint may result in secondary rate limiting.For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/best-practices-for-using-the-rest-api)."This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 IssueCommentable 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 BasicError error when the service returns a 410 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemIssuesItemCommentsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemIssuesItemCommentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemIssuesItemCommentsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation you can use the REST API to list comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.Issue comments are ordered by ascending ID.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 (*ItemItemIssuesItemCommentsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemIssuesItemCommentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemIssuesItemCommentsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation you can use the REST API to create comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.10/github/managing-subscriptions-and-notifications-on-github/about-notifications).Creating content too quickly using this endpoint may result in secondary rate limiting.For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/best-practices-for-using-the-rest-api)."This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 (*ItemItemIssuesItemCommentsRequestBuilder) WithUrl ¶
func (m *ItemItemIssuesItemCommentsRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesItemCommentsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemIssuesItemCommentsRequestBuilder when successful
type ItemItemIssuesItemCommentsRequestBuilderGetQueryParameters ¶
type ItemItemIssuesItemCommentsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/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"` }
ItemItemIssuesItemCommentsRequestBuilderGetQueryParameters you can use the REST API to list comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.Issue comments are ordered by ascending ID.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 ItemItemIssuesItemEventsRequestBuilder ¶
type ItemItemIssuesItemEventsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemIssuesItemEventsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\issues\{issue_number}\events
func NewItemItemIssuesItemEventsRequestBuilder ¶
func NewItemItemIssuesItemEventsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesItemEventsRequestBuilder
NewItemItemIssuesItemEventsRequestBuilder instantiates a new ItemItemIssuesItemEventsRequestBuilder and sets the default values.
func NewItemItemIssuesItemEventsRequestBuilderInternal ¶
func NewItemItemIssuesItemEventsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesItemEventsRequestBuilder
NewItemItemIssuesItemEventsRequestBuilderInternal instantiates a new ItemItemIssuesItemEventsRequestBuilder and sets the default values.
func (*ItemItemIssuesItemEventsRequestBuilder) Get ¶
func (m *ItemItemIssuesItemEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemIssuesItemEventsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.IssueEventForIssueable, error)
Get lists all events for an issue. returns a []IssueEventForIssueable when successful returns a BasicError error when the service returns a 410 status code API method documentation
func (*ItemItemIssuesItemEventsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemIssuesItemEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemIssuesItemEventsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all events for an issue. returns a *RequestInformation when successful
func (*ItemItemIssuesItemEventsRequestBuilder) WithUrl ¶
func (m *ItemItemIssuesItemEventsRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesItemEventsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemIssuesItemEventsRequestBuilder when successful
type ItemItemIssuesItemEventsRequestBuilderGetQueryParameters ¶
type ItemItemIssuesItemEventsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemIssuesItemEventsRequestBuilderGetQueryParameters lists all events for an issue.
type ItemItemIssuesItemLabelsPostRequestBodyMember1 ¶
type ItemItemIssuesItemLabelsPostRequestBodyMember1 struct {
// contains filtered or unexported fields
}
func NewItemItemIssuesItemLabelsPostRequestBodyMember1 ¶
func NewItemItemIssuesItemLabelsPostRequestBodyMember1() *ItemItemIssuesItemLabelsPostRequestBodyMember1
NewItemItemIssuesItemLabelsPostRequestBodyMember1 instantiates a new ItemItemIssuesItemLabelsPostRequestBodyMember1 and sets the default values.
func (*ItemItemIssuesItemLabelsPostRequestBodyMember1) GetAdditionalData ¶
func (m *ItemItemIssuesItemLabelsPostRequestBodyMember1) 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 (*ItemItemIssuesItemLabelsPostRequestBodyMember1) GetFieldDeserializers ¶
func (m *ItemItemIssuesItemLabelsPostRequestBodyMember1) 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 (*ItemItemIssuesItemLabelsPostRequestBodyMember1) GetLabels ¶
func (m *ItemItemIssuesItemLabelsPostRequestBodyMember1) GetLabels() []string
GetLabels gets the labels property value. The names of the labels to add to the issue's existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also replace all of the labels for an issue. For more information, see "[Set labels for an issue](https://docs.github.com/enterprise-server@3.10/rest/issues/labels#set-labels-for-an-issue)." returns a []string when successful
func (*ItemItemIssuesItemLabelsPostRequestBodyMember1) Serialize ¶
func (m *ItemItemIssuesItemLabelsPostRequestBodyMember1) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemIssuesItemLabelsPostRequestBodyMember1) SetAdditionalData ¶
func (m *ItemItemIssuesItemLabelsPostRequestBodyMember1) 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 (*ItemItemIssuesItemLabelsPostRequestBodyMember1) SetLabels ¶
func (m *ItemItemIssuesItemLabelsPostRequestBodyMember1) SetLabels(value []string)
SetLabels sets the labels property value. The names of the labels to add to the issue's existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also replace all of the labels for an issue. For more information, see "[Set labels for an issue](https://docs.github.com/enterprise-server@3.10/rest/issues/labels#set-labels-for-an-issue)."
type ItemItemIssuesItemLabelsPostRequestBodyMember1able ¶
type ItemItemIssuesItemLabelsPostRequestBodyMember1able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []string SetLabels(value []string) }
type ItemItemIssuesItemLabelsPostRequestBodyMember2 ¶
type ItemItemIssuesItemLabelsPostRequestBodyMember2 struct {
// contains filtered or unexported fields
}
func NewItemItemIssuesItemLabelsPostRequestBodyMember2 ¶
func NewItemItemIssuesItemLabelsPostRequestBodyMember2() *ItemItemIssuesItemLabelsPostRequestBodyMember2
NewItemItemIssuesItemLabelsPostRequestBodyMember2 instantiates a new ItemItemIssuesItemLabelsPostRequestBodyMember2 and sets the default values.
func (*ItemItemIssuesItemLabelsPostRequestBodyMember2) GetAdditionalData ¶
func (m *ItemItemIssuesItemLabelsPostRequestBodyMember2) 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 (*ItemItemIssuesItemLabelsPostRequestBodyMember2) GetFieldDeserializers ¶
func (m *ItemItemIssuesItemLabelsPostRequestBodyMember2) 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 (*ItemItemIssuesItemLabelsPostRequestBodyMember2) GetLabels ¶
func (m *ItemItemIssuesItemLabelsPostRequestBodyMember2) GetLabels() []ItemItemIssuesItemLabelsPostRequestBodyMember2_labelsable
GetLabels gets the labels property value. The labels property returns a []ItemItemIssuesItemLabelsPostRequestBodyMember2_labelsable when successful
func (*ItemItemIssuesItemLabelsPostRequestBodyMember2) Serialize ¶
func (m *ItemItemIssuesItemLabelsPostRequestBodyMember2) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemIssuesItemLabelsPostRequestBodyMember2) SetAdditionalData ¶
func (m *ItemItemIssuesItemLabelsPostRequestBodyMember2) 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 (*ItemItemIssuesItemLabelsPostRequestBodyMember2) SetLabels ¶
func (m *ItemItemIssuesItemLabelsPostRequestBodyMember2) SetLabels(value []ItemItemIssuesItemLabelsPostRequestBodyMember2_labelsable)
SetLabels sets the labels property value. The labels property
type ItemItemIssuesItemLabelsPostRequestBodyMember2_labels ¶
type ItemItemIssuesItemLabelsPostRequestBodyMember2_labels struct {
// contains filtered or unexported fields
}
func NewItemItemIssuesItemLabelsPostRequestBodyMember2_labels ¶
func NewItemItemIssuesItemLabelsPostRequestBodyMember2_labels() *ItemItemIssuesItemLabelsPostRequestBodyMember2_labels
NewItemItemIssuesItemLabelsPostRequestBodyMember2_labels instantiates a new ItemItemIssuesItemLabelsPostRequestBodyMember2_labels and sets the default values.
func (*ItemItemIssuesItemLabelsPostRequestBodyMember2_labels) GetAdditionalData ¶
func (m *ItemItemIssuesItemLabelsPostRequestBodyMember2_labels) 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 (*ItemItemIssuesItemLabelsPostRequestBodyMember2_labels) GetFieldDeserializers ¶
func (m *ItemItemIssuesItemLabelsPostRequestBodyMember2_labels) 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 (*ItemItemIssuesItemLabelsPostRequestBodyMember2_labels) GetName ¶
func (m *ItemItemIssuesItemLabelsPostRequestBodyMember2_labels) GetName() *string
GetName gets the name property value. The name property returns a *string when successful
func (*ItemItemIssuesItemLabelsPostRequestBodyMember2_labels) Serialize ¶
func (m *ItemItemIssuesItemLabelsPostRequestBodyMember2_labels) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemIssuesItemLabelsPostRequestBodyMember2_labels) SetAdditionalData ¶
func (m *ItemItemIssuesItemLabelsPostRequestBodyMember2_labels) 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 (*ItemItemIssuesItemLabelsPostRequestBodyMember2_labels) SetName ¶
func (m *ItemItemIssuesItemLabelsPostRequestBodyMember2_labels) SetName(value *string)
SetName sets the name property value. The name property
type ItemItemIssuesItemLabelsPostRequestBodyMember2_labelsable ¶
type ItemItemIssuesItemLabelsPostRequestBodyMember2_labelsable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetName() *string SetName(value *string) }
type ItemItemIssuesItemLabelsPostRequestBodyMember2able ¶
type ItemItemIssuesItemLabelsPostRequestBodyMember2able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []ItemItemIssuesItemLabelsPostRequestBodyMember2_labelsable SetLabels(value []ItemItemIssuesItemLabelsPostRequestBodyMember2_labelsable) }
type ItemItemIssuesItemLabelsPostRequestBodyMember3 ¶
type ItemItemIssuesItemLabelsPostRequestBodyMember3 struct {
// contains filtered or unexported fields
}
func NewItemItemIssuesItemLabelsPostRequestBodyMember3 ¶
func NewItemItemIssuesItemLabelsPostRequestBodyMember3() *ItemItemIssuesItemLabelsPostRequestBodyMember3
NewItemItemIssuesItemLabelsPostRequestBodyMember3 instantiates a new ItemItemIssuesItemLabelsPostRequestBodyMember3 and sets the default values.
func (*ItemItemIssuesItemLabelsPostRequestBodyMember3) GetAdditionalData ¶
func (m *ItemItemIssuesItemLabelsPostRequestBodyMember3) 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 (*ItemItemIssuesItemLabelsPostRequestBodyMember3) GetFieldDeserializers ¶
func (m *ItemItemIssuesItemLabelsPostRequestBodyMember3) 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 (*ItemItemIssuesItemLabelsPostRequestBodyMember3) Serialize ¶
func (m *ItemItemIssuesItemLabelsPostRequestBodyMember3) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemIssuesItemLabelsPostRequestBodyMember3) SetAdditionalData ¶
func (m *ItemItemIssuesItemLabelsPostRequestBodyMember3) 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 ItemItemIssuesItemLabelsPostRequestBodyMember3able ¶
type ItemItemIssuesItemLabelsPostRequestBodyMember3able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemItemIssuesItemLabelsPutRequestBodyMember1 ¶
type ItemItemIssuesItemLabelsPutRequestBodyMember1 struct {
// contains filtered or unexported fields
}
func NewItemItemIssuesItemLabelsPutRequestBodyMember1 ¶
func NewItemItemIssuesItemLabelsPutRequestBodyMember1() *ItemItemIssuesItemLabelsPutRequestBodyMember1
NewItemItemIssuesItemLabelsPutRequestBodyMember1 instantiates a new ItemItemIssuesItemLabelsPutRequestBodyMember1 and sets the default values.
func (*ItemItemIssuesItemLabelsPutRequestBodyMember1) GetAdditionalData ¶
func (m *ItemItemIssuesItemLabelsPutRequestBodyMember1) 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 (*ItemItemIssuesItemLabelsPutRequestBodyMember1) GetFieldDeserializers ¶
func (m *ItemItemIssuesItemLabelsPutRequestBodyMember1) 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 (*ItemItemIssuesItemLabelsPutRequestBodyMember1) GetLabels ¶
func (m *ItemItemIssuesItemLabelsPutRequestBodyMember1) GetLabels() []string
GetLabels gets the labels property value. The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see "[Add labels to an issue](https://docs.github.com/enterprise-server@3.10/rest/issues/labels#add-labels-to-an-issue)." returns a []string when successful
func (*ItemItemIssuesItemLabelsPutRequestBodyMember1) Serialize ¶
func (m *ItemItemIssuesItemLabelsPutRequestBodyMember1) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemIssuesItemLabelsPutRequestBodyMember1) SetAdditionalData ¶
func (m *ItemItemIssuesItemLabelsPutRequestBodyMember1) 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 (*ItemItemIssuesItemLabelsPutRequestBodyMember1) SetLabels ¶
func (m *ItemItemIssuesItemLabelsPutRequestBodyMember1) SetLabels(value []string)
SetLabels sets the labels property value. The names of the labels to set for the issue. The labels you set replace any existing labels. You can pass an empty array to remove all labels. Alternatively, you can pass a single label as a `string` or an `array` of labels directly, but GitHub recommends passing an object with the `labels` key. You can also add labels to the existing labels for an issue. For more information, see "[Add labels to an issue](https://docs.github.com/enterprise-server@3.10/rest/issues/labels#add-labels-to-an-issue)."
type ItemItemIssuesItemLabelsPutRequestBodyMember1able ¶
type ItemItemIssuesItemLabelsPutRequestBodyMember1able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []string SetLabels(value []string) }
type ItemItemIssuesItemLabelsPutRequestBodyMember2 ¶
type ItemItemIssuesItemLabelsPutRequestBodyMember2 struct {
// contains filtered or unexported fields
}
func NewItemItemIssuesItemLabelsPutRequestBodyMember2 ¶
func NewItemItemIssuesItemLabelsPutRequestBodyMember2() *ItemItemIssuesItemLabelsPutRequestBodyMember2
NewItemItemIssuesItemLabelsPutRequestBodyMember2 instantiates a new ItemItemIssuesItemLabelsPutRequestBodyMember2 and sets the default values.
func (*ItemItemIssuesItemLabelsPutRequestBodyMember2) GetAdditionalData ¶
func (m *ItemItemIssuesItemLabelsPutRequestBodyMember2) 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 (*ItemItemIssuesItemLabelsPutRequestBodyMember2) GetFieldDeserializers ¶
func (m *ItemItemIssuesItemLabelsPutRequestBodyMember2) 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 (*ItemItemIssuesItemLabelsPutRequestBodyMember2) GetLabels ¶
func (m *ItemItemIssuesItemLabelsPutRequestBodyMember2) GetLabels() []ItemItemIssuesItemLabelsPutRequestBodyMember2_labelsable
GetLabels gets the labels property value. The labels property returns a []ItemItemIssuesItemLabelsPutRequestBodyMember2_labelsable when successful
func (*ItemItemIssuesItemLabelsPutRequestBodyMember2) Serialize ¶
func (m *ItemItemIssuesItemLabelsPutRequestBodyMember2) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemIssuesItemLabelsPutRequestBodyMember2) SetAdditionalData ¶
func (m *ItemItemIssuesItemLabelsPutRequestBodyMember2) 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 (*ItemItemIssuesItemLabelsPutRequestBodyMember2) SetLabels ¶
func (m *ItemItemIssuesItemLabelsPutRequestBodyMember2) SetLabels(value []ItemItemIssuesItemLabelsPutRequestBodyMember2_labelsable)
SetLabels sets the labels property value. The labels property
type ItemItemIssuesItemLabelsPutRequestBodyMember2_labels ¶
type ItemItemIssuesItemLabelsPutRequestBodyMember2_labels struct {
// contains filtered or unexported fields
}
func NewItemItemIssuesItemLabelsPutRequestBodyMember2_labels ¶
func NewItemItemIssuesItemLabelsPutRequestBodyMember2_labels() *ItemItemIssuesItemLabelsPutRequestBodyMember2_labels
NewItemItemIssuesItemLabelsPutRequestBodyMember2_labels instantiates a new ItemItemIssuesItemLabelsPutRequestBodyMember2_labels and sets the default values.
func (*ItemItemIssuesItemLabelsPutRequestBodyMember2_labels) GetAdditionalData ¶
func (m *ItemItemIssuesItemLabelsPutRequestBodyMember2_labels) 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 (*ItemItemIssuesItemLabelsPutRequestBodyMember2_labels) GetFieldDeserializers ¶
func (m *ItemItemIssuesItemLabelsPutRequestBodyMember2_labels) 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 (*ItemItemIssuesItemLabelsPutRequestBodyMember2_labels) GetName ¶
func (m *ItemItemIssuesItemLabelsPutRequestBodyMember2_labels) GetName() *string
GetName gets the name property value. The name property returns a *string when successful
func (*ItemItemIssuesItemLabelsPutRequestBodyMember2_labels) Serialize ¶
func (m *ItemItemIssuesItemLabelsPutRequestBodyMember2_labels) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemIssuesItemLabelsPutRequestBodyMember2_labels) SetAdditionalData ¶
func (m *ItemItemIssuesItemLabelsPutRequestBodyMember2_labels) 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 (*ItemItemIssuesItemLabelsPutRequestBodyMember2_labels) SetName ¶
func (m *ItemItemIssuesItemLabelsPutRequestBodyMember2_labels) SetName(value *string)
SetName sets the name property value. The name property
type ItemItemIssuesItemLabelsPutRequestBodyMember2_labelsable ¶
type ItemItemIssuesItemLabelsPutRequestBodyMember2_labelsable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetName() *string SetName(value *string) }
type ItemItemIssuesItemLabelsPutRequestBodyMember2able ¶
type ItemItemIssuesItemLabelsPutRequestBodyMember2able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []ItemItemIssuesItemLabelsPutRequestBodyMember2_labelsable SetLabels(value []ItemItemIssuesItemLabelsPutRequestBodyMember2_labelsable) }
type ItemItemIssuesItemLabelsPutRequestBodyMember3 ¶
type ItemItemIssuesItemLabelsPutRequestBodyMember3 struct {
// contains filtered or unexported fields
}
func NewItemItemIssuesItemLabelsPutRequestBodyMember3 ¶
func NewItemItemIssuesItemLabelsPutRequestBodyMember3() *ItemItemIssuesItemLabelsPutRequestBodyMember3
NewItemItemIssuesItemLabelsPutRequestBodyMember3 instantiates a new ItemItemIssuesItemLabelsPutRequestBodyMember3 and sets the default values.
func (*ItemItemIssuesItemLabelsPutRequestBodyMember3) GetAdditionalData ¶
func (m *ItemItemIssuesItemLabelsPutRequestBodyMember3) 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 (*ItemItemIssuesItemLabelsPutRequestBodyMember3) GetFieldDeserializers ¶
func (m *ItemItemIssuesItemLabelsPutRequestBodyMember3) 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 (*ItemItemIssuesItemLabelsPutRequestBodyMember3) Serialize ¶
func (m *ItemItemIssuesItemLabelsPutRequestBodyMember3) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemIssuesItemLabelsPutRequestBodyMember3) SetAdditionalData ¶
func (m *ItemItemIssuesItemLabelsPutRequestBodyMember3) 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 ItemItemIssuesItemLabelsPutRequestBodyMember3able ¶
type ItemItemIssuesItemLabelsPutRequestBodyMember3able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemItemIssuesItemLabelsRequestBuilder ¶
type ItemItemIssuesItemLabelsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemIssuesItemLabelsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\issues\{issue_number}\labels
func NewItemItemIssuesItemLabelsRequestBuilder ¶
func NewItemItemIssuesItemLabelsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesItemLabelsRequestBuilder
NewItemItemIssuesItemLabelsRequestBuilder instantiates a new ItemItemIssuesItemLabelsRequestBuilder and sets the default values.
func NewItemItemIssuesItemLabelsRequestBuilderInternal ¶
func NewItemItemIssuesItemLabelsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesItemLabelsRequestBuilder
NewItemItemIssuesItemLabelsRequestBuilderInternal instantiates a new ItemItemIssuesItemLabelsRequestBuilder and sets the default values.
func (*ItemItemIssuesItemLabelsRequestBuilder) ByName ¶
func (m *ItemItemIssuesItemLabelsRequestBuilder) ByName(name string) *ItemItemIssuesItemLabelsWithNameItemRequestBuilder
ByName gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.issues.item.labels.item collection returns a *ItemItemIssuesItemLabelsWithNameItemRequestBuilder when successful
func (*ItemItemIssuesItemLabelsRequestBuilder) Delete ¶
func (m *ItemItemIssuesItemLabelsRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete removes all labels from an issue. returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 410 status code API method documentation
func (*ItemItemIssuesItemLabelsRequestBuilder) Get ¶
func (m *ItemItemIssuesItemLabelsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemIssuesItemLabelsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Labelable, error)
Get lists all labels for an issue. returns a []Labelable when successful returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 410 status code API method documentation
func (*ItemItemIssuesItemLabelsRequestBuilder) Post ¶
func (m *ItemItemIssuesItemLabelsRequestBuilder) Post(ctx context.Context, body LabelsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Labelable, error)
Post adds labels to an issue. If you provide an empty array of labels, all labels are removed from the issue. returns a []Labelable when successful returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 410 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemIssuesItemLabelsRequestBuilder) Put ¶
func (m *ItemItemIssuesItemLabelsRequestBuilder) Put(ctx context.Context, body LabelsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Labelable, error)
Put removes any previous labels and sets the new labels for an issue. returns a []Labelable when successful returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 410 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemIssuesItemLabelsRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemIssuesItemLabelsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation removes all labels from an issue. returns a *RequestInformation when successful
func (*ItemItemIssuesItemLabelsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemIssuesItemLabelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemIssuesItemLabelsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all labels for an issue. returns a *RequestInformation when successful
func (*ItemItemIssuesItemLabelsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemIssuesItemLabelsRequestBuilder) ToPostRequestInformation(ctx context.Context, body LabelsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation adds labels to an issue. If you provide an empty array of labels, all labels are removed from the issue. returns a *RequestInformation when successful
func (*ItemItemIssuesItemLabelsRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemIssuesItemLabelsRequestBuilder) ToPutRequestInformation(ctx context.Context, body LabelsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation removes any previous labels and sets the new labels for an issue. returns a *RequestInformation when successful
func (*ItemItemIssuesItemLabelsRequestBuilder) WithUrl ¶
func (m *ItemItemIssuesItemLabelsRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesItemLabelsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemIssuesItemLabelsRequestBuilder when successful
type ItemItemIssuesItemLabelsRequestBuilderGetQueryParameters ¶
type ItemItemIssuesItemLabelsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemIssuesItemLabelsRequestBuilderGetQueryParameters lists all labels for an issue.
type ItemItemIssuesItemLabelsWithNameItemRequestBuilder ¶
type ItemItemIssuesItemLabelsWithNameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemIssuesItemLabelsWithNameItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\issues\{issue_number}\labels\{name}
func NewItemItemIssuesItemLabelsWithNameItemRequestBuilder ¶
func NewItemItemIssuesItemLabelsWithNameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesItemLabelsWithNameItemRequestBuilder
NewItemItemIssuesItemLabelsWithNameItemRequestBuilder instantiates a new ItemItemIssuesItemLabelsWithNameItemRequestBuilder and sets the default values.
func NewItemItemIssuesItemLabelsWithNameItemRequestBuilderInternal ¶
func NewItemItemIssuesItemLabelsWithNameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesItemLabelsWithNameItemRequestBuilder
NewItemItemIssuesItemLabelsWithNameItemRequestBuilderInternal instantiates a new ItemItemIssuesItemLabelsWithNameItemRequestBuilder and sets the default values.
func (*ItemItemIssuesItemLabelsWithNameItemRequestBuilder) Delete ¶
func (m *ItemItemIssuesItemLabelsWithNameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Labelable, error)
Delete removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist. returns a []Labelable when successful returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 410 status code API method documentation
func (*ItemItemIssuesItemLabelsWithNameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemIssuesItemLabelsWithNameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation removes the specified label from the issue, and returns the remaining labels on the issue. This endpoint returns a `404 Not Found` status if the label does not exist. returns a *RequestInformation when successful
func (*ItemItemIssuesItemLabelsWithNameItemRequestBuilder) WithUrl ¶
func (m *ItemItemIssuesItemLabelsWithNameItemRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesItemLabelsWithNameItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemIssuesItemLabelsWithNameItemRequestBuilder when successful
type ItemItemIssuesItemLockPutRequestBody ¶
type ItemItemIssuesItemLockPutRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemIssuesItemLockPutRequestBody ¶
func NewItemItemIssuesItemLockPutRequestBody() *ItemItemIssuesItemLockPutRequestBody
NewItemItemIssuesItemLockPutRequestBody instantiates a new ItemItemIssuesItemLockPutRequestBody and sets the default values.
func (*ItemItemIssuesItemLockPutRequestBody) GetAdditionalData ¶
func (m *ItemItemIssuesItemLockPutRequestBody) 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 (*ItemItemIssuesItemLockPutRequestBody) GetFieldDeserializers ¶
func (m *ItemItemIssuesItemLockPutRequestBody) 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 (*ItemItemIssuesItemLockPutRequestBody) Serialize ¶
func (m *ItemItemIssuesItemLockPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemIssuesItemLockPutRequestBody) SetAdditionalData ¶
func (m *ItemItemIssuesItemLockPutRequestBody) 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 ItemItemIssuesItemLockPutRequestBodyable ¶
type ItemItemIssuesItemLockPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemItemIssuesItemLockRequestBuilder ¶
type ItemItemIssuesItemLockRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemIssuesItemLockRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\issues\{issue_number}\lock
func NewItemItemIssuesItemLockRequestBuilder ¶
func NewItemItemIssuesItemLockRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesItemLockRequestBuilder
NewItemItemIssuesItemLockRequestBuilder instantiates a new ItemItemIssuesItemLockRequestBuilder and sets the default values.
func NewItemItemIssuesItemLockRequestBuilderInternal ¶
func NewItemItemIssuesItemLockRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesItemLockRequestBuilder
NewItemItemIssuesItemLockRequestBuilderInternal instantiates a new ItemItemIssuesItemLockRequestBuilder and sets the default values.
func (*ItemItemIssuesItemLockRequestBuilder) Delete ¶
func (m *ItemItemIssuesItemLockRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete users with push access can unlock an issue's conversation. 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 (*ItemItemIssuesItemLockRequestBuilder) Put ¶
func (m *ItemItemIssuesItemLockRequestBuilder) Put(ctx context.Context, body ItemItemIssuesItemLockPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put users with push access can lock an issue or pull request's conversation.Note that, if you choose not to pass any parameters, 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/enterprise-server@3.10/rest/guides/getting-started-with-the-rest-api#http-method)." 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 410 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemIssuesItemLockRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemIssuesItemLockRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation users with push access can unlock an issue's conversation. returns a *RequestInformation when successful
func (*ItemItemIssuesItemLockRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemIssuesItemLockRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemIssuesItemLockPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation users with push access can lock an issue or pull request's conversation.Note that, if you choose not to pass any parameters, 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/enterprise-server@3.10/rest/guides/getting-started-with-the-rest-api#http-method)." returns a *RequestInformation when successful
func (*ItemItemIssuesItemLockRequestBuilder) WithUrl ¶
func (m *ItemItemIssuesItemLockRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesItemLockRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemIssuesItemLockRequestBuilder when successful
type ItemItemIssuesItemReactionsPostRequestBody ¶
type ItemItemIssuesItemReactionsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemIssuesItemReactionsPostRequestBody ¶
func NewItemItemIssuesItemReactionsPostRequestBody() *ItemItemIssuesItemReactionsPostRequestBody
NewItemItemIssuesItemReactionsPostRequestBody instantiates a new ItemItemIssuesItemReactionsPostRequestBody and sets the default values.
func (*ItemItemIssuesItemReactionsPostRequestBody) GetAdditionalData ¶
func (m *ItemItemIssuesItemReactionsPostRequestBody) 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 (*ItemItemIssuesItemReactionsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemIssuesItemReactionsPostRequestBody) 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 (*ItemItemIssuesItemReactionsPostRequestBody) Serialize ¶
func (m *ItemItemIssuesItemReactionsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemIssuesItemReactionsPostRequestBody) SetAdditionalData ¶
func (m *ItemItemIssuesItemReactionsPostRequestBody) 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 ItemItemIssuesItemReactionsPostRequestBodyable ¶
type ItemItemIssuesItemReactionsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemItemIssuesItemReactionsRequestBuilder ¶
type ItemItemIssuesItemReactionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemIssuesItemReactionsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\issues\{issue_number}\reactions
func NewItemItemIssuesItemReactionsRequestBuilder ¶
func NewItemItemIssuesItemReactionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesItemReactionsRequestBuilder
NewItemItemIssuesItemReactionsRequestBuilder instantiates a new ItemItemIssuesItemReactionsRequestBuilder and sets the default values.
func NewItemItemIssuesItemReactionsRequestBuilderInternal ¶
func NewItemItemIssuesItemReactionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesItemReactionsRequestBuilder
NewItemItemIssuesItemReactionsRequestBuilderInternal instantiates a new ItemItemIssuesItemReactionsRequestBuilder and sets the default values.
func (*ItemItemIssuesItemReactionsRequestBuilder) ByReaction_id ¶
func (m *ItemItemIssuesItemReactionsRequestBuilder) ByReaction_id(reaction_id int32) *ItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder
ByReaction_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.issues.item.reactions.item collection returns a *ItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder when successful
func (*ItemItemIssuesItemReactionsRequestBuilder) Get ¶
func (m *ItemItemIssuesItemReactionsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemIssuesItemReactionsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Reactionable, error)
Get list the reactions to an [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue). returns a []Reactionable when successful returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 410 status code API method documentation
func (*ItemItemIssuesItemReactionsRequestBuilder) Post ¶
func (m *ItemItemIssuesItemReactionsRequestBuilder) Post(ctx context.Context, body ItemItemIssuesItemReactionsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Reactionable, error)
Post create a reaction to an [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue). A response with an HTTP `200` status means that you already added the reaction type to this issue. returns a Reactionable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemIssuesItemReactionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemIssuesItemReactionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemIssuesItemReactionsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list the reactions to an [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue). returns a *RequestInformation when successful
func (*ItemItemIssuesItemReactionsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemIssuesItemReactionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemIssuesItemReactionsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation create a reaction to an [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue). A response with an HTTP `200` status means that you already added the reaction type to this issue. returns a *RequestInformation when successful
func (*ItemItemIssuesItemReactionsRequestBuilder) WithUrl ¶
func (m *ItemItemIssuesItemReactionsRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesItemReactionsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemIssuesItemReactionsRequestBuilder when successful
type ItemItemIssuesItemReactionsRequestBuilderGetQueryParameters ¶
type ItemItemIssuesItemReactionsRequestBuilderGetQueryParameters struct { // Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. Content *i8a5daa8f7f9e57c6b4dc0d8983a565b7f182640fb87e4346a14aad4f65f0cf2e.GetContentQueryParameterType `uriparametername:"content"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemIssuesItemReactionsRequestBuilderGetQueryParameters list the reactions to an [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue).
type ItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder ¶
type ItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\issues\{issue_number}\reactions\{reaction_id}
func NewItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder ¶
func NewItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder
NewItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder instantiates a new ItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder and sets the default values.
func NewItemItemIssuesItemReactionsWithReaction_ItemRequestBuilderInternal ¶
func NewItemItemIssuesItemReactionsWithReaction_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder
NewItemItemIssuesItemReactionsWithReaction_ItemRequestBuilderInternal instantiates a new ItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder and sets the default values.
func (*ItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder) Delete ¶
func (m *ItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete > [!NOTE]> You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.Delete a reaction to an [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue). API method documentation
func (*ItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation > [!NOTE]> You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.Delete a reaction to an [issue](https://docs.github.com/enterprise-server@3.10/rest/issues/issues#get-an-issue). returns a *RequestInformation when successful
func (*ItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesItemReactionsWithReaction_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 *ItemItemIssuesItemReactionsWithReaction_ItemRequestBuilder when successful
type ItemItemIssuesItemTimelineRequestBuilder ¶
type ItemItemIssuesItemTimelineRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemIssuesItemTimelineRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\issues\{issue_number}\timeline
func NewItemItemIssuesItemTimelineRequestBuilder ¶
func NewItemItemIssuesItemTimelineRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesItemTimelineRequestBuilder
NewItemItemIssuesItemTimelineRequestBuilder instantiates a new ItemItemIssuesItemTimelineRequestBuilder and sets the default values.
func NewItemItemIssuesItemTimelineRequestBuilderInternal ¶
func NewItemItemIssuesItemTimelineRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesItemTimelineRequestBuilder
NewItemItemIssuesItemTimelineRequestBuilderInternal instantiates a new ItemItemIssuesItemTimelineRequestBuilder and sets the default values.
func (*ItemItemIssuesItemTimelineRequestBuilder) Get ¶
func (m *ItemItemIssuesItemTimelineRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemIssuesItemTimelineRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.TimelineIssueEventsable, error)
Get list all timeline events for an issue. returns a []TimelineIssueEventsable when successful returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 410 status code API method documentation
func (*ItemItemIssuesItemTimelineRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemIssuesItemTimelineRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemIssuesItemTimelineRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list all timeline events for an issue. returns a *RequestInformation when successful
func (*ItemItemIssuesItemTimelineRequestBuilder) WithUrl ¶
func (m *ItemItemIssuesItemTimelineRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesItemTimelineRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemIssuesItemTimelineRequestBuilder when successful
type ItemItemIssuesItemTimelineRequestBuilderGetQueryParameters ¶
type ItemItemIssuesItemTimelineRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemIssuesItemTimelineRequestBuilderGetQueryParameters list all timeline events for an issue.
type ItemItemIssuesItemWithIssue_numberPatchRequestBody ¶
type ItemItemIssuesItemWithIssue_numberPatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemIssuesItemWithIssue_numberPatchRequestBody ¶
func NewItemItemIssuesItemWithIssue_numberPatchRequestBody() *ItemItemIssuesItemWithIssue_numberPatchRequestBody
NewItemItemIssuesItemWithIssue_numberPatchRequestBody instantiates a new ItemItemIssuesItemWithIssue_numberPatchRequestBody and sets the default values.
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetAdditionalData ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) 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 (*ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetAssignee ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetAssignee() *string
GetAssignee gets the assignee property value. Username to assign to this issue. **This field is deprecated.** returns a *string when successful
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetAssignees ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetAssignees() []string
GetAssignees gets the assignees property value. Usernames to assign to this issue. Pass one or more user logins to _replace_ the set of assignees on this issue. Send an empty array (`[]`) to clear all assignees from the issue. Only users with push access can set assignees for new issues. Without push access to the repository, assignee changes are silently dropped. returns a []string when successful
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetBody ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetBody() *string
GetBody gets the body property value. The contents of the issue. returns a *string when successful
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) 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 (*ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetLabels ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetLabels() []string
GetLabels gets the labels property value. Labels to associate with this issue. Pass one or more labels to _replace_ the set of labels on this issue. Send an empty array (`[]`) to clear all labels from the issue. Only users with push access can set labels for issues. Without push access to the repository, label changes are silently dropped. returns a []string when successful
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetMilestone ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetMilestone() ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestoneable
GetMilestone gets the milestone property value. The milestone property returns a ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestoneable when successful
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetTitle ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetTitle() ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_titleable
GetTitle gets the title property value. The title of the issue. returns a ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_titleable when successful
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody) Serialize ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody) SetAdditionalData ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) 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 (*ItemItemIssuesItemWithIssue_numberPatchRequestBody) SetAssignee ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) SetAssignee(value *string)
SetAssignee sets the assignee property value. Username to assign to this issue. **This field is deprecated.**
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody) SetAssignees ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) SetAssignees(value []string)
SetAssignees sets the assignees property value. Usernames to assign to this issue. Pass one or more user logins to _replace_ the set of assignees on this issue. Send an empty array (`[]`) to clear all assignees from the issue. Only users with push access can set assignees for new issues. Without push access to the repository, assignee changes are silently dropped.
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody) SetBody ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) SetBody(value *string)
SetBody sets the body property value. The contents of the issue.
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody) SetLabels ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) SetLabels(value []string)
SetLabels sets the labels property value. Labels to associate with this issue. Pass one or more labels to _replace_ the set of labels on this issue. Send an empty array (`[]`) to clear all labels from the issue. Only users with push access can set labels for issues. Without push access to the repository, label changes are silently dropped.
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody) SetMilestone ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) SetMilestone(value ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestoneable)
SetMilestone sets the milestone property value. The milestone property
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody) SetTitle ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody) SetTitle(value ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_titleable)
SetTitle sets the title property value. The title of the issue.
type ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone ¶
type ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone struct {
// contains filtered or unexported fields
}
ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone composed type wrapper for classes int32, string
func NewItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone ¶
func NewItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone() *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone
NewItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone instantiates a new ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone and sets the default values.
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) GetFieldDeserializers ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) 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 (*ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) GetInteger ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) GetInteger() *int32
GetInteger gets the integer property value. Composed type representation for type int32 returns a *int32 when successful
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) GetIsComposedType ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) GetString ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) GetString() *string
GetString gets the string property value. Composed type representation for type string returns a *string when successful
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) Serialize ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) SetInteger ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) SetInteger(value *int32)
SetInteger sets the integer property value. Composed type representation for type int32
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) SetString ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) SetString(value *string)
SetString sets the string property value. Composed type representation for type string
type ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestoneable ¶
type ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title ¶
type ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title struct {
// contains filtered or unexported fields
}
ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title composed type wrapper for classes int32, string
func NewItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title ¶
func NewItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title() *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title
NewItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title instantiates a new ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title and sets the default values.
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) GetFieldDeserializers ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) 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 (*ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) GetInteger ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) GetInteger() *int32
GetInteger gets the integer property value. Composed type representation for type int32 returns a *int32 when successful
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) GetIsComposedType ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) GetString ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) GetString() *string
GetString gets the string property value. Composed type representation for type string returns a *string when successful
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) Serialize ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) SetInteger ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) SetInteger(value *int32)
SetInteger sets the integer property value. Composed type representation for type int32
func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) SetString ¶
func (m *ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) SetString(value *string)
SetString sets the string property value. Composed type representation for type string
type ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_titleable ¶
type ItemItemIssuesItemWithIssue_numberPatchRequestBodyable ¶
type ItemItemIssuesItemWithIssue_numberPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAssignee() *string GetAssignees() []string GetBody() *string GetLabels() []string GetMilestone() ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestoneable GetTitle() ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_titleable SetAssignee(value *string) SetAssignees(value []string) SetBody(value *string) SetLabels(value []string) SetMilestone(value ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestoneable) SetTitle(value ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_titleable) }
type ItemItemIssuesPostRequestBody ¶
type ItemItemIssuesPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemIssuesPostRequestBody ¶
func NewItemItemIssuesPostRequestBody() *ItemItemIssuesPostRequestBody
NewItemItemIssuesPostRequestBody instantiates a new ItemItemIssuesPostRequestBody and sets the default values.
func (*ItemItemIssuesPostRequestBody) GetAdditionalData ¶
func (m *ItemItemIssuesPostRequestBody) 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 (*ItemItemIssuesPostRequestBody) GetAssignee ¶
func (m *ItemItemIssuesPostRequestBody) GetAssignee() *string
GetAssignee gets the assignee property value. Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is deprecated.**_ returns a *string when successful
func (*ItemItemIssuesPostRequestBody) GetAssignees ¶
func (m *ItemItemIssuesPostRequestBody) GetAssignees() []string
GetAssignees gets the assignees property value. Logins for Users to assign to this issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._ returns a []string when successful
func (*ItemItemIssuesPostRequestBody) GetBody ¶
func (m *ItemItemIssuesPostRequestBody) GetBody() *string
GetBody gets the body property value. The contents of the issue. returns a *string when successful
func (*ItemItemIssuesPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemIssuesPostRequestBody) 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 (*ItemItemIssuesPostRequestBody) GetLabels ¶
func (m *ItemItemIssuesPostRequestBody) GetLabels() []string
GetLabels gets the labels property value. Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._ returns a []string when successful
func (*ItemItemIssuesPostRequestBody) GetMilestone ¶
func (m *ItemItemIssuesPostRequestBody) GetMilestone() ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestoneable
GetMilestone gets the milestone property value. The milestone property returns a ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestoneable when successful
func (*ItemItemIssuesPostRequestBody) GetTitle ¶
func (m *ItemItemIssuesPostRequestBody) GetTitle() ItemItemIssuesPostRequestBody_IssuesPostRequestBody_titleable
GetTitle gets the title property value. The title of the issue. returns a ItemItemIssuesPostRequestBody_IssuesPostRequestBody_titleable when successful
func (*ItemItemIssuesPostRequestBody) Serialize ¶
func (m *ItemItemIssuesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemIssuesPostRequestBody) SetAdditionalData ¶
func (m *ItemItemIssuesPostRequestBody) 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 (*ItemItemIssuesPostRequestBody) SetAssignee ¶
func (m *ItemItemIssuesPostRequestBody) SetAssignee(value *string)
SetAssignee sets the assignee property value. Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is deprecated.**_
func (*ItemItemIssuesPostRequestBody) SetAssignees ¶
func (m *ItemItemIssuesPostRequestBody) SetAssignees(value []string)
SetAssignees sets the assignees property value. Logins for Users to assign to this issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._
func (*ItemItemIssuesPostRequestBody) SetBody ¶
func (m *ItemItemIssuesPostRequestBody) SetBody(value *string)
SetBody sets the body property value. The contents of the issue.
func (*ItemItemIssuesPostRequestBody) SetLabels ¶
func (m *ItemItemIssuesPostRequestBody) SetLabels(value []string)
SetLabels sets the labels property value. Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._
func (*ItemItemIssuesPostRequestBody) SetMilestone ¶
func (m *ItemItemIssuesPostRequestBody) SetMilestone(value ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestoneable)
SetMilestone sets the milestone property value. The milestone property
func (*ItemItemIssuesPostRequestBody) SetTitle ¶
func (m *ItemItemIssuesPostRequestBody) SetTitle(value ItemItemIssuesPostRequestBody_IssuesPostRequestBody_titleable)
SetTitle sets the title property value. The title of the issue.
type ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone ¶
type ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone struct {
// contains filtered or unexported fields
}
ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone composed type wrapper for classes int32, string
func NewItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone ¶
func NewItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone() *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone
NewItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone instantiates a new ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone and sets the default values.
func (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) GetFieldDeserializers ¶
func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) 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 (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) GetInteger ¶
func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) GetInteger() *int32
GetInteger gets the integer property value. Composed type representation for type int32 returns a *int32 when successful
func (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) GetIsComposedType ¶
func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) GetString ¶
func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) GetString() *string
GetString gets the string property value. Composed type representation for type string returns a *string when successful
func (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) Serialize ¶
func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) SetInteger ¶
func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) SetInteger(value *int32)
SetInteger sets the integer property value. Composed type representation for type int32
func (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) SetString ¶
func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) SetString(value *string)
SetString sets the string property value. Composed type representation for type string
type ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title ¶
type ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title struct {
// contains filtered or unexported fields
}
ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title composed type wrapper for classes int32, string
func NewItemItemIssuesPostRequestBody_IssuesPostRequestBody_title ¶
func NewItemItemIssuesPostRequestBody_IssuesPostRequestBody_title() *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title
NewItemItemIssuesPostRequestBody_IssuesPostRequestBody_title instantiates a new ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title and sets the default values.
func (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) GetFieldDeserializers ¶
func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) 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 (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) GetInteger ¶
func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) GetInteger() *int32
GetInteger gets the integer property value. Composed type representation for type int32 returns a *int32 when successful
func (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) GetIsComposedType ¶
func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) GetString ¶
func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) GetString() *string
GetString gets the string property value. Composed type representation for type string returns a *string when successful
func (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) Serialize ¶
func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) SetInteger ¶
func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) SetInteger(value *int32)
SetInteger sets the integer property value. Composed type representation for type int32
func (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) SetString ¶
func (m *ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) SetString(value *string)
SetString sets the string property value. Composed type representation for type string
type ItemItemIssuesPostRequestBodyable ¶
type ItemItemIssuesPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAssignee() *string GetAssignees() []string GetBody() *string GetLabels() []string GetMilestone() ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestoneable GetTitle() ItemItemIssuesPostRequestBody_IssuesPostRequestBody_titleable SetAssignee(value *string) SetAssignees(value []string) SetBody(value *string) SetLabels(value []string) SetMilestone(value ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestoneable) SetTitle(value ItemItemIssuesPostRequestBody_IssuesPostRequestBody_titleable) }
type ItemItemIssuesRequestBuilder ¶
type ItemItemIssuesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemIssuesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\issues
func NewItemItemIssuesRequestBuilder ¶
func NewItemItemIssuesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesRequestBuilder
NewItemItemIssuesRequestBuilder instantiates a new ItemItemIssuesRequestBuilder and sets the default values.
func NewItemItemIssuesRequestBuilderInternal ¶
func NewItemItemIssuesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesRequestBuilder
NewItemItemIssuesRequestBuilderInternal instantiates a new ItemItemIssuesRequestBuilder and sets the default values.
func (*ItemItemIssuesRequestBuilder) ByIssue_number ¶
func (m *ItemItemIssuesRequestBuilder) ByIssue_number(issue_number int32) *ItemItemIssuesWithIssue_numberItemRequestBuilder
ByIssue_number gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.issues.item collection returns a *ItemItemIssuesWithIssue_numberItemRequestBuilder when successful
func (*ItemItemIssuesRequestBuilder) Comments ¶
func (m *ItemItemIssuesRequestBuilder) Comments() *ItemItemIssuesCommentsRequestBuilder
Comments the comments property returns a *ItemItemIssuesCommentsRequestBuilder when successful
func (*ItemItemIssuesRequestBuilder) Events ¶
func (m *ItemItemIssuesRequestBuilder) Events() *ItemItemIssuesEventsRequestBuilder
Events the events property returns a *ItemItemIssuesEventsRequestBuilder when successful
func (*ItemItemIssuesRequestBuilder) Get ¶
func (m *ItemItemIssuesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemIssuesRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Issueable, error)
Get list issues in a repository. Only open issues will be listed.> [!NOTE]> GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `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 pull request id, use the "[List pull requests](https://docs.github.com/enterprise-server@3.10/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/enterprise-server@3.10/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 returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemIssuesRequestBuilder) Post ¶
func (m *ItemItemIssuesRequestBuilder) Post(ctx context.Context, body ItemItemIssuesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Issueable, error)
Post any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/enterprise-server@3.10/articles/disabling-issues/), the API returns a `410 Gone` status.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.10/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/best-practices-for-using-the-rest-api)."This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 400 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 410 status code returns a ValidationError error when the service returns a 422 status code returns a Issue503Error error when the service returns a 503 status code API method documentation
func (*ItemItemIssuesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemIssuesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemIssuesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list issues in a repository. Only open issues will be listed.> [!NOTE]> GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `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 pull request id, use the "[List pull requests](https://docs.github.com/enterprise-server@3.10/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/enterprise-server@3.10/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 (*ItemItemIssuesRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemIssuesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemIssuesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://docs.github.com/enterprise-server@3.10/articles/disabling-issues/), the API returns a `410 Gone` status.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.10/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/best-practices-for-using-the-rest-api)."This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 (*ItemItemIssuesRequestBuilder) WithUrl ¶
func (m *ItemItemIssuesRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemIssuesRequestBuilder when successful
type ItemItemIssuesRequestBuilderGetQueryParameters ¶
type ItemItemIssuesRequestBuilderGetQueryParameters struct { // Can be the name of a user. Pass in `none` for issues with no assigned user, and `*` for issues assigned to any user. Assignee *string `uriparametername:"assignee"` // The user that created the issue. Creator *string `uriparametername:"creator"` // The direction to sort the results by. Direction *i7e4c62d8268966954a5c0ac9afd824b3b6979d9f8715928af4b65a3e87a07c54.GetDirectionQueryParameterType `uriparametername:"direction"` // A list of comma separated label names. Example: `bug,ui,@high` Labels *string `uriparametername:"labels"` // A user that's mentioned in the issue. Mentioned *string `uriparametername:"mentioned"` // If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone are accepted. If the string `none` is passed, issues without milestones are returned. Milestone *string `uriparametername:"milestone"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/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 *i7e4c62d8268966954a5c0ac9afd824b3b6979d9f8715928af4b65a3e87a07c54.GetSortQueryParameterType `uriparametername:"sort"` // Indicates the state of the issues to return. State *i7e4c62d8268966954a5c0ac9afd824b3b6979d9f8715928af4b65a3e87a07c54.GetStateQueryParameterType `uriparametername:"state"` }
ItemItemIssuesRequestBuilderGetQueryParameters list issues in a repository. Only open issues will be listed.> [!NOTE]> GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `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 pull request id, use the "[List pull requests](https://docs.github.com/enterprise-server@3.10/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/enterprise-server@3.10/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 ItemItemIssuesWithIssue_numberItemRequestBuilder ¶
type ItemItemIssuesWithIssue_numberItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemIssuesWithIssue_numberItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\issues\{issue_number}
func NewItemItemIssuesWithIssue_numberItemRequestBuilder ¶
func NewItemItemIssuesWithIssue_numberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesWithIssue_numberItemRequestBuilder
NewItemItemIssuesWithIssue_numberItemRequestBuilder instantiates a new ItemItemIssuesWithIssue_numberItemRequestBuilder and sets the default values.
func NewItemItemIssuesWithIssue_numberItemRequestBuilderInternal ¶
func NewItemItemIssuesWithIssue_numberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemIssuesWithIssue_numberItemRequestBuilder
NewItemItemIssuesWithIssue_numberItemRequestBuilderInternal instantiates a new ItemItemIssuesWithIssue_numberItemRequestBuilder and sets the default values.
func (*ItemItemIssuesWithIssue_numberItemRequestBuilder) Assignees ¶
func (m *ItemItemIssuesWithIssue_numberItemRequestBuilder) Assignees() *ItemItemIssuesItemAssigneesRequestBuilder
Assignees the assignees property returns a *ItemItemIssuesItemAssigneesRequestBuilder when successful
func (*ItemItemIssuesWithIssue_numberItemRequestBuilder) Comments ¶
func (m *ItemItemIssuesWithIssue_numberItemRequestBuilder) Comments() *ItemItemIssuesItemCommentsRequestBuilder
Comments the comments property returns a *ItemItemIssuesItemCommentsRequestBuilder when successful
func (*ItemItemIssuesWithIssue_numberItemRequestBuilder) Events ¶
func (m *ItemItemIssuesWithIssue_numberItemRequestBuilder) Events() *ItemItemIssuesItemEventsRequestBuilder
Events the events property returns a *ItemItemIssuesItemEventsRequestBuilder when successful
func (*ItemItemIssuesWithIssue_numberItemRequestBuilder) Get ¶
func (m *ItemItemIssuesWithIssue_numberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Issueable, error)
Get the API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@3.10/rest/guides/best-practices-for-using-the-rest-api#follow-redirects) if the issue was[transferred](https://docs.github.com/enterprise-server@3.10/articles/transferring-an-issue-to-another-repository/) to another repository. Ifthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the APIreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has readaccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribeto the [`issues`](https://docs.github.com/enterprise-server@3.10/webhooks/event-payloads/#issues) webhook.> [!NOTE]> GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `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 pull request id, use the "[List pull requests](https://docs.github.com/enterprise-server@3.10/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/enterprise-server@3.10/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 returns a BasicError error when the service returns a 410 status code API method documentation
func (*ItemItemIssuesWithIssue_numberItemRequestBuilder) Labels ¶
func (m *ItemItemIssuesWithIssue_numberItemRequestBuilder) Labels() *ItemItemIssuesItemLabelsRequestBuilder
Labels the labels property returns a *ItemItemIssuesItemLabelsRequestBuilder when successful
func (*ItemItemIssuesWithIssue_numberItemRequestBuilder) Lock ¶
func (m *ItemItemIssuesWithIssue_numberItemRequestBuilder) Lock() *ItemItemIssuesItemLockRequestBuilder
Lock the lock property returns a *ItemItemIssuesItemLockRequestBuilder when successful
func (*ItemItemIssuesWithIssue_numberItemRequestBuilder) Patch ¶
func (m *ItemItemIssuesWithIssue_numberItemRequestBuilder) Patch(ctx context.Context, body ItemItemIssuesItemWithIssue_numberPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Issueable, error)
Patch issue owners and users with push access can edit an issue.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 410 status code returns a ValidationError error when the service returns a 422 status code returns a Issue503Error error when the service returns a 503 status code API method documentation
func (*ItemItemIssuesWithIssue_numberItemRequestBuilder) Reactions ¶
func (m *ItemItemIssuesWithIssue_numberItemRequestBuilder) Reactions() *ItemItemIssuesItemReactionsRequestBuilder
Reactions the reactions property returns a *ItemItemIssuesItemReactionsRequestBuilder when successful
func (*ItemItemIssuesWithIssue_numberItemRequestBuilder) Timeline ¶
func (m *ItemItemIssuesWithIssue_numberItemRequestBuilder) Timeline() *ItemItemIssuesItemTimelineRequestBuilder
Timeline the timeline property returns a *ItemItemIssuesItemTimelineRequestBuilder when successful
func (*ItemItemIssuesWithIssue_numberItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemIssuesWithIssue_numberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation the API returns a [`301 Moved Permanently` status](https://docs.github.com/enterprise-server@3.10/rest/guides/best-practices-for-using-the-rest-api#follow-redirects) if the issue was[transferred](https://docs.github.com/enterprise-server@3.10/articles/transferring-an-issue-to-another-repository/) to another repository. Ifthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the APIreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has readaccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribeto the [`issues`](https://docs.github.com/enterprise-server@3.10/webhooks/event-payloads/#issues) webhook.> [!NOTE]> GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `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 pull request id, use the "[List pull requests](https://docs.github.com/enterprise-server@3.10/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/enterprise-server@3.10/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 (*ItemItemIssuesWithIssue_numberItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemIssuesWithIssue_numberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemIssuesItemWithIssue_numberPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation issue owners and users with push access can edit an issue.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 (*ItemItemIssuesWithIssue_numberItemRequestBuilder) WithUrl ¶
func (m *ItemItemIssuesWithIssue_numberItemRequestBuilder) WithUrl(rawUrl string) *ItemItemIssuesWithIssue_numberItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemIssuesWithIssue_numberItemRequestBuilder when successful
type ItemItemKeysPostRequestBody ¶
type ItemItemKeysPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemKeysPostRequestBody ¶
func NewItemItemKeysPostRequestBody() *ItemItemKeysPostRequestBody
NewItemItemKeysPostRequestBody instantiates a new ItemItemKeysPostRequestBody and sets the default values.
func (*ItemItemKeysPostRequestBody) GetAdditionalData ¶
func (m *ItemItemKeysPostRequestBody) 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 (*ItemItemKeysPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemKeysPostRequestBody) 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 (*ItemItemKeysPostRequestBody) GetKey ¶
func (m *ItemItemKeysPostRequestBody) GetKey() *string
GetKey gets the key property value. The contents of the key. returns a *string when successful
func (*ItemItemKeysPostRequestBody) GetReadOnly ¶
func (m *ItemItemKeysPostRequestBody) GetReadOnly() *bool
GetReadOnly gets the read_only property value. If `true`, the key will only be able to read repository contents. Otherwise, the key will be able to read and write. Deploy keys with write access can perform the same actions as an organization member with admin access, or a collaborator on a personal repository. For more information, see "[Repository permission levels for an organization](https://docs.github.com/enterprise-server@3.10/articles/repository-permission-levels-for-an-organization/)" and "[Permission levels for a user account repository](https://docs.github.com/enterprise-server@3.10/articles/permission-levels-for-a-user-account-repository/)." returns a *bool when successful
func (*ItemItemKeysPostRequestBody) GetTitle ¶
func (m *ItemItemKeysPostRequestBody) GetTitle() *string
GetTitle gets the title property value. A name for the key. returns a *string when successful
func (*ItemItemKeysPostRequestBody) Serialize ¶
func (m *ItemItemKeysPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemKeysPostRequestBody) SetAdditionalData ¶
func (m *ItemItemKeysPostRequestBody) 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 (*ItemItemKeysPostRequestBody) SetKey ¶
func (m *ItemItemKeysPostRequestBody) SetKey(value *string)
SetKey sets the key property value. The contents of the key.
func (*ItemItemKeysPostRequestBody) SetReadOnly ¶
func (m *ItemItemKeysPostRequestBody) SetReadOnly(value *bool)
SetReadOnly sets the read_only property value. If `true`, the key will only be able to read repository contents. Otherwise, the key will be able to read and write. Deploy keys with write access can perform the same actions as an organization member with admin access, or a collaborator on a personal repository. For more information, see "[Repository permission levels for an organization](https://docs.github.com/enterprise-server@3.10/articles/repository-permission-levels-for-an-organization/)" and "[Permission levels for a user account repository](https://docs.github.com/enterprise-server@3.10/articles/permission-levels-for-a-user-account-repository/)."
func (*ItemItemKeysPostRequestBody) SetTitle ¶
func (m *ItemItemKeysPostRequestBody) SetTitle(value *string)
SetTitle sets the title property value. A name for the key.
type ItemItemKeysPostRequestBodyable ¶
type ItemItemKeysPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetKey() *string GetReadOnly() *bool GetTitle() *string SetKey(value *string) SetReadOnly(value *bool) SetTitle(value *string) }
type ItemItemKeysRequestBuilder ¶
type ItemItemKeysRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemKeysRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\keys
func NewItemItemKeysRequestBuilder ¶
func NewItemItemKeysRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemKeysRequestBuilder
NewItemItemKeysRequestBuilder instantiates a new ItemItemKeysRequestBuilder and sets the default values.
func NewItemItemKeysRequestBuilderInternal ¶
func NewItemItemKeysRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemKeysRequestBuilder
NewItemItemKeysRequestBuilderInternal instantiates a new ItemItemKeysRequestBuilder and sets the default values.
func (*ItemItemKeysRequestBuilder) ByKey_id ¶
func (m *ItemItemKeysRequestBuilder) ByKey_id(key_id int32) *ItemItemKeysWithKey_ItemRequestBuilder
ByKey_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.keys.item collection returns a *ItemItemKeysWithKey_ItemRequestBuilder when successful
func (*ItemItemKeysRequestBuilder) Get ¶
func (m *ItemItemKeysRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemKeysRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeployKeyable, error)
Get list deploy keys returns a []DeployKeyable when successful API method documentation
func (*ItemItemKeysRequestBuilder) Post ¶
func (m *ItemItemKeysRequestBuilder) Post(ctx context.Context, body ItemItemKeysPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeployKeyable, error)
Post you can create a read-only deploy key. returns a DeployKeyable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemKeysRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemKeysRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemKeysRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*ItemItemKeysRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemKeysRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemKeysPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation you can create a read-only deploy key. returns a *RequestInformation when successful
func (*ItemItemKeysRequestBuilder) WithUrl ¶
func (m *ItemItemKeysRequestBuilder) WithUrl(rawUrl string) *ItemItemKeysRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemKeysRequestBuilder when successful
type ItemItemKeysRequestBuilderGetQueryParameters ¶
type ItemItemKeysRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemKeysRequestBuilderGetQueryParameters list deploy keys
type ItemItemKeysWithKey_ItemRequestBuilder ¶
type ItemItemKeysWithKey_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemKeysWithKey_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\keys\{key_id}
func NewItemItemKeysWithKey_ItemRequestBuilder ¶
func NewItemItemKeysWithKey_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemKeysWithKey_ItemRequestBuilder
NewItemItemKeysWithKey_ItemRequestBuilder instantiates a new ItemItemKeysWithKey_ItemRequestBuilder and sets the default values.
func NewItemItemKeysWithKey_ItemRequestBuilderInternal ¶
func NewItemItemKeysWithKey_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemKeysWithKey_ItemRequestBuilder
NewItemItemKeysWithKey_ItemRequestBuilderInternal instantiates a new ItemItemKeysWithKey_ItemRequestBuilder and sets the default values.
func (*ItemItemKeysWithKey_ItemRequestBuilder) Delete ¶
func (m *ItemItemKeysWithKey_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete deploy keys are immutable. If you need to update a key, remove the key and create a new one instead. API method documentation
func (*ItemItemKeysWithKey_ItemRequestBuilder) Get ¶
func (m *ItemItemKeysWithKey_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DeployKeyable, error)
Get get a deploy key returns a DeployKeyable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemKeysWithKey_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemKeysWithKey_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deploy keys are immutable. If you need to update a key, remove the key and create a new one instead. returns a *RequestInformation when successful
func (*ItemItemKeysWithKey_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemKeysWithKey_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*ItemItemKeysWithKey_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemKeysWithKey_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemKeysWithKey_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 *ItemItemKeysWithKey_ItemRequestBuilder when successful
type ItemItemLabelsItemWithNamePatchRequestBody ¶
type ItemItemLabelsItemWithNamePatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemLabelsItemWithNamePatchRequestBody ¶
func NewItemItemLabelsItemWithNamePatchRequestBody() *ItemItemLabelsItemWithNamePatchRequestBody
NewItemItemLabelsItemWithNamePatchRequestBody instantiates a new ItemItemLabelsItemWithNamePatchRequestBody and sets the default values.
func (*ItemItemLabelsItemWithNamePatchRequestBody) GetAdditionalData ¶
func (m *ItemItemLabelsItemWithNamePatchRequestBody) 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 (*ItemItemLabelsItemWithNamePatchRequestBody) GetColor ¶
func (m *ItemItemLabelsItemWithNamePatchRequestBody) GetColor() *string
GetColor gets the color property value. The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`. returns a *string when successful
func (*ItemItemLabelsItemWithNamePatchRequestBody) GetDescription ¶
func (m *ItemItemLabelsItemWithNamePatchRequestBody) GetDescription() *string
GetDescription gets the description property value. A short description of the label. Must be 100 characters or fewer. returns a *string when successful
func (*ItemItemLabelsItemWithNamePatchRequestBody) GetFieldDeserializers ¶
func (m *ItemItemLabelsItemWithNamePatchRequestBody) 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 (*ItemItemLabelsItemWithNamePatchRequestBody) GetNewName ¶
func (m *ItemItemLabelsItemWithNamePatchRequestBody) GetNewName() *string
GetNewName gets the new_name property value. The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji . For a full list of available emoji and codes, see "[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet)." returns a *string when successful
func (*ItemItemLabelsItemWithNamePatchRequestBody) Serialize ¶
func (m *ItemItemLabelsItemWithNamePatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemLabelsItemWithNamePatchRequestBody) SetAdditionalData ¶
func (m *ItemItemLabelsItemWithNamePatchRequestBody) 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 (*ItemItemLabelsItemWithNamePatchRequestBody) SetColor ¶
func (m *ItemItemLabelsItemWithNamePatchRequestBody) SetColor(value *string)
SetColor sets the color property value. The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`.
func (*ItemItemLabelsItemWithNamePatchRequestBody) SetDescription ¶
func (m *ItemItemLabelsItemWithNamePatchRequestBody) SetDescription(value *string)
SetDescription sets the description property value. A short description of the label. Must be 100 characters or fewer.
func (*ItemItemLabelsItemWithNamePatchRequestBody) SetNewName ¶
func (m *ItemItemLabelsItemWithNamePatchRequestBody) SetNewName(value *string)
SetNewName sets the new_name property value. The new name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji . For a full list of available emoji and codes, see "[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet)."
type ItemItemLabelsItemWithNamePatchRequestBodyable ¶
type ItemItemLabelsItemWithNamePatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetColor() *string GetDescription() *string GetNewName() *string SetColor(value *string) SetDescription(value *string) SetNewName(value *string) }
type ItemItemLabelsPostRequestBody ¶
type ItemItemLabelsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemLabelsPostRequestBody ¶
func NewItemItemLabelsPostRequestBody() *ItemItemLabelsPostRequestBody
NewItemItemLabelsPostRequestBody instantiates a new ItemItemLabelsPostRequestBody and sets the default values.
func (*ItemItemLabelsPostRequestBody) GetAdditionalData ¶
func (m *ItemItemLabelsPostRequestBody) 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 (*ItemItemLabelsPostRequestBody) GetColor ¶
func (m *ItemItemLabelsPostRequestBody) GetColor() *string
GetColor gets the color property value. The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`. returns a *string when successful
func (*ItemItemLabelsPostRequestBody) GetDescription ¶
func (m *ItemItemLabelsPostRequestBody) GetDescription() *string
GetDescription gets the description property value. A short description of the label. Must be 100 characters or fewer. returns a *string when successful
func (*ItemItemLabelsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemLabelsPostRequestBody) 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 (*ItemItemLabelsPostRequestBody) GetName ¶
func (m *ItemItemLabelsPostRequestBody) GetName() *string
GetName gets the name property value. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji . For a full list of available emoji and codes, see "[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet)." returns a *string when successful
func (*ItemItemLabelsPostRequestBody) Serialize ¶
func (m *ItemItemLabelsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemLabelsPostRequestBody) SetAdditionalData ¶
func (m *ItemItemLabelsPostRequestBody) 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 (*ItemItemLabelsPostRequestBody) SetColor ¶
func (m *ItemItemLabelsPostRequestBody) SetColor(value *string)
SetColor sets the color property value. The [hexadecimal color code](http://www.color-hex.com/) for the label, without the leading `#`.
func (*ItemItemLabelsPostRequestBody) SetDescription ¶
func (m *ItemItemLabelsPostRequestBody) SetDescription(value *string)
SetDescription sets the description property value. A short description of the label. Must be 100 characters or fewer.
func (*ItemItemLabelsPostRequestBody) SetName ¶
func (m *ItemItemLabelsPostRequestBody) SetName(value *string)
SetName sets the name property value. The name of the label. Emoji can be added to label names, using either native emoji or colon-style markup. For example, typing `:strawberry:` will render the emoji . For a full list of available emoji and codes, see "[Emoji cheat sheet](https://github.com/ikatyang/emoji-cheat-sheet)."
type ItemItemLabelsPostRequestBodyable ¶
type ItemItemLabelsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetColor() *string GetDescription() *string GetName() *string SetColor(value *string) SetDescription(value *string) SetName(value *string) }
type ItemItemLabelsRequestBuilder ¶
type ItemItemLabelsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemLabelsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\labels
func NewItemItemLabelsRequestBuilder ¶
func NewItemItemLabelsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemLabelsRequestBuilder
NewItemItemLabelsRequestBuilder instantiates a new ItemItemLabelsRequestBuilder and sets the default values.
func NewItemItemLabelsRequestBuilderInternal ¶
func NewItemItemLabelsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemLabelsRequestBuilder
NewItemItemLabelsRequestBuilderInternal instantiates a new ItemItemLabelsRequestBuilder and sets the default values.
func (*ItemItemLabelsRequestBuilder) ByName ¶
func (m *ItemItemLabelsRequestBuilder) ByName(name string) *ItemItemLabelsWithNameItemRequestBuilder
ByName gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.labels.item collection returns a *ItemItemLabelsWithNameItemRequestBuilder when successful
func (*ItemItemLabelsRequestBuilder) Get ¶
func (m *ItemItemLabelsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemLabelsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Labelable, error)
Get lists all labels for a repository. returns a []Labelable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemLabelsRequestBuilder) Post ¶
func (m *ItemItemLabelsRequestBuilder) Post(ctx context.Context, body ItemItemLabelsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Labelable, error)
Post creates a label for the specified repository with the given name and color. The name and color parameters are required. The color must be a valid [hexadecimal color code](http://www.color-hex.com/). returns a Labelable 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 (*ItemItemLabelsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemLabelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemLabelsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all labels for a repository. returns a *RequestInformation when successful
func (*ItemItemLabelsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemLabelsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemLabelsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation creates a label for the specified repository with the given name and color. The name and color parameters are required. The color must be a valid [hexadecimal color code](http://www.color-hex.com/). returns a *RequestInformation when successful
func (*ItemItemLabelsRequestBuilder) WithUrl ¶
func (m *ItemItemLabelsRequestBuilder) WithUrl(rawUrl string) *ItemItemLabelsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemLabelsRequestBuilder when successful
type ItemItemLabelsRequestBuilderGetQueryParameters ¶
type ItemItemLabelsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemLabelsRequestBuilderGetQueryParameters lists all labels for a repository.
type ItemItemLabelsWithNameItemRequestBuilder ¶
type ItemItemLabelsWithNameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemLabelsWithNameItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\labels\{name}
func NewItemItemLabelsWithNameItemRequestBuilder ¶
func NewItemItemLabelsWithNameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemLabelsWithNameItemRequestBuilder
NewItemItemLabelsWithNameItemRequestBuilder instantiates a new ItemItemLabelsWithNameItemRequestBuilder and sets the default values.
func NewItemItemLabelsWithNameItemRequestBuilderInternal ¶
func NewItemItemLabelsWithNameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemLabelsWithNameItemRequestBuilder
NewItemItemLabelsWithNameItemRequestBuilderInternal instantiates a new ItemItemLabelsWithNameItemRequestBuilder and sets the default values.
func (*ItemItemLabelsWithNameItemRequestBuilder) Delete ¶
func (m *ItemItemLabelsWithNameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete deletes a label using the given label name. API method documentation
func (*ItemItemLabelsWithNameItemRequestBuilder) Get ¶
func (m *ItemItemLabelsWithNameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Labelable, error)
Get gets a label using the given name. returns a Labelable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemLabelsWithNameItemRequestBuilder) Patch ¶
func (m *ItemItemLabelsWithNameItemRequestBuilder) Patch(ctx context.Context, body ItemItemLabelsItemWithNamePatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Labelable, error)
Patch updates a label using the given label name. returns a Labelable when successful API method documentation
func (*ItemItemLabelsWithNameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemLabelsWithNameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a label using the given label name. returns a *RequestInformation when successful
func (*ItemItemLabelsWithNameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemLabelsWithNameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a label using the given name. returns a *RequestInformation when successful
func (*ItemItemLabelsWithNameItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemLabelsWithNameItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemLabelsItemWithNamePatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation updates a label using the given label name. returns a *RequestInformation when successful
func (*ItemItemLabelsWithNameItemRequestBuilder) WithUrl ¶
func (m *ItemItemLabelsWithNameItemRequestBuilder) WithUrl(rawUrl string) *ItemItemLabelsWithNameItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemLabelsWithNameItemRequestBuilder when successful
type ItemItemLanguagesRequestBuilder ¶
type ItemItemLanguagesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemLanguagesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\languages
func NewItemItemLanguagesRequestBuilder ¶
func NewItemItemLanguagesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemLanguagesRequestBuilder
NewItemItemLanguagesRequestBuilder instantiates a new ItemItemLanguagesRequestBuilder and sets the default values.
func NewItemItemLanguagesRequestBuilderInternal ¶
func NewItemItemLanguagesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemLanguagesRequestBuilder
NewItemItemLanguagesRequestBuilderInternal instantiates a new ItemItemLanguagesRequestBuilder and sets the default values.
func (*ItemItemLanguagesRequestBuilder) Get ¶
func (m *ItemItemLanguagesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Languageable, error)
Get lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language. returns a Languageable when successful API method documentation
func (*ItemItemLanguagesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemLanguagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language. returns a *RequestInformation when successful
func (*ItemItemLanguagesRequestBuilder) WithUrl ¶
func (m *ItemItemLanguagesRequestBuilder) WithUrl(rawUrl string) *ItemItemLanguagesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemLanguagesRequestBuilder when successful
type ItemItemLfsPutResponse ¶
type ItemItemLfsPutResponse struct {
// contains filtered or unexported fields
}
func NewItemItemLfsPutResponse ¶
func NewItemItemLfsPutResponse() *ItemItemLfsPutResponse
NewItemItemLfsPutResponse instantiates a new ItemItemLfsPutResponse and sets the default values.
func (*ItemItemLfsPutResponse) GetAdditionalData ¶
func (m *ItemItemLfsPutResponse) 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 (*ItemItemLfsPutResponse) GetFieldDeserializers ¶
func (m *ItemItemLfsPutResponse) 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 (*ItemItemLfsPutResponse) Serialize ¶
func (m *ItemItemLfsPutResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemLfsPutResponse) SetAdditionalData ¶
func (m *ItemItemLfsPutResponse) 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 ItemItemLfsPutResponseable ¶
type ItemItemLfsPutResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemItemLfsRequestBuilder ¶
type ItemItemLfsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemLfsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\lfs
func NewItemItemLfsRequestBuilder ¶
func NewItemItemLfsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemLfsRequestBuilder
NewItemItemLfsRequestBuilder instantiates a new ItemItemLfsRequestBuilder and sets the default values.
func NewItemItemLfsRequestBuilderInternal ¶
func NewItemItemLfsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemLfsRequestBuilder
NewItemItemLfsRequestBuilderInternal instantiates a new ItemItemLfsRequestBuilder and sets the default values.
func (*ItemItemLfsRequestBuilder) Delete ¶
func (m *ItemItemLfsRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete disables Git LFS for a repository.OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. API method documentation
func (*ItemItemLfsRequestBuilder) Put ¶
func (m *ItemItemLfsRequestBuilder) Put(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemItemLfsPutResponseable, error)
Put enables Git LFS for a repository.OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. returns a ItemItemLfsPutResponseable when successful API method documentation
func (*ItemItemLfsRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemLfsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation disables Git LFS for a repository.OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemLfsRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemLfsRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation enables Git LFS for a repository.OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemLfsRequestBuilder) WithUrl ¶
func (m *ItemItemLfsRequestBuilder) WithUrl(rawUrl string) *ItemItemLfsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemLfsRequestBuilder when successful
type ItemItemLicenseRequestBuilder ¶
type ItemItemLicenseRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemLicenseRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\license
func NewItemItemLicenseRequestBuilder ¶
func NewItemItemLicenseRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemLicenseRequestBuilder
NewItemItemLicenseRequestBuilder instantiates a new ItemItemLicenseRequestBuilder and sets the default values.
func NewItemItemLicenseRequestBuilderInternal ¶
func NewItemItemLicenseRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemLicenseRequestBuilder
NewItemItemLicenseRequestBuilderInternal instantiates a new ItemItemLicenseRequestBuilder and sets the default values.
func (*ItemItemLicenseRequestBuilder) Get ¶
func (m *ItemItemLicenseRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.LicenseContentable, error)
Get this method returns the contents of the repository's license file, if one is detected.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.raw+json`**: Returns the raw contents of the license.- **`application/vnd.github.html+json`**: Returns the license contents in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup). returns a LicenseContentable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemLicenseRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemLicenseRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation this method returns the contents of the repository's license file, if one is detected.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.raw+json`**: Returns the raw contents of the license.- **`application/vnd.github.html+json`**: Returns the license contents in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup). returns a *RequestInformation when successful
func (*ItemItemLicenseRequestBuilder) WithUrl ¶
func (m *ItemItemLicenseRequestBuilder) WithUrl(rawUrl string) *ItemItemLicenseRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemLicenseRequestBuilder when successful
type ItemItemMergeUpstreamPostRequestBody ¶
type ItemItemMergeUpstreamPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemMergeUpstreamPostRequestBody ¶
func NewItemItemMergeUpstreamPostRequestBody() *ItemItemMergeUpstreamPostRequestBody
NewItemItemMergeUpstreamPostRequestBody instantiates a new ItemItemMergeUpstreamPostRequestBody and sets the default values.
func (*ItemItemMergeUpstreamPostRequestBody) GetAdditionalData ¶
func (m *ItemItemMergeUpstreamPostRequestBody) 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 (*ItemItemMergeUpstreamPostRequestBody) GetBranch ¶
func (m *ItemItemMergeUpstreamPostRequestBody) GetBranch() *string
GetBranch gets the branch property value. The name of the branch which should be updated to match upstream. returns a *string when successful
func (*ItemItemMergeUpstreamPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemMergeUpstreamPostRequestBody) 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 (*ItemItemMergeUpstreamPostRequestBody) Serialize ¶
func (m *ItemItemMergeUpstreamPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemMergeUpstreamPostRequestBody) SetAdditionalData ¶
func (m *ItemItemMergeUpstreamPostRequestBody) 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 (*ItemItemMergeUpstreamPostRequestBody) SetBranch ¶
func (m *ItemItemMergeUpstreamPostRequestBody) SetBranch(value *string)
SetBranch sets the branch property value. The name of the branch which should be updated to match upstream.
type ItemItemMergeUpstreamPostRequestBodyable ¶
type ItemItemMergeUpstreamPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBranch() *string SetBranch(value *string) }
type ItemItemMergeUpstreamRequestBuilder ¶
type ItemItemMergeUpstreamRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemMergeUpstreamRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\merge-upstream
func NewItemItemMergeUpstreamRequestBuilder ¶
func NewItemItemMergeUpstreamRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemMergeUpstreamRequestBuilder
NewItemItemMergeUpstreamRequestBuilder instantiates a new ItemItemMergeUpstreamRequestBuilder and sets the default values.
func NewItemItemMergeUpstreamRequestBuilderInternal ¶
func NewItemItemMergeUpstreamRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemMergeUpstreamRequestBuilder
NewItemItemMergeUpstreamRequestBuilderInternal instantiates a new ItemItemMergeUpstreamRequestBuilder and sets the default values.
func (*ItemItemMergeUpstreamRequestBuilder) Post ¶
func (m *ItemItemMergeUpstreamRequestBuilder) Post(ctx context.Context, body ItemItemMergeUpstreamPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MergedUpstreamable, error)
Post sync a branch of a forked repository to keep it up-to-date with the upstream repository. returns a MergedUpstreamable when successful API method documentation
func (*ItemItemMergeUpstreamRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemMergeUpstreamRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemMergeUpstreamPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation sync a branch of a forked repository to keep it up-to-date with the upstream repository. returns a *RequestInformation when successful
func (*ItemItemMergeUpstreamRequestBuilder) WithUrl ¶
func (m *ItemItemMergeUpstreamRequestBuilder) WithUrl(rawUrl string) *ItemItemMergeUpstreamRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemMergeUpstreamRequestBuilder when successful
type ItemItemMergesPostRequestBody ¶
type ItemItemMergesPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemMergesPostRequestBody ¶
func NewItemItemMergesPostRequestBody() *ItemItemMergesPostRequestBody
NewItemItemMergesPostRequestBody instantiates a new ItemItemMergesPostRequestBody and sets the default values.
func (*ItemItemMergesPostRequestBody) GetAdditionalData ¶
func (m *ItemItemMergesPostRequestBody) 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 (*ItemItemMergesPostRequestBody) GetBase ¶
func (m *ItemItemMergesPostRequestBody) GetBase() *string
GetBase gets the base property value. The name of the base branch that the head will be merged into. returns a *string when successful
func (*ItemItemMergesPostRequestBody) GetCommitMessage ¶
func (m *ItemItemMergesPostRequestBody) GetCommitMessage() *string
GetCommitMessage gets the commit_message property value. Commit message to use for the merge commit. If omitted, a default message will be used. returns a *string when successful
func (*ItemItemMergesPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemMergesPostRequestBody) 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 (*ItemItemMergesPostRequestBody) GetHead ¶
func (m *ItemItemMergesPostRequestBody) GetHead() *string
GetHead gets the head property value. The head to merge. This can be a branch name or a commit SHA1. returns a *string when successful
func (*ItemItemMergesPostRequestBody) Serialize ¶
func (m *ItemItemMergesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemMergesPostRequestBody) SetAdditionalData ¶
func (m *ItemItemMergesPostRequestBody) 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 (*ItemItemMergesPostRequestBody) SetBase ¶
func (m *ItemItemMergesPostRequestBody) SetBase(value *string)
SetBase sets the base property value. The name of the base branch that the head will be merged into.
func (*ItemItemMergesPostRequestBody) SetCommitMessage ¶
func (m *ItemItemMergesPostRequestBody) SetCommitMessage(value *string)
SetCommitMessage sets the commit_message property value. Commit message to use for the merge commit. If omitted, a default message will be used.
func (*ItemItemMergesPostRequestBody) SetHead ¶
func (m *ItemItemMergesPostRequestBody) SetHead(value *string)
SetHead sets the head property value. The head to merge. This can be a branch name or a commit SHA1.
type ItemItemMergesPostRequestBodyable ¶
type ItemItemMergesPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBase() *string GetCommitMessage() *string GetHead() *string SetBase(value *string) SetCommitMessage(value *string) SetHead(value *string) }
type ItemItemMergesRequestBuilder ¶
type ItemItemMergesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemMergesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\merges
func NewItemItemMergesRequestBuilder ¶
func NewItemItemMergesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemMergesRequestBuilder
NewItemItemMergesRequestBuilder instantiates a new ItemItemMergesRequestBuilder and sets the default values.
func NewItemItemMergesRequestBuilderInternal ¶
func NewItemItemMergesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemMergesRequestBuilder
NewItemItemMergesRequestBuilderInternal instantiates a new ItemItemMergesRequestBuilder and sets the default values.
func (*ItemItemMergesRequestBuilder) Post ¶
func (m *ItemItemMergesRequestBuilder) Post(ctx context.Context, body ItemItemMergesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Commitable, error)
Post merge a branch returns a Commitable when successful 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 (*ItemItemMergesRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemMergesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemMergesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*ItemItemMergesRequestBuilder) WithUrl ¶
func (m *ItemItemMergesRequestBuilder) WithUrl(rawUrl string) *ItemItemMergesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemMergesRequestBuilder when successful
type ItemItemMilestonesItemLabelsRequestBuilder ¶
type ItemItemMilestonesItemLabelsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemMilestonesItemLabelsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\milestones\{milestone_number}\labels
func NewItemItemMilestonesItemLabelsRequestBuilder ¶
func NewItemItemMilestonesItemLabelsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemMilestonesItemLabelsRequestBuilder
NewItemItemMilestonesItemLabelsRequestBuilder instantiates a new ItemItemMilestonesItemLabelsRequestBuilder and sets the default values.
func NewItemItemMilestonesItemLabelsRequestBuilderInternal ¶
func NewItemItemMilestonesItemLabelsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemMilestonesItemLabelsRequestBuilder
NewItemItemMilestonesItemLabelsRequestBuilderInternal instantiates a new ItemItemMilestonesItemLabelsRequestBuilder and sets the default values.
func (*ItemItemMilestonesItemLabelsRequestBuilder) Get ¶
func (m *ItemItemMilestonesItemLabelsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemMilestonesItemLabelsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Labelable, error)
Get lists labels for issues in a milestone. returns a []Labelable when successful API method documentation
func (*ItemItemMilestonesItemLabelsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemMilestonesItemLabelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemMilestonesItemLabelsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists labels for issues in a milestone. returns a *RequestInformation when successful
func (*ItemItemMilestonesItemLabelsRequestBuilder) WithUrl ¶
func (m *ItemItemMilestonesItemLabelsRequestBuilder) WithUrl(rawUrl string) *ItemItemMilestonesItemLabelsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemMilestonesItemLabelsRequestBuilder when successful
type ItemItemMilestonesItemLabelsRequestBuilderGetQueryParameters ¶
type ItemItemMilestonesItemLabelsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemMilestonesItemLabelsRequestBuilderGetQueryParameters lists labels for issues in a milestone.
type ItemItemMilestonesItemWithMilestone_numberPatchRequestBody ¶
type ItemItemMilestonesItemWithMilestone_numberPatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemMilestonesItemWithMilestone_numberPatchRequestBody ¶
func NewItemItemMilestonesItemWithMilestone_numberPatchRequestBody() *ItemItemMilestonesItemWithMilestone_numberPatchRequestBody
NewItemItemMilestonesItemWithMilestone_numberPatchRequestBody instantiates a new ItemItemMilestonesItemWithMilestone_numberPatchRequestBody and sets the default values.
func (*ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) GetAdditionalData ¶
func (m *ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) 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 (*ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) GetDescription ¶
func (m *ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) GetDescription() *string
GetDescription gets the description property value. A description of the milestone. returns a *string when successful
func (*ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) GetDueOn ¶
func (m *ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) GetDueOn() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
GetDueOn gets the due_on property value. The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. returns a *Time when successful
func (*ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) 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 (*ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) GetTitle ¶
func (m *ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) GetTitle() *string
GetTitle gets the title property value. The title of the milestone. returns a *string when successful
func (*ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) Serialize ¶
func (m *ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) SetAdditionalData ¶
func (m *ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) 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 (*ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) SetDescription ¶
func (m *ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) SetDescription(value *string)
SetDescription sets the description property value. A description of the milestone.
func (*ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) SetDueOn ¶
func (m *ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) SetDueOn(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
SetDueOn sets the due_on property value. The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
func (*ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) SetTitle ¶
func (m *ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) SetTitle(value *string)
SetTitle sets the title property value. The title of the milestone.
type ItemItemMilestonesItemWithMilestone_numberPatchRequestBodyable ¶
type ItemItemMilestonesItemWithMilestone_numberPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetDescription() *string GetDueOn() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time GetTitle() *string SetDescription(value *string) SetDueOn(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) SetTitle(value *string) }
type ItemItemMilestonesPostRequestBody ¶
type ItemItemMilestonesPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemMilestonesPostRequestBody ¶
func NewItemItemMilestonesPostRequestBody() *ItemItemMilestonesPostRequestBody
NewItemItemMilestonesPostRequestBody instantiates a new ItemItemMilestonesPostRequestBody and sets the default values.
func (*ItemItemMilestonesPostRequestBody) GetAdditionalData ¶
func (m *ItemItemMilestonesPostRequestBody) 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 (*ItemItemMilestonesPostRequestBody) GetDescription ¶
func (m *ItemItemMilestonesPostRequestBody) GetDescription() *string
GetDescription gets the description property value. A description of the milestone. returns a *string when successful
func (*ItemItemMilestonesPostRequestBody) GetDueOn ¶
func (m *ItemItemMilestonesPostRequestBody) GetDueOn() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
GetDueOn gets the due_on property value. The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. returns a *Time when successful
func (*ItemItemMilestonesPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemMilestonesPostRequestBody) 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 (*ItemItemMilestonesPostRequestBody) GetTitle ¶
func (m *ItemItemMilestonesPostRequestBody) GetTitle() *string
GetTitle gets the title property value. The title of the milestone. returns a *string when successful
func (*ItemItemMilestonesPostRequestBody) Serialize ¶
func (m *ItemItemMilestonesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemMilestonesPostRequestBody) SetAdditionalData ¶
func (m *ItemItemMilestonesPostRequestBody) 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 (*ItemItemMilestonesPostRequestBody) SetDescription ¶
func (m *ItemItemMilestonesPostRequestBody) SetDescription(value *string)
SetDescription sets the description property value. A description of the milestone.
func (*ItemItemMilestonesPostRequestBody) SetDueOn ¶
func (m *ItemItemMilestonesPostRequestBody) SetDueOn(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
SetDueOn sets the due_on property value. The milestone due date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
func (*ItemItemMilestonesPostRequestBody) SetTitle ¶
func (m *ItemItemMilestonesPostRequestBody) SetTitle(value *string)
SetTitle sets the title property value. The title of the milestone.
type ItemItemMilestonesPostRequestBodyable ¶
type ItemItemMilestonesPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetDescription() *string GetDueOn() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time GetTitle() *string SetDescription(value *string) SetDueOn(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) SetTitle(value *string) }
type ItemItemMilestonesRequestBuilder ¶
type ItemItemMilestonesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemMilestonesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\milestones
func NewItemItemMilestonesRequestBuilder ¶
func NewItemItemMilestonesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemMilestonesRequestBuilder
NewItemItemMilestonesRequestBuilder instantiates a new ItemItemMilestonesRequestBuilder and sets the default values.
func NewItemItemMilestonesRequestBuilderInternal ¶
func NewItemItemMilestonesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemMilestonesRequestBuilder
NewItemItemMilestonesRequestBuilderInternal instantiates a new ItemItemMilestonesRequestBuilder and sets the default values.
func (*ItemItemMilestonesRequestBuilder) ByMilestone_number ¶
func (m *ItemItemMilestonesRequestBuilder) ByMilestone_number(milestone_number int32) *ItemItemMilestonesWithMilestone_numberItemRequestBuilder
ByMilestone_number gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.milestones.item collection returns a *ItemItemMilestonesWithMilestone_numberItemRequestBuilder when successful
func (*ItemItemMilestonesRequestBuilder) Get ¶
func (m *ItemItemMilestonesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemMilestonesRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Milestoneable, error)
Get lists milestones for a repository. returns a []Milestoneable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemMilestonesRequestBuilder) Post ¶
func (m *ItemItemMilestonesRequestBuilder) Post(ctx context.Context, body ItemItemMilestonesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Milestoneable, error)
Post creates a milestone. returns a Milestoneable 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 (*ItemItemMilestonesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemMilestonesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemMilestonesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists milestones for a repository. returns a *RequestInformation when successful
func (*ItemItemMilestonesRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemMilestonesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemMilestonesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation creates a milestone. returns a *RequestInformation when successful
func (*ItemItemMilestonesRequestBuilder) WithUrl ¶
func (m *ItemItemMilestonesRequestBuilder) WithUrl(rawUrl string) *ItemItemMilestonesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemMilestonesRequestBuilder when successful
type ItemItemMilestonesRequestBuilderGetQueryParameters ¶
type ItemItemMilestonesRequestBuilderGetQueryParameters struct { // The direction of the sort. Either `asc` or `desc`. Direction *i158d2368c7280b10f1c6d8a86f6e2ae0e0ab01ce5ce9a5d8fba4ab999f60e91d.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/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // What to sort results by. Either `due_on` or `completeness`. Sort *i158d2368c7280b10f1c6d8a86f6e2ae0e0ab01ce5ce9a5d8fba4ab999f60e91d.GetSortQueryParameterType `uriparametername:"sort"` // The state of the milestone. Either `open`, `closed`, or `all`. State *i158d2368c7280b10f1c6d8a86f6e2ae0e0ab01ce5ce9a5d8fba4ab999f60e91d.GetStateQueryParameterType `uriparametername:"state"` }
ItemItemMilestonesRequestBuilderGetQueryParameters lists milestones for a repository.
type ItemItemMilestonesWithMilestone_numberItemRequestBuilder ¶
type ItemItemMilestonesWithMilestone_numberItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemMilestonesWithMilestone_numberItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\milestones\{milestone_number}
func NewItemItemMilestonesWithMilestone_numberItemRequestBuilder ¶
func NewItemItemMilestonesWithMilestone_numberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemMilestonesWithMilestone_numberItemRequestBuilder
NewItemItemMilestonesWithMilestone_numberItemRequestBuilder instantiates a new ItemItemMilestonesWithMilestone_numberItemRequestBuilder and sets the default values.
func NewItemItemMilestonesWithMilestone_numberItemRequestBuilderInternal ¶
func NewItemItemMilestonesWithMilestone_numberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemMilestonesWithMilestone_numberItemRequestBuilder
NewItemItemMilestonesWithMilestone_numberItemRequestBuilderInternal instantiates a new ItemItemMilestonesWithMilestone_numberItemRequestBuilder and sets the default values.
func (*ItemItemMilestonesWithMilestone_numberItemRequestBuilder) Delete ¶
func (m *ItemItemMilestonesWithMilestone_numberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete deletes a milestone using the given milestone number. returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemMilestonesWithMilestone_numberItemRequestBuilder) Get ¶
func (m *ItemItemMilestonesWithMilestone_numberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Milestoneable, error)
Get gets a milestone using the given milestone number. returns a Milestoneable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemMilestonesWithMilestone_numberItemRequestBuilder) Labels ¶
func (m *ItemItemMilestonesWithMilestone_numberItemRequestBuilder) Labels() *ItemItemMilestonesItemLabelsRequestBuilder
Labels the labels property returns a *ItemItemMilestonesItemLabelsRequestBuilder when successful
func (*ItemItemMilestonesWithMilestone_numberItemRequestBuilder) Patch ¶
func (m *ItemItemMilestonesWithMilestone_numberItemRequestBuilder) Patch(ctx context.Context, body ItemItemMilestonesItemWithMilestone_numberPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Milestoneable, error)
Patch update a milestone returns a Milestoneable when successful API method documentation
func (*ItemItemMilestonesWithMilestone_numberItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemMilestonesWithMilestone_numberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a milestone using the given milestone number. returns a *RequestInformation when successful
func (*ItemItemMilestonesWithMilestone_numberItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemMilestonesWithMilestone_numberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a milestone using the given milestone number. returns a *RequestInformation when successful
func (*ItemItemMilestonesWithMilestone_numberItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemMilestonesWithMilestone_numberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemMilestonesItemWithMilestone_numberPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*ItemItemMilestonesWithMilestone_numberItemRequestBuilder) WithUrl ¶
func (m *ItemItemMilestonesWithMilestone_numberItemRequestBuilder) WithUrl(rawUrl string) *ItemItemMilestonesWithMilestone_numberItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemMilestonesWithMilestone_numberItemRequestBuilder when successful
type ItemItemNotificationsPutRequestBody ¶
type ItemItemNotificationsPutRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemNotificationsPutRequestBody ¶
func NewItemItemNotificationsPutRequestBody() *ItemItemNotificationsPutRequestBody
NewItemItemNotificationsPutRequestBody instantiates a new ItemItemNotificationsPutRequestBody and sets the default values.
func (*ItemItemNotificationsPutRequestBody) GetAdditionalData ¶
func (m *ItemItemNotificationsPutRequestBody) 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 (*ItemItemNotificationsPutRequestBody) GetFieldDeserializers ¶
func (m *ItemItemNotificationsPutRequestBody) 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 (*ItemItemNotificationsPutRequestBody) GetLastReadAt ¶
func (m *ItemItemNotificationsPutRequestBody) GetLastReadAt() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
GetLastReadAt gets the last_read_at property value. Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp. returns a *Time when successful
func (*ItemItemNotificationsPutRequestBody) Serialize ¶
func (m *ItemItemNotificationsPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemNotificationsPutRequestBody) SetAdditionalData ¶
func (m *ItemItemNotificationsPutRequestBody) 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 (*ItemItemNotificationsPutRequestBody) SetLastReadAt ¶
func (m *ItemItemNotificationsPutRequestBody) SetLastReadAt(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
SetLastReadAt sets the last_read_at property value. Describes the last point that notifications were checked. Anything updated since this time will not be marked as read. If you omit this parameter, all notifications are marked as read. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Default: The current timestamp.
type ItemItemNotificationsPutRequestBodyable ¶
type ItemItemNotificationsPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLastReadAt() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time SetLastReadAt(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) }
type ItemItemNotificationsPutResponse ¶
type ItemItemNotificationsPutResponse struct {
// contains filtered or unexported fields
}
func NewItemItemNotificationsPutResponse ¶
func NewItemItemNotificationsPutResponse() *ItemItemNotificationsPutResponse
NewItemItemNotificationsPutResponse instantiates a new ItemItemNotificationsPutResponse and sets the default values.
func (*ItemItemNotificationsPutResponse) GetAdditionalData ¶
func (m *ItemItemNotificationsPutResponse) 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 (*ItemItemNotificationsPutResponse) GetFieldDeserializers ¶
func (m *ItemItemNotificationsPutResponse) 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 (*ItemItemNotificationsPutResponse) GetMessage ¶
func (m *ItemItemNotificationsPutResponse) GetMessage() *string
GetMessage gets the message property value. The message property returns a *string when successful
func (*ItemItemNotificationsPutResponse) GetUrl ¶
func (m *ItemItemNotificationsPutResponse) GetUrl() *string
GetUrl gets the url property value. The url property returns a *string when successful
func (*ItemItemNotificationsPutResponse) Serialize ¶
func (m *ItemItemNotificationsPutResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemNotificationsPutResponse) SetAdditionalData ¶
func (m *ItemItemNotificationsPutResponse) 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 (*ItemItemNotificationsPutResponse) SetMessage ¶
func (m *ItemItemNotificationsPutResponse) SetMessage(value *string)
SetMessage sets the message property value. The message property
func (*ItemItemNotificationsPutResponse) SetUrl ¶
func (m *ItemItemNotificationsPutResponse) SetUrl(value *string)
SetUrl sets the url property value. The url property
type ItemItemNotificationsPutResponseable ¶
type ItemItemNotificationsPutResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetMessage() *string GetUrl() *string SetMessage(value *string) SetUrl(value *string) }
type ItemItemNotificationsRequestBuilder ¶
type ItemItemNotificationsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemNotificationsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\notifications
func NewItemItemNotificationsRequestBuilder ¶
func NewItemItemNotificationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemNotificationsRequestBuilder
NewItemItemNotificationsRequestBuilder instantiates a new ItemItemNotificationsRequestBuilder and sets the default values.
func NewItemItemNotificationsRequestBuilderInternal ¶
func NewItemItemNotificationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemNotificationsRequestBuilder
NewItemItemNotificationsRequestBuilderInternal instantiates a new ItemItemNotificationsRequestBuilder and sets the default values.
func (*ItemItemNotificationsRequestBuilder) Get ¶
func (m *ItemItemNotificationsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemNotificationsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Threadable, error)
Get lists all notifications for the current user in the specified repository. returns a []Threadable when successful API method documentation
func (*ItemItemNotificationsRequestBuilder) Put ¶
func (m *ItemItemNotificationsRequestBuilder) Put(ctx context.Context, body ItemItemNotificationsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemItemNotificationsPutResponseable, error)
Put marks all notifications in a repository as "read" for the current user. If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@3.10/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`. returns a ItemItemNotificationsPutResponseable when successful API method documentation
func (*ItemItemNotificationsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemNotificationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemNotificationsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all notifications for the current user in the specified repository. returns a *RequestInformation when successful
func (*ItemItemNotificationsRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemNotificationsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemNotificationsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation marks all notifications in a repository as "read" for the current user. If the number of notifications is too large to complete in one request, you will receive a `202 Accepted` status and GitHub Enterprise Server will run an asynchronous process to mark notifications as "read." To check whether any "unread" notifications remain, you can use the [List repository notifications for the authenticated user](https://docs.github.com/enterprise-server@3.10/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user) endpoint and pass the query parameter `all=false`. returns a *RequestInformation when successful
func (*ItemItemNotificationsRequestBuilder) WithUrl ¶
func (m *ItemItemNotificationsRequestBuilder) WithUrl(rawUrl string) *ItemItemNotificationsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemNotificationsRequestBuilder when successful
type ItemItemNotificationsRequestBuilderGetQueryParameters ¶
type ItemItemNotificationsRequestBuilderGetQueryParameters struct { // If `true`, show notifications marked as read. All *bool `uriparametername:"all"` // Only show notifications 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 page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // If `true`, only shows notifications in which the user is directly participating or mentioned. Participating *bool `uriparametername:"participating"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/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"` }
ItemItemNotificationsRequestBuilderGetQueryParameters lists all notifications for the current user in the specified repository.
type ItemItemPagesBuildsLatestRequestBuilder ¶
type ItemItemPagesBuildsLatestRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPagesBuildsLatestRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pages\builds\latest
func NewItemItemPagesBuildsLatestRequestBuilder ¶
func NewItemItemPagesBuildsLatestRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPagesBuildsLatestRequestBuilder
NewItemItemPagesBuildsLatestRequestBuilder instantiates a new ItemItemPagesBuildsLatestRequestBuilder and sets the default values.
func NewItemItemPagesBuildsLatestRequestBuilderInternal ¶
func NewItemItemPagesBuildsLatestRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPagesBuildsLatestRequestBuilder
NewItemItemPagesBuildsLatestRequestBuilderInternal instantiates a new ItemItemPagesBuildsLatestRequestBuilder and sets the default values.
func (*ItemItemPagesBuildsLatestRequestBuilder) Get ¶
func (m *ItemItemPagesBuildsLatestRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PageBuildable, error)
Get gets information about the single most recent build of a GitHub Enterprise Server Pages site.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a PageBuildable when successful API method documentation
func (*ItemItemPagesBuildsLatestRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemPagesBuildsLatestRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets information about the single most recent build of a GitHub Enterprise Server Pages site.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemPagesBuildsLatestRequestBuilder) WithUrl ¶
func (m *ItemItemPagesBuildsLatestRequestBuilder) WithUrl(rawUrl string) *ItemItemPagesBuildsLatestRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemPagesBuildsLatestRequestBuilder when successful
type ItemItemPagesBuildsRequestBuilder ¶
type ItemItemPagesBuildsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPagesBuildsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pages\builds
func NewItemItemPagesBuildsRequestBuilder ¶
func NewItemItemPagesBuildsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPagesBuildsRequestBuilder
NewItemItemPagesBuildsRequestBuilder instantiates a new ItemItemPagesBuildsRequestBuilder and sets the default values.
func NewItemItemPagesBuildsRequestBuilderInternal ¶
func NewItemItemPagesBuildsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPagesBuildsRequestBuilder
NewItemItemPagesBuildsRequestBuilderInternal instantiates a new ItemItemPagesBuildsRequestBuilder and sets the default values.
func (*ItemItemPagesBuildsRequestBuilder) ByBuild_id ¶
func (m *ItemItemPagesBuildsRequestBuilder) ByBuild_id(build_id int32) *ItemItemPagesBuildsWithBuild_ItemRequestBuilder
ByBuild_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.pages.builds.item collection returns a *ItemItemPagesBuildsWithBuild_ItemRequestBuilder when successful
func (*ItemItemPagesBuildsRequestBuilder) Get ¶
func (m *ItemItemPagesBuildsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemPagesBuildsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PageBuildable, error)
Get lists builts of a GitHub Enterprise Server Pages site.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a []PageBuildable when successful API method documentation
func (*ItemItemPagesBuildsRequestBuilder) Latest ¶
func (m *ItemItemPagesBuildsRequestBuilder) Latest() *ItemItemPagesBuildsLatestRequestBuilder
Latest the latest property returns a *ItemItemPagesBuildsLatestRequestBuilder when successful
func (*ItemItemPagesBuildsRequestBuilder) Post ¶
func (m *ItemItemPagesBuildsRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PageBuildStatusable, error)
Post you can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.Build requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes. returns a PageBuildStatusable when successful API method documentation
func (*ItemItemPagesBuildsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemPagesBuildsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemPagesBuildsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists builts of a GitHub Enterprise Server Pages site.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemPagesBuildsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemPagesBuildsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation you can request that your site be built from the latest revision on the default branch. This has the same effect as pushing a commit to your default branch, but does not require an additional commit. Manually triggering page builds can be helpful when diagnosing build warnings and failures.Build requests are limited to one concurrent build per repository and one concurrent build per requester. If you request a build while another is still in progress, the second request will be queued until the first completes. returns a *RequestInformation when successful
func (*ItemItemPagesBuildsRequestBuilder) WithUrl ¶
func (m *ItemItemPagesBuildsRequestBuilder) WithUrl(rawUrl string) *ItemItemPagesBuildsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemPagesBuildsRequestBuilder when successful
type ItemItemPagesBuildsRequestBuilderGetQueryParameters ¶
type ItemItemPagesBuildsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemPagesBuildsRequestBuilderGetQueryParameters lists builts of a GitHub Enterprise Server Pages site.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint.
type ItemItemPagesBuildsWithBuild_ItemRequestBuilder ¶
type ItemItemPagesBuildsWithBuild_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPagesBuildsWithBuild_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pages\builds\{build_id}
func NewItemItemPagesBuildsWithBuild_ItemRequestBuilder ¶
func NewItemItemPagesBuildsWithBuild_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPagesBuildsWithBuild_ItemRequestBuilder
NewItemItemPagesBuildsWithBuild_ItemRequestBuilder instantiates a new ItemItemPagesBuildsWithBuild_ItemRequestBuilder and sets the default values.
func NewItemItemPagesBuildsWithBuild_ItemRequestBuilderInternal ¶
func NewItemItemPagesBuildsWithBuild_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPagesBuildsWithBuild_ItemRequestBuilder
NewItemItemPagesBuildsWithBuild_ItemRequestBuilderInternal instantiates a new ItemItemPagesBuildsWithBuild_ItemRequestBuilder and sets the default values.
func (*ItemItemPagesBuildsWithBuild_ItemRequestBuilder) Get ¶
func (m *ItemItemPagesBuildsWithBuild_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PageBuildable, error)
Get gets information about a GitHub Enterprise Server Pages build.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a PageBuildable when successful API method documentation
func (*ItemItemPagesBuildsWithBuild_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemPagesBuildsWithBuild_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets information about a GitHub Enterprise Server Pages build.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemPagesBuildsWithBuild_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemPagesBuildsWithBuild_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemPagesBuildsWithBuild_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 *ItemItemPagesBuildsWithBuild_ItemRequestBuilder when successful
type ItemItemPagesDeploymentsPostRequestBody ¶
type ItemItemPagesDeploymentsPostRequestBody struct {
// contains filtered or unexported fields
}
ItemItemPagesDeploymentsPostRequestBody the object used to create GitHub Pages deployment
func NewItemItemPagesDeploymentsPostRequestBody ¶
func NewItemItemPagesDeploymentsPostRequestBody() *ItemItemPagesDeploymentsPostRequestBody
NewItemItemPagesDeploymentsPostRequestBody instantiates a new ItemItemPagesDeploymentsPostRequestBody and sets the default values.
func (*ItemItemPagesDeploymentsPostRequestBody) GetAdditionalData ¶
func (m *ItemItemPagesDeploymentsPostRequestBody) 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 (*ItemItemPagesDeploymentsPostRequestBody) GetArtifactUrl ¶
func (m *ItemItemPagesDeploymentsPostRequestBody) GetArtifactUrl() *string
GetArtifactUrl gets the artifact_url property value. The URL of an artifact that contains the .zip or .tar of static assets to deploy. The artifact belongs to the repository. returns a *string when successful
func (*ItemItemPagesDeploymentsPostRequestBody) GetEnvironment ¶
func (m *ItemItemPagesDeploymentsPostRequestBody) GetEnvironment() *string
GetEnvironment gets the environment property value. The target environment for this GitHub Pages deployment. returns a *string when successful
func (*ItemItemPagesDeploymentsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemPagesDeploymentsPostRequestBody) 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 (*ItemItemPagesDeploymentsPostRequestBody) GetOidcToken ¶
func (m *ItemItemPagesDeploymentsPostRequestBody) GetOidcToken() *string
GetOidcToken gets the oidc_token property value. The OIDC token issued by GitHub Actions certifying the origin of the deployment. returns a *string when successful
func (*ItemItemPagesDeploymentsPostRequestBody) GetPagesBuildVersion ¶
func (m *ItemItemPagesDeploymentsPostRequestBody) GetPagesBuildVersion() *string
GetPagesBuildVersion gets the pages_build_version property value. A unique string that represents the version of the build for this deployment. returns a *string when successful
func (*ItemItemPagesDeploymentsPostRequestBody) Serialize ¶
func (m *ItemItemPagesDeploymentsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPagesDeploymentsPostRequestBody) SetAdditionalData ¶
func (m *ItemItemPagesDeploymentsPostRequestBody) 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 (*ItemItemPagesDeploymentsPostRequestBody) SetArtifactUrl ¶
func (m *ItemItemPagesDeploymentsPostRequestBody) SetArtifactUrl(value *string)
SetArtifactUrl sets the artifact_url property value. The URL of an artifact that contains the .zip or .tar of static assets to deploy. The artifact belongs to the repository.
func (*ItemItemPagesDeploymentsPostRequestBody) SetEnvironment ¶
func (m *ItemItemPagesDeploymentsPostRequestBody) SetEnvironment(value *string)
SetEnvironment sets the environment property value. The target environment for this GitHub Pages deployment.
func (*ItemItemPagesDeploymentsPostRequestBody) SetOidcToken ¶
func (m *ItemItemPagesDeploymentsPostRequestBody) SetOidcToken(value *string)
SetOidcToken sets the oidc_token property value. The OIDC token issued by GitHub Actions certifying the origin of the deployment.
func (*ItemItemPagesDeploymentsPostRequestBody) SetPagesBuildVersion ¶
func (m *ItemItemPagesDeploymentsPostRequestBody) SetPagesBuildVersion(value *string)
SetPagesBuildVersion sets the pages_build_version property value. A unique string that represents the version of the build for this deployment.
type ItemItemPagesDeploymentsPostRequestBodyable ¶
type ItemItemPagesDeploymentsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetArtifactUrl() *string GetEnvironment() *string GetOidcToken() *string GetPagesBuildVersion() *string SetArtifactUrl(value *string) SetEnvironment(value *string) SetOidcToken(value *string) SetPagesBuildVersion(value *string) }
type ItemItemPagesDeploymentsRequestBuilder ¶
type ItemItemPagesDeploymentsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPagesDeploymentsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pages\deployments
func NewItemItemPagesDeploymentsRequestBuilder ¶
func NewItemItemPagesDeploymentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPagesDeploymentsRequestBuilder
NewItemItemPagesDeploymentsRequestBuilder instantiates a new ItemItemPagesDeploymentsRequestBuilder and sets the default values.
func NewItemItemPagesDeploymentsRequestBuilderInternal ¶
func NewItemItemPagesDeploymentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPagesDeploymentsRequestBuilder
NewItemItemPagesDeploymentsRequestBuilderInternal instantiates a new ItemItemPagesDeploymentsRequestBuilder and sets the default values.
func (*ItemItemPagesDeploymentsRequestBuilder) Post ¶
func (m *ItemItemPagesDeploymentsRequestBuilder) Post(ctx context.Context, body ItemItemPagesDeploymentsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PageDeploymentable, error)
Post create a GitHub Pages deployment for a repository.The authenticated user must have write permission to the repository. returns a PageDeploymentable when successful returns a BasicError error when the service returns a 400 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 (*ItemItemPagesDeploymentsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemPagesDeploymentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemPagesDeploymentsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation create a GitHub Pages deployment for a repository.The authenticated user must have write permission to the repository. returns a *RequestInformation when successful
func (*ItemItemPagesDeploymentsRequestBuilder) WithUrl ¶
func (m *ItemItemPagesDeploymentsRequestBuilder) WithUrl(rawUrl string) *ItemItemPagesDeploymentsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemPagesDeploymentsRequestBuilder when successful
type ItemItemPagesPostRequestBody ¶
type ItemItemPagesPostRequestBody struct {
// contains filtered or unexported fields
}
ItemItemPagesPostRequestBody the source branch and directory used to publish your Pages site.
func NewItemItemPagesPostRequestBody ¶
func NewItemItemPagesPostRequestBody() *ItemItemPagesPostRequestBody
NewItemItemPagesPostRequestBody instantiates a new ItemItemPagesPostRequestBody and sets the default values.
func (*ItemItemPagesPostRequestBody) GetAdditionalData ¶
func (m *ItemItemPagesPostRequestBody) 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 (*ItemItemPagesPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemPagesPostRequestBody) 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 (*ItemItemPagesPostRequestBody) GetSource ¶
func (m *ItemItemPagesPostRequestBody) GetSource() ItemItemPagesPostRequestBody_sourceable
GetSource gets the source property value. The source branch and directory used to publish your Pages site. returns a ItemItemPagesPostRequestBody_sourceable when successful
func (*ItemItemPagesPostRequestBody) Serialize ¶
func (m *ItemItemPagesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPagesPostRequestBody) SetAdditionalData ¶
func (m *ItemItemPagesPostRequestBody) 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 (*ItemItemPagesPostRequestBody) SetSource ¶
func (m *ItemItemPagesPostRequestBody) SetSource(value ItemItemPagesPostRequestBody_sourceable)
SetSource sets the source property value. The source branch and directory used to publish your Pages site.
type ItemItemPagesPostRequestBody_source ¶
type ItemItemPagesPostRequestBody_source struct {
// contains filtered or unexported fields
}
ItemItemPagesPostRequestBody_source the source branch and directory used to publish your Pages site.
func NewItemItemPagesPostRequestBody_source ¶
func NewItemItemPagesPostRequestBody_source() *ItemItemPagesPostRequestBody_source
NewItemItemPagesPostRequestBody_source instantiates a new ItemItemPagesPostRequestBody_source and sets the default values.
func (*ItemItemPagesPostRequestBody_source) GetAdditionalData ¶
func (m *ItemItemPagesPostRequestBody_source) 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 (*ItemItemPagesPostRequestBody_source) GetBranch ¶
func (m *ItemItemPagesPostRequestBody_source) GetBranch() *string
GetBranch gets the branch property value. The repository branch used to publish your site's source files. returns a *string when successful
func (*ItemItemPagesPostRequestBody_source) GetFieldDeserializers ¶
func (m *ItemItemPagesPostRequestBody_source) 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 (*ItemItemPagesPostRequestBody_source) Serialize ¶
func (m *ItemItemPagesPostRequestBody_source) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPagesPostRequestBody_source) SetAdditionalData ¶
func (m *ItemItemPagesPostRequestBody_source) 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 (*ItemItemPagesPostRequestBody_source) SetBranch ¶
func (m *ItemItemPagesPostRequestBody_source) SetBranch(value *string)
SetBranch sets the branch property value. The repository branch used to publish your site's source files.
type ItemItemPagesPostRequestBody_sourceable ¶
type ItemItemPagesPostRequestBody_sourceable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBranch() *string SetBranch(value *string) }
type ItemItemPagesPostRequestBodyable ¶
type ItemItemPagesPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSource() ItemItemPagesPostRequestBody_sourceable SetSource(value ItemItemPagesPostRequestBody_sourceable) }
type ItemItemPagesPutRequestBody ¶
type ItemItemPagesPutRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemPagesPutRequestBody ¶
func NewItemItemPagesPutRequestBody() *ItemItemPagesPutRequestBody
NewItemItemPagesPutRequestBody instantiates a new ItemItemPagesPutRequestBody and sets the default values.
func (*ItemItemPagesPutRequestBody) GetAdditionalData ¶
func (m *ItemItemPagesPutRequestBody) 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 (*ItemItemPagesPutRequestBody) GetCname ¶
func (m *ItemItemPagesPutRequestBody) GetCname() *string
GetCname gets the cname property value. Specify a custom domain for the repository. Sending a `null` value will remove the custom domain. For more about custom domains, see "[Using a custom domain with GitHub Pages](https://docs.github.com/enterprise-server@3.10/pages/configuring-a-custom-domain-for-your-github-pages-site)." returns a *string when successful
func (*ItemItemPagesPutRequestBody) GetFieldDeserializers ¶
func (m *ItemItemPagesPutRequestBody) 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 (*ItemItemPagesPutRequestBody) GetHttpsEnforced ¶
func (m *ItemItemPagesPutRequestBody) GetHttpsEnforced() *bool
GetHttpsEnforced gets the https_enforced property value. Specify whether HTTPS should be enforced for the repository. returns a *bool when successful
func (*ItemItemPagesPutRequestBody) GetSource ¶
func (m *ItemItemPagesPutRequestBody) GetSource() ItemItemPagesPutRequestBody_PagesPutRequestBody_sourceable
GetSource gets the source property value. The source property returns a ItemItemPagesPutRequestBody_PagesPutRequestBody_sourceable when successful
func (*ItemItemPagesPutRequestBody) Serialize ¶
func (m *ItemItemPagesPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPagesPutRequestBody) SetAdditionalData ¶
func (m *ItemItemPagesPutRequestBody) 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 (*ItemItemPagesPutRequestBody) SetCname ¶
func (m *ItemItemPagesPutRequestBody) SetCname(value *string)
SetCname sets the cname property value. Specify a custom domain for the repository. Sending a `null` value will remove the custom domain. For more about custom domains, see "[Using a custom domain with GitHub Pages](https://docs.github.com/enterprise-server@3.10/pages/configuring-a-custom-domain-for-your-github-pages-site)."
func (*ItemItemPagesPutRequestBody) SetHttpsEnforced ¶
func (m *ItemItemPagesPutRequestBody) SetHttpsEnforced(value *bool)
SetHttpsEnforced sets the https_enforced property value. Specify whether HTTPS should be enforced for the repository.
func (*ItemItemPagesPutRequestBody) SetSource ¶
func (m *ItemItemPagesPutRequestBody) SetSource(value ItemItemPagesPutRequestBody_PagesPutRequestBody_sourceable)
SetSource sets the source property value. The source property
type ItemItemPagesPutRequestBody_PagesPutRequestBody_source ¶
type ItemItemPagesPutRequestBody_PagesPutRequestBody_source struct {
// contains filtered or unexported fields
}
ItemItemPagesPutRequestBody_PagesPutRequestBody_source composed type wrapper for classes ItemItemPagesPutRequestBody_sourceMember1able, string
func NewItemItemPagesPutRequestBody_PagesPutRequestBody_source ¶
func NewItemItemPagesPutRequestBody_PagesPutRequestBody_source() *ItemItemPagesPutRequestBody_PagesPutRequestBody_source
NewItemItemPagesPutRequestBody_PagesPutRequestBody_source instantiates a new ItemItemPagesPutRequestBody_PagesPutRequestBody_source and sets the default values.
func (*ItemItemPagesPutRequestBody_PagesPutRequestBody_source) GetFieldDeserializers ¶
func (m *ItemItemPagesPutRequestBody_PagesPutRequestBody_source) 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 (*ItemItemPagesPutRequestBody_PagesPutRequestBody_source) GetIsComposedType ¶
func (m *ItemItemPagesPutRequestBody_PagesPutRequestBody_source) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*ItemItemPagesPutRequestBody_PagesPutRequestBody_source) GetItemItemPagesPutRequestBodySourceMember1 ¶
func (m *ItemItemPagesPutRequestBody_PagesPutRequestBody_source) GetItemItemPagesPutRequestBodySourceMember1() ItemItemPagesPutRequestBody_sourceMember1able
GetItemItemPagesPutRequestBodySourceMember1 gets the ItemItemPagesPutRequestBody_sourceMember1 property value. Composed type representation for type ItemItemPagesPutRequestBody_sourceMember1able returns a ItemItemPagesPutRequestBody_sourceMember1able when successful
func (*ItemItemPagesPutRequestBody_PagesPutRequestBody_source) GetString ¶
func (m *ItemItemPagesPutRequestBody_PagesPutRequestBody_source) GetString() *string
GetString gets the string property value. Composed type representation for type string returns a *string when successful
func (*ItemItemPagesPutRequestBody_PagesPutRequestBody_source) Serialize ¶
func (m *ItemItemPagesPutRequestBody_PagesPutRequestBody_source) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPagesPutRequestBody_PagesPutRequestBody_source) SetItemItemPagesPutRequestBodySourceMember1 ¶
func (m *ItemItemPagesPutRequestBody_PagesPutRequestBody_source) SetItemItemPagesPutRequestBodySourceMember1(value ItemItemPagesPutRequestBody_sourceMember1able)
SetItemItemPagesPutRequestBodySourceMember1 sets the ItemItemPagesPutRequestBody_sourceMember1 property value. Composed type representation for type ItemItemPagesPutRequestBody_sourceMember1able
func (*ItemItemPagesPutRequestBody_PagesPutRequestBody_source) SetString ¶
func (m *ItemItemPagesPutRequestBody_PagesPutRequestBody_source) SetString(value *string)
SetString sets the string property value. Composed type representation for type string
type ItemItemPagesPutRequestBody_PagesPutRequestBody_sourceable ¶
type ItemItemPagesPutRequestBody_PagesPutRequestBody_sourceable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetItemItemPagesPutRequestBodySourceMember1() ItemItemPagesPutRequestBody_sourceMember1able GetString() *string SetItemItemPagesPutRequestBodySourceMember1(value ItemItemPagesPutRequestBody_sourceMember1able) SetString(value *string) }
type ItemItemPagesPutRequestBody_sourceMember1 ¶
type ItemItemPagesPutRequestBody_sourceMember1 struct {
// contains filtered or unexported fields
}
ItemItemPagesPutRequestBody_sourceMember1 update the source for the repository. Must include the branch name and path.
func NewItemItemPagesPutRequestBody_sourceMember1 ¶
func NewItemItemPagesPutRequestBody_sourceMember1() *ItemItemPagesPutRequestBody_sourceMember1
NewItemItemPagesPutRequestBody_sourceMember1 instantiates a new ItemItemPagesPutRequestBody_sourceMember1 and sets the default values.
func (*ItemItemPagesPutRequestBody_sourceMember1) GetAdditionalData ¶
func (m *ItemItemPagesPutRequestBody_sourceMember1) 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 (*ItemItemPagesPutRequestBody_sourceMember1) GetBranch ¶
func (m *ItemItemPagesPutRequestBody_sourceMember1) GetBranch() *string
GetBranch gets the branch property value. The repository branch used to publish your site's source files. returns a *string when successful
func (*ItemItemPagesPutRequestBody_sourceMember1) GetFieldDeserializers ¶
func (m *ItemItemPagesPutRequestBody_sourceMember1) 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 (*ItemItemPagesPutRequestBody_sourceMember1) Serialize ¶
func (m *ItemItemPagesPutRequestBody_sourceMember1) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPagesPutRequestBody_sourceMember1) SetAdditionalData ¶
func (m *ItemItemPagesPutRequestBody_sourceMember1) 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 (*ItemItemPagesPutRequestBody_sourceMember1) SetBranch ¶
func (m *ItemItemPagesPutRequestBody_sourceMember1) SetBranch(value *string)
SetBranch sets the branch property value. The repository branch used to publish your site's source files.
type ItemItemPagesPutRequestBody_sourceMember1able ¶
type ItemItemPagesPutRequestBody_sourceMember1able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBranch() *string SetBranch(value *string) }
type ItemItemPagesPutRequestBodyable ¶
type ItemItemPagesPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCname() *string GetHttpsEnforced() *bool GetSource() ItemItemPagesPutRequestBody_PagesPutRequestBody_sourceable SetCname(value *string) SetHttpsEnforced(value *bool) SetSource(value ItemItemPagesPutRequestBody_PagesPutRequestBody_sourceable) }
type ItemItemPagesRequestBuilder ¶
type ItemItemPagesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPagesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pages
func NewItemItemPagesRequestBuilder ¶
func NewItemItemPagesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPagesRequestBuilder
NewItemItemPagesRequestBuilder instantiates a new ItemItemPagesRequestBuilder and sets the default values.
func NewItemItemPagesRequestBuilderInternal ¶
func NewItemItemPagesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPagesRequestBuilder
NewItemItemPagesRequestBuilderInternal instantiates a new ItemItemPagesRequestBuilder and sets the default values.
func (*ItemItemPagesRequestBuilder) Builds ¶
func (m *ItemItemPagesRequestBuilder) Builds() *ItemItemPagesBuildsRequestBuilder
Builds the builds property returns a *ItemItemPagesBuildsRequestBuilder when successful
func (*ItemItemPagesRequestBuilder) Delete ¶
func (m *ItemItemPagesRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete deletes a GitHub Enterprise Server Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages).The authenticated user must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. 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 ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemPagesRequestBuilder) Deployments ¶
func (m *ItemItemPagesRequestBuilder) Deployments() *ItemItemPagesDeploymentsRequestBuilder
Deployments the deployments property returns a *ItemItemPagesDeploymentsRequestBuilder when successful
func (*ItemItemPagesRequestBuilder) Get ¶
func (m *ItemItemPagesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Pageable, error)
Get gets information about a GitHub Enterprise Server Pages site.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a Pageable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemPagesRequestBuilder) Post ¶
func (m *ItemItemPagesRequestBuilder) Post(ctx context.Context, body ItemItemPagesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Pageable, error)
Post configures a GitHub Enterprise Server Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages)."The authenticated user must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a Pageable when successful returns a BasicError error when the service returns a 409 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemPagesRequestBuilder) Put ¶
func (m *ItemItemPagesRequestBuilder) Put(ctx context.Context, body ItemItemPagesPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put updates information for a GitHub Enterprise Server Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages).The authenticated user must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a BasicError error when the service returns a 400 status code returns a BasicError error when the service returns a 409 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemPagesRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemPagesRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a GitHub Enterprise Server Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages).The authenticated user must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemPagesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemPagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets information about a GitHub Enterprise Server Pages site.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemPagesRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemPagesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemPagesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation configures a GitHub Enterprise Server Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages)."The authenticated user must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemPagesRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemPagesRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemPagesPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation updates information for a GitHub Enterprise Server Pages site. For more information, see "[About GitHub Pages](/github/working-with-github-pages/about-github-pages).The authenticated user must be a repository administrator, maintainer, or have the 'manage GitHub Pages settings' permission.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemPagesRequestBuilder) WithUrl ¶
func (m *ItemItemPagesRequestBuilder) WithUrl(rawUrl string) *ItemItemPagesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemPagesRequestBuilder when successful
type ItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody ¶
type ItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody ¶
func NewItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody() *ItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody
NewItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody instantiates a new ItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody and sets the default values.
func (*ItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetAdditionalData ¶
func (m *ItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) 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 (*ItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetFieldDeserializers ¶
func (m *ItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) 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 (*ItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) Serialize ¶
func (m *ItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetAdditionalData ¶
func (m *ItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) 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 ItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyable ¶
type ItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemItemPreReceiveHooksRequestBuilder ¶
type ItemItemPreReceiveHooksRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPreReceiveHooksRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pre-receive-hooks
func NewItemItemPreReceiveHooksRequestBuilder ¶
func NewItemItemPreReceiveHooksRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPreReceiveHooksRequestBuilder
NewItemItemPreReceiveHooksRequestBuilder instantiates a new ItemItemPreReceiveHooksRequestBuilder and sets the default values.
func NewItemItemPreReceiveHooksRequestBuilderInternal ¶
func NewItemItemPreReceiveHooksRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPreReceiveHooksRequestBuilder
NewItemItemPreReceiveHooksRequestBuilderInternal instantiates a new ItemItemPreReceiveHooksRequestBuilder and sets the default values.
func (*ItemItemPreReceiveHooksRequestBuilder) ByPre_receive_hook_id ¶
func (m *ItemItemPreReceiveHooksRequestBuilder) ByPre_receive_hook_id(pre_receive_hook_id int32) *ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder
ByPre_receive_hook_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.preReceiveHooks.item collection returns a *ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder when successful
func (*ItemItemPreReceiveHooksRequestBuilder) Get ¶
func (m *ItemItemPreReceiveHooksRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemPreReceiveHooksRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryPreReceiveHookable, error)
Get list all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed. returns a []RepositoryPreReceiveHookable when successful API method documentation
func (*ItemItemPreReceiveHooksRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemPreReceiveHooksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemPreReceiveHooksRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed. returns a *RequestInformation when successful
func (*ItemItemPreReceiveHooksRequestBuilder) WithUrl ¶
func (m *ItemItemPreReceiveHooksRequestBuilder) WithUrl(rawUrl string) *ItemItemPreReceiveHooksRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemPreReceiveHooksRequestBuilder when successful
type ItemItemPreReceiveHooksRequestBuilderGetQueryParameters ¶
type ItemItemPreReceiveHooksRequestBuilderGetQueryParameters struct { // The direction to sort the results by. Direction *ica6934b4a373fa1659e9f86c88392ef5c7c24513cb1e02c6bad9849147d46e61.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/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` Sort *ica6934b4a373fa1659e9f86c88392ef5c7c24513cb1e02c6bad9849147d46e61.GetSortQueryParameterType `uriparametername:"sort"` }
ItemItemPreReceiveHooksRequestBuilderGetQueryParameters list all pre-receive hooks that are enabled or testing for this repository as well as any disabled hooks that are allowed to be enabled at the repository level. Pre-receive hooks that are disabled at a higher level and are not configurable will not be listed.
type ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder ¶
type ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pre-receive-hooks\{pre_receive_hook_id}
func NewItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder ¶
func NewItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder
NewItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder instantiates a new ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder and sets the default values.
func NewItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilderInternal ¶
func NewItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder
NewItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilderInternal instantiates a new ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder and sets the default values.
func (*ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Delete ¶
func (m *ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryPreReceiveHookable, error)
Delete deletes any overridden enforcement on this repository for the specified hook.Responds with effective values inherited from owner and/or global level. returns a RepositoryPreReceiveHookable when successful API method documentation
func (*ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Get ¶
func (m *ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryPreReceiveHookable, error)
Get get a pre-receive hook for a repository returns a RepositoryPreReceiveHookable when successful API method documentation
func (*ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Patch ¶
func (m *ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Patch(ctx context.Context, body ItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryPreReceiveHookable, error)
Patch for pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement` returns a RepositoryPreReceiveHookable when successful API method documentation
func (*ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes any overridden enforcement on this repository for the specified hook.Responds with effective values inherited from owner and/or global level. returns a *RequestInformation when successful
func (*ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation for pre-receive hooks which are allowed to be configured at the repo level, you can set `enforcement` returns a *RequestInformation when successful
func (*ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemPreReceiveHooksWithPre_receive_hook_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 *ItemItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder when successful
type ItemItemProjectsPostRequestBody ¶
type ItemItemProjectsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemProjectsPostRequestBody ¶
func NewItemItemProjectsPostRequestBody() *ItemItemProjectsPostRequestBody
NewItemItemProjectsPostRequestBody instantiates a new ItemItemProjectsPostRequestBody and sets the default values.
func (*ItemItemProjectsPostRequestBody) GetAdditionalData ¶
func (m *ItemItemProjectsPostRequestBody) 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 (*ItemItemProjectsPostRequestBody) GetBody ¶
func (m *ItemItemProjectsPostRequestBody) GetBody() *string
GetBody gets the body property value. The description of the project. returns a *string when successful
func (*ItemItemProjectsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemProjectsPostRequestBody) 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 (*ItemItemProjectsPostRequestBody) GetName ¶
func (m *ItemItemProjectsPostRequestBody) GetName() *string
GetName gets the name property value. The name of the project. returns a *string when successful
func (*ItemItemProjectsPostRequestBody) Serialize ¶
func (m *ItemItemProjectsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemProjectsPostRequestBody) SetAdditionalData ¶
func (m *ItemItemProjectsPostRequestBody) 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 (*ItemItemProjectsPostRequestBody) SetBody ¶
func (m *ItemItemProjectsPostRequestBody) SetBody(value *string)
SetBody sets the body property value. The description of the project.
func (*ItemItemProjectsPostRequestBody) SetName ¶
func (m *ItemItemProjectsPostRequestBody) SetName(value *string)
SetName sets the name property value. The name of the project.
type ItemItemProjectsPostRequestBodyable ¶
type ItemItemProjectsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBody() *string GetName() *string SetBody(value *string) SetName(value *string) }
type ItemItemProjectsRequestBuilder ¶
type ItemItemProjectsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemProjectsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\projects
func NewItemItemProjectsRequestBuilder ¶
func NewItemItemProjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemProjectsRequestBuilder
NewItemItemProjectsRequestBuilder instantiates a new ItemItemProjectsRequestBuilder and sets the default values.
func NewItemItemProjectsRequestBuilderInternal ¶
func NewItemItemProjectsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemProjectsRequestBuilder
NewItemItemProjectsRequestBuilderInternal instantiates a new ItemItemProjectsRequestBuilder and sets the default values.
func (*ItemItemProjectsRequestBuilder) Get ¶
func (m *ItemItemProjectsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemProjectsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Projectable, error)
Get lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. 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 BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 410 status code returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation
func (*ItemItemProjectsRequestBuilder) Post ¶
func (m *ItemItemProjectsRequestBuilder) Post(ctx context.Context, body ItemItemProjectsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Projectable, error)
Post creates a repository project board. Returns a `410 Gone` status if projects are disabled in the repository or if the repository 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 BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 410 status code returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation
func (*ItemItemProjectsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemProjectsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemProjectsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. 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 (*ItemItemProjectsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemProjectsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemProjectsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation creates a repository project board. Returns a `410 Gone` status if projects are disabled in the repository or if the repository 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 (*ItemItemProjectsRequestBuilder) WithUrl ¶
func (m *ItemItemProjectsRequestBuilder) WithUrl(rawUrl string) *ItemItemProjectsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemProjectsRequestBuilder when successful
type ItemItemProjectsRequestBuilderGetQueryParameters ¶
type ItemItemProjectsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // Indicates the state of the projects to return. State *iee5b7c7d9113cd9ef49922d6bc12f95d04aa74a59ef7ea6ccd6fa7b396d7923b.GetStateQueryParameterType `uriparametername:"state"` }
ItemItemProjectsRequestBuilderGetQueryParameters lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.
type ItemItemPullsCommentsItemReactionsPostRequestBody ¶
type ItemItemPullsCommentsItemReactionsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemPullsCommentsItemReactionsPostRequestBody ¶
func NewItemItemPullsCommentsItemReactionsPostRequestBody() *ItemItemPullsCommentsItemReactionsPostRequestBody
NewItemItemPullsCommentsItemReactionsPostRequestBody instantiates a new ItemItemPullsCommentsItemReactionsPostRequestBody and sets the default values.
func (*ItemItemPullsCommentsItemReactionsPostRequestBody) GetAdditionalData ¶
func (m *ItemItemPullsCommentsItemReactionsPostRequestBody) 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 (*ItemItemPullsCommentsItemReactionsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemPullsCommentsItemReactionsPostRequestBody) 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 (*ItemItemPullsCommentsItemReactionsPostRequestBody) Serialize ¶
func (m *ItemItemPullsCommentsItemReactionsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPullsCommentsItemReactionsPostRequestBody) SetAdditionalData ¶
func (m *ItemItemPullsCommentsItemReactionsPostRequestBody) 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 ItemItemPullsCommentsItemReactionsPostRequestBodyable ¶
type ItemItemPullsCommentsItemReactionsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemItemPullsCommentsItemReactionsRequestBuilder ¶
type ItemItemPullsCommentsItemReactionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPullsCommentsItemReactionsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pulls\comments\{comment_id}\reactions
func NewItemItemPullsCommentsItemReactionsRequestBuilder ¶
func NewItemItemPullsCommentsItemReactionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsCommentsItemReactionsRequestBuilder
NewItemItemPullsCommentsItemReactionsRequestBuilder instantiates a new ItemItemPullsCommentsItemReactionsRequestBuilder and sets the default values.
func NewItemItemPullsCommentsItemReactionsRequestBuilderInternal ¶
func NewItemItemPullsCommentsItemReactionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsCommentsItemReactionsRequestBuilder
NewItemItemPullsCommentsItemReactionsRequestBuilderInternal instantiates a new ItemItemPullsCommentsItemReactionsRequestBuilder and sets the default values.
func (*ItemItemPullsCommentsItemReactionsRequestBuilder) ByReaction_id ¶
func (m *ItemItemPullsCommentsItemReactionsRequestBuilder) ByReaction_id(reaction_id int32) *ItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder
ByReaction_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.pulls.comments.item.reactions.item collection returns a *ItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder when successful
func (*ItemItemPullsCommentsItemReactionsRequestBuilder) Get ¶
func (m *ItemItemPullsCommentsItemReactionsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemPullsCommentsItemReactionsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Reactionable, error)
Get list the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#get-a-review-comment-for-a-pull-request). returns a []Reactionable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemPullsCommentsItemReactionsRequestBuilder) Post ¶
func (m *ItemItemPullsCommentsItemReactionsRequestBuilder) Post(ctx context.Context, body ItemItemPullsCommentsItemReactionsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Reactionable, error)
Post create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#get-a-review-comment-for-a-pull-request). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment. returns a Reactionable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemPullsCommentsItemReactionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemPullsCommentsItemReactionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemPullsCommentsItemReactionsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#get-a-review-comment-for-a-pull-request). returns a *RequestInformation when successful
func (*ItemItemPullsCommentsItemReactionsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemPullsCommentsItemReactionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemPullsCommentsItemReactionsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation create a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#get-a-review-comment-for-a-pull-request). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment. returns a *RequestInformation when successful
func (*ItemItemPullsCommentsItemReactionsRequestBuilder) WithUrl ¶
func (m *ItemItemPullsCommentsItemReactionsRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsCommentsItemReactionsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemPullsCommentsItemReactionsRequestBuilder when successful
type ItemItemPullsCommentsItemReactionsRequestBuilderGetQueryParameters ¶
type ItemItemPullsCommentsItemReactionsRequestBuilderGetQueryParameters struct { // Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. Content *i2cc6c579dc277888675f0cc7051bb5ee29007a09fd9058528d4f5ef3fcebd37b.GetContentQueryParameterType `uriparametername:"content"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemPullsCommentsItemReactionsRequestBuilderGetQueryParameters list the reactions to a [pull request review comment](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#get-a-review-comment-for-a-pull-request).
type ItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder ¶
type ItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pulls\comments\{comment_id}\reactions\{reaction_id}
func NewItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder ¶
func NewItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder
NewItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder instantiates a new ItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder and sets the default values.
func NewItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilderInternal ¶
func NewItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder
NewItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilderInternal instantiates a new ItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder and sets the default values.
func (*ItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder) Delete ¶
func (m *ItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete > [!NOTE]> You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`Delete a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#get-a-review-comment-for-a-pull-request). API method documentation
func (*ItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation > [!NOTE]> You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`Delete a reaction to a [pull request review comment](https://docs.github.com/enterprise-server@3.10/rest/pulls/comments#get-a-review-comment-for-a-pull-request). returns a *RequestInformation when successful
func (*ItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsCommentsItemReactionsWithReaction_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 *ItemItemPullsCommentsItemReactionsWithReaction_ItemRequestBuilder when successful
type ItemItemPullsCommentsItemWithComment_PatchRequestBody ¶
type ItemItemPullsCommentsItemWithComment_PatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemPullsCommentsItemWithComment_PatchRequestBody ¶
func NewItemItemPullsCommentsItemWithComment_PatchRequestBody() *ItemItemPullsCommentsItemWithComment_PatchRequestBody
NewItemItemPullsCommentsItemWithComment_PatchRequestBody instantiates a new ItemItemPullsCommentsItemWithComment_PatchRequestBody and sets the default values.
func (*ItemItemPullsCommentsItemWithComment_PatchRequestBody) GetAdditionalData ¶
func (m *ItemItemPullsCommentsItemWithComment_PatchRequestBody) 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 (*ItemItemPullsCommentsItemWithComment_PatchRequestBody) GetBody ¶
func (m *ItemItemPullsCommentsItemWithComment_PatchRequestBody) GetBody() *string
GetBody gets the body property value. The text of the reply to the review comment. returns a *string when successful
func (*ItemItemPullsCommentsItemWithComment_PatchRequestBody) GetFieldDeserializers ¶
func (m *ItemItemPullsCommentsItemWithComment_PatchRequestBody) 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 (*ItemItemPullsCommentsItemWithComment_PatchRequestBody) Serialize ¶
func (m *ItemItemPullsCommentsItemWithComment_PatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPullsCommentsItemWithComment_PatchRequestBody) SetAdditionalData ¶
func (m *ItemItemPullsCommentsItemWithComment_PatchRequestBody) 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 (*ItemItemPullsCommentsItemWithComment_PatchRequestBody) SetBody ¶
func (m *ItemItemPullsCommentsItemWithComment_PatchRequestBody) SetBody(value *string)
SetBody sets the body property value. The text of the reply to the review comment.
type ItemItemPullsCommentsItemWithComment_PatchRequestBodyable ¶
type ItemItemPullsCommentsItemWithComment_PatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBody() *string SetBody(value *string) }
type ItemItemPullsCommentsRequestBuilder ¶
type ItemItemPullsCommentsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPullsCommentsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pulls\comments
func NewItemItemPullsCommentsRequestBuilder ¶
func NewItemItemPullsCommentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsCommentsRequestBuilder
NewItemItemPullsCommentsRequestBuilder instantiates a new ItemItemPullsCommentsRequestBuilder and sets the default values.
func NewItemItemPullsCommentsRequestBuilderInternal ¶
func NewItemItemPullsCommentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsCommentsRequestBuilder
NewItemItemPullsCommentsRequestBuilderInternal instantiates a new ItemItemPullsCommentsRequestBuilder and sets the default values.
func (*ItemItemPullsCommentsRequestBuilder) ByComment_id ¶
func (m *ItemItemPullsCommentsRequestBuilder) ByComment_id(comment_id int32) *ItemItemPullsCommentsWithComment_ItemRequestBuilder
ByComment_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.pulls.comments.item collection returns a *ItemItemPullsCommentsWithComment_ItemRequestBuilder when successful
func (*ItemItemPullsCommentsRequestBuilder) Get ¶
func (m *ItemItemPullsCommentsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemPullsCommentsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PullRequestReviewCommentable, error)
Get lists review comments for all pull requests in a repository. By default,review comments are in ascending order by ID.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a []PullRequestReviewCommentable when successful API method documentation
func (*ItemItemPullsCommentsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemPullsCommentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemPullsCommentsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists review comments for all pull requests in a repository. By default,review comments are in ascending order by ID.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a *RequestInformation when successful
func (*ItemItemPullsCommentsRequestBuilder) WithUrl ¶
func (m *ItemItemPullsCommentsRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsCommentsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemPullsCommentsRequestBuilder when successful
type ItemItemPullsCommentsRequestBuilderGetQueryParameters ¶
type ItemItemPullsCommentsRequestBuilderGetQueryParameters struct { // The direction to sort results. Ignored without `sort` parameter. Direction *i1eb32cedc15edbe9c5f3a16c68b36f7841c39f3e9f6da62524bd9ebb3b990733.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/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/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"` Sort *i1eb32cedc15edbe9c5f3a16c68b36f7841c39f3e9f6da62524bd9ebb3b990733.GetSortQueryParameterType `uriparametername:"sort"` }
ItemItemPullsCommentsRequestBuilderGetQueryParameters lists review comments for all pull requests in a repository. By default,review comments are in ascending order by ID.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.
type ItemItemPullsCommentsWithComment_ItemRequestBuilder ¶
type ItemItemPullsCommentsWithComment_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPullsCommentsWithComment_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pulls\comments\{comment_id}
func NewItemItemPullsCommentsWithComment_ItemRequestBuilder ¶
func NewItemItemPullsCommentsWithComment_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsCommentsWithComment_ItemRequestBuilder
NewItemItemPullsCommentsWithComment_ItemRequestBuilder instantiates a new ItemItemPullsCommentsWithComment_ItemRequestBuilder and sets the default values.
func NewItemItemPullsCommentsWithComment_ItemRequestBuilderInternal ¶
func NewItemItemPullsCommentsWithComment_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsCommentsWithComment_ItemRequestBuilder
NewItemItemPullsCommentsWithComment_ItemRequestBuilderInternal instantiates a new ItemItemPullsCommentsWithComment_ItemRequestBuilder and sets the default values.
func (*ItemItemPullsCommentsWithComment_ItemRequestBuilder) Delete ¶
func (m *ItemItemPullsCommentsWithComment_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete deletes a review comment. returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemPullsCommentsWithComment_ItemRequestBuilder) Get ¶
func (m *ItemItemPullsCommentsWithComment_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PullRequestReviewCommentable, error)
Get provides details for a specified review comment.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a PullRequestReviewCommentable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemPullsCommentsWithComment_ItemRequestBuilder) Patch ¶
func (m *ItemItemPullsCommentsWithComment_ItemRequestBuilder) Patch(ctx context.Context, body ItemItemPullsCommentsItemWithComment_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PullRequestReviewCommentable, error)
Patch edits the content of a specified review comment.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a PullRequestReviewCommentable when successful API method documentation
func (*ItemItemPullsCommentsWithComment_ItemRequestBuilder) Reactions ¶
func (m *ItemItemPullsCommentsWithComment_ItemRequestBuilder) Reactions() *ItemItemPullsCommentsItemReactionsRequestBuilder
Reactions the reactions property returns a *ItemItemPullsCommentsItemReactionsRequestBuilder when successful
func (*ItemItemPullsCommentsWithComment_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemPullsCommentsWithComment_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a review comment. returns a *RequestInformation when successful
func (*ItemItemPullsCommentsWithComment_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemPullsCommentsWithComment_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation provides details for a specified review comment.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a *RequestInformation when successful
func (*ItemItemPullsCommentsWithComment_ItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemPullsCommentsWithComment_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemPullsCommentsItemWithComment_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation edits the content of a specified review comment.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a *RequestInformation when successful
func (*ItemItemPullsCommentsWithComment_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemPullsCommentsWithComment_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsCommentsWithComment_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 *ItemItemPullsCommentsWithComment_ItemRequestBuilder when successful
type ItemItemPullsItemCommentsItemRepliesPostRequestBody ¶
type ItemItemPullsItemCommentsItemRepliesPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemPullsItemCommentsItemRepliesPostRequestBody ¶
func NewItemItemPullsItemCommentsItemRepliesPostRequestBody() *ItemItemPullsItemCommentsItemRepliesPostRequestBody
NewItemItemPullsItemCommentsItemRepliesPostRequestBody instantiates a new ItemItemPullsItemCommentsItemRepliesPostRequestBody and sets the default values.
func (*ItemItemPullsItemCommentsItemRepliesPostRequestBody) GetAdditionalData ¶
func (m *ItemItemPullsItemCommentsItemRepliesPostRequestBody) 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 (*ItemItemPullsItemCommentsItemRepliesPostRequestBody) GetBody ¶
func (m *ItemItemPullsItemCommentsItemRepliesPostRequestBody) GetBody() *string
GetBody gets the body property value. The text of the review comment. returns a *string when successful
func (*ItemItemPullsItemCommentsItemRepliesPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemPullsItemCommentsItemRepliesPostRequestBody) 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 (*ItemItemPullsItemCommentsItemRepliesPostRequestBody) Serialize ¶
func (m *ItemItemPullsItemCommentsItemRepliesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPullsItemCommentsItemRepliesPostRequestBody) SetAdditionalData ¶
func (m *ItemItemPullsItemCommentsItemRepliesPostRequestBody) 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 (*ItemItemPullsItemCommentsItemRepliesPostRequestBody) SetBody ¶
func (m *ItemItemPullsItemCommentsItemRepliesPostRequestBody) SetBody(value *string)
SetBody sets the body property value. The text of the review comment.
type ItemItemPullsItemCommentsItemRepliesPostRequestBodyable ¶
type ItemItemPullsItemCommentsItemRepliesPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBody() *string SetBody(value *string) }
type ItemItemPullsItemCommentsItemRepliesRequestBuilder ¶
type ItemItemPullsItemCommentsItemRepliesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPullsItemCommentsItemRepliesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pulls\{pull_number}\comments\{comment_id}\replies
func NewItemItemPullsItemCommentsItemRepliesRequestBuilder ¶
func NewItemItemPullsItemCommentsItemRepliesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemCommentsItemRepliesRequestBuilder
NewItemItemPullsItemCommentsItemRepliesRequestBuilder instantiates a new ItemItemPullsItemCommentsItemRepliesRequestBuilder and sets the default values.
func NewItemItemPullsItemCommentsItemRepliesRequestBuilderInternal ¶
func NewItemItemPullsItemCommentsItemRepliesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemCommentsItemRepliesRequestBuilder
NewItemItemPullsItemCommentsItemRepliesRequestBuilderInternal instantiates a new ItemItemPullsItemCommentsItemRepliesRequestBuilder and sets the default values.
func (*ItemItemPullsItemCommentsItemRepliesRequestBuilder) Post ¶
func (m *ItemItemPullsItemCommentsItemRepliesRequestBuilder) Post(ctx context.Context, body ItemItemPullsItemCommentsItemRepliesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PullRequestReviewCommentable, error)
Post creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.10/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/best-practices-for-using-the-rest-api)."This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a PullRequestReviewCommentable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemPullsItemCommentsItemRepliesRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemPullsItemCommentsItemRepliesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemPullsItemCommentsItemRepliesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation creates a reply to a review comment for a pull request. For the `comment_id`, provide the ID of the review comment you are replying to. This must be the ID of a _top-level review comment_, not a reply to that comment. Replies to replies are not supported.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.10/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/best-practices-for-using-the-rest-api)."This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a *RequestInformation when successful
func (*ItemItemPullsItemCommentsItemRepliesRequestBuilder) WithUrl ¶
func (m *ItemItemPullsItemCommentsItemRepliesRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsItemCommentsItemRepliesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemPullsItemCommentsItemRepliesRequestBuilder when successful
type ItemItemPullsItemCommentsPostRequestBody ¶
type ItemItemPullsItemCommentsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemPullsItemCommentsPostRequestBody ¶
func NewItemItemPullsItemCommentsPostRequestBody() *ItemItemPullsItemCommentsPostRequestBody
NewItemItemPullsItemCommentsPostRequestBody instantiates a new ItemItemPullsItemCommentsPostRequestBody and sets the default values.
func (*ItemItemPullsItemCommentsPostRequestBody) GetAdditionalData ¶
func (m *ItemItemPullsItemCommentsPostRequestBody) 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 (*ItemItemPullsItemCommentsPostRequestBody) GetBody ¶
func (m *ItemItemPullsItemCommentsPostRequestBody) GetBody() *string
GetBody gets the body property value. The text of the review comment. returns a *string when successful
func (*ItemItemPullsItemCommentsPostRequestBody) GetCommitId ¶
func (m *ItemItemPullsItemCommentsPostRequestBody) GetCommitId() *string
GetCommitId gets the commit_id property value. The SHA of the commit needing a comment. Not using the latest commit SHA may render your comment outdated if a subsequent commit modifies the line you specify as the `position`. returns a *string when successful
func (*ItemItemPullsItemCommentsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemPullsItemCommentsPostRequestBody) 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 (*ItemItemPullsItemCommentsPostRequestBody) GetInReplyTo ¶
func (m *ItemItemPullsItemCommentsPostRequestBody) GetInReplyTo() *int32
GetInReplyTo gets the in_reply_to property value. The ID of the review comment to reply to. To find the ID of a review comment with ["List review comments on a pull request"](#list-review-comments-on-a-pull-request). When specified, all parameters other than `body` in the request body are ignored. returns a *int32 when successful
func (*ItemItemPullsItemCommentsPostRequestBody) GetLine ¶
func (m *ItemItemPullsItemCommentsPostRequestBody) GetLine() *int32
GetLine gets the line property value. **Required unless using `subject_type:file`**. The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to. returns a *int32 when successful
func (*ItemItemPullsItemCommentsPostRequestBody) GetPath ¶
func (m *ItemItemPullsItemCommentsPostRequestBody) GetPath() *string
GetPath gets the path property value. The relative path to the file that necessitates a comment. returns a *string when successful
func (*ItemItemPullsItemCommentsPostRequestBody) GetPosition ¶
func (m *ItemItemPullsItemCommentsPostRequestBody) GetPosition() *int32
GetPosition gets the position property value. **This parameter is deprecated. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The position value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. Deprecated: returns a *int32 when successful
func (*ItemItemPullsItemCommentsPostRequestBody) GetStartLine ¶
func (m *ItemItemPullsItemCommentsPostRequestBody) GetStartLine() *int32
GetStartLine gets the start_line property value. **Required when using multi-line comments unless using `in_reply_to`**. The `start_line` is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.10/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)" in the GitHub Help documentation. returns a *int32 when successful
func (*ItemItemPullsItemCommentsPostRequestBody) Serialize ¶
func (m *ItemItemPullsItemCommentsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPullsItemCommentsPostRequestBody) SetAdditionalData ¶
func (m *ItemItemPullsItemCommentsPostRequestBody) 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 (*ItemItemPullsItemCommentsPostRequestBody) SetBody ¶
func (m *ItemItemPullsItemCommentsPostRequestBody) SetBody(value *string)
SetBody sets the body property value. The text of the review comment.
func (*ItemItemPullsItemCommentsPostRequestBody) SetCommitId ¶
func (m *ItemItemPullsItemCommentsPostRequestBody) SetCommitId(value *string)
SetCommitId sets the commit_id property value. The SHA of the commit needing a comment. Not using the latest commit SHA may render your comment outdated if a subsequent commit modifies the line you specify as the `position`.
func (*ItemItemPullsItemCommentsPostRequestBody) SetInReplyTo ¶
func (m *ItemItemPullsItemCommentsPostRequestBody) SetInReplyTo(value *int32)
SetInReplyTo sets the in_reply_to property value. The ID of the review comment to reply to. To find the ID of a review comment with ["List review comments on a pull request"](#list-review-comments-on-a-pull-request). When specified, all parameters other than `body` in the request body are ignored.
func (*ItemItemPullsItemCommentsPostRequestBody) SetLine ¶
func (m *ItemItemPullsItemCommentsPostRequestBody) SetLine(value *int32)
SetLine sets the line property value. **Required unless using `subject_type:file`**. The line of the blob in the pull request diff that the comment applies to. For a multi-line comment, the last line of the range that your comment applies to.
func (*ItemItemPullsItemCommentsPostRequestBody) SetPath ¶
func (m *ItemItemPullsItemCommentsPostRequestBody) SetPath(value *string)
SetPath sets the path property value. The relative path to the file that necessitates a comment.
func (*ItemItemPullsItemCommentsPostRequestBody) SetPosition ¶
func (m *ItemItemPullsItemCommentsPostRequestBody) SetPosition(value *int32)
SetPosition sets the position property value. **This parameter is deprecated. Use `line` instead**. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The position value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. Deprecated:
func (*ItemItemPullsItemCommentsPostRequestBody) SetStartLine ¶
func (m *ItemItemPullsItemCommentsPostRequestBody) SetStartLine(value *int32)
SetStartLine sets the start_line property value. **Required when using multi-line comments unless using `in_reply_to`**. The `start_line` is the first line in the pull request diff that your multi-line comment applies to. To learn more about multi-line comments, see "[Commenting on a pull request](https://docs.github.com/enterprise-server@3.10/articles/commenting-on-a-pull-request#adding-line-comments-to-a-pull-request)" in the GitHub Help documentation.
type ItemItemPullsItemCommentsPostRequestBodyable ¶
type ItemItemPullsItemCommentsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBody() *string GetCommitId() *string GetInReplyTo() *int32 GetLine() *int32 GetPath() *string GetPosition() *int32 GetStartLine() *int32 SetBody(value *string) SetCommitId(value *string) SetInReplyTo(value *int32) SetLine(value *int32) SetPath(value *string) SetPosition(value *int32) SetStartLine(value *int32) }
type ItemItemPullsItemCommentsRequestBuilder ¶
type ItemItemPullsItemCommentsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPullsItemCommentsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pulls\{pull_number}\comments
func NewItemItemPullsItemCommentsRequestBuilder ¶
func NewItemItemPullsItemCommentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemCommentsRequestBuilder
NewItemItemPullsItemCommentsRequestBuilder instantiates a new ItemItemPullsItemCommentsRequestBuilder and sets the default values.
func NewItemItemPullsItemCommentsRequestBuilderInternal ¶
func NewItemItemPullsItemCommentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemCommentsRequestBuilder
NewItemItemPullsItemCommentsRequestBuilderInternal instantiates a new ItemItemPullsItemCommentsRequestBuilder and sets the default values.
func (*ItemItemPullsItemCommentsRequestBuilder) ByComment_id ¶
func (m *ItemItemPullsItemCommentsRequestBuilder) ByComment_id(comment_id int32) *ItemItemPullsItemCommentsWithComment_ItemRequestBuilder
ByComment_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.pulls.item.comments.item collection returns a *ItemItemPullsItemCommentsWithComment_ItemRequestBuilder when successful
func (*ItemItemPullsItemCommentsRequestBuilder) Get ¶
func (m *ItemItemPullsItemCommentsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemPullsItemCommentsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PullRequestReviewCommentable, error)
Get lists all review comments for a specified pull request. By default, review commentsare in ascending order by ID.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a []PullRequestReviewCommentable when successful API method documentation
func (*ItemItemPullsItemCommentsRequestBuilder) Post ¶
func (m *ItemItemPullsItemCommentsRequestBuilder) Post(ctx context.Context, body ItemItemPullsItemCommentsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PullRequestReviewCommentable, error)
Post creates a review comment on the diff of a specified pull request. To add a regular comment to a pull request timeline, see "[Create an issue comment](https://docs.github.com/enterprise-server@3.10/rest/issues/comments#create-an-issue-comment)."If your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request.The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.10/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/best-practices-for-using-the-rest-api)."This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a PullRequestReviewCommentable when successful 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 (*ItemItemPullsItemCommentsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemPullsItemCommentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemPullsItemCommentsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all review comments for a specified pull request. By default, review commentsare in ascending order by ID.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a *RequestInformation when successful
func (*ItemItemPullsItemCommentsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemPullsItemCommentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemPullsItemCommentsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation creates a review comment on the diff of a specified pull request. To add a regular comment to a pull request timeline, see "[Create an issue comment](https://docs.github.com/enterprise-server@3.10/rest/issues/comments#create-an-issue-comment)."If your comment applies to more than one line in the pull request diff, you should use the parameters `line`, `side`, and optionally `start_line` and `start_side` in your request.The `position` parameter is deprecated. If you use `position`, the `line`, `side`, `start_line`, and `start_side` parameters are not required.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.10/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)"and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/best-practices-for-using-the-rest-api)."This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a *RequestInformation when successful
func (*ItemItemPullsItemCommentsRequestBuilder) WithUrl ¶
func (m *ItemItemPullsItemCommentsRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsItemCommentsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemPullsItemCommentsRequestBuilder when successful
type ItemItemPullsItemCommentsRequestBuilderGetQueryParameters ¶
type ItemItemPullsItemCommentsRequestBuilderGetQueryParameters struct { // The direction to sort results. Ignored without `sort` parameter. Direction *ie2c5763c9cea95b2990b652292748d85a24bcc0c195a44fb88e497f5c49371b9.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/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/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"` // The property to sort the results by. Sort *ie2c5763c9cea95b2990b652292748d85a24bcc0c195a44fb88e497f5c49371b9.GetSortQueryParameterType `uriparametername:"sort"` }
ItemItemPullsItemCommentsRequestBuilderGetQueryParameters lists all review comments for a specified pull request. By default, review commentsare in ascending order by ID.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.
type ItemItemPullsItemCommentsWithComment_ItemRequestBuilder ¶
type ItemItemPullsItemCommentsWithComment_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPullsItemCommentsWithComment_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pulls\{pull_number}\comments\{comment_id}
func NewItemItemPullsItemCommentsWithComment_ItemRequestBuilder ¶
func NewItemItemPullsItemCommentsWithComment_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemCommentsWithComment_ItemRequestBuilder
NewItemItemPullsItemCommentsWithComment_ItemRequestBuilder instantiates a new ItemItemPullsItemCommentsWithComment_ItemRequestBuilder and sets the default values.
func NewItemItemPullsItemCommentsWithComment_ItemRequestBuilderInternal ¶
func NewItemItemPullsItemCommentsWithComment_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemCommentsWithComment_ItemRequestBuilder
NewItemItemPullsItemCommentsWithComment_ItemRequestBuilderInternal instantiates a new ItemItemPullsItemCommentsWithComment_ItemRequestBuilder and sets the default values.
func (*ItemItemPullsItemCommentsWithComment_ItemRequestBuilder) Replies ¶
func (m *ItemItemPullsItemCommentsWithComment_ItemRequestBuilder) Replies() *ItemItemPullsItemCommentsItemRepliesRequestBuilder
Replies the replies property returns a *ItemItemPullsItemCommentsItemRepliesRequestBuilder when successful
type ItemItemPullsItemCommitsRequestBuilder ¶
type ItemItemPullsItemCommitsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPullsItemCommitsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pulls\{pull_number}\commits
func NewItemItemPullsItemCommitsRequestBuilder ¶
func NewItemItemPullsItemCommitsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemCommitsRequestBuilder
NewItemItemPullsItemCommitsRequestBuilder instantiates a new ItemItemPullsItemCommitsRequestBuilder and sets the default values.
func NewItemItemPullsItemCommitsRequestBuilderInternal ¶
func NewItemItemPullsItemCommitsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemCommitsRequestBuilder
NewItemItemPullsItemCommitsRequestBuilderInternal instantiates a new ItemItemPullsItemCommitsRequestBuilder and sets the default values.
func (*ItemItemPullsItemCommitsRequestBuilder) Get ¶
func (m *ItemItemPullsItemCommitsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemPullsItemCommitsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Commitable, error)
Get lists a maximum of 250 commits for a pull request. To receive a completecommit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@3.10/rest/commits/commits#list-commits)endpoint.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 []Commitable when successful API method documentation
func (*ItemItemPullsItemCommitsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemPullsItemCommitsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemPullsItemCommitsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists a maximum of 250 commits for a pull request. To receive a completecommit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@3.10/rest/commits/commits#list-commits)endpoint.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 (*ItemItemPullsItemCommitsRequestBuilder) WithUrl ¶
func (m *ItemItemPullsItemCommitsRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsItemCommitsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemPullsItemCommitsRequestBuilder when successful
type ItemItemPullsItemCommitsRequestBuilderGetQueryParameters ¶
type ItemItemPullsItemCommitsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemPullsItemCommitsRequestBuilderGetQueryParameters lists a maximum of 250 commits for a pull request. To receive a completecommit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/enterprise-server@3.10/rest/commits/commits#list-commits)endpoint.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 ItemItemPullsItemFilesRequestBuilder ¶
type ItemItemPullsItemFilesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPullsItemFilesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pulls\{pull_number}\files
func NewItemItemPullsItemFilesRequestBuilder ¶
func NewItemItemPullsItemFilesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemFilesRequestBuilder
NewItemItemPullsItemFilesRequestBuilder instantiates a new ItemItemPullsItemFilesRequestBuilder and sets the default values.
func NewItemItemPullsItemFilesRequestBuilderInternal ¶
func NewItemItemPullsItemFilesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemFilesRequestBuilder
NewItemItemPullsItemFilesRequestBuilderInternal instantiates a new ItemItemPullsItemFilesRequestBuilder and sets the default values.
func (*ItemItemPullsItemFilesRequestBuilder) Get ¶
func (m *ItemItemPullsItemFilesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemPullsItemFilesRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DiffEntryable, error)
Get lists the files in a specified pull request.> [!NOTE]> Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 []DiffEntryable when successful returns a ValidationError error when the service returns a 422 status code returns a BasicError error when the service returns a 500 status code returns a Files503Error error when the service returns a 503 status code API method documentation
func (*ItemItemPullsItemFilesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemPullsItemFilesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemPullsItemFilesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the files in a specified pull request.> [!NOTE]> Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 (*ItemItemPullsItemFilesRequestBuilder) WithUrl ¶
func (m *ItemItemPullsItemFilesRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsItemFilesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemPullsItemFilesRequestBuilder when successful
type ItemItemPullsItemFilesRequestBuilderGetQueryParameters ¶
type ItemItemPullsItemFilesRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemPullsItemFilesRequestBuilderGetQueryParameters lists the files in a specified pull request.> [!NOTE]> Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 ItemItemPullsItemMergePutRequestBody ¶
type ItemItemPullsItemMergePutRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemPullsItemMergePutRequestBody ¶
func NewItemItemPullsItemMergePutRequestBody() *ItemItemPullsItemMergePutRequestBody
NewItemItemPullsItemMergePutRequestBody instantiates a new ItemItemPullsItemMergePutRequestBody and sets the default values.
func (*ItemItemPullsItemMergePutRequestBody) GetAdditionalData ¶
func (m *ItemItemPullsItemMergePutRequestBody) 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 (*ItemItemPullsItemMergePutRequestBody) GetCommitMessage ¶
func (m *ItemItemPullsItemMergePutRequestBody) GetCommitMessage() *string
GetCommitMessage gets the commit_message property value. Extra detail to append to automatic commit message. returns a *string when successful
func (*ItemItemPullsItemMergePutRequestBody) GetCommitTitle ¶
func (m *ItemItemPullsItemMergePutRequestBody) GetCommitTitle() *string
GetCommitTitle gets the commit_title property value. Title for the automatic commit message. returns a *string when successful
func (*ItemItemPullsItemMergePutRequestBody) GetFieldDeserializers ¶
func (m *ItemItemPullsItemMergePutRequestBody) 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 (*ItemItemPullsItemMergePutRequestBody) GetSha ¶
func (m *ItemItemPullsItemMergePutRequestBody) GetSha() *string
GetSha gets the sha property value. SHA that pull request head must match to allow merge. returns a *string when successful
func (*ItemItemPullsItemMergePutRequestBody) Serialize ¶
func (m *ItemItemPullsItemMergePutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPullsItemMergePutRequestBody) SetAdditionalData ¶
func (m *ItemItemPullsItemMergePutRequestBody) 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 (*ItemItemPullsItemMergePutRequestBody) SetCommitMessage ¶
func (m *ItemItemPullsItemMergePutRequestBody) SetCommitMessage(value *string)
SetCommitMessage sets the commit_message property value. Extra detail to append to automatic commit message.
func (*ItemItemPullsItemMergePutRequestBody) SetCommitTitle ¶
func (m *ItemItemPullsItemMergePutRequestBody) SetCommitTitle(value *string)
SetCommitTitle sets the commit_title property value. Title for the automatic commit message.
func (*ItemItemPullsItemMergePutRequestBody) SetSha ¶
func (m *ItemItemPullsItemMergePutRequestBody) SetSha(value *string)
SetSha sets the sha property value. SHA that pull request head must match to allow merge.
type ItemItemPullsItemMergePutRequestBodyable ¶
type ItemItemPullsItemMergePutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCommitMessage() *string GetCommitTitle() *string GetSha() *string SetCommitMessage(value *string) SetCommitTitle(value *string) SetSha(value *string) }
type ItemItemPullsItemMergeRequestBuilder ¶
type ItemItemPullsItemMergeRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPullsItemMergeRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pulls\{pull_number}\merge
func NewItemItemPullsItemMergeRequestBuilder ¶
func NewItemItemPullsItemMergeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemMergeRequestBuilder
NewItemItemPullsItemMergeRequestBuilder instantiates a new ItemItemPullsItemMergeRequestBuilder and sets the default values.
func NewItemItemPullsItemMergeRequestBuilderInternal ¶
func NewItemItemPullsItemMergeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemMergeRequestBuilder
NewItemItemPullsItemMergeRequestBuilderInternal instantiates a new ItemItemPullsItemMergeRequestBuilder and sets the default values.
func (*ItemItemPullsItemMergeRequestBuilder) Get ¶
func (m *ItemItemPullsItemMergeRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Get checks if a pull request has been merged into the base branch. The HTTP status of the response indicates whether or not the pull request has been merged; the response body is empty. API method documentation
func (*ItemItemPullsItemMergeRequestBuilder) Put ¶
func (m *ItemItemPullsItemMergeRequestBuilder) Put(ctx context.Context, body ItemItemPullsItemMergePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PullRequestMergeResultable, error)
Put merges a pull request into the base branch.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.10/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/best-practices-for-using-the-rest-api)." returns a PullRequestMergeResultable 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 ItemItemPullsItemPullRequestMergeResult405Error error when the service returns a 405 status code returns a ItemItemPullsItemPullRequestMergeResult409Error error when the service returns a 409 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemPullsItemMergeRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemPullsItemMergeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation checks if a pull request has been merged into the base branch. The HTTP status of the response indicates whether or not the pull request has been merged; the response body is empty. returns a *RequestInformation when successful
func (*ItemItemPullsItemMergeRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemPullsItemMergeRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemPullsItemMergePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation merges a pull request into the base branch.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.10/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/best-practices-for-using-the-rest-api)." returns a *RequestInformation when successful
func (*ItemItemPullsItemMergeRequestBuilder) WithUrl ¶
func (m *ItemItemPullsItemMergeRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsItemMergeRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemPullsItemMergeRequestBuilder when successful
type ItemItemPullsItemPullRequestMergeResult405Error ¶
type ItemItemPullsItemPullRequestMergeResult405Error struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ApiError // contains filtered or unexported fields }
func NewItemItemPullsItemPullRequestMergeResult405Error ¶
func NewItemItemPullsItemPullRequestMergeResult405Error() *ItemItemPullsItemPullRequestMergeResult405Error
NewItemItemPullsItemPullRequestMergeResult405Error instantiates a new ItemItemPullsItemPullRequestMergeResult405Error and sets the default values.
func (*ItemItemPullsItemPullRequestMergeResult405Error) Error ¶
func (m *ItemItemPullsItemPullRequestMergeResult405Error) Error() string
Error the primary error message. returns a string when successful
func (*ItemItemPullsItemPullRequestMergeResult405Error) GetAdditionalData ¶
func (m *ItemItemPullsItemPullRequestMergeResult405Error) 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 (*ItemItemPullsItemPullRequestMergeResult405Error) GetDocumentationUrl ¶
func (m *ItemItemPullsItemPullRequestMergeResult405Error) GetDocumentationUrl() *string
GetDocumentationUrl gets the documentation_url property value. The documentation_url property returns a *string when successful
func (*ItemItemPullsItemPullRequestMergeResult405Error) GetFieldDeserializers ¶
func (m *ItemItemPullsItemPullRequestMergeResult405Error) 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 (*ItemItemPullsItemPullRequestMergeResult405Error) GetMessage ¶
func (m *ItemItemPullsItemPullRequestMergeResult405Error) GetMessage() *string
GetMessage gets the message property value. The message property returns a *string when successful
func (*ItemItemPullsItemPullRequestMergeResult405Error) Serialize ¶
func (m *ItemItemPullsItemPullRequestMergeResult405Error) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPullsItemPullRequestMergeResult405Error) SetAdditionalData ¶
func (m *ItemItemPullsItemPullRequestMergeResult405Error) 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 (*ItemItemPullsItemPullRequestMergeResult405Error) SetDocumentationUrl ¶
func (m *ItemItemPullsItemPullRequestMergeResult405Error) SetDocumentationUrl(value *string)
SetDocumentationUrl sets the documentation_url property value. The documentation_url property
func (*ItemItemPullsItemPullRequestMergeResult405Error) SetMessage ¶
func (m *ItemItemPullsItemPullRequestMergeResult405Error) SetMessage(value *string)
SetMessage sets the message property value. The message property
type ItemItemPullsItemPullRequestMergeResult405Errorable ¶
type ItemItemPullsItemPullRequestMergeResult405Errorable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetDocumentationUrl() *string GetMessage() *string SetDocumentationUrl(value *string) SetMessage(value *string) }
type ItemItemPullsItemPullRequestMergeResult409Error ¶
type ItemItemPullsItemPullRequestMergeResult409Error struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ApiError // contains filtered or unexported fields }
func NewItemItemPullsItemPullRequestMergeResult409Error ¶
func NewItemItemPullsItemPullRequestMergeResult409Error() *ItemItemPullsItemPullRequestMergeResult409Error
NewItemItemPullsItemPullRequestMergeResult409Error instantiates a new ItemItemPullsItemPullRequestMergeResult409Error and sets the default values.
func (*ItemItemPullsItemPullRequestMergeResult409Error) Error ¶
func (m *ItemItemPullsItemPullRequestMergeResult409Error) Error() string
Error the primary error message. returns a string when successful
func (*ItemItemPullsItemPullRequestMergeResult409Error) GetAdditionalData ¶
func (m *ItemItemPullsItemPullRequestMergeResult409Error) 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 (*ItemItemPullsItemPullRequestMergeResult409Error) GetDocumentationUrl ¶
func (m *ItemItemPullsItemPullRequestMergeResult409Error) GetDocumentationUrl() *string
GetDocumentationUrl gets the documentation_url property value. The documentation_url property returns a *string when successful
func (*ItemItemPullsItemPullRequestMergeResult409Error) GetFieldDeserializers ¶
func (m *ItemItemPullsItemPullRequestMergeResult409Error) 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 (*ItemItemPullsItemPullRequestMergeResult409Error) GetMessage ¶
func (m *ItemItemPullsItemPullRequestMergeResult409Error) GetMessage() *string
GetMessage gets the message property value. The message property returns a *string when successful
func (*ItemItemPullsItemPullRequestMergeResult409Error) Serialize ¶
func (m *ItemItemPullsItemPullRequestMergeResult409Error) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPullsItemPullRequestMergeResult409Error) SetAdditionalData ¶
func (m *ItemItemPullsItemPullRequestMergeResult409Error) 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 (*ItemItemPullsItemPullRequestMergeResult409Error) SetDocumentationUrl ¶
func (m *ItemItemPullsItemPullRequestMergeResult409Error) SetDocumentationUrl(value *string)
SetDocumentationUrl sets the documentation_url property value. The documentation_url property
func (*ItemItemPullsItemPullRequestMergeResult409Error) SetMessage ¶
func (m *ItemItemPullsItemPullRequestMergeResult409Error) SetMessage(value *string)
SetMessage sets the message property value. The message property
type ItemItemPullsItemPullRequestMergeResult409Errorable ¶
type ItemItemPullsItemPullRequestMergeResult409Errorable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetDocumentationUrl() *string GetMessage() *string SetDocumentationUrl(value *string) SetMessage(value *string) }
type ItemItemPullsItemRequested_reviewersDeleteRequestBody ¶
type ItemItemPullsItemRequested_reviewersDeleteRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemPullsItemRequested_reviewersDeleteRequestBody ¶
func NewItemItemPullsItemRequested_reviewersDeleteRequestBody() *ItemItemPullsItemRequested_reviewersDeleteRequestBody
NewItemItemPullsItemRequested_reviewersDeleteRequestBody instantiates a new ItemItemPullsItemRequested_reviewersDeleteRequestBody and sets the default values.
func (*ItemItemPullsItemRequested_reviewersDeleteRequestBody) GetAdditionalData ¶
func (m *ItemItemPullsItemRequested_reviewersDeleteRequestBody) 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 (*ItemItemPullsItemRequested_reviewersDeleteRequestBody) GetFieldDeserializers ¶
func (m *ItemItemPullsItemRequested_reviewersDeleteRequestBody) 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 (*ItemItemPullsItemRequested_reviewersDeleteRequestBody) GetReviewers ¶
func (m *ItemItemPullsItemRequested_reviewersDeleteRequestBody) GetReviewers() []string
GetReviewers gets the reviewers property value. An array of user `login`s that will be removed. returns a []string when successful
func (*ItemItemPullsItemRequested_reviewersDeleteRequestBody) GetTeamReviewers ¶
func (m *ItemItemPullsItemRequested_reviewersDeleteRequestBody) GetTeamReviewers() []string
GetTeamReviewers gets the team_reviewers property value. An array of team `slug`s that will be removed. returns a []string when successful
func (*ItemItemPullsItemRequested_reviewersDeleteRequestBody) Serialize ¶
func (m *ItemItemPullsItemRequested_reviewersDeleteRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPullsItemRequested_reviewersDeleteRequestBody) SetAdditionalData ¶
func (m *ItemItemPullsItemRequested_reviewersDeleteRequestBody) 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 (*ItemItemPullsItemRequested_reviewersDeleteRequestBody) SetReviewers ¶
func (m *ItemItemPullsItemRequested_reviewersDeleteRequestBody) SetReviewers(value []string)
SetReviewers sets the reviewers property value. An array of user `login`s that will be removed.
func (*ItemItemPullsItemRequested_reviewersDeleteRequestBody) SetTeamReviewers ¶
func (m *ItemItemPullsItemRequested_reviewersDeleteRequestBody) SetTeamReviewers(value []string)
SetTeamReviewers sets the team_reviewers property value. An array of team `slug`s that will be removed.
type ItemItemPullsItemRequested_reviewersDeleteRequestBodyable ¶
type ItemItemPullsItemRequested_reviewersDeleteRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetReviewers() []string GetTeamReviewers() []string SetReviewers(value []string) SetTeamReviewers(value []string) }
type ItemItemPullsItemRequested_reviewersPostRequestBody ¶
type ItemItemPullsItemRequested_reviewersPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemPullsItemRequested_reviewersPostRequestBody ¶
func NewItemItemPullsItemRequested_reviewersPostRequestBody() *ItemItemPullsItemRequested_reviewersPostRequestBody
NewItemItemPullsItemRequested_reviewersPostRequestBody instantiates a new ItemItemPullsItemRequested_reviewersPostRequestBody and sets the default values.
func (*ItemItemPullsItemRequested_reviewersPostRequestBody) GetAdditionalData ¶
func (m *ItemItemPullsItemRequested_reviewersPostRequestBody) 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 (*ItemItemPullsItemRequested_reviewersPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemPullsItemRequested_reviewersPostRequestBody) 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 (*ItemItemPullsItemRequested_reviewersPostRequestBody) GetReviewers ¶
func (m *ItemItemPullsItemRequested_reviewersPostRequestBody) GetReviewers() []string
GetReviewers gets the reviewers property value. An array of user `login`s that will be requested. returns a []string when successful
func (*ItemItemPullsItemRequested_reviewersPostRequestBody) GetTeamReviewers ¶
func (m *ItemItemPullsItemRequested_reviewersPostRequestBody) GetTeamReviewers() []string
GetTeamReviewers gets the team_reviewers property value. An array of team `slug`s that will be requested. returns a []string when successful
func (*ItemItemPullsItemRequested_reviewersPostRequestBody) Serialize ¶
func (m *ItemItemPullsItemRequested_reviewersPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPullsItemRequested_reviewersPostRequestBody) SetAdditionalData ¶
func (m *ItemItemPullsItemRequested_reviewersPostRequestBody) 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 (*ItemItemPullsItemRequested_reviewersPostRequestBody) SetReviewers ¶
func (m *ItemItemPullsItemRequested_reviewersPostRequestBody) SetReviewers(value []string)
SetReviewers sets the reviewers property value. An array of user `login`s that will be requested.
func (*ItemItemPullsItemRequested_reviewersPostRequestBody) SetTeamReviewers ¶
func (m *ItemItemPullsItemRequested_reviewersPostRequestBody) SetTeamReviewers(value []string)
SetTeamReviewers sets the team_reviewers property value. An array of team `slug`s that will be requested.
type ItemItemPullsItemRequested_reviewersPostRequestBodyable ¶
type ItemItemPullsItemRequested_reviewersPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetReviewers() []string GetTeamReviewers() []string SetReviewers(value []string) SetTeamReviewers(value []string) }
type ItemItemPullsItemRequested_reviewersRequestBuilder ¶
type ItemItemPullsItemRequested_reviewersRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPullsItemRequested_reviewersRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pulls\{pull_number}\requested_reviewers
func NewItemItemPullsItemRequested_reviewersRequestBuilder ¶
func NewItemItemPullsItemRequested_reviewersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemRequested_reviewersRequestBuilder
NewItemItemPullsItemRequested_reviewersRequestBuilder instantiates a new ItemItemPullsItemRequested_reviewersRequestBuilder and sets the default values.
func NewItemItemPullsItemRequested_reviewersRequestBuilderInternal ¶
func NewItemItemPullsItemRequested_reviewersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemRequested_reviewersRequestBuilder
NewItemItemPullsItemRequested_reviewersRequestBuilderInternal instantiates a new ItemItemPullsItemRequested_reviewersRequestBuilder and sets the default values.
func (*ItemItemPullsItemRequested_reviewersRequestBuilder) Delete ¶
func (m *ItemItemPullsItemRequested_reviewersRequestBuilder) Delete(ctx context.Context, body ItemItemPullsItemRequested_reviewersDeleteRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PullRequestSimpleable, error)
Delete removes review requests from a pull request for a given set of users and/or teams. returns a PullRequestSimpleable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemPullsItemRequested_reviewersRequestBuilder) Get ¶
func (m *ItemItemPullsItemRequested_reviewersRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PullRequestReviewRequestable, error)
Get gets the users or teams whose review is requested for a pull request. Once a requested reviewer submits a review, they are no longer considered a requested reviewer. Their review will instead be returned by the [List reviews for a pull request](https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews#list-reviews-for-a-pull-request) operation. returns a PullRequestReviewRequestable when successful API method documentation
func (*ItemItemPullsItemRequested_reviewersRequestBuilder) Post ¶
func (m *ItemItemPullsItemRequested_reviewersRequestBuilder) Post(ctx context.Context, body ItemItemPullsItemRequested_reviewersPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PullRequestSimpleable, error)
Post requests reviews for a pull request from a given set of users and/or teams.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.10/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/best-practices-for-using-the-rest-api)." returns a PullRequestSimpleable when successful returns a BasicError error when the service returns a 403 status code API method documentation
func (*ItemItemPullsItemRequested_reviewersRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemPullsItemRequested_reviewersRequestBuilder) ToDeleteRequestInformation(ctx context.Context, body ItemItemPullsItemRequested_reviewersDeleteRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation removes review requests from a pull request for a given set of users and/or teams. returns a *RequestInformation when successful
func (*ItemItemPullsItemRequested_reviewersRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemPullsItemRequested_reviewersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the users or teams whose review is requested for a pull request. Once a requested reviewer submits a review, they are no longer considered a requested reviewer. Their review will instead be returned by the [List reviews for a pull request](https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews#list-reviews-for-a-pull-request) operation. returns a *RequestInformation when successful
func (*ItemItemPullsItemRequested_reviewersRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemPullsItemRequested_reviewersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemPullsItemRequested_reviewersPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation requests reviews for a pull request from a given set of users and/or teams.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.10/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/best-practices-for-using-the-rest-api)." returns a *RequestInformation when successful
func (*ItemItemPullsItemRequested_reviewersRequestBuilder) WithUrl ¶
func (m *ItemItemPullsItemRequested_reviewersRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsItemRequested_reviewersRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemPullsItemRequested_reviewersRequestBuilder when successful
type ItemItemPullsItemReviewsItemCommentsRequestBuilder ¶
type ItemItemPullsItemReviewsItemCommentsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPullsItemReviewsItemCommentsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pulls\{pull_number}\reviews\{review_id}\comments
func NewItemItemPullsItemReviewsItemCommentsRequestBuilder ¶
func NewItemItemPullsItemReviewsItemCommentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemReviewsItemCommentsRequestBuilder
NewItemItemPullsItemReviewsItemCommentsRequestBuilder instantiates a new ItemItemPullsItemReviewsItemCommentsRequestBuilder and sets the default values.
func NewItemItemPullsItemReviewsItemCommentsRequestBuilderInternal ¶
func NewItemItemPullsItemReviewsItemCommentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemReviewsItemCommentsRequestBuilder
NewItemItemPullsItemReviewsItemCommentsRequestBuilderInternal instantiates a new ItemItemPullsItemReviewsItemCommentsRequestBuilder and sets the default values.
func (*ItemItemPullsItemReviewsItemCommentsRequestBuilder) Get ¶
func (m *ItemItemPullsItemReviewsItemCommentsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemPullsItemReviewsItemCommentsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCommentable, error)
Get lists comments for a specific pull request review.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a []ReviewCommentable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemPullsItemReviewsItemCommentsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemPullsItemReviewsItemCommentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemPullsItemReviewsItemCommentsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists comments for a specific pull request review.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a *RequestInformation when successful
func (*ItemItemPullsItemReviewsItemCommentsRequestBuilder) WithUrl ¶
func (m *ItemItemPullsItemReviewsItemCommentsRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsItemReviewsItemCommentsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemPullsItemReviewsItemCommentsRequestBuilder when successful
type ItemItemPullsItemReviewsItemCommentsRequestBuilderGetQueryParameters ¶
type ItemItemPullsItemReviewsItemCommentsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemPullsItemReviewsItemCommentsRequestBuilderGetQueryParameters lists comments for a specific pull request review.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.
type ItemItemPullsItemReviewsItemDismissalsPutRequestBody ¶
type ItemItemPullsItemReviewsItemDismissalsPutRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemPullsItemReviewsItemDismissalsPutRequestBody ¶
func NewItemItemPullsItemReviewsItemDismissalsPutRequestBody() *ItemItemPullsItemReviewsItemDismissalsPutRequestBody
NewItemItemPullsItemReviewsItemDismissalsPutRequestBody instantiates a new ItemItemPullsItemReviewsItemDismissalsPutRequestBody and sets the default values.
func (*ItemItemPullsItemReviewsItemDismissalsPutRequestBody) GetAdditionalData ¶
func (m *ItemItemPullsItemReviewsItemDismissalsPutRequestBody) 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 (*ItemItemPullsItemReviewsItemDismissalsPutRequestBody) GetFieldDeserializers ¶
func (m *ItemItemPullsItemReviewsItemDismissalsPutRequestBody) 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 (*ItemItemPullsItemReviewsItemDismissalsPutRequestBody) GetMessage ¶
func (m *ItemItemPullsItemReviewsItemDismissalsPutRequestBody) GetMessage() *string
GetMessage gets the message property value. The message for the pull request review dismissal returns a *string when successful
func (*ItemItemPullsItemReviewsItemDismissalsPutRequestBody) Serialize ¶
func (m *ItemItemPullsItemReviewsItemDismissalsPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPullsItemReviewsItemDismissalsPutRequestBody) SetAdditionalData ¶
func (m *ItemItemPullsItemReviewsItemDismissalsPutRequestBody) 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 (*ItemItemPullsItemReviewsItemDismissalsPutRequestBody) SetMessage ¶
func (m *ItemItemPullsItemReviewsItemDismissalsPutRequestBody) SetMessage(value *string)
SetMessage sets the message property value. The message for the pull request review dismissal
type ItemItemPullsItemReviewsItemDismissalsPutRequestBodyable ¶
type ItemItemPullsItemReviewsItemDismissalsPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetMessage() *string SetMessage(value *string) }
type ItemItemPullsItemReviewsItemDismissalsRequestBuilder ¶
type ItemItemPullsItemReviewsItemDismissalsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPullsItemReviewsItemDismissalsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pulls\{pull_number}\reviews\{review_id}\dismissals
func NewItemItemPullsItemReviewsItemDismissalsRequestBuilder ¶
func NewItemItemPullsItemReviewsItemDismissalsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemReviewsItemDismissalsRequestBuilder
NewItemItemPullsItemReviewsItemDismissalsRequestBuilder instantiates a new ItemItemPullsItemReviewsItemDismissalsRequestBuilder and sets the default values.
func NewItemItemPullsItemReviewsItemDismissalsRequestBuilderInternal ¶
func NewItemItemPullsItemReviewsItemDismissalsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemReviewsItemDismissalsRequestBuilder
NewItemItemPullsItemReviewsItemDismissalsRequestBuilderInternal instantiates a new ItemItemPullsItemReviewsItemDismissalsRequestBuilder and sets the default values.
func (*ItemItemPullsItemReviewsItemDismissalsRequestBuilder) Put ¶
func (m *ItemItemPullsItemReviewsItemDismissalsRequestBuilder) Put(ctx context.Context, body ItemItemPullsItemReviewsItemDismissalsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PullRequestReviewable, error)
Put dismisses a specified review on a pull request.> [!NOTE]> To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a PullRequestReviewable when successful returns a BasicError error when the service returns a 404 status code returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation
func (*ItemItemPullsItemReviewsItemDismissalsRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemPullsItemReviewsItemDismissalsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemPullsItemReviewsItemDismissalsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation dismisses a specified review on a pull request.> [!NOTE]> To dismiss a pull request review on a [protected branch](https://docs.github.com/enterprise-server@3.10/rest/branches/branch-protection), you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a *RequestInformation when successful
func (*ItemItemPullsItemReviewsItemDismissalsRequestBuilder) WithUrl ¶
func (m *ItemItemPullsItemReviewsItemDismissalsRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsItemReviewsItemDismissalsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemPullsItemReviewsItemDismissalsRequestBuilder when successful
type ItemItemPullsItemReviewsItemEventsPostRequestBody ¶
type ItemItemPullsItemReviewsItemEventsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemPullsItemReviewsItemEventsPostRequestBody ¶
func NewItemItemPullsItemReviewsItemEventsPostRequestBody() *ItemItemPullsItemReviewsItemEventsPostRequestBody
NewItemItemPullsItemReviewsItemEventsPostRequestBody instantiates a new ItemItemPullsItemReviewsItemEventsPostRequestBody and sets the default values.
func (*ItemItemPullsItemReviewsItemEventsPostRequestBody) GetAdditionalData ¶
func (m *ItemItemPullsItemReviewsItemEventsPostRequestBody) 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 (*ItemItemPullsItemReviewsItemEventsPostRequestBody) GetBody ¶
func (m *ItemItemPullsItemReviewsItemEventsPostRequestBody) GetBody() *string
GetBody gets the body property value. The body text of the pull request review returns a *string when successful
func (*ItemItemPullsItemReviewsItemEventsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemPullsItemReviewsItemEventsPostRequestBody) 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 (*ItemItemPullsItemReviewsItemEventsPostRequestBody) Serialize ¶
func (m *ItemItemPullsItemReviewsItemEventsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPullsItemReviewsItemEventsPostRequestBody) SetAdditionalData ¶
func (m *ItemItemPullsItemReviewsItemEventsPostRequestBody) 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 (*ItemItemPullsItemReviewsItemEventsPostRequestBody) SetBody ¶
func (m *ItemItemPullsItemReviewsItemEventsPostRequestBody) SetBody(value *string)
SetBody sets the body property value. The body text of the pull request review
type ItemItemPullsItemReviewsItemEventsPostRequestBodyable ¶
type ItemItemPullsItemReviewsItemEventsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBody() *string SetBody(value *string) }
type ItemItemPullsItemReviewsItemEventsRequestBuilder ¶
type ItemItemPullsItemReviewsItemEventsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPullsItemReviewsItemEventsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pulls\{pull_number}\reviews\{review_id}\events
func NewItemItemPullsItemReviewsItemEventsRequestBuilder ¶
func NewItemItemPullsItemReviewsItemEventsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemReviewsItemEventsRequestBuilder
NewItemItemPullsItemReviewsItemEventsRequestBuilder instantiates a new ItemItemPullsItemReviewsItemEventsRequestBuilder and sets the default values.
func NewItemItemPullsItemReviewsItemEventsRequestBuilderInternal ¶
func NewItemItemPullsItemReviewsItemEventsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemReviewsItemEventsRequestBuilder
NewItemItemPullsItemReviewsItemEventsRequestBuilderInternal instantiates a new ItemItemPullsItemReviewsItemEventsRequestBuilder and sets the default values.
func (*ItemItemPullsItemReviewsItemEventsRequestBuilder) Post ¶
func (m *ItemItemPullsItemReviewsItemEventsRequestBuilder) Post(ctx context.Context, body ItemItemPullsItemReviewsItemEventsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PullRequestReviewable, error)
Post submits a pending review for a pull request. For more information about creating a pending review for a pull request, see "[Create a review for a pull request](https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews#create-a-review-for-a-pull-request)."This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a PullRequestReviewable 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 ValidationErrorSimple error when the service returns a 422 status code API method documentation
func (*ItemItemPullsItemReviewsItemEventsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemPullsItemReviewsItemEventsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemPullsItemReviewsItemEventsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation submits a pending review for a pull request. For more information about creating a pending review for a pull request, see "[Create a review for a pull request](https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews#create-a-review-for-a-pull-request)."This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a *RequestInformation when successful
func (*ItemItemPullsItemReviewsItemEventsRequestBuilder) WithUrl ¶
func (m *ItemItemPullsItemReviewsItemEventsRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsItemReviewsItemEventsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemPullsItemReviewsItemEventsRequestBuilder when successful
type ItemItemPullsItemReviewsItemWithReview_PutRequestBody ¶
type ItemItemPullsItemReviewsItemWithReview_PutRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemPullsItemReviewsItemWithReview_PutRequestBody ¶
func NewItemItemPullsItemReviewsItemWithReview_PutRequestBody() *ItemItemPullsItemReviewsItemWithReview_PutRequestBody
NewItemItemPullsItemReviewsItemWithReview_PutRequestBody instantiates a new ItemItemPullsItemReviewsItemWithReview_PutRequestBody and sets the default values.
func (*ItemItemPullsItemReviewsItemWithReview_PutRequestBody) GetAdditionalData ¶
func (m *ItemItemPullsItemReviewsItemWithReview_PutRequestBody) 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 (*ItemItemPullsItemReviewsItemWithReview_PutRequestBody) GetBody ¶
func (m *ItemItemPullsItemReviewsItemWithReview_PutRequestBody) GetBody() *string
GetBody gets the body property value. The body text of the pull request review. returns a *string when successful
func (*ItemItemPullsItemReviewsItemWithReview_PutRequestBody) GetFieldDeserializers ¶
func (m *ItemItemPullsItemReviewsItemWithReview_PutRequestBody) 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 (*ItemItemPullsItemReviewsItemWithReview_PutRequestBody) Serialize ¶
func (m *ItemItemPullsItemReviewsItemWithReview_PutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPullsItemReviewsItemWithReview_PutRequestBody) SetAdditionalData ¶
func (m *ItemItemPullsItemReviewsItemWithReview_PutRequestBody) 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 (*ItemItemPullsItemReviewsItemWithReview_PutRequestBody) SetBody ¶
func (m *ItemItemPullsItemReviewsItemWithReview_PutRequestBody) SetBody(value *string)
SetBody sets the body property value. The body text of the pull request review.
type ItemItemPullsItemReviewsItemWithReview_PutRequestBodyable ¶
type ItemItemPullsItemReviewsItemWithReview_PutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBody() *string SetBody(value *string) }
type ItemItemPullsItemReviewsPostRequestBody ¶
type ItemItemPullsItemReviewsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemPullsItemReviewsPostRequestBody ¶
func NewItemItemPullsItemReviewsPostRequestBody() *ItemItemPullsItemReviewsPostRequestBody
NewItemItemPullsItemReviewsPostRequestBody instantiates a new ItemItemPullsItemReviewsPostRequestBody and sets the default values.
func (*ItemItemPullsItemReviewsPostRequestBody) GetAdditionalData ¶
func (m *ItemItemPullsItemReviewsPostRequestBody) 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 (*ItemItemPullsItemReviewsPostRequestBody) GetBody ¶
func (m *ItemItemPullsItemReviewsPostRequestBody) GetBody() *string
GetBody gets the body property value. **Required** when using `REQUEST_CHANGES` or `COMMENT` for the `event` parameter. The body text of the pull request review. returns a *string when successful
func (*ItemItemPullsItemReviewsPostRequestBody) GetComments ¶
func (m *ItemItemPullsItemReviewsPostRequestBody) GetComments() []ItemItemPullsItemReviewsPostRequestBody_commentsable
GetComments gets the comments property value. Use the following table to specify the location, destination, and contents of the draft review comment. returns a []ItemItemPullsItemReviewsPostRequestBody_commentsable when successful
func (*ItemItemPullsItemReviewsPostRequestBody) GetCommitId ¶
func (m *ItemItemPullsItemReviewsPostRequestBody) GetCommitId() *string
GetCommitId gets the commit_id property value. The SHA of the commit that needs a review. Not using the latest commit SHA may render your review comment outdated if a subsequent commit modifies the line you specify as the `position`. Defaults to the most recent commit in the pull request when you do not specify a value. returns a *string when successful
func (*ItemItemPullsItemReviewsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemPullsItemReviewsPostRequestBody) 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 (*ItemItemPullsItemReviewsPostRequestBody) Serialize ¶
func (m *ItemItemPullsItemReviewsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPullsItemReviewsPostRequestBody) SetAdditionalData ¶
func (m *ItemItemPullsItemReviewsPostRequestBody) 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 (*ItemItemPullsItemReviewsPostRequestBody) SetBody ¶
func (m *ItemItemPullsItemReviewsPostRequestBody) SetBody(value *string)
SetBody sets the body property value. **Required** when using `REQUEST_CHANGES` or `COMMENT` for the `event` parameter. The body text of the pull request review.
func (*ItemItemPullsItemReviewsPostRequestBody) SetComments ¶
func (m *ItemItemPullsItemReviewsPostRequestBody) SetComments(value []ItemItemPullsItemReviewsPostRequestBody_commentsable)
SetComments sets the comments property value. Use the following table to specify the location, destination, and contents of the draft review comment.
func (*ItemItemPullsItemReviewsPostRequestBody) SetCommitId ¶
func (m *ItemItemPullsItemReviewsPostRequestBody) SetCommitId(value *string)
SetCommitId sets the commit_id property value. The SHA of the commit that needs a review. Not using the latest commit SHA may render your review comment outdated if a subsequent commit modifies the line you specify as the `position`. Defaults to the most recent commit in the pull request when you do not specify a value.
type ItemItemPullsItemReviewsPostRequestBody_comments ¶
type ItemItemPullsItemReviewsPostRequestBody_comments struct {
// contains filtered or unexported fields
}
func NewItemItemPullsItemReviewsPostRequestBody_comments ¶
func NewItemItemPullsItemReviewsPostRequestBody_comments() *ItemItemPullsItemReviewsPostRequestBody_comments
NewItemItemPullsItemReviewsPostRequestBody_comments instantiates a new ItemItemPullsItemReviewsPostRequestBody_comments and sets the default values.
func (*ItemItemPullsItemReviewsPostRequestBody_comments) GetAdditionalData ¶
func (m *ItemItemPullsItemReviewsPostRequestBody_comments) 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 (*ItemItemPullsItemReviewsPostRequestBody_comments) GetBody ¶
func (m *ItemItemPullsItemReviewsPostRequestBody_comments) GetBody() *string
GetBody gets the body property value. Text of the review comment. returns a *string when successful
func (*ItemItemPullsItemReviewsPostRequestBody_comments) GetFieldDeserializers ¶
func (m *ItemItemPullsItemReviewsPostRequestBody_comments) 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 (*ItemItemPullsItemReviewsPostRequestBody_comments) GetLine ¶
func (m *ItemItemPullsItemReviewsPostRequestBody_comments) GetLine() *int32
GetLine gets the line property value. The line property returns a *int32 when successful
func (*ItemItemPullsItemReviewsPostRequestBody_comments) GetPath ¶
func (m *ItemItemPullsItemReviewsPostRequestBody_comments) GetPath() *string
GetPath gets the path property value. The relative path to the file that necessitates a review comment. returns a *string when successful
func (*ItemItemPullsItemReviewsPostRequestBody_comments) GetPosition ¶
func (m *ItemItemPullsItemReviewsPostRequestBody_comments) GetPosition() *int32
GetPosition gets the position property value. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file. returns a *int32 when successful
func (*ItemItemPullsItemReviewsPostRequestBody_comments) GetSide ¶
func (m *ItemItemPullsItemReviewsPostRequestBody_comments) GetSide() *string
GetSide gets the side property value. The side property returns a *string when successful
func (*ItemItemPullsItemReviewsPostRequestBody_comments) GetStartLine ¶
func (m *ItemItemPullsItemReviewsPostRequestBody_comments) GetStartLine() *int32
GetStartLine gets the start_line property value. The start_line property returns a *int32 when successful
func (*ItemItemPullsItemReviewsPostRequestBody_comments) GetStartSide ¶
func (m *ItemItemPullsItemReviewsPostRequestBody_comments) GetStartSide() *string
GetStartSide gets the start_side property value. The start_side property returns a *string when successful
func (*ItemItemPullsItemReviewsPostRequestBody_comments) Serialize ¶
func (m *ItemItemPullsItemReviewsPostRequestBody_comments) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPullsItemReviewsPostRequestBody_comments) SetAdditionalData ¶
func (m *ItemItemPullsItemReviewsPostRequestBody_comments) 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 (*ItemItemPullsItemReviewsPostRequestBody_comments) SetBody ¶
func (m *ItemItemPullsItemReviewsPostRequestBody_comments) SetBody(value *string)
SetBody sets the body property value. Text of the review comment.
func (*ItemItemPullsItemReviewsPostRequestBody_comments) SetLine ¶
func (m *ItemItemPullsItemReviewsPostRequestBody_comments) SetLine(value *int32)
SetLine sets the line property value. The line property
func (*ItemItemPullsItemReviewsPostRequestBody_comments) SetPath ¶
func (m *ItemItemPullsItemReviewsPostRequestBody_comments) SetPath(value *string)
SetPath sets the path property value. The relative path to the file that necessitates a review comment.
func (*ItemItemPullsItemReviewsPostRequestBody_comments) SetPosition ¶
func (m *ItemItemPullsItemReviewsPostRequestBody_comments) SetPosition(value *int32)
SetPosition sets the position property value. The position in the diff where you want to add a review comment. Note this value is not the same as the line number in the file. The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.
func (*ItemItemPullsItemReviewsPostRequestBody_comments) SetSide ¶
func (m *ItemItemPullsItemReviewsPostRequestBody_comments) SetSide(value *string)
SetSide sets the side property value. The side property
func (*ItemItemPullsItemReviewsPostRequestBody_comments) SetStartLine ¶
func (m *ItemItemPullsItemReviewsPostRequestBody_comments) SetStartLine(value *int32)
SetStartLine sets the start_line property value. The start_line property
func (*ItemItemPullsItemReviewsPostRequestBody_comments) SetStartSide ¶
func (m *ItemItemPullsItemReviewsPostRequestBody_comments) SetStartSide(value *string)
SetStartSide sets the start_side property value. The start_side property
type ItemItemPullsItemReviewsPostRequestBody_commentsable ¶
type ItemItemPullsItemReviewsPostRequestBody_commentsable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBody() *string GetLine() *int32 GetPath() *string GetPosition() *int32 GetSide() *string GetStartLine() *int32 GetStartSide() *string SetBody(value *string) SetLine(value *int32) SetPath(value *string) SetPosition(value *int32) SetSide(value *string) SetStartLine(value *int32) SetStartSide(value *string) }
type ItemItemPullsItemReviewsPostRequestBodyable ¶
type ItemItemPullsItemReviewsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBody() *string GetComments() []ItemItemPullsItemReviewsPostRequestBody_commentsable GetCommitId() *string SetBody(value *string) SetComments(value []ItemItemPullsItemReviewsPostRequestBody_commentsable) SetCommitId(value *string) }
type ItemItemPullsItemReviewsRequestBuilder ¶
type ItemItemPullsItemReviewsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPullsItemReviewsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pulls\{pull_number}\reviews
func NewItemItemPullsItemReviewsRequestBuilder ¶
func NewItemItemPullsItemReviewsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemReviewsRequestBuilder
NewItemItemPullsItemReviewsRequestBuilder instantiates a new ItemItemPullsItemReviewsRequestBuilder and sets the default values.
func NewItemItemPullsItemReviewsRequestBuilderInternal ¶
func NewItemItemPullsItemReviewsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemReviewsRequestBuilder
NewItemItemPullsItemReviewsRequestBuilderInternal instantiates a new ItemItemPullsItemReviewsRequestBuilder and sets the default values.
func (*ItemItemPullsItemReviewsRequestBuilder) ByReview_id ¶
func (m *ItemItemPullsItemReviewsRequestBuilder) ByReview_id(review_id int32) *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder
ByReview_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.pulls.item.reviews.item collection returns a *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder when successful
func (*ItemItemPullsItemReviewsRequestBuilder) Get ¶
func (m *ItemItemPullsItemReviewsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemPullsItemReviewsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PullRequestReviewable, error)
Get lists all reviews for a specified pull request. The list of reviews returns in chronological order.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a []PullRequestReviewable when successful API method documentation
func (*ItemItemPullsItemReviewsRequestBuilder) Post ¶
func (m *ItemItemPullsItemReviewsRequestBuilder) Post(ctx context.Context, body ItemItemPullsItemReviewsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PullRequestReviewable, error)
Post creates a review on a specified pull request.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.10/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/best-practices-for-using-the-rest-api)."Pull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see "[Submit a review for a pull request](https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews#submit-a-review-for-a-pull-request)."> [!NOTE]> To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#get-a-pull-request) endpoint.The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a PullRequestReviewable when successful 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 (*ItemItemPullsItemReviewsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemPullsItemReviewsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemPullsItemReviewsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all reviews for a specified pull request. The list of reviews returns in chronological order.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a *RequestInformation when successful
func (*ItemItemPullsItemReviewsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemPullsItemReviewsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemPullsItemReviewsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation creates a review on a specified pull request.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.10/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/best-practices-for-using-the-rest-api)."Pull request reviews created in the `PENDING` state are not submitted and therefore do not include the `submitted_at` property in the response. To create a pending review for a pull request, leave the `event` parameter blank. For more information about submitting a `PENDING` review, see "[Submit a review for a pull request](https://docs.github.com/enterprise-server@3.10/rest/pulls/reviews#submit-a-review-for-a-pull-request)."> [!NOTE]> To comment on a specific line in a file, you need to first determine the position of that line in the diff. To see a pull request diff, add the `application/vnd.github.v3.diff` media type to the `Accept` header of a call to the [Get a pull request](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#get-a-pull-request) endpoint.The `position` value equals the number of lines down from the first "@@" hunk header in the file you want to add a comment. The line just below the "@@" line is position 1, the next line is position 2, and so on. The position in the diff continues to increase through lines of whitespace and additional hunks until the beginning of a new file.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a *RequestInformation when successful
func (*ItemItemPullsItemReviewsRequestBuilder) WithUrl ¶
func (m *ItemItemPullsItemReviewsRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsItemReviewsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemPullsItemReviewsRequestBuilder when successful
type ItemItemPullsItemReviewsRequestBuilderGetQueryParameters ¶
type ItemItemPullsItemReviewsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemPullsItemReviewsRequestBuilderGetQueryParameters lists all reviews for a specified pull request. The list of reviews returns in chronological order.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.
type ItemItemPullsItemReviewsWithReview_ItemRequestBuilder ¶
type ItemItemPullsItemReviewsWithReview_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPullsItemReviewsWithReview_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pulls\{pull_number}\reviews\{review_id}
func NewItemItemPullsItemReviewsWithReview_ItemRequestBuilder ¶
func NewItemItemPullsItemReviewsWithReview_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder
NewItemItemPullsItemReviewsWithReview_ItemRequestBuilder instantiates a new ItemItemPullsItemReviewsWithReview_ItemRequestBuilder and sets the default values.
func NewItemItemPullsItemReviewsWithReview_ItemRequestBuilderInternal ¶
func NewItemItemPullsItemReviewsWithReview_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder
NewItemItemPullsItemReviewsWithReview_ItemRequestBuilderInternal instantiates a new ItemItemPullsItemReviewsWithReview_ItemRequestBuilder and sets the default values.
func (*ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) Comments ¶
func (m *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) Comments() *ItemItemPullsItemReviewsItemCommentsRequestBuilder
Comments the comments property returns a *ItemItemPullsItemReviewsItemCommentsRequestBuilder when successful
func (*ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) Delete ¶
func (m *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PullRequestReviewable, error)
Delete deletes a pull request review that has not been submitted. Submitted reviews cannot be deleted.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a PullRequestReviewable when successful returns a BasicError error when the service returns a 404 status code returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation
func (*ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) Dismissals ¶
func (m *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) Dismissals() *ItemItemPullsItemReviewsItemDismissalsRequestBuilder
Dismissals the dismissals property returns a *ItemItemPullsItemReviewsItemDismissalsRequestBuilder when successful
func (*ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) Events ¶
func (m *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) Events() *ItemItemPullsItemReviewsItemEventsRequestBuilder
Events the events property returns a *ItemItemPullsItemReviewsItemEventsRequestBuilder when successful
func (*ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) Get ¶
func (m *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PullRequestReviewable, error)
Get retrieves a pull request review by its ID.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a PullRequestReviewable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) Put ¶
func (m *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) Put(ctx context.Context, body ItemItemPullsItemReviewsItemWithReview_PutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PullRequestReviewable, error)
Put updates the contents of a specified review summary comment.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a PullRequestReviewable when successful returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation
func (*ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a pull request review that has not been submitted. Submitted reviews cannot be deleted.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a *RequestInformation when successful
func (*ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation retrieves a pull request review by its ID.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a *RequestInformation when successful
func (*ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemPullsItemReviewsItemWithReview_PutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation updates the contents of a specified review summary comment.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github-commitcomment.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-commitcomment.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github-commitcomment.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github-commitcomment.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a *RequestInformation when successful
func (*ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsItemReviewsWithReview_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 *ItemItemPullsItemReviewsWithReview_ItemRequestBuilder when successful
type ItemItemPullsItemUpdateBranchPutRequestBody ¶
type ItemItemPullsItemUpdateBranchPutRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemPullsItemUpdateBranchPutRequestBody ¶
func NewItemItemPullsItemUpdateBranchPutRequestBody() *ItemItemPullsItemUpdateBranchPutRequestBody
NewItemItemPullsItemUpdateBranchPutRequestBody instantiates a new ItemItemPullsItemUpdateBranchPutRequestBody and sets the default values.
func (*ItemItemPullsItemUpdateBranchPutRequestBody) GetAdditionalData ¶
func (m *ItemItemPullsItemUpdateBranchPutRequestBody) 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 (*ItemItemPullsItemUpdateBranchPutRequestBody) GetExpectedHeadSha ¶
func (m *ItemItemPullsItemUpdateBranchPutRequestBody) GetExpectedHeadSha() *string
GetExpectedHeadSha gets the expected_head_sha property value. The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a `422 Unprocessable Entity` status. You can use the "[List commits](https://docs.github.com/enterprise-server@3.10/rest/commits/commits#list-commits)" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref. returns a *string when successful
func (*ItemItemPullsItemUpdateBranchPutRequestBody) GetFieldDeserializers ¶
func (m *ItemItemPullsItemUpdateBranchPutRequestBody) 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 (*ItemItemPullsItemUpdateBranchPutRequestBody) Serialize ¶
func (m *ItemItemPullsItemUpdateBranchPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPullsItemUpdateBranchPutRequestBody) SetAdditionalData ¶
func (m *ItemItemPullsItemUpdateBranchPutRequestBody) 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 (*ItemItemPullsItemUpdateBranchPutRequestBody) SetExpectedHeadSha ¶
func (m *ItemItemPullsItemUpdateBranchPutRequestBody) SetExpectedHeadSha(value *string)
SetExpectedHeadSha sets the expected_head_sha property value. The expected SHA of the pull request's HEAD ref. This is the most recent commit on the pull request's branch. If the expected SHA does not match the pull request's HEAD, you will receive a `422 Unprocessable Entity` status. You can use the "[List commits](https://docs.github.com/enterprise-server@3.10/rest/commits/commits#list-commits)" endpoint to find the most recent commit SHA. Default: SHA of the pull request's current HEAD ref.
type ItemItemPullsItemUpdateBranchPutRequestBodyable ¶
type ItemItemPullsItemUpdateBranchPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetExpectedHeadSha() *string SetExpectedHeadSha(value *string) }
type ItemItemPullsItemUpdateBranchPutResponse ¶
type ItemItemPullsItemUpdateBranchPutResponse struct {
// contains filtered or unexported fields
}
func NewItemItemPullsItemUpdateBranchPutResponse ¶
func NewItemItemPullsItemUpdateBranchPutResponse() *ItemItemPullsItemUpdateBranchPutResponse
NewItemItemPullsItemUpdateBranchPutResponse instantiates a new ItemItemPullsItemUpdateBranchPutResponse and sets the default values.
func (*ItemItemPullsItemUpdateBranchPutResponse) GetAdditionalData ¶
func (m *ItemItemPullsItemUpdateBranchPutResponse) 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 (*ItemItemPullsItemUpdateBranchPutResponse) GetFieldDeserializers ¶
func (m *ItemItemPullsItemUpdateBranchPutResponse) 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 (*ItemItemPullsItemUpdateBranchPutResponse) GetMessage ¶
func (m *ItemItemPullsItemUpdateBranchPutResponse) GetMessage() *string
GetMessage gets the message property value. The message property returns a *string when successful
func (*ItemItemPullsItemUpdateBranchPutResponse) GetUrl ¶
func (m *ItemItemPullsItemUpdateBranchPutResponse) GetUrl() *string
GetUrl gets the url property value. The url property returns a *string when successful
func (*ItemItemPullsItemUpdateBranchPutResponse) Serialize ¶
func (m *ItemItemPullsItemUpdateBranchPutResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPullsItemUpdateBranchPutResponse) SetAdditionalData ¶
func (m *ItemItemPullsItemUpdateBranchPutResponse) 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 (*ItemItemPullsItemUpdateBranchPutResponse) SetMessage ¶
func (m *ItemItemPullsItemUpdateBranchPutResponse) SetMessage(value *string)
SetMessage sets the message property value. The message property
func (*ItemItemPullsItemUpdateBranchPutResponse) SetUrl ¶
func (m *ItemItemPullsItemUpdateBranchPutResponse) SetUrl(value *string)
SetUrl sets the url property value. The url property
type ItemItemPullsItemUpdateBranchPutResponseable ¶
type ItemItemPullsItemUpdateBranchPutResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetMessage() *string GetUrl() *string SetMessage(value *string) SetUrl(value *string) }
type ItemItemPullsItemUpdateBranchRequestBuilder ¶
type ItemItemPullsItemUpdateBranchRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPullsItemUpdateBranchRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pulls\{pull_number}\update-branch
func NewItemItemPullsItemUpdateBranchRequestBuilder ¶
func NewItemItemPullsItemUpdateBranchRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemUpdateBranchRequestBuilder
NewItemItemPullsItemUpdateBranchRequestBuilder instantiates a new ItemItemPullsItemUpdateBranchRequestBuilder and sets the default values.
func NewItemItemPullsItemUpdateBranchRequestBuilderInternal ¶
func NewItemItemPullsItemUpdateBranchRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsItemUpdateBranchRequestBuilder
NewItemItemPullsItemUpdateBranchRequestBuilderInternal instantiates a new ItemItemPullsItemUpdateBranchRequestBuilder and sets the default values.
func (*ItemItemPullsItemUpdateBranchRequestBuilder) Put ¶
func (m *ItemItemPullsItemUpdateBranchRequestBuilder) Put(ctx context.Context, body ItemItemPullsItemUpdateBranchPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemItemPullsItemUpdateBranchPutResponseable, error)
Put updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. returns a ItemItemPullsItemUpdateBranchPutResponseable when successful 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 (*ItemItemPullsItemUpdateBranchRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemPullsItemUpdateBranchRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemPullsItemUpdateBranchPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch. returns a *RequestInformation when successful
func (*ItemItemPullsItemUpdateBranchRequestBuilder) WithUrl ¶
func (m *ItemItemPullsItemUpdateBranchRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsItemUpdateBranchRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemPullsItemUpdateBranchRequestBuilder when successful
type ItemItemPullsItemWithPull_numberPatchRequestBody ¶
type ItemItemPullsItemWithPull_numberPatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemPullsItemWithPull_numberPatchRequestBody ¶
func NewItemItemPullsItemWithPull_numberPatchRequestBody() *ItemItemPullsItemWithPull_numberPatchRequestBody
NewItemItemPullsItemWithPull_numberPatchRequestBody instantiates a new ItemItemPullsItemWithPull_numberPatchRequestBody and sets the default values.
func (*ItemItemPullsItemWithPull_numberPatchRequestBody) GetAdditionalData ¶
func (m *ItemItemPullsItemWithPull_numberPatchRequestBody) 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 (*ItemItemPullsItemWithPull_numberPatchRequestBody) GetBase ¶
func (m *ItemItemPullsItemWithPull_numberPatchRequestBody) GetBase() *string
GetBase gets the base property value. The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. You cannot update the base branch on a pull request to point to another repository. returns a *string when successful
func (*ItemItemPullsItemWithPull_numberPatchRequestBody) GetBody ¶
func (m *ItemItemPullsItemWithPull_numberPatchRequestBody) GetBody() *string
GetBody gets the body property value. The contents of the pull request. returns a *string when successful
func (*ItemItemPullsItemWithPull_numberPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemItemPullsItemWithPull_numberPatchRequestBody) 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 (*ItemItemPullsItemWithPull_numberPatchRequestBody) GetMaintainerCanModify ¶
func (m *ItemItemPullsItemWithPull_numberPatchRequestBody) GetMaintainerCanModify() *bool
GetMaintainerCanModify gets the maintainer_can_modify property value. Indicates whether [maintainers can modify](https://docs.github.com/enterprise-server@3.10/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request. returns a *bool when successful
func (*ItemItemPullsItemWithPull_numberPatchRequestBody) GetTitle ¶
func (m *ItemItemPullsItemWithPull_numberPatchRequestBody) GetTitle() *string
GetTitle gets the title property value. The title of the pull request. returns a *string when successful
func (*ItemItemPullsItemWithPull_numberPatchRequestBody) Serialize ¶
func (m *ItemItemPullsItemWithPull_numberPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPullsItemWithPull_numberPatchRequestBody) SetAdditionalData ¶
func (m *ItemItemPullsItemWithPull_numberPatchRequestBody) 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 (*ItemItemPullsItemWithPull_numberPatchRequestBody) SetBase ¶
func (m *ItemItemPullsItemWithPull_numberPatchRequestBody) SetBase(value *string)
SetBase sets the base property value. The name of the branch you want your changes pulled into. This should be an existing branch on the current repository. You cannot update the base branch on a pull request to point to another repository.
func (*ItemItemPullsItemWithPull_numberPatchRequestBody) SetBody ¶
func (m *ItemItemPullsItemWithPull_numberPatchRequestBody) SetBody(value *string)
SetBody sets the body property value. The contents of the pull request.
func (*ItemItemPullsItemWithPull_numberPatchRequestBody) SetMaintainerCanModify ¶
func (m *ItemItemPullsItemWithPull_numberPatchRequestBody) SetMaintainerCanModify(value *bool)
SetMaintainerCanModify sets the maintainer_can_modify property value. Indicates whether [maintainers can modify](https://docs.github.com/enterprise-server@3.10/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request.
func (*ItemItemPullsItemWithPull_numberPatchRequestBody) SetTitle ¶
func (m *ItemItemPullsItemWithPull_numberPatchRequestBody) SetTitle(value *string)
SetTitle sets the title property value. The title of the pull request.
type ItemItemPullsItemWithPull_numberPatchRequestBodyable ¶
type ItemItemPullsItemWithPull_numberPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBase() *string GetBody() *string GetMaintainerCanModify() *bool GetTitle() *string SetBase(value *string) SetBody(value *string) SetMaintainerCanModify(value *bool) SetTitle(value *string) }
type ItemItemPullsPostRequestBody ¶
type ItemItemPullsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemPullsPostRequestBody ¶
func NewItemItemPullsPostRequestBody() *ItemItemPullsPostRequestBody
NewItemItemPullsPostRequestBody instantiates a new ItemItemPullsPostRequestBody and sets the default values.
func (*ItemItemPullsPostRequestBody) GetAdditionalData ¶
func (m *ItemItemPullsPostRequestBody) 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 (*ItemItemPullsPostRequestBody) GetBase ¶
func (m *ItemItemPullsPostRequestBody) GetBase() *string
GetBase gets the base property value. The name of the branch you want the changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository. returns a *string when successful
func (*ItemItemPullsPostRequestBody) GetBody ¶
func (m *ItemItemPullsPostRequestBody) GetBody() *string
GetBody gets the body property value. The contents of the pull request. returns a *string when successful
func (*ItemItemPullsPostRequestBody) GetDraft ¶
func (m *ItemItemPullsPostRequestBody) GetDraft() *bool
GetDraft gets the draft property value. Indicates whether the pull request is a draft. See "[Draft Pull Requests](https://docs.github.com/enterprise-server@3.10/articles/about-pull-requests#draft-pull-requests)" in the GitHub Help documentation to learn more. returns a *bool when successful
func (*ItemItemPullsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemPullsPostRequestBody) 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 (*ItemItemPullsPostRequestBody) GetHead ¶
func (m *ItemItemPullsPostRequestBody) GetHead() *string
GetHead gets the head property value. The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace `head` with a user like this: `username:branch`. returns a *string when successful
func (*ItemItemPullsPostRequestBody) GetHeadRepo ¶
func (m *ItemItemPullsPostRequestBody) GetHeadRepo() *string
GetHeadRepo gets the head_repo property value. The name of the repository where the changes in the pull request were made. This field is required for cross-repository pull requests if both repositories are owned by the same organization. returns a *string when successful
func (*ItemItemPullsPostRequestBody) GetIssue ¶
func (m *ItemItemPullsPostRequestBody) GetIssue() *int64
GetIssue gets the issue property value. An issue in the repository to convert to a pull request. The issue title, body, and comments will become the title, body, and comments on the new pull request. Required unless `title` is specified. returns a *int64 when successful
func (*ItemItemPullsPostRequestBody) GetMaintainerCanModify ¶
func (m *ItemItemPullsPostRequestBody) GetMaintainerCanModify() *bool
GetMaintainerCanModify gets the maintainer_can_modify property value. Indicates whether [maintainers can modify](https://docs.github.com/enterprise-server@3.10/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request. returns a *bool when successful
func (*ItemItemPullsPostRequestBody) GetTitle ¶
func (m *ItemItemPullsPostRequestBody) GetTitle() *string
GetTitle gets the title property value. The title of the new pull request. Required unless `issue` is specified. returns a *string when successful
func (*ItemItemPullsPostRequestBody) Serialize ¶
func (m *ItemItemPullsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemPullsPostRequestBody) SetAdditionalData ¶
func (m *ItemItemPullsPostRequestBody) 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 (*ItemItemPullsPostRequestBody) SetBase ¶
func (m *ItemItemPullsPostRequestBody) SetBase(value *string)
SetBase sets the base property value. The name of the branch you want the changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository.
func (*ItemItemPullsPostRequestBody) SetBody ¶
func (m *ItemItemPullsPostRequestBody) SetBody(value *string)
SetBody sets the body property value. The contents of the pull request.
func (*ItemItemPullsPostRequestBody) SetDraft ¶
func (m *ItemItemPullsPostRequestBody) SetDraft(value *bool)
SetDraft sets the draft property value. Indicates whether the pull request is a draft. See "[Draft Pull Requests](https://docs.github.com/enterprise-server@3.10/articles/about-pull-requests#draft-pull-requests)" in the GitHub Help documentation to learn more.
func (*ItemItemPullsPostRequestBody) SetHead ¶
func (m *ItemItemPullsPostRequestBody) SetHead(value *string)
SetHead sets the head property value. The name of the branch where your changes are implemented. For cross-repository pull requests in the same network, namespace `head` with a user like this: `username:branch`.
func (*ItemItemPullsPostRequestBody) SetHeadRepo ¶
func (m *ItemItemPullsPostRequestBody) SetHeadRepo(value *string)
SetHeadRepo sets the head_repo property value. The name of the repository where the changes in the pull request were made. This field is required for cross-repository pull requests if both repositories are owned by the same organization.
func (*ItemItemPullsPostRequestBody) SetIssue ¶
func (m *ItemItemPullsPostRequestBody) SetIssue(value *int64)
SetIssue sets the issue property value. An issue in the repository to convert to a pull request. The issue title, body, and comments will become the title, body, and comments on the new pull request. Required unless `title` is specified.
func (*ItemItemPullsPostRequestBody) SetMaintainerCanModify ¶
func (m *ItemItemPullsPostRequestBody) SetMaintainerCanModify(value *bool)
SetMaintainerCanModify sets the maintainer_can_modify property value. Indicates whether [maintainers can modify](https://docs.github.com/enterprise-server@3.10/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) the pull request.
func (*ItemItemPullsPostRequestBody) SetTitle ¶
func (m *ItemItemPullsPostRequestBody) SetTitle(value *string)
SetTitle sets the title property value. The title of the new pull request. Required unless `issue` is specified.
type ItemItemPullsPostRequestBodyable ¶
type ItemItemPullsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBase() *string GetBody() *string GetDraft() *bool GetHead() *string GetHeadRepo() *string GetIssue() *int64 GetMaintainerCanModify() *bool GetTitle() *string SetBase(value *string) SetBody(value *string) SetDraft(value *bool) SetHead(value *string) SetHeadRepo(value *string) SetIssue(value *int64) SetMaintainerCanModify(value *bool) SetTitle(value *string) }
type ItemItemPullsRequestBuilder ¶
type ItemItemPullsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPullsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pulls
func NewItemItemPullsRequestBuilder ¶
func NewItemItemPullsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsRequestBuilder
NewItemItemPullsRequestBuilder instantiates a new ItemItemPullsRequestBuilder and sets the default values.
func NewItemItemPullsRequestBuilderInternal ¶
func NewItemItemPullsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsRequestBuilder
NewItemItemPullsRequestBuilderInternal instantiates a new ItemItemPullsRequestBuilder and sets the default values.
func (*ItemItemPullsRequestBuilder) ByPull_number ¶
func (m *ItemItemPullsRequestBuilder) ByPull_number(pull_number int32) *ItemItemPullsWithPull_numberItemRequestBuilder
ByPull_number gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.pulls.item collection returns a *ItemItemPullsWithPull_numberItemRequestBuilder when successful
func (*ItemItemPullsRequestBuilder) Comments ¶
func (m *ItemItemPullsRequestBuilder) Comments() *ItemItemPullsCommentsRequestBuilder
Comments the comments property returns a *ItemItemPullsCommentsRequestBuilder when successful
func (*ItemItemPullsRequestBuilder) Get ¶
func (m *ItemItemPullsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemPullsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PullRequestSimpleable, error)
Get lists pull requests in a specified repository.Draft pull requests are available in public repositories with GitHubFree and GitHub Free for organizations, GitHub Pro, and legacy per-repository billingplans, and in public and private repositories with GitHub Team and GitHub EnterpriseCloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products)in the GitHub Help documentation.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 []PullRequestSimpleable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemPullsRequestBuilder) Post ¶
func (m *ItemItemPullsRequestBuilder) Post(ctx context.Context, body ItemItemPullsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PullRequestable, error)
Post draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.10/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/best-practices-for-using-the-rest-api)."This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 PullRequestable when successful 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 (*ItemItemPullsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemPullsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemPullsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists pull requests in a specified repository.Draft pull requests are available in public repositories with GitHubFree and GitHub Free for organizations, GitHub Pro, and legacy per-repository billingplans, and in public and private repositories with GitHub Team and GitHub EnterpriseCloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products)in the GitHub Help documentation.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 (*ItemItemPullsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemPullsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemPullsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.10/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/best-practices-for-using-the-rest-api)."This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 (*ItemItemPullsRequestBuilder) WithUrl ¶
func (m *ItemItemPullsRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemPullsRequestBuilder when successful
type ItemItemPullsRequestBuilderGetQueryParameters ¶
type ItemItemPullsRequestBuilderGetQueryParameters struct { // Filter pulls by base branch name. Example: `gh-pages`. Base *string `uriparametername:"base"` // The direction of the sort. Default: `desc` when sort is `created` or sort is not specified, otherwise `asc`. Direction *ibbe9beac25cc33725446a292bea598f4f23a2c06d408c0c7e3674faf505b1193.GetDirectionQueryParameterType `uriparametername:"direction"` // Filter pulls by head user or head organization and branch name in the format of `user:ref-name` or `organization:ref-name`. For example: `github:new-script-format` or `octocat:test-branch`. Head *string `uriparametername:"head"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // What to sort results by. `popularity` will sort by the number of comments. `long-running` will sort by date created and will limit the results to pull requests that have been open for more than a month and have had activity within the past month. Sort *ibbe9beac25cc33725446a292bea598f4f23a2c06d408c0c7e3674faf505b1193.GetSortQueryParameterType `uriparametername:"sort"` // Either `open`, `closed`, or `all` to filter by state. State *ibbe9beac25cc33725446a292bea598f4f23a2c06d408c0c7e3674faf505b1193.GetStateQueryParameterType `uriparametername:"state"` }
ItemItemPullsRequestBuilderGetQueryParameters lists pull requests in a specified repository.Draft pull requests are available in public repositories with GitHubFree and GitHub Free for organizations, GitHub Pro, and legacy per-repository billingplans, and in public and private repositories with GitHub Team and GitHub EnterpriseCloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products)in the GitHub Help documentation.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 ItemItemPullsWithPull_numberItemRequestBuilder ¶
type ItemItemPullsWithPull_numberItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemPullsWithPull_numberItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pulls\{pull_number}
func NewItemItemPullsWithPull_numberItemRequestBuilder ¶
func NewItemItemPullsWithPull_numberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsWithPull_numberItemRequestBuilder
NewItemItemPullsWithPull_numberItemRequestBuilder instantiates a new ItemItemPullsWithPull_numberItemRequestBuilder and sets the default values.
func NewItemItemPullsWithPull_numberItemRequestBuilderInternal ¶
func NewItemItemPullsWithPull_numberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemPullsWithPull_numberItemRequestBuilder
NewItemItemPullsWithPull_numberItemRequestBuilderInternal instantiates a new ItemItemPullsWithPull_numberItemRequestBuilder and sets the default values.
func (*ItemItemPullsWithPull_numberItemRequestBuilder) Comments ¶
func (m *ItemItemPullsWithPull_numberItemRequestBuilder) Comments() *ItemItemPullsItemCommentsRequestBuilder
Comments the comments property returns a *ItemItemPullsItemCommentsRequestBuilder when successful
func (*ItemItemPullsWithPull_numberItemRequestBuilder) Commits ¶
func (m *ItemItemPullsWithPull_numberItemRequestBuilder) Commits() *ItemItemPullsItemCommitsRequestBuilder
Commits the commits property returns a *ItemItemPullsItemCommitsRequestBuilder when successful
func (*ItemItemPullsWithPull_numberItemRequestBuilder) Files ¶
func (m *ItemItemPullsWithPull_numberItemRequestBuilder) Files() *ItemItemPullsItemFilesRequestBuilder
Files the files property returns a *ItemItemPullsItemFilesRequestBuilder when successful
func (*ItemItemPullsWithPull_numberItemRequestBuilder) Get ¶
func (m *ItemItemPullsWithPull_numberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PullRequestable, error)
Get draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Lists details of a pull request by providing its number.When you get, [create](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)".The value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.The value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:* If merged as a [merge commit](https://docs.github.com/enterprise-server@3.10/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.* If merged via a [squash](https://docs.github.com/enterprise-server@3.10/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.* If [rebased](https://docs.github.com/enterprise-server@3.10/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.Pass the appropriate [media type](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) to fetch diff and patch formats.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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`.- **`application/vnd.github.diff`**: For more information, see "[git-diff](https://git-scm.com/docs/git-diff)" in the Git documentation. If a diff is corrupt, contact us through the [GitHub Support portal](https://support.github.com/). Include the repository name and pull request ID in your message. returns a PullRequestable when successful returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 406 status code returns a BasicError error when the service returns a 500 status code returns a PullRequest503Error error when the service returns a 503 status code API method documentation
func (*ItemItemPullsWithPull_numberItemRequestBuilder) Merge ¶
func (m *ItemItemPullsWithPull_numberItemRequestBuilder) Merge() *ItemItemPullsItemMergeRequestBuilder
Merge the merge property returns a *ItemItemPullsItemMergeRequestBuilder when successful
func (*ItemItemPullsWithPull_numberItemRequestBuilder) Patch ¶
func (m *ItemItemPullsWithPull_numberItemRequestBuilder) Patch(ctx context.Context, body ItemItemPullsItemWithPull_numberPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PullRequestable, error)
Patch draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 PullRequestable when successful 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 (*ItemItemPullsWithPull_numberItemRequestBuilder) Requested_reviewers ¶
func (m *ItemItemPullsWithPull_numberItemRequestBuilder) Requested_reviewers() *ItemItemPullsItemRequested_reviewersRequestBuilder
Requested_reviewers the requested_reviewers property returns a *ItemItemPullsItemRequested_reviewersRequestBuilder when successful
func (*ItemItemPullsWithPull_numberItemRequestBuilder) Reviews ¶
func (m *ItemItemPullsWithPull_numberItemRequestBuilder) Reviews() *ItemItemPullsItemReviewsRequestBuilder
Reviews the reviews property returns a *ItemItemPullsItemReviewsRequestBuilder when successful
func (*ItemItemPullsWithPull_numberItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemPullsWithPull_numberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.Lists details of a pull request by providing its number.When you get, [create](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls/#create-a-pull-request), or [edit](https://docs.github.com/enterprise-server@3.10/rest/pulls/pulls#update-a-pull-request) a pull request, GitHub Enterprise Server creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see "[Checking mergeability of pull requests](https://docs.github.com/enterprise-server@3.10/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)".The value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub Enterprise Server has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.The value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:* If merged as a [merge commit](https://docs.github.com/enterprise-server@3.10/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.* If merged via a [squash](https://docs.github.com/enterprise-server@3.10/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.* If [rebased](https://docs.github.com/enterprise-server@3.10/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.Pass the appropriate [media type](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types) to fetch diff and patch formats.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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`.- **`application/vnd.github.diff`**: For more information, see "[git-diff](https://git-scm.com/docs/git-diff)" in the Git documentation. If a diff is corrupt, contact us through the [GitHub Support portal](https://support.github.com/). Include the repository name and pull request ID in your message. returns a *RequestInformation when successful
func (*ItemItemPullsWithPull_numberItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemPullsWithPull_numberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemPullsItemWithPull_numberPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.10/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.To open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 (*ItemItemPullsWithPull_numberItemRequestBuilder) UpdateBranch ¶
func (m *ItemItemPullsWithPull_numberItemRequestBuilder) UpdateBranch() *ItemItemPullsItemUpdateBranchRequestBuilder
UpdateBranch the updateBranch property returns a *ItemItemPullsItemUpdateBranchRequestBuilder when successful
func (*ItemItemPullsWithPull_numberItemRequestBuilder) WithUrl ¶
func (m *ItemItemPullsWithPull_numberItemRequestBuilder) WithUrl(rawUrl string) *ItemItemPullsWithPull_numberItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemPullsWithPull_numberItemRequestBuilder when successful
type ItemItemReadmeRequestBuilder ¶
type ItemItemReadmeRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemReadmeRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\readme
func NewItemItemReadmeRequestBuilder ¶
func NewItemItemReadmeRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReadmeRequestBuilder
NewItemItemReadmeRequestBuilder instantiates a new ItemItemReadmeRequestBuilder and sets the default values.
func NewItemItemReadmeRequestBuilderInternal ¶
func NewItemItemReadmeRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReadmeRequestBuilder
NewItemItemReadmeRequestBuilderInternal instantiates a new ItemItemReadmeRequestBuilder and sets the default values.
func (*ItemItemReadmeRequestBuilder) ByDir ¶
func (m *ItemItemReadmeRequestBuilder) ByDir(dir string) *ItemItemReadmeWithDirItemRequestBuilder
ByDir gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.readme.item collection returns a *ItemItemReadmeWithDirItemRequestBuilder when successful
func (*ItemItemReadmeRequestBuilder) Get ¶
func (m *ItemItemReadmeRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemReadmeRequestBuilderGetQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentFileable, error)
Get gets the preferred README for a repository.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.raw+json`**: Returns the raw file contents. This is the default if you do not specify a media type.- **`application/vnd.github.html+json`**: Returns the README in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup). returns a ContentFileable 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 (*ItemItemReadmeRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemReadmeRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemReadmeRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the preferred README for a repository.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.raw+json`**: Returns the raw file contents. This is the default if you do not specify a media type.- **`application/vnd.github.html+json`**: Returns the README in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup). returns a *RequestInformation when successful
func (*ItemItemReadmeRequestBuilder) WithUrl ¶
func (m *ItemItemReadmeRequestBuilder) WithUrl(rawUrl string) *ItemItemReadmeRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemReadmeRequestBuilder when successful
type ItemItemReadmeRequestBuilderGetQueryParameters ¶
type ItemItemReadmeRequestBuilderGetQueryParameters struct { // The name of the commit/branch/tag. Default: the repository’s default branch. Ref *string `uriparametername:"ref"` }
ItemItemReadmeRequestBuilderGetQueryParameters gets the preferred README for a repository.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.raw+json`**: Returns the raw file contents. This is the default if you do not specify a media type.- **`application/vnd.github.html+json`**: Returns the README in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup).
type ItemItemReadmeWithDirItemRequestBuilder ¶
type ItemItemReadmeWithDirItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemReadmeWithDirItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\readme\{dir}
func NewItemItemReadmeWithDirItemRequestBuilder ¶
func NewItemItemReadmeWithDirItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReadmeWithDirItemRequestBuilder
NewItemItemReadmeWithDirItemRequestBuilder instantiates a new ItemItemReadmeWithDirItemRequestBuilder and sets the default values.
func NewItemItemReadmeWithDirItemRequestBuilderInternal ¶
func NewItemItemReadmeWithDirItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReadmeWithDirItemRequestBuilder
NewItemItemReadmeWithDirItemRequestBuilderInternal instantiates a new ItemItemReadmeWithDirItemRequestBuilder and sets the default values.
func (*ItemItemReadmeWithDirItemRequestBuilder) Get ¶
func (m *ItemItemReadmeWithDirItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemReadmeWithDirItemRequestBuilderGetQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentFileable, error)
Get gets the README from a repository directory.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.raw+json`**: Returns the raw file contents. This is the default if you do not specify a media type.- **`application/vnd.github.html+json`**: Returns the README in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup). returns a ContentFileable 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 (*ItemItemReadmeWithDirItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemReadmeWithDirItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemReadmeWithDirItemRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the README from a repository directory.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.raw+json`**: Returns the raw file contents. This is the default if you do not specify a media type.- **`application/vnd.github.html+json`**: Returns the README in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup). returns a *RequestInformation when successful
func (*ItemItemReadmeWithDirItemRequestBuilder) WithUrl ¶
func (m *ItemItemReadmeWithDirItemRequestBuilder) WithUrl(rawUrl string) *ItemItemReadmeWithDirItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemReadmeWithDirItemRequestBuilder when successful
type ItemItemReadmeWithDirItemRequestBuilderGetQueryParameters ¶
type ItemItemReadmeWithDirItemRequestBuilderGetQueryParameters struct { // The name of the commit/branch/tag. Default: the repository’s default branch. Ref *string `uriparametername:"ref"` }
ItemItemReadmeWithDirItemRequestBuilderGetQueryParameters gets the README from a repository directory.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.raw+json`**: Returns the raw file contents. This is the default if you do not specify a media type.- **`application/vnd.github.html+json`**: Returns the README in HTML. Markup languages are rendered to HTML using GitHub's open-source [Markup library](https://github.com/github/markup).
type ItemItemReleasesAssetsItemWithAsset_PatchRequestBody ¶
type ItemItemReleasesAssetsItemWithAsset_PatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemReleasesAssetsItemWithAsset_PatchRequestBody ¶
func NewItemItemReleasesAssetsItemWithAsset_PatchRequestBody() *ItemItemReleasesAssetsItemWithAsset_PatchRequestBody
NewItemItemReleasesAssetsItemWithAsset_PatchRequestBody instantiates a new ItemItemReleasesAssetsItemWithAsset_PatchRequestBody and sets the default values.
func (*ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) GetAdditionalData ¶
func (m *ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) 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 (*ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) GetFieldDeserializers ¶
func (m *ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) 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 (*ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) GetLabel ¶
func (m *ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) GetLabel() *string
GetLabel gets the label property value. An alternate short description of the asset. Used in place of the filename. returns a *string when successful
func (*ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) GetName ¶
func (m *ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) GetName() *string
GetName gets the name property value. The file name of the asset. returns a *string when successful
func (*ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) GetState ¶
func (m *ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) GetState() *string
GetState gets the state property value. The state property returns a *string when successful
func (*ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) Serialize ¶
func (m *ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) SetAdditionalData ¶
func (m *ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) 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 (*ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) SetLabel ¶
func (m *ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) SetLabel(value *string)
SetLabel sets the label property value. An alternate short description of the asset. Used in place of the filename.
func (*ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) SetName ¶
func (m *ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) SetName(value *string)
SetName sets the name property value. The file name of the asset.
func (*ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) SetState ¶
func (m *ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) SetState(value *string)
SetState sets the state property value. The state property
type ItemItemReleasesAssetsItemWithAsset_PatchRequestBodyable ¶
type ItemItemReleasesAssetsItemWithAsset_PatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabel() *string GetName() *string GetState() *string SetLabel(value *string) SetName(value *string) SetState(value *string) }
type ItemItemReleasesAssetsRequestBuilder ¶
type ItemItemReleasesAssetsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemReleasesAssetsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\releases\assets
func NewItemItemReleasesAssetsRequestBuilder ¶
func NewItemItemReleasesAssetsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReleasesAssetsRequestBuilder
NewItemItemReleasesAssetsRequestBuilder instantiates a new ItemItemReleasesAssetsRequestBuilder and sets the default values.
func NewItemItemReleasesAssetsRequestBuilderInternal ¶
func NewItemItemReleasesAssetsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReleasesAssetsRequestBuilder
NewItemItemReleasesAssetsRequestBuilderInternal instantiates a new ItemItemReleasesAssetsRequestBuilder and sets the default values.
func (*ItemItemReleasesAssetsRequestBuilder) ByAsset_id ¶
func (m *ItemItemReleasesAssetsRequestBuilder) ByAsset_id(asset_id int32) *ItemItemReleasesAssetsWithAsset_ItemRequestBuilder
ByAsset_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.releases.assets.item collection returns a *ItemItemReleasesAssetsWithAsset_ItemRequestBuilder when successful
type ItemItemReleasesAssetsWithAsset_ItemRequestBuilder ¶
type ItemItemReleasesAssetsWithAsset_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemReleasesAssetsWithAsset_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\releases\assets\{asset_id}
func NewItemItemReleasesAssetsWithAsset_ItemRequestBuilder ¶
func NewItemItemReleasesAssetsWithAsset_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReleasesAssetsWithAsset_ItemRequestBuilder
NewItemItemReleasesAssetsWithAsset_ItemRequestBuilder instantiates a new ItemItemReleasesAssetsWithAsset_ItemRequestBuilder and sets the default values.
func NewItemItemReleasesAssetsWithAsset_ItemRequestBuilderInternal ¶
func NewItemItemReleasesAssetsWithAsset_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReleasesAssetsWithAsset_ItemRequestBuilder
NewItemItemReleasesAssetsWithAsset_ItemRequestBuilderInternal instantiates a new ItemItemReleasesAssetsWithAsset_ItemRequestBuilder and sets the default values.
func (*ItemItemReleasesAssetsWithAsset_ItemRequestBuilder) Delete ¶
func (m *ItemItemReleasesAssetsWithAsset_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete delete a release asset API method documentation
func (*ItemItemReleasesAssetsWithAsset_ItemRequestBuilder) Get ¶
func (m *ItemItemReleasesAssetsWithAsset_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReleaseAssetable, error)
Get to download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. returns a ReleaseAssetable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemReleasesAssetsWithAsset_ItemRequestBuilder) Patch ¶
func (m *ItemItemReleasesAssetsWithAsset_ItemRequestBuilder) Patch(ctx context.Context, body ItemItemReleasesAssetsItemWithAsset_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReleaseAssetable, error)
Patch users with push access to the repository can edit a release asset. returns a ReleaseAssetable when successful API method documentation
func (*ItemItemReleasesAssetsWithAsset_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemReleasesAssetsWithAsset_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*ItemItemReleasesAssetsWithAsset_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemReleasesAssetsWithAsset_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation to download the asset's binary content, set the `Accept` header of the request to [`application/octet-stream`](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types). The API will either redirect the client to the location, or stream it directly if possible. API clients should handle both a `200` or `302` response. returns a *RequestInformation when successful
func (*ItemItemReleasesAssetsWithAsset_ItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemReleasesAssetsWithAsset_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemReleasesAssetsItemWithAsset_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation users with push access to the repository can edit a release asset. returns a *RequestInformation when successful
func (*ItemItemReleasesAssetsWithAsset_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemReleasesAssetsWithAsset_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemReleasesAssetsWithAsset_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 *ItemItemReleasesAssetsWithAsset_ItemRequestBuilder when successful
type ItemItemReleasesGenerateNotesPostRequestBody ¶
type ItemItemReleasesGenerateNotesPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemReleasesGenerateNotesPostRequestBody ¶
func NewItemItemReleasesGenerateNotesPostRequestBody() *ItemItemReleasesGenerateNotesPostRequestBody
NewItemItemReleasesGenerateNotesPostRequestBody instantiates a new ItemItemReleasesGenerateNotesPostRequestBody and sets the default values.
func (*ItemItemReleasesGenerateNotesPostRequestBody) GetAdditionalData ¶
func (m *ItemItemReleasesGenerateNotesPostRequestBody) 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 (*ItemItemReleasesGenerateNotesPostRequestBody) GetConfigurationFilePath ¶
func (m *ItemItemReleasesGenerateNotesPostRequestBody) GetConfigurationFilePath() *string
GetConfigurationFilePath gets the configuration_file_path property value. Specifies a path to a file in the repository containing configuration settings used for generating the release notes. If unspecified, the configuration file located in the repository at '.github/release.yml' or '.github/release.yaml' will be used. If that is not present, the default configuration will be used. returns a *string when successful
func (*ItemItemReleasesGenerateNotesPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemReleasesGenerateNotesPostRequestBody) 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 (*ItemItemReleasesGenerateNotesPostRequestBody) GetPreviousTagName ¶
func (m *ItemItemReleasesGenerateNotesPostRequestBody) GetPreviousTagName() *string
GetPreviousTagName gets the previous_tag_name property value. The name of the previous tag to use as the starting point for the release notes. Use to manually specify the range for the set of changes considered as part this release. returns a *string when successful
func (*ItemItemReleasesGenerateNotesPostRequestBody) GetTagName ¶
func (m *ItemItemReleasesGenerateNotesPostRequestBody) GetTagName() *string
GetTagName gets the tag_name property value. The tag name for the release. This can be an existing tag or a new one. returns a *string when successful
func (*ItemItemReleasesGenerateNotesPostRequestBody) GetTargetCommitish ¶
func (m *ItemItemReleasesGenerateNotesPostRequestBody) GetTargetCommitish() *string
GetTargetCommitish gets the target_commitish property value. Specifies the commitish value that will be the target for the release's tag. Required if the supplied tag_name does not reference an existing tag. Ignored if the tag_name already exists. returns a *string when successful
func (*ItemItemReleasesGenerateNotesPostRequestBody) Serialize ¶
func (m *ItemItemReleasesGenerateNotesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemReleasesGenerateNotesPostRequestBody) SetAdditionalData ¶
func (m *ItemItemReleasesGenerateNotesPostRequestBody) 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 (*ItemItemReleasesGenerateNotesPostRequestBody) SetConfigurationFilePath ¶
func (m *ItemItemReleasesGenerateNotesPostRequestBody) SetConfigurationFilePath(value *string)
SetConfigurationFilePath sets the configuration_file_path property value. Specifies a path to a file in the repository containing configuration settings used for generating the release notes. If unspecified, the configuration file located in the repository at '.github/release.yml' or '.github/release.yaml' will be used. If that is not present, the default configuration will be used.
func (*ItemItemReleasesGenerateNotesPostRequestBody) SetPreviousTagName ¶
func (m *ItemItemReleasesGenerateNotesPostRequestBody) SetPreviousTagName(value *string)
SetPreviousTagName sets the previous_tag_name property value. The name of the previous tag to use as the starting point for the release notes. Use to manually specify the range for the set of changes considered as part this release.
func (*ItemItemReleasesGenerateNotesPostRequestBody) SetTagName ¶
func (m *ItemItemReleasesGenerateNotesPostRequestBody) SetTagName(value *string)
SetTagName sets the tag_name property value. The tag name for the release. This can be an existing tag or a new one.
func (*ItemItemReleasesGenerateNotesPostRequestBody) SetTargetCommitish ¶
func (m *ItemItemReleasesGenerateNotesPostRequestBody) SetTargetCommitish(value *string)
SetTargetCommitish sets the target_commitish property value. Specifies the commitish value that will be the target for the release's tag. Required if the supplied tag_name does not reference an existing tag. Ignored if the tag_name already exists.
type ItemItemReleasesGenerateNotesPostRequestBodyable ¶
type ItemItemReleasesGenerateNotesPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetConfigurationFilePath() *string GetPreviousTagName() *string GetTagName() *string GetTargetCommitish() *string SetConfigurationFilePath(value *string) SetPreviousTagName(value *string) SetTagName(value *string) SetTargetCommitish(value *string) }
type ItemItemReleasesGenerateNotesRequestBuilder ¶
type ItemItemReleasesGenerateNotesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemReleasesGenerateNotesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\releases\generate-notes
func NewItemItemReleasesGenerateNotesRequestBuilder ¶
func NewItemItemReleasesGenerateNotesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReleasesGenerateNotesRequestBuilder
NewItemItemReleasesGenerateNotesRequestBuilder instantiates a new ItemItemReleasesGenerateNotesRequestBuilder and sets the default values.
func NewItemItemReleasesGenerateNotesRequestBuilderInternal ¶
func NewItemItemReleasesGenerateNotesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReleasesGenerateNotesRequestBuilder
NewItemItemReleasesGenerateNotesRequestBuilderInternal instantiates a new ItemItemReleasesGenerateNotesRequestBuilder and sets the default values.
func (*ItemItemReleasesGenerateNotesRequestBuilder) Post ¶
func (m *ItemItemReleasesGenerateNotesRequestBuilder) Post(ctx context.Context, body ItemItemReleasesGenerateNotesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReleaseNotesContentable, error)
Post generate a name and body describing a [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases#get-a-release). The body content will be markdown formatted and contain information like the changes since last release and users who contributed. The generated release notes are not saved anywhere. They are intended to be generated and used when creating a new release. returns a ReleaseNotesContentable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemReleasesGenerateNotesRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemReleasesGenerateNotesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemReleasesGenerateNotesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation generate a name and body describing a [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases#get-a-release). The body content will be markdown formatted and contain information like the changes since last release and users who contributed. The generated release notes are not saved anywhere. They are intended to be generated and used when creating a new release. returns a *RequestInformation when successful
func (*ItemItemReleasesGenerateNotesRequestBuilder) WithUrl ¶
func (m *ItemItemReleasesGenerateNotesRequestBuilder) WithUrl(rawUrl string) *ItemItemReleasesGenerateNotesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemReleasesGenerateNotesRequestBuilder when successful
type ItemItemReleasesItemAssetsRequestBuilder ¶
type ItemItemReleasesItemAssetsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemReleasesItemAssetsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\releases\{release_id}\assets
func NewItemItemReleasesItemAssetsRequestBuilder ¶
func NewItemItemReleasesItemAssetsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReleasesItemAssetsRequestBuilder
NewItemItemReleasesItemAssetsRequestBuilder instantiates a new ItemItemReleasesItemAssetsRequestBuilder and sets the default values.
func NewItemItemReleasesItemAssetsRequestBuilderInternal ¶
func NewItemItemReleasesItemAssetsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReleasesItemAssetsRequestBuilder
NewItemItemReleasesItemAssetsRequestBuilderInternal instantiates a new ItemItemReleasesItemAssetsRequestBuilder and sets the default values.
func (*ItemItemReleasesItemAssetsRequestBuilder) Get ¶
func (m *ItemItemReleasesItemAssetsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemReleasesItemAssetsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReleaseAssetable, error)
Get list release assets returns a []ReleaseAssetable when successful API method documentation
func (*ItemItemReleasesItemAssetsRequestBuilder) Post ¶
func (m *ItemItemReleasesItemAssetsRequestBuilder) Post(ctx context.Context, body []byte, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemReleasesItemAssetsRequestBuilderPostQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReleaseAssetable, error)
Post this endpoint makes use of a [Hypermedia relation](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned inthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@3.10/rest/releases/releases#create-a-release) to upload a release asset.You need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.Most libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: `application/zip`GitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,you'll still need to pass your authentication to be able to upload an asset.When an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.**Notes:*** GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The "[List release assets](https://docs.github.com/enterprise-server@3.10/rest/releases/assets#list-release-assets)"endpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).* To find the `release_id` query the [`GET /repos/{owner}/{repo}/releases/latest` endpoint](https://docs.github.com/enterprise-server@3.10/rest/releases/releases#get-the-latest-release). * If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset. returns a ReleaseAssetable when successful API method documentation
func (*ItemItemReleasesItemAssetsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemReleasesItemAssetsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemReleasesItemAssetsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*ItemItemReleasesItemAssetsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemReleasesItemAssetsRequestBuilder) ToPostRequestInformation(ctx context.Context, body []byte, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemReleasesItemAssetsRequestBuilderPostQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation this endpoint makes use of a [Hypermedia relation](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned inthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@3.10/rest/releases/releases#create-a-release) to upload a release asset.You need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.Most libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: `application/zip`GitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,you'll still need to pass your authentication to be able to upload an asset.When an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.**Notes:*** GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The "[List release assets](https://docs.github.com/enterprise-server@3.10/rest/releases/assets#list-release-assets)"endpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).* To find the `release_id` query the [`GET /repos/{owner}/{repo}/releases/latest` endpoint](https://docs.github.com/enterprise-server@3.10/rest/releases/releases#get-the-latest-release). * If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset. returns a *RequestInformation when successful
func (*ItemItemReleasesItemAssetsRequestBuilder) WithUrl ¶
func (m *ItemItemReleasesItemAssetsRequestBuilder) WithUrl(rawUrl string) *ItemItemReleasesItemAssetsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemReleasesItemAssetsRequestBuilder when successful
type ItemItemReleasesItemAssetsRequestBuilderGetQueryParameters ¶
type ItemItemReleasesItemAssetsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemReleasesItemAssetsRequestBuilderGetQueryParameters list release assets
type ItemItemReleasesItemAssetsRequestBuilderPostQueryParameters ¶
type ItemItemReleasesItemAssetsRequestBuilderPostQueryParameters struct { Label *string `uriparametername:"label"` Name *string `uriparametername:"name"` }
ItemItemReleasesItemAssetsRequestBuilderPostQueryParameters this endpoint makes use of a [Hypermedia relation](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia) to determine which URL to access. The endpoint you call to upload release assets is specific to your release. Use the `upload_url` returned inthe response of the [Create a release endpoint](https://docs.github.com/enterprise-server@3.10/rest/releases/releases#create-a-release) to upload a release asset.You need to use an HTTP client which supports [SNI](http://en.wikipedia.org/wiki/Server_Name_Indication) to make calls to this endpoint.Most libraries will set the required `Content-Length` header automatically. Use the required `Content-Type` header to provide the media type of the asset. For a list of media types, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml). For example: `application/zip`GitHub Enterprise Server expects the asset data in its raw binary form, rather than JSON. You will send the raw binary content of the asset as the request body. Everything else about the endpoint is the same as the rest of the API. For example,you'll still need to pass your authentication to be able to upload an asset.When an upstream failure occurs, you will receive a `502 Bad Gateway` status. This may leave an empty asset with a state of `starter`. It can be safely deleted.**Notes:*** GitHub Enterprise Server renames asset filenames that have special characters, non-alphanumeric characters, and leading or trailing periods. The "[List release assets](https://docs.github.com/enterprise-server@3.10/rest/releases/assets#list-release-assets)"endpoint lists the renamed filenames. For more information and help, contact [GitHub Enterprise Server Support](https://support.github.com/contact?tags=dotcom-rest-api).* To find the `release_id` query the [`GET /repos/{owner}/{repo}/releases/latest` endpoint](https://docs.github.com/enterprise-server@3.10/rest/releases/releases#get-the-latest-release). * If you upload an asset with the same filename as another uploaded asset, you'll receive an error and must delete the old file before you can re-upload the new asset.
type ItemItemReleasesItemReactionsPostRequestBody ¶
type ItemItemReleasesItemReactionsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemReleasesItemReactionsPostRequestBody ¶
func NewItemItemReleasesItemReactionsPostRequestBody() *ItemItemReleasesItemReactionsPostRequestBody
NewItemItemReleasesItemReactionsPostRequestBody instantiates a new ItemItemReleasesItemReactionsPostRequestBody and sets the default values.
func (*ItemItemReleasesItemReactionsPostRequestBody) GetAdditionalData ¶
func (m *ItemItemReleasesItemReactionsPostRequestBody) 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 (*ItemItemReleasesItemReactionsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemReleasesItemReactionsPostRequestBody) 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 (*ItemItemReleasesItemReactionsPostRequestBody) Serialize ¶
func (m *ItemItemReleasesItemReactionsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemReleasesItemReactionsPostRequestBody) SetAdditionalData ¶
func (m *ItemItemReleasesItemReactionsPostRequestBody) 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 ItemItemReleasesItemReactionsPostRequestBodyable ¶
type ItemItemReleasesItemReactionsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemItemReleasesItemReactionsRequestBuilder ¶
type ItemItemReleasesItemReactionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemReleasesItemReactionsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\releases\{release_id}\reactions
func NewItemItemReleasesItemReactionsRequestBuilder ¶
func NewItemItemReleasesItemReactionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReleasesItemReactionsRequestBuilder
NewItemItemReleasesItemReactionsRequestBuilder instantiates a new ItemItemReleasesItemReactionsRequestBuilder and sets the default values.
func NewItemItemReleasesItemReactionsRequestBuilderInternal ¶
func NewItemItemReleasesItemReactionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReleasesItemReactionsRequestBuilder
NewItemItemReleasesItemReactionsRequestBuilderInternal instantiates a new ItemItemReleasesItemReactionsRequestBuilder and sets the default values.
func (*ItemItemReleasesItemReactionsRequestBuilder) ByReaction_id ¶
func (m *ItemItemReleasesItemReactionsRequestBuilder) ByReaction_id(reaction_id int32) *ItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder
ByReaction_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.releases.item.reactions.item collection returns a *ItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder when successful
func (*ItemItemReleasesItemReactionsRequestBuilder) Get ¶
func (m *ItemItemReleasesItemReactionsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemReleasesItemReactionsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Reactionable, error)
Get list the reactions to a [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases#get-a-release). returns a []Reactionable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemReleasesItemReactionsRequestBuilder) Post ¶
func (m *ItemItemReleasesItemReactionsRequestBuilder) Post(ctx context.Context, body ItemItemReleasesItemReactionsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Reactionable, error)
Post create a reaction to a [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases#get-a-release). A response with a `Status: 200 OK` means that you already added the reaction type to this release. returns a Reactionable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemReleasesItemReactionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemReleasesItemReactionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemReleasesItemReactionsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list the reactions to a [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases#get-a-release). returns a *RequestInformation when successful
func (*ItemItemReleasesItemReactionsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemReleasesItemReactionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemReleasesItemReactionsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation create a reaction to a [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases#get-a-release). A response with a `Status: 200 OK` means that you already added the reaction type to this release. returns a *RequestInformation when successful
func (*ItemItemReleasesItemReactionsRequestBuilder) WithUrl ¶
func (m *ItemItemReleasesItemReactionsRequestBuilder) WithUrl(rawUrl string) *ItemItemReleasesItemReactionsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemReleasesItemReactionsRequestBuilder when successful
type ItemItemReleasesItemReactionsRequestBuilderGetQueryParameters ¶
type ItemItemReleasesItemReactionsRequestBuilderGetQueryParameters struct { // Returns a single [reaction type](https://docs.github.com/enterprise-server@3.10/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. Content *i58e7f47a46769008691a89c3902fe93a2a8e6b09b2c27e4de9a7f519666ac956.GetContentQueryParameterType `uriparametername:"content"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemReleasesItemReactionsRequestBuilderGetQueryParameters list the reactions to a [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases#get-a-release).
type ItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder ¶
type ItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\releases\{release_id}\reactions\{reaction_id}
func NewItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder ¶
func NewItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder
NewItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder instantiates a new ItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder and sets the default values.
func NewItemItemReleasesItemReactionsWithReaction_ItemRequestBuilderInternal ¶
func NewItemItemReleasesItemReactionsWithReaction_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder
NewItemItemReleasesItemReactionsWithReaction_ItemRequestBuilderInternal instantiates a new ItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder and sets the default values.
func (*ItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder) Delete ¶
func (m *ItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete > [!NOTE]> You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`.Delete a reaction to a [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases#get-a-release). API method documentation
func (*ItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation > [!NOTE]> You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/releases/:release_id/reactions/:reaction_id`.Delete a reaction to a [release](https://docs.github.com/enterprise-server@3.10/rest/releases/releases#get-a-release). returns a *RequestInformation when successful
func (*ItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemReleasesItemReactionsWithReaction_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 *ItemItemReleasesItemReactionsWithReaction_ItemRequestBuilder when successful
type ItemItemReleasesItemWithRelease_PatchRequestBody ¶
type ItemItemReleasesItemWithRelease_PatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemReleasesItemWithRelease_PatchRequestBody ¶
func NewItemItemReleasesItemWithRelease_PatchRequestBody() *ItemItemReleasesItemWithRelease_PatchRequestBody
NewItemItemReleasesItemWithRelease_PatchRequestBody instantiates a new ItemItemReleasesItemWithRelease_PatchRequestBody and sets the default values.
func (*ItemItemReleasesItemWithRelease_PatchRequestBody) GetAdditionalData ¶
func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) 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 (*ItemItemReleasesItemWithRelease_PatchRequestBody) GetBody ¶
func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) GetBody() *string
GetBody gets the body property value. Text describing the contents of the tag. returns a *string when successful
func (*ItemItemReleasesItemWithRelease_PatchRequestBody) GetDraft ¶
func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) GetDraft() *bool
GetDraft gets the draft property value. `true` makes the release a draft, and `false` publishes the release. returns a *bool when successful
func (*ItemItemReleasesItemWithRelease_PatchRequestBody) GetFieldDeserializers ¶
func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) 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 (*ItemItemReleasesItemWithRelease_PatchRequestBody) GetName ¶
func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) GetName() *string
GetName gets the name property value. The name of the release. returns a *string when successful
func (*ItemItemReleasesItemWithRelease_PatchRequestBody) GetPrerelease ¶
func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) GetPrerelease() *bool
GetPrerelease gets the prerelease property value. `true` to identify the release as a prerelease, `false` to identify the release as a full release. returns a *bool when successful
func (*ItemItemReleasesItemWithRelease_PatchRequestBody) GetTagName ¶
func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) GetTagName() *string
GetTagName gets the tag_name property value. The name of the tag. returns a *string when successful
func (*ItemItemReleasesItemWithRelease_PatchRequestBody) GetTargetCommitish ¶
func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) GetTargetCommitish() *string
GetTargetCommitish gets the target_commitish property value. Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch. returns a *string when successful
func (*ItemItemReleasesItemWithRelease_PatchRequestBody) Serialize ¶
func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemReleasesItemWithRelease_PatchRequestBody) SetAdditionalData ¶
func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) 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 (*ItemItemReleasesItemWithRelease_PatchRequestBody) SetBody ¶
func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) SetBody(value *string)
SetBody sets the body property value. Text describing the contents of the tag.
func (*ItemItemReleasesItemWithRelease_PatchRequestBody) SetDraft ¶
func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) SetDraft(value *bool)
SetDraft sets the draft property value. `true` makes the release a draft, and `false` publishes the release.
func (*ItemItemReleasesItemWithRelease_PatchRequestBody) SetName ¶
func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) SetName(value *string)
SetName sets the name property value. The name of the release.
func (*ItemItemReleasesItemWithRelease_PatchRequestBody) SetPrerelease ¶
func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) SetPrerelease(value *bool)
SetPrerelease sets the prerelease property value. `true` to identify the release as a prerelease, `false` to identify the release as a full release.
func (*ItemItemReleasesItemWithRelease_PatchRequestBody) SetTagName ¶
func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) SetTagName(value *string)
SetTagName sets the tag_name property value. The name of the tag.
func (*ItemItemReleasesItemWithRelease_PatchRequestBody) SetTargetCommitish ¶
func (m *ItemItemReleasesItemWithRelease_PatchRequestBody) SetTargetCommitish(value *string)
SetTargetCommitish sets the target_commitish property value. Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch.
type ItemItemReleasesItemWithRelease_PatchRequestBodyable ¶
type ItemItemReleasesItemWithRelease_PatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBody() *string GetDraft() *bool GetName() *string GetPrerelease() *bool GetTagName() *string GetTargetCommitish() *string SetBody(value *string) SetDraft(value *bool) SetName(value *string) SetPrerelease(value *bool) SetTagName(value *string) SetTargetCommitish(value *string) }
type ItemItemReleasesLatestRequestBuilder ¶
type ItemItemReleasesLatestRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemReleasesLatestRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\releases\latest
func NewItemItemReleasesLatestRequestBuilder ¶
func NewItemItemReleasesLatestRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReleasesLatestRequestBuilder
NewItemItemReleasesLatestRequestBuilder instantiates a new ItemItemReleasesLatestRequestBuilder and sets the default values.
func NewItemItemReleasesLatestRequestBuilderInternal ¶
func NewItemItemReleasesLatestRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReleasesLatestRequestBuilder
NewItemItemReleasesLatestRequestBuilderInternal instantiates a new ItemItemReleasesLatestRequestBuilder and sets the default values.
func (*ItemItemReleasesLatestRequestBuilder) Get ¶
func (m *ItemItemReleasesLatestRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Releaseable, error)
Get view the latest published full release for the repository.The latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published. returns a Releaseable when successful API method documentation
func (*ItemItemReleasesLatestRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemReleasesLatestRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation view the latest published full release for the repository.The latest release is the most recent non-prerelease, non-draft release, sorted by the `created_at` attribute. The `created_at` attribute is the date of the commit used for the release, and not the date when the release was drafted or published. returns a *RequestInformation when successful
func (*ItemItemReleasesLatestRequestBuilder) WithUrl ¶
func (m *ItemItemReleasesLatestRequestBuilder) WithUrl(rawUrl string) *ItemItemReleasesLatestRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemReleasesLatestRequestBuilder when successful
type ItemItemReleasesPostRequestBody ¶
type ItemItemReleasesPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemReleasesPostRequestBody ¶
func NewItemItemReleasesPostRequestBody() *ItemItemReleasesPostRequestBody
NewItemItemReleasesPostRequestBody instantiates a new ItemItemReleasesPostRequestBody and sets the default values.
func (*ItemItemReleasesPostRequestBody) GetAdditionalData ¶
func (m *ItemItemReleasesPostRequestBody) 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 (*ItemItemReleasesPostRequestBody) GetBody ¶
func (m *ItemItemReleasesPostRequestBody) GetBody() *string
GetBody gets the body property value. Text describing the contents of the tag. returns a *string when successful
func (*ItemItemReleasesPostRequestBody) GetDraft ¶
func (m *ItemItemReleasesPostRequestBody) GetDraft() *bool
GetDraft gets the draft property value. `true` to create a draft (unpublished) release, `false` to create a published one. returns a *bool when successful
func (*ItemItemReleasesPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemReleasesPostRequestBody) 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 (*ItemItemReleasesPostRequestBody) GetGenerateReleaseNotes ¶
func (m *ItemItemReleasesPostRequestBody) GetGenerateReleaseNotes() *bool
GetGenerateReleaseNotes gets the generate_release_notes property value. Whether to automatically generate the name and body for this release. If `name` is specified, the specified name will be used; otherwise, a name will be automatically generated. If `body` is specified, the body will be pre-pended to the automatically generated notes. returns a *bool when successful
func (*ItemItemReleasesPostRequestBody) GetName ¶
func (m *ItemItemReleasesPostRequestBody) GetName() *string
GetName gets the name property value. The name of the release. returns a *string when successful
func (*ItemItemReleasesPostRequestBody) GetPrerelease ¶
func (m *ItemItemReleasesPostRequestBody) GetPrerelease() *bool
GetPrerelease gets the prerelease property value. `true` to identify the release as a prerelease. `false` to identify the release as a full release. returns a *bool when successful
func (*ItemItemReleasesPostRequestBody) GetTagName ¶
func (m *ItemItemReleasesPostRequestBody) GetTagName() *string
GetTagName gets the tag_name property value. The name of the tag. returns a *string when successful
func (*ItemItemReleasesPostRequestBody) GetTargetCommitish ¶
func (m *ItemItemReleasesPostRequestBody) GetTargetCommitish() *string
GetTargetCommitish gets the target_commitish property value. Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch. returns a *string when successful
func (*ItemItemReleasesPostRequestBody) Serialize ¶
func (m *ItemItemReleasesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemReleasesPostRequestBody) SetAdditionalData ¶
func (m *ItemItemReleasesPostRequestBody) 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 (*ItemItemReleasesPostRequestBody) SetBody ¶
func (m *ItemItemReleasesPostRequestBody) SetBody(value *string)
SetBody sets the body property value. Text describing the contents of the tag.
func (*ItemItemReleasesPostRequestBody) SetDraft ¶
func (m *ItemItemReleasesPostRequestBody) SetDraft(value *bool)
SetDraft sets the draft property value. `true` to create a draft (unpublished) release, `false` to create a published one.
func (*ItemItemReleasesPostRequestBody) SetGenerateReleaseNotes ¶
func (m *ItemItemReleasesPostRequestBody) SetGenerateReleaseNotes(value *bool)
SetGenerateReleaseNotes sets the generate_release_notes property value. Whether to automatically generate the name and body for this release. If `name` is specified, the specified name will be used; otherwise, a name will be automatically generated. If `body` is specified, the body will be pre-pended to the automatically generated notes.
func (*ItemItemReleasesPostRequestBody) SetName ¶
func (m *ItemItemReleasesPostRequestBody) SetName(value *string)
SetName sets the name property value. The name of the release.
func (*ItemItemReleasesPostRequestBody) SetPrerelease ¶
func (m *ItemItemReleasesPostRequestBody) SetPrerelease(value *bool)
SetPrerelease sets the prerelease property value. `true` to identify the release as a prerelease. `false` to identify the release as a full release.
func (*ItemItemReleasesPostRequestBody) SetTagName ¶
func (m *ItemItemReleasesPostRequestBody) SetTagName(value *string)
SetTagName sets the tag_name property value. The name of the tag.
func (*ItemItemReleasesPostRequestBody) SetTargetCommitish ¶
func (m *ItemItemReleasesPostRequestBody) SetTargetCommitish(value *string)
SetTargetCommitish sets the target_commitish property value. Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch.
type ItemItemReleasesPostRequestBodyable ¶
type ItemItemReleasesPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBody() *string GetDraft() *bool GetGenerateReleaseNotes() *bool GetName() *string GetPrerelease() *bool GetTagName() *string GetTargetCommitish() *string SetBody(value *string) SetDraft(value *bool) SetGenerateReleaseNotes(value *bool) SetName(value *string) SetPrerelease(value *bool) SetTagName(value *string) SetTargetCommitish(value *string) }
type ItemItemReleasesRequestBuilder ¶
type ItemItemReleasesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemReleasesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\releases
func NewItemItemReleasesRequestBuilder ¶
func NewItemItemReleasesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReleasesRequestBuilder
NewItemItemReleasesRequestBuilder instantiates a new ItemItemReleasesRequestBuilder and sets the default values.
func NewItemItemReleasesRequestBuilderInternal ¶
func NewItemItemReleasesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReleasesRequestBuilder
NewItemItemReleasesRequestBuilderInternal instantiates a new ItemItemReleasesRequestBuilder and sets the default values.
func (*ItemItemReleasesRequestBuilder) Assets ¶
func (m *ItemItemReleasesRequestBuilder) Assets() *ItemItemReleasesAssetsRequestBuilder
Assets the assets property returns a *ItemItemReleasesAssetsRequestBuilder when successful
func (*ItemItemReleasesRequestBuilder) ByRelease_id ¶
func (m *ItemItemReleasesRequestBuilder) ByRelease_id(release_id int32) *ItemItemReleasesWithRelease_ItemRequestBuilder
ByRelease_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.releases.item collection returns a *ItemItemReleasesWithRelease_ItemRequestBuilder when successful
func (*ItemItemReleasesRequestBuilder) GenerateNotes ¶
func (m *ItemItemReleasesRequestBuilder) GenerateNotes() *ItemItemReleasesGenerateNotesRequestBuilder
GenerateNotes the generateNotes property returns a *ItemItemReleasesGenerateNotesRequestBuilder when successful
func (*ItemItemReleasesRequestBuilder) Get ¶
func (m *ItemItemReleasesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemReleasesRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Releaseable, error)
Get this returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-repository-tags).Information about published releases are available to everyone. Only users with push access will receive listings for draft releases. returns a []Releaseable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemReleasesRequestBuilder) Latest ¶
func (m *ItemItemReleasesRequestBuilder) Latest() *ItemItemReleasesLatestRequestBuilder
Latest the latest property returns a *ItemItemReleasesLatestRequestBuilder when successful
func (*ItemItemReleasesRequestBuilder) Post ¶
func (m *ItemItemReleasesRequestBuilder) Post(ctx context.Context, body ItemItemReleasesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Releaseable, error)
Post users with push access to the repository can create a release.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.10/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/best-practices-for-using-the-rest-api)." returns a Releaseable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemReleasesRequestBuilder) Tags ¶
func (m *ItemItemReleasesRequestBuilder) Tags() *ItemItemReleasesTagsRequestBuilder
Tags the tags property returns a *ItemItemReleasesTagsRequestBuilder when successful
func (*ItemItemReleasesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemReleasesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemReleasesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation this returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-repository-tags).Information about published releases are available to everyone. Only users with push access will receive listings for draft releases. returns a *RequestInformation when successful
func (*ItemItemReleasesRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemReleasesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemReleasesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation users with push access to the repository can create a release.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.10/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.10/rest/guides/best-practices-for-using-the-rest-api)." returns a *RequestInformation when successful
func (*ItemItemReleasesRequestBuilder) WithUrl ¶
func (m *ItemItemReleasesRequestBuilder) WithUrl(rawUrl string) *ItemItemReleasesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemReleasesRequestBuilder when successful
type ItemItemReleasesRequestBuilderGetQueryParameters ¶
type ItemItemReleasesRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemReleasesRequestBuilderGetQueryParameters this returns a list of releases, which does not include regular Git tags that have not been associated with a release. To get a list of Git tags, use the [Repository Tags API](https://docs.github.com/enterprise-server@3.10/rest/repos/repos#list-repository-tags).Information about published releases are available to everyone. Only users with push access will receive listings for draft releases.
type ItemItemReleasesTagsRequestBuilder ¶
type ItemItemReleasesTagsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemReleasesTagsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\releases\tags
func NewItemItemReleasesTagsRequestBuilder ¶
func NewItemItemReleasesTagsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReleasesTagsRequestBuilder
NewItemItemReleasesTagsRequestBuilder instantiates a new ItemItemReleasesTagsRequestBuilder and sets the default values.
func NewItemItemReleasesTagsRequestBuilderInternal ¶
func NewItemItemReleasesTagsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReleasesTagsRequestBuilder
NewItemItemReleasesTagsRequestBuilderInternal instantiates a new ItemItemReleasesTagsRequestBuilder and sets the default values.
func (*ItemItemReleasesTagsRequestBuilder) ByTag ¶
func (m *ItemItemReleasesTagsRequestBuilder) ByTag(tag string) *ItemItemReleasesTagsWithTagItemRequestBuilder
ByTag gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.releases.tags.item collection returns a *ItemItemReleasesTagsWithTagItemRequestBuilder when successful
type ItemItemReleasesTagsWithTagItemRequestBuilder ¶
type ItemItemReleasesTagsWithTagItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemReleasesTagsWithTagItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\releases\tags\{tag}
func NewItemItemReleasesTagsWithTagItemRequestBuilder ¶
func NewItemItemReleasesTagsWithTagItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReleasesTagsWithTagItemRequestBuilder
NewItemItemReleasesTagsWithTagItemRequestBuilder instantiates a new ItemItemReleasesTagsWithTagItemRequestBuilder and sets the default values.
func NewItemItemReleasesTagsWithTagItemRequestBuilderInternal ¶
func NewItemItemReleasesTagsWithTagItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReleasesTagsWithTagItemRequestBuilder
NewItemItemReleasesTagsWithTagItemRequestBuilderInternal instantiates a new ItemItemReleasesTagsWithTagItemRequestBuilder and sets the default values.
func (*ItemItemReleasesTagsWithTagItemRequestBuilder) Get ¶
func (m *ItemItemReleasesTagsWithTagItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Releaseable, error)
Get get a published release with the specified tag. returns a Releaseable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemReleasesTagsWithTagItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemReleasesTagsWithTagItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation get a published release with the specified tag. returns a *RequestInformation when successful
func (*ItemItemReleasesTagsWithTagItemRequestBuilder) WithUrl ¶
func (m *ItemItemReleasesTagsWithTagItemRequestBuilder) WithUrl(rawUrl string) *ItemItemReleasesTagsWithTagItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemReleasesTagsWithTagItemRequestBuilder when successful
type ItemItemReleasesWithRelease_ItemRequestBuilder ¶
type ItemItemReleasesWithRelease_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemReleasesWithRelease_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\releases\{release_id}
func NewItemItemReleasesWithRelease_ItemRequestBuilder ¶
func NewItemItemReleasesWithRelease_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReleasesWithRelease_ItemRequestBuilder
NewItemItemReleasesWithRelease_ItemRequestBuilder instantiates a new ItemItemReleasesWithRelease_ItemRequestBuilder and sets the default values.
func NewItemItemReleasesWithRelease_ItemRequestBuilderInternal ¶
func NewItemItemReleasesWithRelease_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReleasesWithRelease_ItemRequestBuilder
NewItemItemReleasesWithRelease_ItemRequestBuilderInternal instantiates a new ItemItemReleasesWithRelease_ItemRequestBuilder and sets the default values.
func (*ItemItemReleasesWithRelease_ItemRequestBuilder) Assets ¶
func (m *ItemItemReleasesWithRelease_ItemRequestBuilder) Assets() *ItemItemReleasesItemAssetsRequestBuilder
Assets the assets property returns a *ItemItemReleasesItemAssetsRequestBuilder when successful
func (*ItemItemReleasesWithRelease_ItemRequestBuilder) Delete ¶
func (m *ItemItemReleasesWithRelease_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete users with push access to the repository can delete a release. API method documentation
func (*ItemItemReleasesWithRelease_ItemRequestBuilder) Get ¶
func (m *ItemItemReleasesWithRelease_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Releaseable, error)
Get gets a public release with the specified release ID.> [!NOTE]> This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource. For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)." returns a Releaseable when successful API method documentation
func (*ItemItemReleasesWithRelease_ItemRequestBuilder) Patch ¶
func (m *ItemItemReleasesWithRelease_ItemRequestBuilder) Patch(ctx context.Context, body ItemItemReleasesItemWithRelease_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Releaseable, error)
Patch users with push access to the repository can edit a release. returns a Releaseable when successful API method documentation
func (*ItemItemReleasesWithRelease_ItemRequestBuilder) Reactions ¶
func (m *ItemItemReleasesWithRelease_ItemRequestBuilder) Reactions() *ItemItemReleasesItemReactionsRequestBuilder
Reactions the reactions property returns a *ItemItemReleasesItemReactionsRequestBuilder when successful
func (*ItemItemReleasesWithRelease_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemReleasesWithRelease_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation users with push access to the repository can delete a release. returns a *RequestInformation when successful
func (*ItemItemReleasesWithRelease_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemReleasesWithRelease_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a public release with the specified release ID.> [!NOTE]> This returns an `upload_url` key corresponding to the endpoint for uploading release assets. This key is a hypermedia resource. For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)." returns a *RequestInformation when successful
func (*ItemItemReleasesWithRelease_ItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemReleasesWithRelease_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemReleasesItemWithRelease_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation users with push access to the repository can edit a release. returns a *RequestInformation when successful
func (*ItemItemReleasesWithRelease_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemReleasesWithRelease_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemReleasesWithRelease_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 *ItemItemReleasesWithRelease_ItemRequestBuilder when successful
type ItemItemReplicasCaches ¶
type ItemItemReplicasCaches struct {
// contains filtered or unexported fields
}
ItemItemReplicasCaches status for a cache replica
func NewItemItemReplicasCaches ¶
func NewItemItemReplicasCaches() *ItemItemReplicasCaches
NewItemItemReplicasCaches instantiates a new ItemItemReplicasCaches and sets the default values.
func (*ItemItemReplicasCaches) GetAdditionalData ¶
func (m *ItemItemReplicasCaches) 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 (*ItemItemReplicasCaches) GetFieldDeserializers ¶
func (m *ItemItemReplicasCaches) 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 (*ItemItemReplicasCaches) GetGit ¶
func (m *ItemItemReplicasCaches) GetGit() ItemItemReplicasCaches_gitable
GetGit gets the git property value. The git property returns a ItemItemReplicasCaches_gitable when successful
func (*ItemItemReplicasCaches) GetHost ¶
func (m *ItemItemReplicasCaches) GetHost() *string
GetHost gets the host property value. The host property returns a *string when successful
func (*ItemItemReplicasCaches) GetLocation ¶
func (m *ItemItemReplicasCaches) GetLocation() *string
GetLocation gets the location property value. The location property returns a *string when successful
func (*ItemItemReplicasCaches) Serialize ¶
func (m *ItemItemReplicasCaches) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemReplicasCaches) SetAdditionalData ¶
func (m *ItemItemReplicasCaches) 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 (*ItemItemReplicasCaches) SetGit ¶
func (m *ItemItemReplicasCaches) SetGit(value ItemItemReplicasCaches_gitable)
SetGit sets the git property value. The git property
func (*ItemItemReplicasCaches) SetHost ¶
func (m *ItemItemReplicasCaches) SetHost(value *string)
SetHost sets the host property value. The host property
func (*ItemItemReplicasCaches) SetLocation ¶
func (m *ItemItemReplicasCaches) SetLocation(value *string)
SetLocation sets the location property value. The location property
type ItemItemReplicasCachesRequestBuilder ¶
type ItemItemReplicasCachesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemReplicasCachesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\replicas\caches
func NewItemItemReplicasCachesRequestBuilder ¶
func NewItemItemReplicasCachesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReplicasCachesRequestBuilder
NewItemItemReplicasCachesRequestBuilder instantiates a new ItemItemReplicasCachesRequestBuilder and sets the default values.
func NewItemItemReplicasCachesRequestBuilderInternal ¶
func NewItemItemReplicasCachesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReplicasCachesRequestBuilder
NewItemItemReplicasCachesRequestBuilderInternal instantiates a new ItemItemReplicasCachesRequestBuilder and sets the default values.
func (*ItemItemReplicasCachesRequestBuilder) Get ¶
func (m *ItemItemReplicasCachesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemReplicasCachesRequestBuilderGetQueryParameters]) ([]ItemItemReplicasCachesable, error)
Get lists the status of each repository cache replica. returns a []ItemItemReplicasCachesable 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 (*ItemItemReplicasCachesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemReplicasCachesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemReplicasCachesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the status of each repository cache replica. returns a *RequestInformation when successful
func (*ItemItemReplicasCachesRequestBuilder) WithUrl ¶
func (m *ItemItemReplicasCachesRequestBuilder) WithUrl(rawUrl string) *ItemItemReplicasCachesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemReplicasCachesRequestBuilder when successful
type ItemItemReplicasCachesRequestBuilderGetQueryParameters ¶
type ItemItemReplicasCachesRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemReplicasCachesRequestBuilderGetQueryParameters lists the status of each repository cache replica.
type ItemItemReplicasCaches_git ¶
type ItemItemReplicasCaches_git struct {
// contains filtered or unexported fields
}
func NewItemItemReplicasCaches_git ¶
func NewItemItemReplicasCaches_git() *ItemItemReplicasCaches_git
NewItemItemReplicasCaches_git instantiates a new ItemItemReplicasCaches_git and sets the default values.
func (*ItemItemReplicasCaches_git) GetAdditionalData ¶
func (m *ItemItemReplicasCaches_git) 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 (*ItemItemReplicasCaches_git) GetFieldDeserializers ¶
func (m *ItemItemReplicasCaches_git) 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 (*ItemItemReplicasCaches_git) GetLastSync ¶
func (m *ItemItemReplicasCaches_git) GetLastSync() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time
GetLastSync gets the last_sync property value. The last_sync property returns a *Time when successful
func (*ItemItemReplicasCaches_git) Serialize ¶
func (m *ItemItemReplicasCaches_git) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemReplicasCaches_git) SetAdditionalData ¶
func (m *ItemItemReplicasCaches_git) 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 (*ItemItemReplicasCaches_git) SetLastSync ¶
func (m *ItemItemReplicasCaches_git) SetLastSync(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time)
SetLastSync sets the last_sync property value. The last_sync property
type ItemItemReplicasCaches_gitable ¶
type ItemItemReplicasCaches_gitable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLastSync() *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time SetLastSync(value *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time) }
type ItemItemReplicasCachesable ¶
type ItemItemReplicasCachesable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetGit() ItemItemReplicasCaches_gitable GetHost() *string GetLocation() *string SetGit(value ItemItemReplicasCaches_gitable) SetHost(value *string) SetLocation(value *string) }
type ItemItemReplicasRequestBuilder ¶
type ItemItemReplicasRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemReplicasRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\replicas
func NewItemItemReplicasRequestBuilder ¶
func NewItemItemReplicasRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReplicasRequestBuilder
NewItemItemReplicasRequestBuilder instantiates a new ItemItemReplicasRequestBuilder and sets the default values.
func NewItemItemReplicasRequestBuilderInternal ¶
func NewItemItemReplicasRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemReplicasRequestBuilder
NewItemItemReplicasRequestBuilderInternal instantiates a new ItemItemReplicasRequestBuilder and sets the default values.
func (*ItemItemReplicasRequestBuilder) Caches ¶
func (m *ItemItemReplicasRequestBuilder) Caches() *ItemItemReplicasCachesRequestBuilder
Caches the caches property returns a *ItemItemReplicasCachesRequestBuilder when successful
type ItemItemRepo403Error ¶
type ItemItemRepo403Error struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ApiError // contains filtered or unexported fields }
func NewItemItemRepo403Error ¶
func NewItemItemRepo403Error() *ItemItemRepo403Error
NewItemItemRepo403Error instantiates a new ItemItemRepo403Error and sets the default values.
func (*ItemItemRepo403Error) Error ¶
func (m *ItemItemRepo403Error) Error() string
Error the primary error message. returns a string when successful
func (*ItemItemRepo403Error) GetAdditionalData ¶
func (m *ItemItemRepo403Error) 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 (*ItemItemRepo403Error) GetDocumentationUrl ¶
func (m *ItemItemRepo403Error) GetDocumentationUrl() *string
GetDocumentationUrl gets the documentation_url property value. The documentation_url property returns a *string when successful
func (*ItemItemRepo403Error) GetFieldDeserializers ¶
func (m *ItemItemRepo403Error) 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 (*ItemItemRepo403Error) GetMessage ¶
func (m *ItemItemRepo403Error) GetMessage() *string
GetMessage gets the message property value. The message property returns a *string when successful
func (*ItemItemRepo403Error) Serialize ¶
func (m *ItemItemRepo403Error) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemRepo403Error) SetAdditionalData ¶
func (m *ItemItemRepo403Error) 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 (*ItemItemRepo403Error) SetDocumentationUrl ¶
func (m *ItemItemRepo403Error) SetDocumentationUrl(value *string)
SetDocumentationUrl sets the documentation_url property value. The documentation_url property
func (*ItemItemRepo403Error) SetMessage ¶
func (m *ItemItemRepo403Error) SetMessage(value *string)
SetMessage sets the message property value. The message property
type ItemItemRepo403Errorable ¶
type ItemItemRepo403Errorable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetDocumentationUrl() *string GetMessage() *string SetDocumentationUrl(value *string) SetMessage(value *string) }
type ItemItemRepoPatchRequestBody ¶
type ItemItemRepoPatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemRepoPatchRequestBody ¶
func NewItemItemRepoPatchRequestBody() *ItemItemRepoPatchRequestBody
NewItemItemRepoPatchRequestBody instantiates a new ItemItemRepoPatchRequestBody and sets the default values.
func (*ItemItemRepoPatchRequestBody) GetAdditionalData ¶
func (m *ItemItemRepoPatchRequestBody) 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 (*ItemItemRepoPatchRequestBody) GetAllowForking ¶
func (m *ItemItemRepoPatchRequestBody) GetAllowForking() *bool
GetAllowForking gets the allow_forking property value. Either `true` to allow private forks, or `false` to prevent private forks. returns a *bool when successful
func (*ItemItemRepoPatchRequestBody) GetAllowMergeCommit ¶
func (m *ItemItemRepoPatchRequestBody) GetAllowMergeCommit() *bool
GetAllowMergeCommit gets the allow_merge_commit property value. Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits. returns a *bool when successful
func (*ItemItemRepoPatchRequestBody) GetAllowRebaseMerge ¶
func (m *ItemItemRepoPatchRequestBody) GetAllowRebaseMerge() *bool
GetAllowRebaseMerge gets the allow_rebase_merge property value. Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging. returns a *bool when successful
func (*ItemItemRepoPatchRequestBody) GetAllowSquashMerge ¶
func (m *ItemItemRepoPatchRequestBody) GetAllowSquashMerge() *bool
GetAllowSquashMerge gets the allow_squash_merge property value. Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging. returns a *bool when successful
func (*ItemItemRepoPatchRequestBody) GetAllowUpdateBranch ¶
func (m *ItemItemRepoPatchRequestBody) GetAllowUpdateBranch() *bool
GetAllowUpdateBranch gets the allow_update_branch property value. Either `true` to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise. returns a *bool when successful
func (*ItemItemRepoPatchRequestBody) GetArchived ¶
func (m *ItemItemRepoPatchRequestBody) GetArchived() *bool
GetArchived gets the archived property value. Whether to archive this repository. `false` will unarchive a previously archived repository. returns a *bool when successful
func (*ItemItemRepoPatchRequestBody) GetDefaultBranch ¶
func (m *ItemItemRepoPatchRequestBody) GetDefaultBranch() *string
GetDefaultBranch gets the default_branch property value. Updates the default branch for this repository. returns a *string when successful
func (*ItemItemRepoPatchRequestBody) GetDeleteBranchOnMerge ¶
func (m *ItemItemRepoPatchRequestBody) GetDeleteBranchOnMerge() *bool
GetDeleteBranchOnMerge gets the delete_branch_on_merge property value. Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion. returns a *bool when successful
func (*ItemItemRepoPatchRequestBody) GetDescription ¶
func (m *ItemItemRepoPatchRequestBody) GetDescription() *string
GetDescription gets the description property value. A short description of the repository. returns a *string when successful
func (*ItemItemRepoPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemItemRepoPatchRequestBody) 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 (*ItemItemRepoPatchRequestBody) GetHasIssues ¶
func (m *ItemItemRepoPatchRequestBody) GetHasIssues() *bool
GetHasIssues gets the has_issues property value. Either `true` to enable issues for this repository or `false` to disable them. returns a *bool when successful
func (*ItemItemRepoPatchRequestBody) GetHasProjects ¶
func (m *ItemItemRepoPatchRequestBody) GetHasProjects() *bool
GetHasProjects gets the has_projects property value. Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error. returns a *bool when successful
func (*ItemItemRepoPatchRequestBody) GetHasWiki ¶
func (m *ItemItemRepoPatchRequestBody) GetHasWiki() *bool
GetHasWiki gets the has_wiki property value. Either `true` to enable the wiki for this repository or `false` to disable it. returns a *bool when successful
func (*ItemItemRepoPatchRequestBody) GetHomepage ¶
func (m *ItemItemRepoPatchRequestBody) GetHomepage() *string
GetHomepage gets the homepage property value. A URL with more information about the repository. returns a *string when successful
func (*ItemItemRepoPatchRequestBody) GetIsTemplate ¶
func (m *ItemItemRepoPatchRequestBody) GetIsTemplate() *bool
GetIsTemplate gets the is_template property value. Either `true` to make this repo available as a template repository or `false` to prevent it. returns a *bool when successful
func (*ItemItemRepoPatchRequestBody) GetName ¶
func (m *ItemItemRepoPatchRequestBody) GetName() *string
GetName gets the name property value. The name of the repository. returns a *string when successful
func (*ItemItemRepoPatchRequestBody) GetPrivate ¶
func (m *ItemItemRepoPatchRequestBody) GetPrivate() *bool
GetPrivate gets the private property value. Either `true` to make the repository private or `false` to make it public. Default: `false`. **Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://docs.github.com/enterprise-server@3.10/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private. returns a *bool when successful
func (*ItemItemRepoPatchRequestBody) GetSecurityAndAnalysis ¶
func (m *ItemItemRepoPatchRequestBody) GetSecurityAndAnalysis() ItemItemRepoPatchRequestBody_security_and_analysisable
GetSecurityAndAnalysis gets the security_and_analysis property value. Specify which security and analysis features to enable or disable for the repository.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.10/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."For example, to enable GitHub Advanced Security, use this data in the body of the `PATCH` request:`{ "security_and_analysis": {"advanced_security": { "status": "enabled" } } }`.You can check which security and analysis features are currently enabled by using a `GET /repos/{owner}/{repo}` request. returns a ItemItemRepoPatchRequestBody_security_and_analysisable when successful
func (*ItemItemRepoPatchRequestBody) GetUseSquashPrTitleAsDefault ¶
func (m *ItemItemRepoPatchRequestBody) GetUseSquashPrTitleAsDefault() *bool
GetUseSquashPrTitleAsDefault gets the use_squash_pr_title_as_default property value. Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead. Deprecated: returns a *bool when successful
func (*ItemItemRepoPatchRequestBody) GetWebCommitSignoffRequired ¶
func (m *ItemItemRepoPatchRequestBody) GetWebCommitSignoffRequired() *bool
GetWebCommitSignoffRequired gets the web_commit_signoff_required property value. Either `true` to require contributors to sign off on web-based commits, or `false` to not require contributors to sign off on web-based commits. returns a *bool when successful
func (*ItemItemRepoPatchRequestBody) Serialize ¶
func (m *ItemItemRepoPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemRepoPatchRequestBody) SetAdditionalData ¶
func (m *ItemItemRepoPatchRequestBody) 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 (*ItemItemRepoPatchRequestBody) SetAllowForking ¶
func (m *ItemItemRepoPatchRequestBody) SetAllowForking(value *bool)
SetAllowForking sets the allow_forking property value. Either `true` to allow private forks, or `false` to prevent private forks.
func (*ItemItemRepoPatchRequestBody) SetAllowMergeCommit ¶
func (m *ItemItemRepoPatchRequestBody) SetAllowMergeCommit(value *bool)
SetAllowMergeCommit sets the allow_merge_commit property value. Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.
func (*ItemItemRepoPatchRequestBody) SetAllowRebaseMerge ¶
func (m *ItemItemRepoPatchRequestBody) SetAllowRebaseMerge(value *bool)
SetAllowRebaseMerge sets the allow_rebase_merge property value. Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.
func (*ItemItemRepoPatchRequestBody) SetAllowSquashMerge ¶
func (m *ItemItemRepoPatchRequestBody) SetAllowSquashMerge(value *bool)
SetAllowSquashMerge sets the allow_squash_merge property value. Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.
func (*ItemItemRepoPatchRequestBody) SetAllowUpdateBranch ¶
func (m *ItemItemRepoPatchRequestBody) SetAllowUpdateBranch(value *bool)
SetAllowUpdateBranch sets the allow_update_branch property value. Either `true` to always allow a pull request head branch that is behind its base branch to be updated even if it is not required to be up to date before merging, or false otherwise.
func (*ItemItemRepoPatchRequestBody) SetArchived ¶
func (m *ItemItemRepoPatchRequestBody) SetArchived(value *bool)
SetArchived sets the archived property value. Whether to archive this repository. `false` will unarchive a previously archived repository.
func (*ItemItemRepoPatchRequestBody) SetDefaultBranch ¶
func (m *ItemItemRepoPatchRequestBody) SetDefaultBranch(value *string)
SetDefaultBranch sets the default_branch property value. Updates the default branch for this repository.
func (*ItemItemRepoPatchRequestBody) SetDeleteBranchOnMerge ¶
func (m *ItemItemRepoPatchRequestBody) SetDeleteBranchOnMerge(value *bool)
SetDeleteBranchOnMerge sets the delete_branch_on_merge property value. Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion.
func (*ItemItemRepoPatchRequestBody) SetDescription ¶
func (m *ItemItemRepoPatchRequestBody) SetDescription(value *string)
SetDescription sets the description property value. A short description of the repository.
func (*ItemItemRepoPatchRequestBody) SetHasIssues ¶
func (m *ItemItemRepoPatchRequestBody) SetHasIssues(value *bool)
SetHasIssues sets the has_issues property value. Either `true` to enable issues for this repository or `false` to disable them.
func (*ItemItemRepoPatchRequestBody) SetHasProjects ¶
func (m *ItemItemRepoPatchRequestBody) SetHasProjects(value *bool)
SetHasProjects sets the has_projects property value. Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.
func (*ItemItemRepoPatchRequestBody) SetHasWiki ¶
func (m *ItemItemRepoPatchRequestBody) SetHasWiki(value *bool)
SetHasWiki sets the has_wiki property value. Either `true` to enable the wiki for this repository or `false` to disable it.
func (*ItemItemRepoPatchRequestBody) SetHomepage ¶
func (m *ItemItemRepoPatchRequestBody) SetHomepage(value *string)
SetHomepage sets the homepage property value. A URL with more information about the repository.
func (*ItemItemRepoPatchRequestBody) SetIsTemplate ¶
func (m *ItemItemRepoPatchRequestBody) SetIsTemplate(value *bool)
SetIsTemplate sets the is_template property value. Either `true` to make this repo available as a template repository or `false` to prevent it.
func (*ItemItemRepoPatchRequestBody) SetName ¶
func (m *ItemItemRepoPatchRequestBody) SetName(value *string)
SetName sets the name property value. The name of the repository.
func (*ItemItemRepoPatchRequestBody) SetPrivate ¶
func (m *ItemItemRepoPatchRequestBody) SetPrivate(value *bool)
SetPrivate sets the private property value. Either `true` to make the repository private or `false` to make it public. Default: `false`. **Note**: You will get a `422` error if the organization restricts [changing repository visibility](https://docs.github.com/enterprise-server@3.10/articles/repository-permission-levels-for-an-organization#changing-the-visibility-of-repositories) to organization owners and a non-owner tries to change the value of private.
func (*ItemItemRepoPatchRequestBody) SetSecurityAndAnalysis ¶
func (m *ItemItemRepoPatchRequestBody) SetSecurityAndAnalysis(value ItemItemRepoPatchRequestBody_security_and_analysisable)
SetSecurityAndAnalysis sets the security_and_analysis property value. Specify which security and analysis features to enable or disable for the repository.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.10/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."For example, to enable GitHub Advanced Security, use this data in the body of the `PATCH` request:`{ "security_and_analysis": {"advanced_security": { "status": "enabled" } } }`.You can check which security and analysis features are currently enabled by using a `GET /repos/{owner}/{repo}` request.
func (*ItemItemRepoPatchRequestBody) SetUseSquashPrTitleAsDefault ¶
func (m *ItemItemRepoPatchRequestBody) SetUseSquashPrTitleAsDefault(value *bool)
SetUseSquashPrTitleAsDefault sets the use_squash_pr_title_as_default property value. Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead. Deprecated:
func (*ItemItemRepoPatchRequestBody) SetWebCommitSignoffRequired ¶
func (m *ItemItemRepoPatchRequestBody) SetWebCommitSignoffRequired(value *bool)
SetWebCommitSignoffRequired sets the web_commit_signoff_required property value. Either `true` to require contributors to sign off on web-based commits, or `false` to not require contributors to sign off on web-based commits.
type ItemItemRepoPatchRequestBody_security_and_analysis ¶
type ItemItemRepoPatchRequestBody_security_and_analysis struct {
// contains filtered or unexported fields
}
ItemItemRepoPatchRequestBody_security_and_analysis specify which security and analysis features to enable or disable for the repository.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.10/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."For example, to enable GitHub Advanced Security, use this data in the body of the `PATCH` request:`{ "security_and_analysis": {"advanced_security": { "status": "enabled" } } }`.You can check which security and analysis features are currently enabled by using a `GET /repos/{owner}/{repo}` request.
func NewItemItemRepoPatchRequestBody_security_and_analysis ¶
func NewItemItemRepoPatchRequestBody_security_and_analysis() *ItemItemRepoPatchRequestBody_security_and_analysis
NewItemItemRepoPatchRequestBody_security_and_analysis instantiates a new ItemItemRepoPatchRequestBody_security_and_analysis and sets the default values.
func (*ItemItemRepoPatchRequestBody_security_and_analysis) GetAdditionalData ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis) 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 (*ItemItemRepoPatchRequestBody_security_and_analysis) GetAdvancedSecurity ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis) GetAdvancedSecurity() ItemItemRepoPatchRequestBody_security_and_analysis_advanced_securityable
GetAdvancedSecurity gets the advanced_security property value. Use the `status` property to enable or disable GitHub Advanced Security for this repository. For more information, see "[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security)." returns a ItemItemRepoPatchRequestBody_security_and_analysis_advanced_securityable when successful
func (*ItemItemRepoPatchRequestBody_security_and_analysis) GetFieldDeserializers ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis) 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 (*ItemItemRepoPatchRequestBody_security_and_analysis) GetSecretScanning ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis) GetSecretScanning() ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanningable
GetSecretScanning gets the secret_scanning property value. Use the `status` property to enable or disable secret scanning for this repository. For more information, see "[About secret scanning](/code-security/secret-security/about-secret-scanning)." returns a ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanningable when successful
func (*ItemItemRepoPatchRequestBody_security_and_analysis) GetSecretScanningPushProtection ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis) GetSecretScanningPushProtection() ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protectionable
GetSecretScanningPushProtection gets the secret_scanning_push_protection property value. Use the `status` property to enable or disable secret scanning push protection for this repository. For more information, see "[Protecting pushes with secret scanning](/code-security/secret-scanning/protecting-pushes-with-secret-scanning)." returns a ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protectionable when successful
func (*ItemItemRepoPatchRequestBody_security_and_analysis) Serialize ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemRepoPatchRequestBody_security_and_analysis) SetAdditionalData ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis) 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 (*ItemItemRepoPatchRequestBody_security_and_analysis) SetAdvancedSecurity ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis) SetAdvancedSecurity(value ItemItemRepoPatchRequestBody_security_and_analysis_advanced_securityable)
SetAdvancedSecurity sets the advanced_security property value. Use the `status` property to enable or disable GitHub Advanced Security for this repository. For more information, see "[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security)."
func (*ItemItemRepoPatchRequestBody_security_and_analysis) SetSecretScanning ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis) SetSecretScanning(value ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanningable)
SetSecretScanning sets the secret_scanning property value. Use the `status` property to enable or disable secret scanning for this repository. For more information, see "[About secret scanning](/code-security/secret-security/about-secret-scanning)."
func (*ItemItemRepoPatchRequestBody_security_and_analysis) SetSecretScanningPushProtection ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis) SetSecretScanningPushProtection(value ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protectionable)
SetSecretScanningPushProtection sets the secret_scanning_push_protection property value. Use the `status` property to enable or disable secret scanning push protection for this repository. For more information, see "[Protecting pushes with secret scanning](/code-security/secret-scanning/protecting-pushes-with-secret-scanning)."
type ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security ¶
type ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security struct {
// contains filtered or unexported fields
}
ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security use the `status` property to enable or disable GitHub Advanced Security for this repository. For more information, see "[About GitHub Advanced Security](/github/getting-started-with-github/learning-about-github/about-github-advanced-security)."
func NewItemItemRepoPatchRequestBody_security_and_analysis_advanced_security ¶
func NewItemItemRepoPatchRequestBody_security_and_analysis_advanced_security() *ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security
NewItemItemRepoPatchRequestBody_security_and_analysis_advanced_security instantiates a new ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security and sets the default values.
func (*ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security) GetAdditionalData ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security) 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 (*ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security) GetFieldDeserializers ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security) 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 (*ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security) GetStatus ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security) GetStatus() *string
GetStatus gets the status property value. Can be `enabled` or `disabled`. returns a *string when successful
func (*ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security) Serialize ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security) SetAdditionalData ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security) 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 (*ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security) SetStatus ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security) SetStatus(value *string)
SetStatus sets the status property value. Can be `enabled` or `disabled`.
type ItemItemRepoPatchRequestBody_security_and_analysis_advanced_securityable ¶
type ItemItemRepoPatchRequestBody_security_and_analysis_advanced_securityable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetStatus() *string SetStatus(value *string) }
type ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning ¶
type ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning struct {
// contains filtered or unexported fields
}
ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning use the `status` property to enable or disable secret scanning for this repository. For more information, see "[About secret scanning](/code-security/secret-security/about-secret-scanning)."
func NewItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning ¶
func NewItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning() *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning
NewItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning instantiates a new ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning and sets the default values.
func (*ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning) GetAdditionalData ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning) 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 (*ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning) GetFieldDeserializers ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning) 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 (*ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning) GetStatus ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning) GetStatus() *string
GetStatus gets the status property value. Can be `enabled` or `disabled`. returns a *string when successful
func (*ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning) Serialize ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning) SetAdditionalData ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning) 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 (*ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning) SetStatus ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning) SetStatus(value *string)
SetStatus sets the status property value. Can be `enabled` or `disabled`.
type ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection ¶
type ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection struct {
// contains filtered or unexported fields
}
ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection use the `status` property to enable or disable secret scanning push protection for this repository. For more information, see "[Protecting pushes with secret scanning](/code-security/secret-scanning/protecting-pushes-with-secret-scanning)."
func NewItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection ¶
func NewItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection() *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection
NewItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection instantiates a new ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection and sets the default values.
func (*ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection) GetAdditionalData ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection) 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 (*ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection) GetFieldDeserializers ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection) 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 (*ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection) GetStatus ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection) GetStatus() *string
GetStatus gets the status property value. Can be `enabled` or `disabled`. returns a *string when successful
func (*ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection) Serialize ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection) SetAdditionalData ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection) 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 (*ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection) SetStatus ¶
func (m *ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection) SetStatus(value *string)
SetStatus sets the status property value. Can be `enabled` or `disabled`.
type ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protectionable ¶
type ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protectionable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetStatus() *string SetStatus(value *string) }
type ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanningable ¶
type ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanningable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetStatus() *string SetStatus(value *string) }
type ItemItemRepoPatchRequestBody_security_and_analysisable ¶
type ItemItemRepoPatchRequestBody_security_and_analysisable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAdvancedSecurity() ItemItemRepoPatchRequestBody_security_and_analysis_advanced_securityable GetSecretScanning() ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanningable GetSecretScanningPushProtection() ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protectionable SetAdvancedSecurity(value ItemItemRepoPatchRequestBody_security_and_analysis_advanced_securityable) SetSecretScanning(value ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanningable) SetSecretScanningPushProtection(value ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protectionable) }
type ItemItemRepoPatchRequestBodyable ¶
type ItemItemRepoPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAllowForking() *bool GetAllowMergeCommit() *bool GetAllowRebaseMerge() *bool GetAllowSquashMerge() *bool GetAllowUpdateBranch() *bool GetArchived() *bool GetDefaultBranch() *string GetDeleteBranchOnMerge() *bool GetDescription() *string GetHasIssues() *bool GetHasProjects() *bool GetHasWiki() *bool GetHomepage() *string GetIsTemplate() *bool GetName() *string GetPrivate() *bool GetSecurityAndAnalysis() ItemItemRepoPatchRequestBody_security_and_analysisable GetUseSquashPrTitleAsDefault() *bool GetWebCommitSignoffRequired() *bool SetAllowForking(value *bool) SetAllowMergeCommit(value *bool) SetAllowRebaseMerge(value *bool) SetAllowSquashMerge(value *bool) SetAllowUpdateBranch(value *bool) SetArchived(value *bool) SetDefaultBranch(value *string) SetDeleteBranchOnMerge(value *bool) SetDescription(value *string) SetHasIssues(value *bool) SetHasProjects(value *bool) SetHasWiki(value *bool) SetHomepage(value *string) SetIsTemplate(value *bool) SetName(value *string) SetPrivate(value *bool) SetSecurityAndAnalysis(value ItemItemRepoPatchRequestBody_security_and_analysisable) SetUseSquashPrTitleAsDefault(value *bool) SetWebCommitSignoffRequired(value *bool) }
type ItemItemSecretScanningAlertsItemLocationsRequestBuilder ¶
type ItemItemSecretScanningAlertsItemLocationsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemSecretScanningAlertsItemLocationsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\secret-scanning\alerts\{alert_number}\locations
func NewItemItemSecretScanningAlertsItemLocationsRequestBuilder ¶
func NewItemItemSecretScanningAlertsItemLocationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemSecretScanningAlertsItemLocationsRequestBuilder
NewItemItemSecretScanningAlertsItemLocationsRequestBuilder instantiates a new ItemItemSecretScanningAlertsItemLocationsRequestBuilder and sets the default values.
func NewItemItemSecretScanningAlertsItemLocationsRequestBuilderInternal ¶
func NewItemItemSecretScanningAlertsItemLocationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemSecretScanningAlertsItemLocationsRequestBuilder
NewItemItemSecretScanningAlertsItemLocationsRequestBuilderInternal instantiates a new ItemItemSecretScanningAlertsItemLocationsRequestBuilder and sets the default values.
func (*ItemItemSecretScanningAlertsItemLocationsRequestBuilder) Get ¶
func (m *ItemItemSecretScanningAlertsItemLocationsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemSecretScanningAlertsItemLocationsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SecretScanningLocationable, error)
Get lists all locations for a given secret scanning alert for an eligible repository.The authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. returns a []SecretScanningLocationable when successful returns a Locations503Error error when the service returns a 503 status code API method documentation
func (*ItemItemSecretScanningAlertsItemLocationsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemSecretScanningAlertsItemLocationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemSecretScanningAlertsItemLocationsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all locations for a given secret scanning alert for an eligible repository.The authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. returns a *RequestInformation when successful
func (*ItemItemSecretScanningAlertsItemLocationsRequestBuilder) WithUrl ¶
func (m *ItemItemSecretScanningAlertsItemLocationsRequestBuilder) WithUrl(rawUrl string) *ItemItemSecretScanningAlertsItemLocationsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemSecretScanningAlertsItemLocationsRequestBuilder when successful
type ItemItemSecretScanningAlertsItemLocationsRequestBuilderGetQueryParameters ¶
type ItemItemSecretScanningAlertsItemLocationsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemSecretScanningAlertsItemLocationsRequestBuilderGetQueryParameters lists all locations for a given secret scanning alert for an eligible repository.The authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.
type ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody ¶
type ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody ¶
func NewItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody() *ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody
NewItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody instantiates a new ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody and sets the default values.
func (*ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) GetAdditionalData ¶
func (m *ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) 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 (*ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) 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 (*ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) GetResolution ¶
func (m *ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) GetResolution() *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SecretScanningAlertResolution
GetResolution gets the resolution property value. **Required when the `state` is `resolved`.** The reason for resolving the alert. returns a *SecretScanningAlertResolution when successful
func (*ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) GetResolutionComment ¶
func (m *ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) GetResolutionComment() *string
GetResolutionComment gets the resolution_comment property value. An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. returns a *string when successful
func (*ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) GetState ¶
func (m *ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) GetState() *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SecretScanningAlertState
GetState gets the state property value. Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. returns a *SecretScanningAlertState when successful
func (*ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) Serialize ¶
func (m *ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) SetAdditionalData ¶
func (m *ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) 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 (*ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) SetResolution ¶
func (m *ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) SetResolution(value *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SecretScanningAlertResolution)
SetResolution sets the resolution property value. **Required when the `state` is `resolved`.** The reason for resolving the alert.
func (*ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) SetResolutionComment ¶
func (m *ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) SetResolutionComment(value *string)
SetResolutionComment sets the resolution_comment property value. An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`.
func (*ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) SetState ¶
func (m *ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) SetState(value *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SecretScanningAlertState)
SetState sets the state property value. Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.
type ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBodyable ¶
type ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetResolution() *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SecretScanningAlertResolution GetResolutionComment() *string GetState() *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SecretScanningAlertState SetResolution(value *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SecretScanningAlertResolution) SetResolutionComment(value *string) SetState(value *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SecretScanningAlertState) }
type ItemItemSecretScanningAlertsRequestBuilder ¶
type ItemItemSecretScanningAlertsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemSecretScanningAlertsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\secret-scanning\alerts
func NewItemItemSecretScanningAlertsRequestBuilder ¶
func NewItemItemSecretScanningAlertsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemSecretScanningAlertsRequestBuilder
NewItemItemSecretScanningAlertsRequestBuilder instantiates a new ItemItemSecretScanningAlertsRequestBuilder and sets the default values.
func NewItemItemSecretScanningAlertsRequestBuilderInternal ¶
func NewItemItemSecretScanningAlertsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemSecretScanningAlertsRequestBuilder
NewItemItemSecretScanningAlertsRequestBuilderInternal instantiates a new ItemItemSecretScanningAlertsRequestBuilder and sets the default values.
func (*ItemItemSecretScanningAlertsRequestBuilder) ByAlert_number ¶
func (m *ItemItemSecretScanningAlertsRequestBuilder) ByAlert_number(alert_number int32) *ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder
ByAlert_number gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.secretScanning.alerts.item collection returns a *ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder when successful
func (*ItemItemSecretScanningAlertsRequestBuilder) Get ¶
func (m *ItemItemSecretScanningAlertsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemSecretScanningAlertsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SecretScanningAlertable, error)
Get lists secret scanning alerts for an eligible repository, from newest to oldest.The authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. returns a []SecretScanningAlertable when successful returns a Alerts503Error error when the service returns a 503 status code API method documentation
func (*ItemItemSecretScanningAlertsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemSecretScanningAlertsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemSecretScanningAlertsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists secret scanning alerts for an eligible repository, from newest to oldest.The authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. returns a *RequestInformation when successful
func (*ItemItemSecretScanningAlertsRequestBuilder) WithUrl ¶
func (m *ItemItemSecretScanningAlertsRequestBuilder) WithUrl(rawUrl string) *ItemItemSecretScanningAlertsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemSecretScanningAlertsRequestBuilder when successful
type ItemItemSecretScanningAlertsRequestBuilderGetQueryParameters ¶
type ItemItemSecretScanningAlertsRequestBuilderGetQueryParameters struct { // A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty "after" query string. After *string `uriparametername:"after"` // A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.10/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty "before" query string. Before *string `uriparametername:"before"` // The direction to sort the results by. Direction *ic653fdac08035cb8bfc7dabb4472628f1539065e4c88c3d7cb1a363ab7fa780f.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/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. Resolution *string `uriparametername:"resolution"` // A comma-separated list of secret types to return. By default all secret types are returned.See "[Supported secret scanning patterns](https://docs.github.com/enterprise-server@3.10/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)"for a complete list of secret types. Secret_type *string `uriparametername:"secret_type"` // The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. Sort *ic653fdac08035cb8bfc7dabb4472628f1539065e4c88c3d7cb1a363ab7fa780f.GetSortQueryParameterType `uriparametername:"sort"` // Set to `open` or `resolved` to only list secret scanning alerts in a specific state. State *ic653fdac08035cb8bfc7dabb4472628f1539065e4c88c3d7cb1a363ab7fa780f.GetStateQueryParameterType `uriparametername:"state"` }
ItemItemSecretScanningAlertsRequestBuilderGetQueryParameters lists secret scanning alerts for an eligible repository, from newest to oldest.The authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.
type ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder ¶
type ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\secret-scanning\alerts\{alert_number}
func NewItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder ¶
func NewItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder
NewItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder instantiates a new ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder and sets the default values.
func NewItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilderInternal ¶
func NewItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder
NewItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilderInternal instantiates a new ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder and sets the default values.
func (*ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder) Get ¶
func (m *ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SecretScanningAlertable, error)
Get gets a single secret scanning alert detected in an eligible repository.The authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. returns a SecretScanningAlertable when successful returns a SecretScanningAlert503Error error when the service returns a 503 status code API method documentation
func (*ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder) Locations ¶
func (m *ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder) Locations() *ItemItemSecretScanningAlertsItemLocationsRequestBuilder
Locations the locations property returns a *ItemItemSecretScanningAlertsItemLocationsRequestBuilder when successful
func (*ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder) Patch ¶
func (m *ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder) Patch(ctx context.Context, body ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SecretScanningAlertable, error)
Patch updates the status of a secret scanning alert in an eligible repository.The authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. returns a SecretScanningAlertable when successful returns a SecretScanningAlert503Error error when the service returns a 503 status code API method documentation
func (*ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a single secret scanning alert detected in an eligible repository.The authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. returns a *RequestInformation when successful
func (*ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation updates the status of a secret scanning alert in an eligible repository.The authenticated user must be an administrator for the repository or for the organization that owns the repository to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. returns a *RequestInformation when successful
func (*ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder) WithUrl ¶
func (m *ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder) WithUrl(rawUrl string) *ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder when successful
type ItemItemSecretScanningRequestBuilder ¶
type ItemItemSecretScanningRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemSecretScanningRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\secret-scanning
func NewItemItemSecretScanningRequestBuilder ¶
func NewItemItemSecretScanningRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemSecretScanningRequestBuilder
NewItemItemSecretScanningRequestBuilder instantiates a new ItemItemSecretScanningRequestBuilder and sets the default values.
func NewItemItemSecretScanningRequestBuilderInternal ¶
func NewItemItemSecretScanningRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemSecretScanningRequestBuilder
NewItemItemSecretScanningRequestBuilderInternal instantiates a new ItemItemSecretScanningRequestBuilder and sets the default values.
func (*ItemItemSecretScanningRequestBuilder) Alerts ¶
func (m *ItemItemSecretScanningRequestBuilder) Alerts() *ItemItemSecretScanningAlertsRequestBuilder
Alerts the alerts property returns a *ItemItemSecretScanningAlertsRequestBuilder when successful
type ItemItemStargazersRequestBuilder ¶
type ItemItemStargazersRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemStargazersRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\stargazers
func NewItemItemStargazersRequestBuilder ¶
func NewItemItemStargazersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemStargazersRequestBuilder
NewItemItemStargazersRequestBuilder instantiates a new ItemItemStargazersRequestBuilder and sets the default values.
func NewItemItemStargazersRequestBuilderInternal ¶
func NewItemItemStargazersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemStargazersRequestBuilder
NewItemItemStargazersRequestBuilderInternal instantiates a new ItemItemStargazersRequestBuilder and sets the default values.
func (*ItemItemStargazersRequestBuilder) Get ¶
func (m *ItemItemStargazersRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemStargazersRequestBuilderGetQueryParameters]) (StargazersGetResponseable, error)
Get lists the people that have starred the repository.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 StargazersGetResponseable when successful returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemItemStargazersRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemStargazersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemStargazersRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the people that have starred the repository.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 (*ItemItemStargazersRequestBuilder) WithUrl ¶
func (m *ItemItemStargazersRequestBuilder) WithUrl(rawUrl string) *ItemItemStargazersRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemStargazersRequestBuilder when successful
type ItemItemStargazersRequestBuilderGetQueryParameters ¶
type ItemItemStargazersRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemStargazersRequestBuilderGetQueryParameters lists the people that have starred the repository.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.10/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 ItemItemStargazersSimpleUser ¶
type ItemItemStargazersSimpleUser struct {
// contains filtered or unexported fields
}
func NewItemItemStargazersSimpleUser ¶
func NewItemItemStargazersSimpleUser() *ItemItemStargazersSimpleUser
NewItemItemStargazersSimpleUser instantiates a new ItemItemStargazersSimpleUser and sets the default values.
func (*ItemItemStargazersSimpleUser) GetAdditionalData ¶
func (m *ItemItemStargazersSimpleUser) 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 (*ItemItemStargazersSimpleUser) GetFieldDeserializers ¶
func (m *ItemItemStargazersSimpleUser) 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 (*ItemItemStargazersSimpleUser) Serialize ¶
func (m *ItemItemStargazersSimpleUser) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemStargazersSimpleUser) SetAdditionalData ¶
func (m *ItemItemStargazersSimpleUser) 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 ItemItemStargazersSimpleUserable ¶
type ItemItemStargazersSimpleUserable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemItemStargazersStargazer ¶
type ItemItemStargazersStargazer struct {
// contains filtered or unexported fields
}
func NewItemItemStargazersStargazer ¶
func NewItemItemStargazersStargazer() *ItemItemStargazersStargazer
NewItemItemStargazersStargazer instantiates a new ItemItemStargazersStargazer and sets the default values.
func (*ItemItemStargazersStargazer) GetAdditionalData ¶
func (m *ItemItemStargazersStargazer) 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 (*ItemItemStargazersStargazer) GetFieldDeserializers ¶
func (m *ItemItemStargazersStargazer) 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 (*ItemItemStargazersStargazer) Serialize ¶
func (m *ItemItemStargazersStargazer) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemStargazersStargazer) SetAdditionalData ¶
func (m *ItemItemStargazersStargazer) 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 ItemItemStargazersStargazerable ¶
type ItemItemStargazersStargazerable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemItemStatsCode_frequencyRequestBuilder ¶
type ItemItemStatsCode_frequencyRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemStatsCode_frequencyRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\stats\code_frequency
func NewItemItemStatsCode_frequencyRequestBuilder ¶
func NewItemItemStatsCode_frequencyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemStatsCode_frequencyRequestBuilder
NewItemItemStatsCode_frequencyRequestBuilder instantiates a new ItemItemStatsCode_frequencyRequestBuilder and sets the default values.
func NewItemItemStatsCode_frequencyRequestBuilderInternal ¶
func NewItemItemStatsCode_frequencyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemStatsCode_frequencyRequestBuilder
NewItemItemStatsCode_frequencyRequestBuilderInternal instantiates a new ItemItemStatsCode_frequencyRequestBuilder and sets the default values.
func (*ItemItemStatsCode_frequencyRequestBuilder) Get ¶
func (m *ItemItemStatsCode_frequencyRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]int32, error)
Get returns a weekly aggregate of the number of additions and deletions pushed to a repository. returns a []int32 when successful API method documentation
func (*ItemItemStatsCode_frequencyRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemStatsCode_frequencyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation returns a weekly aggregate of the number of additions and deletions pushed to a repository. returns a *RequestInformation when successful
func (*ItemItemStatsCode_frequencyRequestBuilder) WithUrl ¶
func (m *ItemItemStatsCode_frequencyRequestBuilder) WithUrl(rawUrl string) *ItemItemStatsCode_frequencyRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemStatsCode_frequencyRequestBuilder when successful
type ItemItemStatsCommit_activityRequestBuilder ¶
type ItemItemStatsCommit_activityRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemStatsCommit_activityRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\stats\commit_activity
func NewItemItemStatsCommit_activityRequestBuilder ¶
func NewItemItemStatsCommit_activityRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemStatsCommit_activityRequestBuilder
NewItemItemStatsCommit_activityRequestBuilder instantiates a new ItemItemStatsCommit_activityRequestBuilder and sets the default values.
func NewItemItemStatsCommit_activityRequestBuilderInternal ¶
func NewItemItemStatsCommit_activityRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemStatsCommit_activityRequestBuilder
NewItemItemStatsCommit_activityRequestBuilderInternal instantiates a new ItemItemStatsCommit_activityRequestBuilder and sets the default values.
func (*ItemItemStatsCommit_activityRequestBuilder) Get ¶
func (m *ItemItemStatsCommit_activityRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CommitActivityable, error)
Get returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`. returns a []CommitActivityable when successful API method documentation
func (*ItemItemStatsCommit_activityRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemStatsCommit_activityRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation returns the last year of commit activity grouped by week. The `days` array is a group of commits per day, starting on `Sunday`. returns a *RequestInformation when successful
func (*ItemItemStatsCommit_activityRequestBuilder) WithUrl ¶
func (m *ItemItemStatsCommit_activityRequestBuilder) WithUrl(rawUrl string) *ItemItemStatsCommit_activityRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemStatsCommit_activityRequestBuilder when successful
type ItemItemStatsContributorsRequestBuilder ¶
type ItemItemStatsContributorsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemStatsContributorsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\stats\contributors
func NewItemItemStatsContributorsRequestBuilder ¶
func NewItemItemStatsContributorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemStatsContributorsRequestBuilder
NewItemItemStatsContributorsRequestBuilder instantiates a new ItemItemStatsContributorsRequestBuilder and sets the default values.
func NewItemItemStatsContributorsRequestBuilderInternal ¶
func NewItemItemStatsContributorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemStatsContributorsRequestBuilder
NewItemItemStatsContributorsRequestBuilderInternal instantiates a new ItemItemStatsContributorsRequestBuilder and sets the default values.
func (*ItemItemStatsContributorsRequestBuilder) Get ¶
func (m *ItemItemStatsContributorsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContributorActivityable, error)
Get returns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:* `w` - Start of the week, given as a [Unix timestamp](https://en.wikipedia.org/wiki/Unix_time).* `a` - Number of additions* `d` - Number of deletions* `c` - Number of commits returns a []ContributorActivityable when successful API method documentation
func (*ItemItemStatsContributorsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemStatsContributorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation returns the `total` number of commits authored by the contributor. In addition, the response includes a Weekly Hash (`weeks` array) with the following information:* `w` - Start of the week, given as a [Unix timestamp](https://en.wikipedia.org/wiki/Unix_time).* `a` - Number of additions* `d` - Number of deletions* `c` - Number of commits returns a *RequestInformation when successful
func (*ItemItemStatsContributorsRequestBuilder) WithUrl ¶
func (m *ItemItemStatsContributorsRequestBuilder) WithUrl(rawUrl string) *ItemItemStatsContributorsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemStatsContributorsRequestBuilder when successful
type ItemItemStatsParticipationRequestBuilder ¶
type ItemItemStatsParticipationRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemStatsParticipationRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\stats\participation
func NewItemItemStatsParticipationRequestBuilder ¶
func NewItemItemStatsParticipationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemStatsParticipationRequestBuilder
NewItemItemStatsParticipationRequestBuilder instantiates a new ItemItemStatsParticipationRequestBuilder and sets the default values.
func NewItemItemStatsParticipationRequestBuilderInternal ¶
func NewItemItemStatsParticipationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemStatsParticipationRequestBuilder
NewItemItemStatsParticipationRequestBuilderInternal instantiates a new ItemItemStatsParticipationRequestBuilder and sets the default values.
func (*ItemItemStatsParticipationRequestBuilder) Get ¶
func (m *ItemItemStatsParticipationRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ParticipationStatsable, error)
Get returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.The array order is oldest week (index 0) to most recent week.The most recent week is seven days ago at UTC midnight to today at UTC midnight. returns a ParticipationStatsable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemStatsParticipationRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemStatsParticipationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation returns the total commit counts for the `owner` and total commit counts in `all`. `all` is everyone combined, including the `owner` in the last 52 weeks. If you'd like to get the commit counts for non-owners, you can subtract `owner` from `all`.The array order is oldest week (index 0) to most recent week.The most recent week is seven days ago at UTC midnight to today at UTC midnight. returns a *RequestInformation when successful
func (*ItemItemStatsParticipationRequestBuilder) WithUrl ¶
func (m *ItemItemStatsParticipationRequestBuilder) WithUrl(rawUrl string) *ItemItemStatsParticipationRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemStatsParticipationRequestBuilder when successful
type ItemItemStatsPunch_cardRequestBuilder ¶
type ItemItemStatsPunch_cardRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemStatsPunch_cardRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\stats\punch_card
func NewItemItemStatsPunch_cardRequestBuilder ¶
func NewItemItemStatsPunch_cardRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemStatsPunch_cardRequestBuilder
NewItemItemStatsPunch_cardRequestBuilder instantiates a new ItemItemStatsPunch_cardRequestBuilder and sets the default values.
func NewItemItemStatsPunch_cardRequestBuilderInternal ¶
func NewItemItemStatsPunch_cardRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemStatsPunch_cardRequestBuilder
NewItemItemStatsPunch_cardRequestBuilderInternal instantiates a new ItemItemStatsPunch_cardRequestBuilder and sets the default values.
func (*ItemItemStatsPunch_cardRequestBuilder) Get ¶
func (m *ItemItemStatsPunch_cardRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]int32, error)
Get each array contains the day number, hour number, and number of commits:* `0-6`: Sunday - Saturday* `0-23`: Hour of day* Number of commitsFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits. returns a []int32 when successful API method documentation
func (*ItemItemStatsPunch_cardRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemStatsPunch_cardRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation each array contains the day number, hour number, and number of commits:* `0-6`: Sunday - Saturday* `0-23`: Hour of day* Number of commitsFor example, `[2, 14, 25]` indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits. returns a *RequestInformation when successful
func (*ItemItemStatsPunch_cardRequestBuilder) WithUrl ¶
func (m *ItemItemStatsPunch_cardRequestBuilder) WithUrl(rawUrl string) *ItemItemStatsPunch_cardRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemStatsPunch_cardRequestBuilder when successful
type ItemItemStatsRequestBuilder ¶
type ItemItemStatsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemStatsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\stats
func NewItemItemStatsRequestBuilder ¶
func NewItemItemStatsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemStatsRequestBuilder
NewItemItemStatsRequestBuilder instantiates a new ItemItemStatsRequestBuilder and sets the default values.
func NewItemItemStatsRequestBuilderInternal ¶
func NewItemItemStatsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemStatsRequestBuilder
NewItemItemStatsRequestBuilderInternal instantiates a new ItemItemStatsRequestBuilder and sets the default values.
func (*ItemItemStatsRequestBuilder) Code_frequency ¶
func (m *ItemItemStatsRequestBuilder) Code_frequency() *ItemItemStatsCode_frequencyRequestBuilder
Code_frequency the code_frequency property returns a *ItemItemStatsCode_frequencyRequestBuilder when successful
func (*ItemItemStatsRequestBuilder) Commit_activity ¶
func (m *ItemItemStatsRequestBuilder) Commit_activity() *ItemItemStatsCommit_activityRequestBuilder
Commit_activity the commit_activity property returns a *ItemItemStatsCommit_activityRequestBuilder when successful
func (*ItemItemStatsRequestBuilder) Contributors ¶
func (m *ItemItemStatsRequestBuilder) Contributors() *ItemItemStatsContributorsRequestBuilder
Contributors the contributors property returns a *ItemItemStatsContributorsRequestBuilder when successful
func (*ItemItemStatsRequestBuilder) Participation ¶
func (m *ItemItemStatsRequestBuilder) Participation() *ItemItemStatsParticipationRequestBuilder
Participation the participation property returns a *ItemItemStatsParticipationRequestBuilder when successful
func (*ItemItemStatsRequestBuilder) Punch_card ¶
func (m *ItemItemStatsRequestBuilder) Punch_card() *ItemItemStatsPunch_cardRequestBuilder
Punch_card the punch_card property returns a *ItemItemStatsPunch_cardRequestBuilder when successful
type ItemItemStatusesItemWithShaPostRequestBody ¶
type ItemItemStatusesItemWithShaPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemStatusesItemWithShaPostRequestBody ¶
func NewItemItemStatusesItemWithShaPostRequestBody() *ItemItemStatusesItemWithShaPostRequestBody
NewItemItemStatusesItemWithShaPostRequestBody instantiates a new ItemItemStatusesItemWithShaPostRequestBody and sets the default values.
func (*ItemItemStatusesItemWithShaPostRequestBody) GetAdditionalData ¶
func (m *ItemItemStatusesItemWithShaPostRequestBody) 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 (*ItemItemStatusesItemWithShaPostRequestBody) GetContext ¶
func (m *ItemItemStatusesItemWithShaPostRequestBody) GetContext() *string
GetContext gets the context property value. A string label to differentiate this status from the status of other systems. This field is case-insensitive. returns a *string when successful
func (*ItemItemStatusesItemWithShaPostRequestBody) GetDescription ¶
func (m *ItemItemStatusesItemWithShaPostRequestBody) GetDescription() *string
GetDescription gets the description property value. A short description of the status. returns a *string when successful
func (*ItemItemStatusesItemWithShaPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemStatusesItemWithShaPostRequestBody) 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 (*ItemItemStatusesItemWithShaPostRequestBody) GetTargetUrl ¶
func (m *ItemItemStatusesItemWithShaPostRequestBody) GetTargetUrl() *string
GetTargetUrl gets the target_url property value. The target URL to associate with this status. This URL will be linked from the GitHub UI to allow users to easily see the source of the status. For example, if your continuous integration system is posting build status, you would want to provide the deep link for the build output for this specific SHA: `http://ci.example.com/user/repo/build/sha` returns a *string when successful
func (*ItemItemStatusesItemWithShaPostRequestBody) Serialize ¶
func (m *ItemItemStatusesItemWithShaPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemStatusesItemWithShaPostRequestBody) SetAdditionalData ¶
func (m *ItemItemStatusesItemWithShaPostRequestBody) 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 (*ItemItemStatusesItemWithShaPostRequestBody) SetContext ¶
func (m *ItemItemStatusesItemWithShaPostRequestBody) SetContext(value *string)
SetContext sets the context property value. A string label to differentiate this status from the status of other systems. This field is case-insensitive.
func (*ItemItemStatusesItemWithShaPostRequestBody) SetDescription ¶
func (m *ItemItemStatusesItemWithShaPostRequestBody) SetDescription(value *string)
SetDescription sets the description property value. A short description of the status.
func (*ItemItemStatusesItemWithShaPostRequestBody) SetTargetUrl ¶
func (m *ItemItemStatusesItemWithShaPostRequestBody) SetTargetUrl(value *string)
SetTargetUrl sets the target_url property value. The target URL to associate with this status. This URL will be linked from the GitHub UI to allow users to easily see the source of the status. For example, if your continuous integration system is posting build status, you would want to provide the deep link for the build output for this specific SHA: `http://ci.example.com/user/repo/build/sha`
type ItemItemStatusesItemWithShaPostRequestBodyable ¶
type ItemItemStatusesItemWithShaPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetContext() *string GetDescription() *string GetTargetUrl() *string SetContext(value *string) SetDescription(value *string) SetTargetUrl(value *string) }
type ItemItemStatusesRequestBuilder ¶
type ItemItemStatusesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemStatusesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\statuses
func NewItemItemStatusesRequestBuilder ¶
func NewItemItemStatusesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemStatusesRequestBuilder
NewItemItemStatusesRequestBuilder instantiates a new ItemItemStatusesRequestBuilder and sets the default values.
func NewItemItemStatusesRequestBuilderInternal ¶
func NewItemItemStatusesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemStatusesRequestBuilder
NewItemItemStatusesRequestBuilderInternal instantiates a new ItemItemStatusesRequestBuilder and sets the default values.
func (*ItemItemStatusesRequestBuilder) BySha ¶
func (m *ItemItemStatusesRequestBuilder) BySha(sha string) *ItemItemStatusesWithShaItemRequestBuilder
BySha gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.statuses.item collection returns a *ItemItemStatusesWithShaItemRequestBuilder when successful
type ItemItemStatusesWithShaItemRequestBuilder ¶
type ItemItemStatusesWithShaItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemStatusesWithShaItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\statuses\{sha}
func NewItemItemStatusesWithShaItemRequestBuilder ¶
func NewItemItemStatusesWithShaItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemStatusesWithShaItemRequestBuilder
NewItemItemStatusesWithShaItemRequestBuilder instantiates a new ItemItemStatusesWithShaItemRequestBuilder and sets the default values.
func NewItemItemStatusesWithShaItemRequestBuilderInternal ¶
func NewItemItemStatusesWithShaItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemStatusesWithShaItemRequestBuilder
NewItemItemStatusesWithShaItemRequestBuilderInternal instantiates a new ItemItemStatusesWithShaItemRequestBuilder and sets the default values.
func (*ItemItemStatusesWithShaItemRequestBuilder) Post ¶
func (m *ItemItemStatusesWithShaItemRequestBuilder) Post(ctx context.Context, body ItemItemStatusesItemWithShaPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Statusable, error)
Post users with push access in a repository can create commit statuses for a given SHA.Note: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error. returns a Statusable when successful API method documentation
func (*ItemItemStatusesWithShaItemRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemStatusesWithShaItemRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemStatusesItemWithShaPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation users with push access in a repository can create commit statuses for a given SHA.Note: there is a limit of 1000 statuses per `sha` and `context` within a repository. Attempts to create more than 1000 statuses will result in a validation error. returns a *RequestInformation when successful
func (*ItemItemStatusesWithShaItemRequestBuilder) WithUrl ¶
func (m *ItemItemStatusesWithShaItemRequestBuilder) WithUrl(rawUrl string) *ItemItemStatusesWithShaItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemStatusesWithShaItemRequestBuilder when successful
type ItemItemSubscribersRequestBuilder ¶
type ItemItemSubscribersRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemSubscribersRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\subscribers
func NewItemItemSubscribersRequestBuilder ¶
func NewItemItemSubscribersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemSubscribersRequestBuilder
NewItemItemSubscribersRequestBuilder instantiates a new ItemItemSubscribersRequestBuilder and sets the default values.
func NewItemItemSubscribersRequestBuilderInternal ¶
func NewItemItemSubscribersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemSubscribersRequestBuilder
NewItemItemSubscribersRequestBuilderInternal instantiates a new ItemItemSubscribersRequestBuilder and sets the default values.
func (*ItemItemSubscribersRequestBuilder) Get ¶
func (m *ItemItemSubscribersRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemSubscribersRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SimpleUserable, error)
Get lists the people watching the specified repository. returns a []SimpleUserable when successful API method documentation
func (*ItemItemSubscribersRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemSubscribersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemSubscribersRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the people watching the specified repository. returns a *RequestInformation when successful
func (*ItemItemSubscribersRequestBuilder) WithUrl ¶
func (m *ItemItemSubscribersRequestBuilder) WithUrl(rawUrl string) *ItemItemSubscribersRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemSubscribersRequestBuilder when successful
type ItemItemSubscribersRequestBuilderGetQueryParameters ¶
type ItemItemSubscribersRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemSubscribersRequestBuilderGetQueryParameters lists the people watching the specified repository.
type ItemItemSubscriptionPutRequestBody ¶
type ItemItemSubscriptionPutRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemSubscriptionPutRequestBody ¶
func NewItemItemSubscriptionPutRequestBody() *ItemItemSubscriptionPutRequestBody
NewItemItemSubscriptionPutRequestBody instantiates a new ItemItemSubscriptionPutRequestBody and sets the default values.
func (*ItemItemSubscriptionPutRequestBody) GetAdditionalData ¶
func (m *ItemItemSubscriptionPutRequestBody) 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 (*ItemItemSubscriptionPutRequestBody) GetFieldDeserializers ¶
func (m *ItemItemSubscriptionPutRequestBody) 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 (*ItemItemSubscriptionPutRequestBody) GetIgnored ¶
func (m *ItemItemSubscriptionPutRequestBody) GetIgnored() *bool
GetIgnored gets the ignored property value. Determines if all notifications should be blocked from this repository. returns a *bool when successful
func (*ItemItemSubscriptionPutRequestBody) GetSubscribed ¶
func (m *ItemItemSubscriptionPutRequestBody) GetSubscribed() *bool
GetSubscribed gets the subscribed property value. Determines if notifications should be received from this repository. returns a *bool when successful
func (*ItemItemSubscriptionPutRequestBody) Serialize ¶
func (m *ItemItemSubscriptionPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemSubscriptionPutRequestBody) SetAdditionalData ¶
func (m *ItemItemSubscriptionPutRequestBody) 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 (*ItemItemSubscriptionPutRequestBody) SetIgnored ¶
func (m *ItemItemSubscriptionPutRequestBody) SetIgnored(value *bool)
SetIgnored sets the ignored property value. Determines if all notifications should be blocked from this repository.
func (*ItemItemSubscriptionPutRequestBody) SetSubscribed ¶
func (m *ItemItemSubscriptionPutRequestBody) SetSubscribed(value *bool)
SetSubscribed sets the subscribed property value. Determines if notifications should be received from this repository.
type ItemItemSubscriptionPutRequestBodyable ¶
type ItemItemSubscriptionPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetIgnored() *bool GetSubscribed() *bool SetIgnored(value *bool) SetSubscribed(value *bool) }
type ItemItemSubscriptionRequestBuilder ¶
type ItemItemSubscriptionRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemSubscriptionRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\subscription
func NewItemItemSubscriptionRequestBuilder ¶
func NewItemItemSubscriptionRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemSubscriptionRequestBuilder
NewItemItemSubscriptionRequestBuilder instantiates a new ItemItemSubscriptionRequestBuilder and sets the default values.
func NewItemItemSubscriptionRequestBuilderInternal ¶
func NewItemItemSubscriptionRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemSubscriptionRequestBuilder
NewItemItemSubscriptionRequestBuilderInternal instantiates a new ItemItemSubscriptionRequestBuilder and sets the default values.
func (*ItemItemSubscriptionRequestBuilder) Delete ¶
func (m *ItemItemSubscriptionRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete this endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-server@3.10/rest/activity/watching#set-a-repository-subscription). API method documentation
func (*ItemItemSubscriptionRequestBuilder) Get ¶
func (m *ItemItemSubscriptionRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositorySubscriptionable, error)
Get gets information about whether the authenticated user is subscribed to the repository. returns a RepositorySubscriptionable when successful returns a BasicError error when the service returns a 403 status code API method documentation
func (*ItemItemSubscriptionRequestBuilder) Put ¶
func (m *ItemItemSubscriptionRequestBuilder) Put(ctx context.Context, body ItemItemSubscriptionPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositorySubscriptionable, error)
Put if you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-server@3.10/rest/activity/watching#delete-a-repository-subscription) completely. returns a RepositorySubscriptionable when successful API method documentation
func (*ItemItemSubscriptionRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemSubscriptionRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation this endpoint should only be used to stop watching a repository. To control whether or not you wish to receive notifications from a repository, [set the repository's subscription manually](https://docs.github.com/enterprise-server@3.10/rest/activity/watching#set-a-repository-subscription). returns a *RequestInformation when successful
func (*ItemItemSubscriptionRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemSubscriptionRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets information about whether the authenticated user is subscribed to the repository. returns a *RequestInformation when successful
func (*ItemItemSubscriptionRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemSubscriptionRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemSubscriptionPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation if you would like to watch a repository, set `subscribed` to `true`. If you would like to ignore notifications made within a repository, set `ignored` to `true`. If you would like to stop watching a repository, [delete the repository's subscription](https://docs.github.com/enterprise-server@3.10/rest/activity/watching#delete-a-repository-subscription) completely. returns a *RequestInformation when successful
func (*ItemItemSubscriptionRequestBuilder) WithUrl ¶
func (m *ItemItemSubscriptionRequestBuilder) WithUrl(rawUrl string) *ItemItemSubscriptionRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemSubscriptionRequestBuilder when successful
type ItemItemTagsProtectionPostRequestBody ¶
type ItemItemTagsProtectionPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemTagsProtectionPostRequestBody ¶
func NewItemItemTagsProtectionPostRequestBody() *ItemItemTagsProtectionPostRequestBody
NewItemItemTagsProtectionPostRequestBody instantiates a new ItemItemTagsProtectionPostRequestBody and sets the default values.
func (*ItemItemTagsProtectionPostRequestBody) GetAdditionalData ¶
func (m *ItemItemTagsProtectionPostRequestBody) 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 (*ItemItemTagsProtectionPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemTagsProtectionPostRequestBody) 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 (*ItemItemTagsProtectionPostRequestBody) GetPattern ¶
func (m *ItemItemTagsProtectionPostRequestBody) GetPattern() *string
GetPattern gets the pattern property value. An optional glob pattern to match against when enforcing tag protection. returns a *string when successful
func (*ItemItemTagsProtectionPostRequestBody) Serialize ¶
func (m *ItemItemTagsProtectionPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemTagsProtectionPostRequestBody) SetAdditionalData ¶
func (m *ItemItemTagsProtectionPostRequestBody) 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 (*ItemItemTagsProtectionPostRequestBody) SetPattern ¶
func (m *ItemItemTagsProtectionPostRequestBody) SetPattern(value *string)
SetPattern sets the pattern property value. An optional glob pattern to match against when enforcing tag protection.
type ItemItemTagsProtectionPostRequestBodyable ¶
type ItemItemTagsProtectionPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetPattern() *string SetPattern(value *string) }
type ItemItemTagsProtectionRequestBuilder ¶
type ItemItemTagsProtectionRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemTagsProtectionRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\tags\protection
func NewItemItemTagsProtectionRequestBuilder ¶
func NewItemItemTagsProtectionRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemTagsProtectionRequestBuilder
NewItemItemTagsProtectionRequestBuilder instantiates a new ItemItemTagsProtectionRequestBuilder and sets the default values.
func NewItemItemTagsProtectionRequestBuilderInternal ¶
func NewItemItemTagsProtectionRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemTagsProtectionRequestBuilder
NewItemItemTagsProtectionRequestBuilderInternal instantiates a new ItemItemTagsProtectionRequestBuilder and sets the default values.
func (*ItemItemTagsProtectionRequestBuilder) ByTag_protection_id ¶
func (m *ItemItemTagsProtectionRequestBuilder) ByTag_protection_id(tag_protection_id int32) *ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder
ByTag_protection_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.tags.protection.item collection Deprecated: returns a *ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder when successful
func (*ItemItemTagsProtectionRequestBuilder) Get ¶
func (m *ItemItemTagsProtectionRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.TagProtectionable, error)
Get > [!WARNING]> **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/enterprise-server@3.10/rest/repos/rules#get-all-repository-rulesets)" endpoint instead.This returns the tag protection states of a repository.This information is only available to repository administrators. Deprecated: returns a []TagProtectionable 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 (*ItemItemTagsProtectionRequestBuilder) Post ¶
func (m *ItemItemTagsProtectionRequestBuilder) Post(ctx context.Context, body ItemItemTagsProtectionPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.TagProtectionable, error)
Post > [!WARNING]> **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/enterprise-server@3.10/rest/repos/rules#create-a-repository-ruleset)" endpoint instead.This creates a tag protection state for a repository.This endpoint is only available to repository administrators. Deprecated: returns a TagProtectionable 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 (*ItemItemTagsProtectionRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemTagsProtectionRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation > [!WARNING]> **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/enterprise-server@3.10/rest/repos/rules#get-all-repository-rulesets)" endpoint instead.This returns the tag protection states of a repository.This information is only available to repository administrators. Deprecated: returns a *RequestInformation when successful
func (*ItemItemTagsProtectionRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemTagsProtectionRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemTagsProtectionPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation > [!WARNING]> **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/enterprise-server@3.10/rest/repos/rules#create-a-repository-ruleset)" endpoint instead.This creates a tag protection state for a repository.This endpoint is only available to repository administrators. Deprecated: returns a *RequestInformation when successful
func (*ItemItemTagsProtectionRequestBuilder) WithUrl ¶
func (m *ItemItemTagsProtectionRequestBuilder) WithUrl(rawUrl string) *ItemItemTagsProtectionRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. Deprecated: returns a *ItemItemTagsProtectionRequestBuilder when successful
type ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder ¶
type ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\tags\protection\{tag_protection_id}
func NewItemItemTagsProtectionWithTag_protection_ItemRequestBuilder ¶
func NewItemItemTagsProtectionWithTag_protection_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder
NewItemItemTagsProtectionWithTag_protection_ItemRequestBuilder instantiates a new ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder and sets the default values.
func NewItemItemTagsProtectionWithTag_protection_ItemRequestBuilderInternal ¶
func NewItemItemTagsProtectionWithTag_protection_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder
NewItemItemTagsProtectionWithTag_protection_ItemRequestBuilderInternal instantiates a new ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder and sets the default values.
func (*ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder) Delete ¶
func (m *ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete > [!WARNING]> **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/enterprise-server@3.10/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead.This deletes a tag protection state for a repository.This endpoint is only available to repository administrators. Deprecated: 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 (*ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation > [!WARNING]> **Deprecation notice:** This operation is deprecated and will be removed after August 30, 2024. Use the "[Repository Rulesets](https://docs.github.com/enterprise-server@3.10/rest/repos/rules#delete-a-repository-ruleset)" endpoint instead.This deletes a tag protection state for a repository.This endpoint is only available to repository administrators. Deprecated: returns a *RequestInformation when successful
func (*ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder) WithUrl ¶
func (m *ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder) WithUrl(rawUrl string) *ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. Deprecated: returns a *ItemItemTagsProtectionWithTag_protection_ItemRequestBuilder when successful
type ItemItemTagsRequestBuilder ¶
type ItemItemTagsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemTagsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\tags
func NewItemItemTagsRequestBuilder ¶
func NewItemItemTagsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemTagsRequestBuilder
NewItemItemTagsRequestBuilder instantiates a new ItemItemTagsRequestBuilder and sets the default values.
func NewItemItemTagsRequestBuilderInternal ¶
func NewItemItemTagsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemTagsRequestBuilder
NewItemItemTagsRequestBuilderInternal instantiates a new ItemItemTagsRequestBuilder and sets the default values.
func (*ItemItemTagsRequestBuilder) Get ¶
func (m *ItemItemTagsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemTagsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Tagable, error)
Get list repository tags returns a []Tagable when successful API method documentation
func (*ItemItemTagsRequestBuilder) Protection ¶
func (m *ItemItemTagsRequestBuilder) Protection() *ItemItemTagsProtectionRequestBuilder
Protection the protection property returns a *ItemItemTagsProtectionRequestBuilder when successful
func (*ItemItemTagsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemTagsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemTagsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*ItemItemTagsRequestBuilder) WithUrl ¶
func (m *ItemItemTagsRequestBuilder) WithUrl(rawUrl string) *ItemItemTagsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemTagsRequestBuilder when successful
type ItemItemTagsRequestBuilderGetQueryParameters ¶
type ItemItemTagsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemTagsRequestBuilderGetQueryParameters list repository tags
type ItemItemTarballRequestBuilder ¶
type ItemItemTarballRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemTarballRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\tarball
func NewItemItemTarballRequestBuilder ¶
func NewItemItemTarballRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemTarballRequestBuilder
NewItemItemTarballRequestBuilder instantiates a new ItemItemTarballRequestBuilder and sets the default values.
func NewItemItemTarballRequestBuilderInternal ¶
func NewItemItemTarballRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemTarballRequestBuilder
NewItemItemTarballRequestBuilderInternal instantiates a new ItemItemTarballRequestBuilder and sets the default values.
func (*ItemItemTarballRequestBuilder) ByRef ¶
func (m *ItemItemTarballRequestBuilder) ByRef(ref string) *ItemItemTarballWithRefItemRequestBuilder
ByRef gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.tarball.item collection returns a *ItemItemTarballWithRefItemRequestBuilder when successful
type ItemItemTarballWithRefItemRequestBuilder ¶
type ItemItemTarballWithRefItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemTarballWithRefItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\tarball\{ref}
func NewItemItemTarballWithRefItemRequestBuilder ¶
func NewItemItemTarballWithRefItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemTarballWithRefItemRequestBuilder
NewItemItemTarballWithRefItemRequestBuilder instantiates a new ItemItemTarballWithRefItemRequestBuilder and sets the default values.
func NewItemItemTarballWithRefItemRequestBuilderInternal ¶
func NewItemItemTarballWithRefItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemTarballWithRefItemRequestBuilder
NewItemItemTarballWithRefItemRequestBuilderInternal instantiates a new ItemItemTarballWithRefItemRequestBuilder and sets the default values.
func (*ItemItemTarballWithRefItemRequestBuilder) Get ¶
func (m *ItemItemTarballWithRefItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Get gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually`main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to usethe `Location` header to make a second `GET` request.> [!NOTE]> For private repositories, these links are temporary and expire after five minutes. API method documentation
func (*ItemItemTarballWithRefItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemTarballWithRefItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a redirect URL to download a tar archive for a repository. If you omit `:ref`, the repository’s default branch (usually`main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to usethe `Location` header to make a second `GET` request.> [!NOTE]> For private repositories, these links are temporary and expire after five minutes. returns a *RequestInformation when successful
func (*ItemItemTarballWithRefItemRequestBuilder) WithUrl ¶
func (m *ItemItemTarballWithRefItemRequestBuilder) WithUrl(rawUrl string) *ItemItemTarballWithRefItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemTarballWithRefItemRequestBuilder when successful
type ItemItemTeamsRequestBuilder ¶
type ItemItemTeamsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemTeamsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\teams
func NewItemItemTeamsRequestBuilder ¶
func NewItemItemTeamsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemTeamsRequestBuilder
NewItemItemTeamsRequestBuilder instantiates a new ItemItemTeamsRequestBuilder and sets the default values.
func NewItemItemTeamsRequestBuilderInternal ¶
func NewItemItemTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemTeamsRequestBuilder
NewItemItemTeamsRequestBuilderInternal instantiates a new ItemItemTeamsRequestBuilder and sets the default values.
func (*ItemItemTeamsRequestBuilder) Get ¶
func (m *ItemItemTeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemTeamsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Teamable, error)
Get lists the teams that have access to the specified repository and that are also visible to the authenticated user.For a public repository, a team is listed only if that team added the public repository explicitly.OAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to use this endpoint with a public repository, and `repo` scope to use this endpoint with a private repository. returns a []Teamable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemTeamsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemTeamsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the teams that have access to the specified repository and that are also visible to the authenticated user.For a public repository, a team is listed only if that team added the public repository explicitly.OAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to use this endpoint with a public repository, and `repo` scope to use this endpoint with a private repository. returns a *RequestInformation when successful
func (*ItemItemTeamsRequestBuilder) WithUrl ¶
func (m *ItemItemTeamsRequestBuilder) WithUrl(rawUrl string) *ItemItemTeamsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemTeamsRequestBuilder when successful
type ItemItemTeamsRequestBuilderGetQueryParameters ¶
type ItemItemTeamsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemTeamsRequestBuilderGetQueryParameters lists the teams that have access to the specified repository and that are also visible to the authenticated user.For a public repository, a team is listed only if that team added the public repository explicitly.OAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to use this endpoint with a public repository, and `repo` scope to use this endpoint with a private repository.
type ItemItemTopicsPutRequestBody ¶
type ItemItemTopicsPutRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemTopicsPutRequestBody ¶
func NewItemItemTopicsPutRequestBody() *ItemItemTopicsPutRequestBody
NewItemItemTopicsPutRequestBody instantiates a new ItemItemTopicsPutRequestBody and sets the default values.
func (*ItemItemTopicsPutRequestBody) GetAdditionalData ¶
func (m *ItemItemTopicsPutRequestBody) 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 (*ItemItemTopicsPutRequestBody) GetFieldDeserializers ¶
func (m *ItemItemTopicsPutRequestBody) 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 (*ItemItemTopicsPutRequestBody) GetNames ¶
func (m *ItemItemTopicsPutRequestBody) GetNames() []string
GetNames gets the names property value. An array of topics to add to the repository. Pass one or more topics to _replace_ the set of existing topics. Send an empty array (`[]`) to clear all topics from the repository. **Note:** Topic `names` cannot contain uppercase letters. returns a []string when successful
func (*ItemItemTopicsPutRequestBody) Serialize ¶
func (m *ItemItemTopicsPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemTopicsPutRequestBody) SetAdditionalData ¶
func (m *ItemItemTopicsPutRequestBody) 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 (*ItemItemTopicsPutRequestBody) SetNames ¶
func (m *ItemItemTopicsPutRequestBody) SetNames(value []string)
SetNames sets the names property value. An array of topics to add to the repository. Pass one or more topics to _replace_ the set of existing topics. Send an empty array (`[]`) to clear all topics from the repository. **Note:** Topic `names` cannot contain uppercase letters.
type ItemItemTopicsPutRequestBodyable ¶
type ItemItemTopicsPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetNames() []string SetNames(value []string) }
type ItemItemTopicsRequestBuilder ¶
type ItemItemTopicsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemTopicsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\topics
func NewItemItemTopicsRequestBuilder ¶
func NewItemItemTopicsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemTopicsRequestBuilder
NewItemItemTopicsRequestBuilder instantiates a new ItemItemTopicsRequestBuilder and sets the default values.
func NewItemItemTopicsRequestBuilderInternal ¶
func NewItemItemTopicsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemTopicsRequestBuilder
NewItemItemTopicsRequestBuilderInternal instantiates a new ItemItemTopicsRequestBuilder and sets the default values.
func (*ItemItemTopicsRequestBuilder) Get ¶
func (m *ItemItemTopicsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemTopicsRequestBuilderGetQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Topicable, error)
Get get all repository topics returns a Topicable when successful returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemItemTopicsRequestBuilder) Put ¶
func (m *ItemItemTopicsRequestBuilder) Put(ctx context.Context, body ItemItemTopicsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Topicable, error)
Put replace all repository topics returns a Topicable when successful returns a BasicError error when the service returns a 404 status code returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation
func (*ItemItemTopicsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemTopicsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemItemTopicsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*ItemItemTopicsRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemTopicsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemItemTopicsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*ItemItemTopicsRequestBuilder) WithUrl ¶
func (m *ItemItemTopicsRequestBuilder) WithUrl(rawUrl string) *ItemItemTopicsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemTopicsRequestBuilder when successful
type ItemItemTopicsRequestBuilderGetQueryParameters ¶
type ItemItemTopicsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `uriparametername:"page"` // The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemItemTopicsRequestBuilderGetQueryParameters get all repository topics
type ItemItemTransferPostRequestBody ¶
type ItemItemTransferPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemItemTransferPostRequestBody ¶
func NewItemItemTransferPostRequestBody() *ItemItemTransferPostRequestBody
NewItemItemTransferPostRequestBody instantiates a new ItemItemTransferPostRequestBody and sets the default values.
func (*ItemItemTransferPostRequestBody) GetAdditionalData ¶
func (m *ItemItemTransferPostRequestBody) 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 (*ItemItemTransferPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemTransferPostRequestBody) 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 (*ItemItemTransferPostRequestBody) GetNewName ¶
func (m *ItemItemTransferPostRequestBody) GetNewName() *string
GetNewName gets the new_name property value. The new name to be given to the repository. returns a *string when successful
func (*ItemItemTransferPostRequestBody) GetNewOwner ¶
func (m *ItemItemTransferPostRequestBody) GetNewOwner() *string
GetNewOwner gets the new_owner property value. The username or organization name the repository will be transferred to. returns a *string when successful
func (*ItemItemTransferPostRequestBody) GetTeamIds ¶
func (m *ItemItemTransferPostRequestBody) GetTeamIds() []int32
GetTeamIds gets the team_ids property value. ID of the team or teams to add to the repository. Teams can only be added to organization-owned repositories. returns a []int32 when successful
func (*ItemItemTransferPostRequestBody) Serialize ¶
func (m *ItemItemTransferPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemItemTransferPostRequestBody) SetAdditionalData ¶
func (m *ItemItemTransferPostRequestBody) 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 (*ItemItemTransferPostRequestBody) SetNewName ¶
func (m *ItemItemTransferPostRequestBody) SetNewName(value *string)
SetNewName sets the new_name property value. The new name to be given to the repository.
func (*ItemItemTransferPostRequestBody) SetNewOwner ¶
func (m *ItemItemTransferPostRequestBody) SetNewOwner(value *string)
SetNewOwner sets the new_owner property value. The username or organization name the repository will be transferred to.
func (*ItemItemTransferPostRequestBody) SetTeamIds ¶
func (m *ItemItemTransferPostRequestBody) SetTeamIds(value []int32)
SetTeamIds sets the team_ids property value. ID of the team or teams to add to the repository. Teams can only be added to organization-owned repositories.
type ItemItemTransferPostRequestBodyable ¶
type ItemItemTransferPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetNewName() *string GetNewOwner() *string GetTeamIds() []int32 SetNewName(value *string) SetNewOwner(value *string) SetTeamIds(value []int32) }
type ItemItemTransferRequestBuilder ¶
type ItemItemTransferRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemTransferRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\transfer
func NewItemItemTransferRequestBuilder ¶
func NewItemItemTransferRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemTransferRequestBuilder
NewItemItemTransferRequestBuilder instantiates a new ItemItemTransferRequestBuilder and sets the default values.
func NewItemItemTransferRequestBuilderInternal ¶
func NewItemItemTransferRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemTransferRequestBuilder
NewItemItemTransferRequestBuilderInternal instantiates a new ItemItemTransferRequestBuilder and sets the default values.
func (*ItemItemTransferRequestBuilder) Post ¶
func (m *ItemItemTransferRequestBuilder) Post(ctx context.Context, body ItemItemTransferPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable, error)
Post a transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://docs.github.com/enterprise-server@3.10/articles/about-repository-transfers/). returns a MinimalRepositoryable when successful API method documentation
func (*ItemItemTransferRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemTransferRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemTransferPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation a transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://docs.github.com/enterprise-server@3.10/articles/about-repository-transfers/). returns a *RequestInformation when successful
func (*ItemItemTransferRequestBuilder) WithUrl ¶
func (m *ItemItemTransferRequestBuilder) WithUrl(rawUrl string) *ItemItemTransferRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemTransferRequestBuilder when successful
type ItemItemVulnerabilityAlertsRequestBuilder ¶
type ItemItemVulnerabilityAlertsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemVulnerabilityAlertsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\vulnerability-alerts
func NewItemItemVulnerabilityAlertsRequestBuilder ¶
func NewItemItemVulnerabilityAlertsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemVulnerabilityAlertsRequestBuilder
NewItemItemVulnerabilityAlertsRequestBuilder instantiates a new ItemItemVulnerabilityAlertsRequestBuilder and sets the default values.
func NewItemItemVulnerabilityAlertsRequestBuilderInternal ¶
func NewItemItemVulnerabilityAlertsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemVulnerabilityAlertsRequestBuilder
NewItemItemVulnerabilityAlertsRequestBuilderInternal instantiates a new ItemItemVulnerabilityAlertsRequestBuilder and sets the default values.
func (*ItemItemVulnerabilityAlertsRequestBuilder) Delete ¶
func (m *ItemItemVulnerabilityAlertsRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete disables dependency alerts for a repository.The authenticated user must have admin access to the repository. For more information,see "[About security alerts for vulnerable dependencies](https://docs.github.com/enterprise-server@3.10/articles/about-security-alerts-for-vulnerable-dependencies)". API method documentation
func (*ItemItemVulnerabilityAlertsRequestBuilder) Get ¶
func (m *ItemItemVulnerabilityAlertsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Get shows whether dependency alerts are enabled or disabled for a repository. The authenticated user must have admin read access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://docs.github.com/enterprise-server@3.10/articles/about-security-alerts-for-vulnerable-dependencies)". API method documentation
func (*ItemItemVulnerabilityAlertsRequestBuilder) Put ¶
func (m *ItemItemVulnerabilityAlertsRequestBuilder) Put(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://docs.github.com/enterprise-server@3.10/articles/about-security-alerts-for-vulnerable-dependencies)". API method documentation
func (*ItemItemVulnerabilityAlertsRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemItemVulnerabilityAlertsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation disables dependency alerts for a repository.The authenticated user must have admin access to the repository. For more information,see "[About security alerts for vulnerable dependencies](https://docs.github.com/enterprise-server@3.10/articles/about-security-alerts-for-vulnerable-dependencies)". returns a *RequestInformation when successful
func (*ItemItemVulnerabilityAlertsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemVulnerabilityAlertsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation shows whether dependency alerts are enabled or disabled for a repository. The authenticated user must have admin read access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://docs.github.com/enterprise-server@3.10/articles/about-security-alerts-for-vulnerable-dependencies)". returns a *RequestInformation when successful
func (*ItemItemVulnerabilityAlertsRequestBuilder) ToPutRequestInformation ¶
func (m *ItemItemVulnerabilityAlertsRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://docs.github.com/enterprise-server@3.10/articles/about-security-alerts-for-vulnerable-dependencies)". returns a *RequestInformation when successful
func (*ItemItemVulnerabilityAlertsRequestBuilder) WithUrl ¶
func (m *ItemItemVulnerabilityAlertsRequestBuilder) WithUrl(rawUrl string) *ItemItemVulnerabilityAlertsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemVulnerabilityAlertsRequestBuilder when successful
type ItemItemZipballRequestBuilder ¶
type ItemItemZipballRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemZipballRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\zipball
func NewItemItemZipballRequestBuilder ¶
func NewItemItemZipballRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemZipballRequestBuilder
NewItemItemZipballRequestBuilder instantiates a new ItemItemZipballRequestBuilder and sets the default values.
func NewItemItemZipballRequestBuilderInternal ¶
func NewItemItemZipballRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemZipballRequestBuilder
NewItemItemZipballRequestBuilderInternal instantiates a new ItemItemZipballRequestBuilder and sets the default values.
func (*ItemItemZipballRequestBuilder) ByRef ¶
func (m *ItemItemZipballRequestBuilder) ByRef(ref string) *ItemItemZipballWithRefItemRequestBuilder
ByRef gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item.zipball.item collection returns a *ItemItemZipballWithRefItemRequestBuilder when successful
type ItemItemZipballWithRefItemRequestBuilder ¶
type ItemItemZipballWithRefItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemZipballWithRefItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\zipball\{ref}
func NewItemItemZipballWithRefItemRequestBuilder ¶
func NewItemItemZipballWithRefItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemZipballWithRefItemRequestBuilder
NewItemItemZipballWithRefItemRequestBuilder instantiates a new ItemItemZipballWithRefItemRequestBuilder and sets the default values.
func NewItemItemZipballWithRefItemRequestBuilderInternal ¶
func NewItemItemZipballWithRefItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemZipballWithRefItemRequestBuilder
NewItemItemZipballWithRefItemRequestBuilderInternal instantiates a new ItemItemZipballWithRefItemRequestBuilder and sets the default values.
func (*ItemItemZipballWithRefItemRequestBuilder) Get ¶
func (m *ItemItemZipballWithRefItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Get gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually`main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to usethe `Location` header to make a second `GET` request.> [!NOTE]> For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect. API method documentation
func (*ItemItemZipballWithRefItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemItemZipballWithRefItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a redirect URL to download a zip archive for a repository. If you omit `:ref`, the repository’s default branch (usually`main`) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to usethe `Location` header to make a second `GET` request.> [!NOTE]> For private repositories, these links are temporary and expire after five minutes. If the repository is empty, you will receive a 404 when you follow the redirect. returns a *RequestInformation when successful
func (*ItemItemZipballWithRefItemRequestBuilder) WithUrl ¶
func (m *ItemItemZipballWithRefItemRequestBuilder) WithUrl(rawUrl string) *ItemItemZipballWithRefItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemZipballWithRefItemRequestBuilder when successful
type ItemRepoItemRequestBuilder ¶
type ItemRepoItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemRepoItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}
func NewItemRepoItemRequestBuilder ¶
func NewItemRepoItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRepoItemRequestBuilder
NewItemRepoItemRequestBuilder instantiates a new ItemRepoItemRequestBuilder and sets the default values.
func NewItemRepoItemRequestBuilderInternal ¶
func NewItemRepoItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRepoItemRequestBuilder
NewItemRepoItemRequestBuilderInternal instantiates a new ItemRepoItemRequestBuilder and sets the default values.
func (*ItemRepoItemRequestBuilder) Actions ¶
func (m *ItemRepoItemRequestBuilder) Actions() *ItemItemActionsRequestBuilder
Actions the actions property returns a *ItemItemActionsRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Assignees ¶
func (m *ItemRepoItemRequestBuilder) Assignees() *ItemItemAssigneesRequestBuilder
Assignees the assignees property returns a *ItemItemAssigneesRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Autolinks ¶
func (m *ItemRepoItemRequestBuilder) Autolinks() *ItemItemAutolinksRequestBuilder
Autolinks the autolinks property returns a *ItemItemAutolinksRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) AutomatedSecurityFixes ¶
func (m *ItemRepoItemRequestBuilder) AutomatedSecurityFixes() *ItemItemAutomatedSecurityFixesRequestBuilder
AutomatedSecurityFixes the automatedSecurityFixes property returns a *ItemItemAutomatedSecurityFixesRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Branches ¶
func (m *ItemRepoItemRequestBuilder) Branches() *ItemItemBranchesRequestBuilder
Branches the branches property returns a *ItemItemBranchesRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) CheckRuns ¶
func (m *ItemRepoItemRequestBuilder) CheckRuns() *ItemItemCheckRunsRequestBuilder
CheckRuns the checkRuns property returns a *ItemItemCheckRunsRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) CheckSuites ¶
func (m *ItemRepoItemRequestBuilder) CheckSuites() *ItemItemCheckSuitesRequestBuilder
CheckSuites the checkSuites property returns a *ItemItemCheckSuitesRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) CodeScanning ¶
func (m *ItemRepoItemRequestBuilder) CodeScanning() *ItemItemCodeScanningRequestBuilder
CodeScanning the codeScanning property returns a *ItemItemCodeScanningRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Codeowners ¶
func (m *ItemRepoItemRequestBuilder) Codeowners() *ItemItemCodeownersRequestBuilder
Codeowners the codeowners property returns a *ItemItemCodeownersRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Collaborators ¶
func (m *ItemRepoItemRequestBuilder) Collaborators() *ItemItemCollaboratorsRequestBuilder
Collaborators the collaborators property returns a *ItemItemCollaboratorsRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Comments ¶
func (m *ItemRepoItemRequestBuilder) Comments() *ItemItemCommentsRequestBuilder
Comments the comments property returns a *ItemItemCommentsRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Commits ¶
func (m *ItemRepoItemRequestBuilder) Commits() *ItemItemCommitsRequestBuilder
Commits the commits property returns a *ItemItemCommitsRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Compare ¶
func (m *ItemRepoItemRequestBuilder) Compare() *ItemItemCompareRequestBuilder
Compare the compare property returns a *ItemItemCompareRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Contents ¶
func (m *ItemRepoItemRequestBuilder) Contents() *ItemItemContentsRequestBuilder
Contents the contents property returns a *ItemItemContentsRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Contributors ¶
func (m *ItemRepoItemRequestBuilder) Contributors() *ItemItemContributorsRequestBuilder
Contributors the contributors property returns a *ItemItemContributorsRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Delete ¶
func (m *ItemRepoItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete deleting a repository requires admin access.If an organization owner has configured the organization to prevent members from deleting organization-ownedrepositories, you will get a `403 Forbidden` response.OAuth app tokens and personal access tokens (classic) need the `delete_repo` scope to use this endpoint. returns a ItemItemRepo403Error 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 (*ItemRepoItemRequestBuilder) Dependabot ¶
func (m *ItemRepoItemRequestBuilder) Dependabot() *ItemItemDependabotRequestBuilder
Dependabot the dependabot property returns a *ItemItemDependabotRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) DependencyGraph ¶
func (m *ItemRepoItemRequestBuilder) DependencyGraph() *ItemItemDependencyGraphRequestBuilder
DependencyGraph the dependencyGraph property returns a *ItemItemDependencyGraphRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Deployments ¶
func (m *ItemRepoItemRequestBuilder) Deployments() *ItemItemDeploymentsRequestBuilder
Deployments the deployments property returns a *ItemItemDeploymentsRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Dispatches ¶
func (m *ItemRepoItemRequestBuilder) Dispatches() *ItemItemDispatchesRequestBuilder
Dispatches the dispatches property returns a *ItemItemDispatchesRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Environments ¶
func (m *ItemRepoItemRequestBuilder) Environments() *ItemItemEnvironmentsRequestBuilder
Environments the environments property returns a *ItemItemEnvironmentsRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Events ¶
func (m *ItemRepoItemRequestBuilder) Events() *ItemItemEventsRequestBuilder
Events the events property returns a *ItemItemEventsRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Forks ¶
func (m *ItemRepoItemRequestBuilder) Forks() *ItemItemForksRequestBuilder
Forks the forks property returns a *ItemItemForksRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Generate ¶
func (m *ItemRepoItemRequestBuilder) Generate() *ItemItemGenerateRequestBuilder
Generate the generate property returns a *ItemItemGenerateRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Get ¶
func (m *ItemRepoItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.FullRepositoryable, error)
Get the `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.> [!NOTE]> In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.10/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." returns a FullRepositoryable 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 (*ItemRepoItemRequestBuilder) Git ¶
func (m *ItemRepoItemRequestBuilder) Git() *ItemItemGitRequestBuilder
Git the git property returns a *ItemItemGitRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Hooks ¶
func (m *ItemRepoItemRequestBuilder) Hooks() *ItemItemHooksRequestBuilder
Hooks the hooks property returns a *ItemItemHooksRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Installation ¶
func (m *ItemRepoItemRequestBuilder) Installation() *ItemItemInstallationRequestBuilder
Installation the installation property returns a *ItemItemInstallationRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Invitations ¶
func (m *ItemRepoItemRequestBuilder) Invitations() *ItemItemInvitationsRequestBuilder
Invitations the invitations property returns a *ItemItemInvitationsRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Issues ¶
func (m *ItemRepoItemRequestBuilder) Issues() *ItemItemIssuesRequestBuilder
Issues the issues property returns a *ItemItemIssuesRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Keys ¶
func (m *ItemRepoItemRequestBuilder) Keys() *ItemItemKeysRequestBuilder
Keys the keys property returns a *ItemItemKeysRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Labels ¶
func (m *ItemRepoItemRequestBuilder) Labels() *ItemItemLabelsRequestBuilder
Labels the labels property returns a *ItemItemLabelsRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Languages ¶
func (m *ItemRepoItemRequestBuilder) Languages() *ItemItemLanguagesRequestBuilder
Languages the languages property returns a *ItemItemLanguagesRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Lfs ¶
func (m *ItemRepoItemRequestBuilder) Lfs() *ItemItemLfsRequestBuilder
Lfs the lfs property returns a *ItemItemLfsRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) License ¶
func (m *ItemRepoItemRequestBuilder) License() *ItemItemLicenseRequestBuilder
License the license property returns a *ItemItemLicenseRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) MergeUpstream ¶
func (m *ItemRepoItemRequestBuilder) MergeUpstream() *ItemItemMergeUpstreamRequestBuilder
MergeUpstream the mergeUpstream property returns a *ItemItemMergeUpstreamRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Merges ¶
func (m *ItemRepoItemRequestBuilder) Merges() *ItemItemMergesRequestBuilder
Merges the merges property returns a *ItemItemMergesRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Milestones ¶
func (m *ItemRepoItemRequestBuilder) Milestones() *ItemItemMilestonesRequestBuilder
Milestones the milestones property returns a *ItemItemMilestonesRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Notifications ¶
func (m *ItemRepoItemRequestBuilder) Notifications() *ItemItemNotificationsRequestBuilder
Notifications the notifications property returns a *ItemItemNotificationsRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Pages ¶
func (m *ItemRepoItemRequestBuilder) Pages() *ItemItemPagesRequestBuilder
Pages the pages property returns a *ItemItemPagesRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Patch ¶
func (m *ItemRepoItemRequestBuilder) Patch(ctx context.Context, body ItemItemRepoPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.FullRepositoryable, error)
Patch **Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@3.10/rest/repos/repos#replace-all-repository-topics) endpoint. returns a FullRepositoryable 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 (*ItemRepoItemRequestBuilder) PreReceiveHooks ¶
func (m *ItemRepoItemRequestBuilder) PreReceiveHooks() *ItemItemPreReceiveHooksRequestBuilder
PreReceiveHooks the preReceiveHooks property returns a *ItemItemPreReceiveHooksRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Projects ¶
func (m *ItemRepoItemRequestBuilder) Projects() *ItemItemProjectsRequestBuilder
Projects the projects property returns a *ItemItemProjectsRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Pulls ¶
func (m *ItemRepoItemRequestBuilder) Pulls() *ItemItemPullsRequestBuilder
Pulls the pulls property returns a *ItemItemPullsRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Readme ¶
func (m *ItemRepoItemRequestBuilder) Readme() *ItemItemReadmeRequestBuilder
Readme the readme property returns a *ItemItemReadmeRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Releases ¶
func (m *ItemRepoItemRequestBuilder) Releases() *ItemItemReleasesRequestBuilder
Releases the releases property returns a *ItemItemReleasesRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Replicas ¶
func (m *ItemRepoItemRequestBuilder) Replicas() *ItemItemReplicasRequestBuilder
Replicas the replicas property returns a *ItemItemReplicasRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) SecretScanning ¶
func (m *ItemRepoItemRequestBuilder) SecretScanning() *ItemItemSecretScanningRequestBuilder
SecretScanning the secretScanning property returns a *ItemItemSecretScanningRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Stargazers ¶
func (m *ItemRepoItemRequestBuilder) Stargazers() *ItemItemStargazersRequestBuilder
Stargazers the stargazers property returns a *ItemItemStargazersRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Stats ¶
func (m *ItemRepoItemRequestBuilder) Stats() *ItemItemStatsRequestBuilder
Stats the stats property returns a *ItemItemStatsRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Statuses ¶
func (m *ItemRepoItemRequestBuilder) Statuses() *ItemItemStatusesRequestBuilder
Statuses the statuses property returns a *ItemItemStatusesRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Subscribers ¶
func (m *ItemRepoItemRequestBuilder) Subscribers() *ItemItemSubscribersRequestBuilder
Subscribers the subscribers property returns a *ItemItemSubscribersRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Subscription ¶
func (m *ItemRepoItemRequestBuilder) Subscription() *ItemItemSubscriptionRequestBuilder
Subscription the subscription property returns a *ItemItemSubscriptionRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Tags ¶
func (m *ItemRepoItemRequestBuilder) Tags() *ItemItemTagsRequestBuilder
Tags the tags property returns a *ItemItemTagsRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Tarball ¶
func (m *ItemRepoItemRequestBuilder) Tarball() *ItemItemTarballRequestBuilder
Tarball the tarball property returns a *ItemItemTarballRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Teams ¶
func (m *ItemRepoItemRequestBuilder) Teams() *ItemItemTeamsRequestBuilder
Teams the teams property returns a *ItemItemTeamsRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemRepoItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deleting a repository requires admin access.If an organization owner has configured the organization to prevent members from deleting organization-ownedrepositories, you will get a `403 Forbidden` response.OAuth app tokens and personal access tokens (classic) need the `delete_repo` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemRepoItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemRepoItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation the `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.> [!NOTE]> In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.10/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." returns a *RequestInformation when successful
func (*ItemRepoItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemRepoItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemItemRepoPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation **Note**: To edit a repository's topics, use the [Replace all repository topics](https://docs.github.com/enterprise-server@3.10/rest/repos/repos#replace-all-repository-topics) endpoint. returns a *RequestInformation when successful
func (*ItemRepoItemRequestBuilder) Topics ¶
func (m *ItemRepoItemRequestBuilder) Topics() *ItemItemTopicsRequestBuilder
Topics the topics property returns a *ItemItemTopicsRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Transfer ¶
func (m *ItemRepoItemRequestBuilder) Transfer() *ItemItemTransferRequestBuilder
Transfer the transfer property returns a *ItemItemTransferRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) VulnerabilityAlerts ¶
func (m *ItemRepoItemRequestBuilder) VulnerabilityAlerts() *ItemItemVulnerabilityAlertsRequestBuilder
VulnerabilityAlerts the vulnerabilityAlerts property returns a *ItemItemVulnerabilityAlertsRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) WithUrl ¶
func (m *ItemRepoItemRequestBuilder) WithUrl(rawUrl string) *ItemRepoItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemRepoItemRequestBuilder when successful
func (*ItemRepoItemRequestBuilder) Zipball ¶
func (m *ItemRepoItemRequestBuilder) Zipball() *ItemItemZipballRequestBuilder
Zipball the zipball property returns a *ItemItemZipballRequestBuilder when successful
type LabelsPostRequestBody ¶
type LabelsPostRequestBody struct {
// contains filtered or unexported fields
}
LabelsPostRequestBody composed type wrapper for classes ItemItemIssuesItemLabelsPostRequestBodyMember1able, ItemItemIssuesItemLabelsPostRequestBodyMember2able, string, []ItemItemIssuesItemLabelsPostRequestBodyMember3able
func NewLabelsPostRequestBody ¶
func NewLabelsPostRequestBody() *LabelsPostRequestBody
NewLabelsPostRequestBody instantiates a new LabelsPostRequestBody and sets the default values.
func (*LabelsPostRequestBody) GetFieldDeserializers ¶
func (m *LabelsPostRequestBody) 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 (*LabelsPostRequestBody) GetIsComposedType ¶
func (m *LabelsPostRequestBody) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*LabelsPostRequestBody) GetItemItemIssuesItemLabelsPostRequestBodyMember1 ¶
func (m *LabelsPostRequestBody) GetItemItemIssuesItemLabelsPostRequestBodyMember1() ItemItemIssuesItemLabelsPostRequestBodyMember1able
GetItemItemIssuesItemLabelsPostRequestBodyMember1 gets the ItemItemIssuesItemLabelsPostRequestBodyMember1 property value. Composed type representation for type ItemItemIssuesItemLabelsPostRequestBodyMember1able returns a ItemItemIssuesItemLabelsPostRequestBodyMember1able when successful
func (*LabelsPostRequestBody) GetItemItemIssuesItemLabelsPostRequestBodyMember2 ¶
func (m *LabelsPostRequestBody) GetItemItemIssuesItemLabelsPostRequestBodyMember2() ItemItemIssuesItemLabelsPostRequestBodyMember2able
GetItemItemIssuesItemLabelsPostRequestBodyMember2 gets the ItemItemIssuesItemLabelsPostRequestBodyMember2 property value. Composed type representation for type ItemItemIssuesItemLabelsPostRequestBodyMember2able returns a ItemItemIssuesItemLabelsPostRequestBodyMember2able when successful
func (*LabelsPostRequestBody) GetItemItemIssuesItemLabelsPostRequestBodyMember3 ¶
func (m *LabelsPostRequestBody) GetItemItemIssuesItemLabelsPostRequestBodyMember3() []ItemItemIssuesItemLabelsPostRequestBodyMember3able
GetItemItemIssuesItemLabelsPostRequestBodyMember3 gets the ItemItemIssuesItemLabelsPostRequestBodyMember3 property value. Composed type representation for type []ItemItemIssuesItemLabelsPostRequestBodyMember3able returns a []ItemItemIssuesItemLabelsPostRequestBodyMember3able when successful
func (*LabelsPostRequestBody) GetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember1 ¶
func (m *LabelsPostRequestBody) GetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember1() ItemItemIssuesItemLabelsPostRequestBodyMember1able
GetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember1 gets the ItemItemIssuesItemLabelsPostRequestBodyMember1 property value. Composed type representation for type ItemItemIssuesItemLabelsPostRequestBodyMember1able returns a ItemItemIssuesItemLabelsPostRequestBodyMember1able when successful
func (*LabelsPostRequestBody) GetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember2 ¶
func (m *LabelsPostRequestBody) GetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember2() ItemItemIssuesItemLabelsPostRequestBodyMember2able
GetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember2 gets the ItemItemIssuesItemLabelsPostRequestBodyMember2 property value. Composed type representation for type ItemItemIssuesItemLabelsPostRequestBodyMember2able returns a ItemItemIssuesItemLabelsPostRequestBodyMember2able when successful
func (*LabelsPostRequestBody) GetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember3 ¶
func (m *LabelsPostRequestBody) GetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember3() []ItemItemIssuesItemLabelsPostRequestBodyMember3able
GetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember3 gets the ItemItemIssuesItemLabelsPostRequestBodyMember3 property value. Composed type representation for type []ItemItemIssuesItemLabelsPostRequestBodyMember3able returns a []ItemItemIssuesItemLabelsPostRequestBodyMember3able when successful
func (*LabelsPostRequestBody) GetLabelsPostRequestBodyString ¶
func (m *LabelsPostRequestBody) GetLabelsPostRequestBodyString() *string
GetLabelsPostRequestBodyString gets the string property value. Composed type representation for type string returns a *string when successful
func (*LabelsPostRequestBody) GetString ¶
func (m *LabelsPostRequestBody) GetString() *string
GetString gets the string property value. Composed type representation for type string returns a *string when successful
func (*LabelsPostRequestBody) Serialize ¶
func (m *LabelsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*LabelsPostRequestBody) SetItemItemIssuesItemLabelsPostRequestBodyMember1 ¶
func (m *LabelsPostRequestBody) SetItemItemIssuesItemLabelsPostRequestBodyMember1(value ItemItemIssuesItemLabelsPostRequestBodyMember1able)
SetItemItemIssuesItemLabelsPostRequestBodyMember1 sets the ItemItemIssuesItemLabelsPostRequestBodyMember1 property value. Composed type representation for type ItemItemIssuesItemLabelsPostRequestBodyMember1able
func (*LabelsPostRequestBody) SetItemItemIssuesItemLabelsPostRequestBodyMember2 ¶
func (m *LabelsPostRequestBody) SetItemItemIssuesItemLabelsPostRequestBodyMember2(value ItemItemIssuesItemLabelsPostRequestBodyMember2able)
SetItemItemIssuesItemLabelsPostRequestBodyMember2 sets the ItemItemIssuesItemLabelsPostRequestBodyMember2 property value. Composed type representation for type ItemItemIssuesItemLabelsPostRequestBodyMember2able
func (*LabelsPostRequestBody) SetItemItemIssuesItemLabelsPostRequestBodyMember3 ¶
func (m *LabelsPostRequestBody) SetItemItemIssuesItemLabelsPostRequestBodyMember3(value []ItemItemIssuesItemLabelsPostRequestBodyMember3able)
SetItemItemIssuesItemLabelsPostRequestBodyMember3 sets the ItemItemIssuesItemLabelsPostRequestBodyMember3 property value. Composed type representation for type []ItemItemIssuesItemLabelsPostRequestBodyMember3able
func (*LabelsPostRequestBody) SetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember1 ¶
func (m *LabelsPostRequestBody) SetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember1(value ItemItemIssuesItemLabelsPostRequestBodyMember1able)
SetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember1 sets the ItemItemIssuesItemLabelsPostRequestBodyMember1 property value. Composed type representation for type ItemItemIssuesItemLabelsPostRequestBodyMember1able
func (*LabelsPostRequestBody) SetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember2 ¶
func (m *LabelsPostRequestBody) SetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember2(value ItemItemIssuesItemLabelsPostRequestBodyMember2able)
SetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember2 sets the ItemItemIssuesItemLabelsPostRequestBodyMember2 property value. Composed type representation for type ItemItemIssuesItemLabelsPostRequestBodyMember2able
func (*LabelsPostRequestBody) SetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember3 ¶
func (m *LabelsPostRequestBody) SetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember3(value []ItemItemIssuesItemLabelsPostRequestBodyMember3able)
SetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember3 sets the ItemItemIssuesItemLabelsPostRequestBodyMember3 property value. Composed type representation for type []ItemItemIssuesItemLabelsPostRequestBodyMember3able
func (*LabelsPostRequestBody) SetLabelsPostRequestBodyString ¶
func (m *LabelsPostRequestBody) SetLabelsPostRequestBodyString(value *string)
SetLabelsPostRequestBodyString sets the string property value. Composed type representation for type string
func (*LabelsPostRequestBody) SetString ¶
func (m *LabelsPostRequestBody) SetString(value *string)
SetString sets the string property value. Composed type representation for type string
type LabelsPostRequestBodyable ¶
type LabelsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetItemItemIssuesItemLabelsPostRequestBodyMember1() ItemItemIssuesItemLabelsPostRequestBodyMember1able GetItemItemIssuesItemLabelsPostRequestBodyMember2() ItemItemIssuesItemLabelsPostRequestBodyMember2able GetItemItemIssuesItemLabelsPostRequestBodyMember3() []ItemItemIssuesItemLabelsPostRequestBodyMember3able GetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember1() ItemItemIssuesItemLabelsPostRequestBodyMember1able GetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember2() ItemItemIssuesItemLabelsPostRequestBodyMember2able GetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember3() []ItemItemIssuesItemLabelsPostRequestBodyMember3able GetLabelsPostRequestBodyString() *string GetString() *string SetItemItemIssuesItemLabelsPostRequestBodyMember1(value ItemItemIssuesItemLabelsPostRequestBodyMember1able) SetItemItemIssuesItemLabelsPostRequestBodyMember2(value ItemItemIssuesItemLabelsPostRequestBodyMember2able) SetItemItemIssuesItemLabelsPostRequestBodyMember3(value []ItemItemIssuesItemLabelsPostRequestBodyMember3able) SetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember1(value ItemItemIssuesItemLabelsPostRequestBodyMember1able) SetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember2(value ItemItemIssuesItemLabelsPostRequestBodyMember2able) SetLabelsPostRequestBodyItemItemIssuesItemLabelsPostRequestBodyMember3(value []ItemItemIssuesItemLabelsPostRequestBodyMember3able) SetLabelsPostRequestBodyString(value *string) SetString(value *string) }
type LabelsPutRequestBody ¶
type LabelsPutRequestBody struct {
// contains filtered or unexported fields
}
LabelsPutRequestBody composed type wrapper for classes ItemItemIssuesItemLabelsPutRequestBodyMember1able, ItemItemIssuesItemLabelsPutRequestBodyMember2able, string, []ItemItemIssuesItemLabelsPutRequestBodyMember3able
func NewLabelsPutRequestBody ¶
func NewLabelsPutRequestBody() *LabelsPutRequestBody
NewLabelsPutRequestBody instantiates a new LabelsPutRequestBody and sets the default values.
func (*LabelsPutRequestBody) GetFieldDeserializers ¶
func (m *LabelsPutRequestBody) 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 (*LabelsPutRequestBody) GetIsComposedType ¶
func (m *LabelsPutRequestBody) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*LabelsPutRequestBody) GetItemItemIssuesItemLabelsPutRequestBodyMember1 ¶
func (m *LabelsPutRequestBody) GetItemItemIssuesItemLabelsPutRequestBodyMember1() ItemItemIssuesItemLabelsPutRequestBodyMember1able
GetItemItemIssuesItemLabelsPutRequestBodyMember1 gets the ItemItemIssuesItemLabelsPutRequestBodyMember1 property value. Composed type representation for type ItemItemIssuesItemLabelsPutRequestBodyMember1able returns a ItemItemIssuesItemLabelsPutRequestBodyMember1able when successful
func (*LabelsPutRequestBody) GetItemItemIssuesItemLabelsPutRequestBodyMember2 ¶
func (m *LabelsPutRequestBody) GetItemItemIssuesItemLabelsPutRequestBodyMember2() ItemItemIssuesItemLabelsPutRequestBodyMember2able
GetItemItemIssuesItemLabelsPutRequestBodyMember2 gets the ItemItemIssuesItemLabelsPutRequestBodyMember2 property value. Composed type representation for type ItemItemIssuesItemLabelsPutRequestBodyMember2able returns a ItemItemIssuesItemLabelsPutRequestBodyMember2able when successful
func (*LabelsPutRequestBody) GetItemItemIssuesItemLabelsPutRequestBodyMember3 ¶
func (m *LabelsPutRequestBody) GetItemItemIssuesItemLabelsPutRequestBodyMember3() []ItemItemIssuesItemLabelsPutRequestBodyMember3able
GetItemItemIssuesItemLabelsPutRequestBodyMember3 gets the ItemItemIssuesItemLabelsPutRequestBodyMember3 property value. Composed type representation for type []ItemItemIssuesItemLabelsPutRequestBodyMember3able returns a []ItemItemIssuesItemLabelsPutRequestBodyMember3able when successful
func (*LabelsPutRequestBody) GetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember1 ¶
func (m *LabelsPutRequestBody) GetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember1() ItemItemIssuesItemLabelsPutRequestBodyMember1able
GetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember1 gets the ItemItemIssuesItemLabelsPutRequestBodyMember1 property value. Composed type representation for type ItemItemIssuesItemLabelsPutRequestBodyMember1able returns a ItemItemIssuesItemLabelsPutRequestBodyMember1able when successful
func (*LabelsPutRequestBody) GetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember2 ¶
func (m *LabelsPutRequestBody) GetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember2() ItemItemIssuesItemLabelsPutRequestBodyMember2able
GetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember2 gets the ItemItemIssuesItemLabelsPutRequestBodyMember2 property value. Composed type representation for type ItemItemIssuesItemLabelsPutRequestBodyMember2able returns a ItemItemIssuesItemLabelsPutRequestBodyMember2able when successful
func (*LabelsPutRequestBody) GetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember3 ¶
func (m *LabelsPutRequestBody) GetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember3() []ItemItemIssuesItemLabelsPutRequestBodyMember3able
GetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember3 gets the ItemItemIssuesItemLabelsPutRequestBodyMember3 property value. Composed type representation for type []ItemItemIssuesItemLabelsPutRequestBodyMember3able returns a []ItemItemIssuesItemLabelsPutRequestBodyMember3able when successful
func (*LabelsPutRequestBody) GetLabelsPutRequestBodyString ¶
func (m *LabelsPutRequestBody) GetLabelsPutRequestBodyString() *string
GetLabelsPutRequestBodyString gets the string property value. Composed type representation for type string returns a *string when successful
func (*LabelsPutRequestBody) GetString ¶
func (m *LabelsPutRequestBody) GetString() *string
GetString gets the string property value. Composed type representation for type string returns a *string when successful
func (*LabelsPutRequestBody) Serialize ¶
func (m *LabelsPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*LabelsPutRequestBody) SetItemItemIssuesItemLabelsPutRequestBodyMember1 ¶
func (m *LabelsPutRequestBody) SetItemItemIssuesItemLabelsPutRequestBodyMember1(value ItemItemIssuesItemLabelsPutRequestBodyMember1able)
SetItemItemIssuesItemLabelsPutRequestBodyMember1 sets the ItemItemIssuesItemLabelsPutRequestBodyMember1 property value. Composed type representation for type ItemItemIssuesItemLabelsPutRequestBodyMember1able
func (*LabelsPutRequestBody) SetItemItemIssuesItemLabelsPutRequestBodyMember2 ¶
func (m *LabelsPutRequestBody) SetItemItemIssuesItemLabelsPutRequestBodyMember2(value ItemItemIssuesItemLabelsPutRequestBodyMember2able)
SetItemItemIssuesItemLabelsPutRequestBodyMember2 sets the ItemItemIssuesItemLabelsPutRequestBodyMember2 property value. Composed type representation for type ItemItemIssuesItemLabelsPutRequestBodyMember2able
func (*LabelsPutRequestBody) SetItemItemIssuesItemLabelsPutRequestBodyMember3 ¶
func (m *LabelsPutRequestBody) SetItemItemIssuesItemLabelsPutRequestBodyMember3(value []ItemItemIssuesItemLabelsPutRequestBodyMember3able)
SetItemItemIssuesItemLabelsPutRequestBodyMember3 sets the ItemItemIssuesItemLabelsPutRequestBodyMember3 property value. Composed type representation for type []ItemItemIssuesItemLabelsPutRequestBodyMember3able
func (*LabelsPutRequestBody) SetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember1 ¶
func (m *LabelsPutRequestBody) SetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember1(value ItemItemIssuesItemLabelsPutRequestBodyMember1able)
SetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember1 sets the ItemItemIssuesItemLabelsPutRequestBodyMember1 property value. Composed type representation for type ItemItemIssuesItemLabelsPutRequestBodyMember1able
func (*LabelsPutRequestBody) SetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember2 ¶
func (m *LabelsPutRequestBody) SetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember2(value ItemItemIssuesItemLabelsPutRequestBodyMember2able)
SetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember2 sets the ItemItemIssuesItemLabelsPutRequestBodyMember2 property value. Composed type representation for type ItemItemIssuesItemLabelsPutRequestBodyMember2able
func (*LabelsPutRequestBody) SetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember3 ¶
func (m *LabelsPutRequestBody) SetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember3(value []ItemItemIssuesItemLabelsPutRequestBodyMember3able)
SetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember3 sets the ItemItemIssuesItemLabelsPutRequestBodyMember3 property value. Composed type representation for type []ItemItemIssuesItemLabelsPutRequestBodyMember3able
func (*LabelsPutRequestBody) SetLabelsPutRequestBodyString ¶
func (m *LabelsPutRequestBody) SetLabelsPutRequestBodyString(value *string)
SetLabelsPutRequestBodyString sets the string property value. Composed type representation for type string
func (*LabelsPutRequestBody) SetString ¶
func (m *LabelsPutRequestBody) SetString(value *string)
SetString sets the string property value. Composed type representation for type string
type LabelsPutRequestBodyable ¶
type LabelsPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetItemItemIssuesItemLabelsPutRequestBodyMember1() ItemItemIssuesItemLabelsPutRequestBodyMember1able GetItemItemIssuesItemLabelsPutRequestBodyMember2() ItemItemIssuesItemLabelsPutRequestBodyMember2able GetItemItemIssuesItemLabelsPutRequestBodyMember3() []ItemItemIssuesItemLabelsPutRequestBodyMember3able GetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember1() ItemItemIssuesItemLabelsPutRequestBodyMember1able GetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember2() ItemItemIssuesItemLabelsPutRequestBodyMember2able GetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember3() []ItemItemIssuesItemLabelsPutRequestBodyMember3able GetLabelsPutRequestBodyString() *string GetString() *string SetItemItemIssuesItemLabelsPutRequestBodyMember1(value ItemItemIssuesItemLabelsPutRequestBodyMember1able) SetItemItemIssuesItemLabelsPutRequestBodyMember2(value ItemItemIssuesItemLabelsPutRequestBodyMember2able) SetItemItemIssuesItemLabelsPutRequestBodyMember3(value []ItemItemIssuesItemLabelsPutRequestBodyMember3able) SetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember1(value ItemItemIssuesItemLabelsPutRequestBodyMember1able) SetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember2(value ItemItemIssuesItemLabelsPutRequestBodyMember2able) SetLabelsPutRequestBodyItemItemIssuesItemLabelsPutRequestBodyMember3(value []ItemItemIssuesItemLabelsPutRequestBodyMember3able) SetLabelsPutRequestBodyString(value *string) SetString(value *string) }
type OwnerItemRequestBuilder ¶
type OwnerItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
OwnerItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}
func NewOwnerItemRequestBuilder ¶
func NewOwnerItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *OwnerItemRequestBuilder
NewOwnerItemRequestBuilder instantiates a new OwnerItemRequestBuilder and sets the default values.
func NewOwnerItemRequestBuilderInternal ¶
func NewOwnerItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *OwnerItemRequestBuilder
NewOwnerItemRequestBuilderInternal instantiates a new OwnerItemRequestBuilder and sets the default values.
func (*OwnerItemRequestBuilder) ByRepoId ¶
func (m *OwnerItemRequestBuilder) ByRepoId(repoId string) *ItemRepoItemRequestBuilder
ByRepoId gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item.item collection returns a *ItemRepoItemRequestBuilder when successful
type ReposRequestBuilder ¶
type ReposRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ReposRequestBuilder builds and executes requests for operations under \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) ByOwnerId ¶
func (m *ReposRequestBuilder) ByOwnerId(ownerId string) *OwnerItemRequestBuilder
ByOwnerId gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.repos.item collection returns a *OwnerItemRequestBuilder when successful
type StargazersGetResponse ¶
type StargazersGetResponse struct {
// contains filtered or unexported fields
}
StargazersGetResponse composed type wrapper for classes []ItemItemStargazersSimpleUserable, []ItemItemStargazersStargazerable
func NewStargazersGetResponse ¶
func NewStargazersGetResponse() *StargazersGetResponse
NewStargazersGetResponse instantiates a new StargazersGetResponse and sets the default values.
func (*StargazersGetResponse) GetFieldDeserializers ¶
func (m *StargazersGetResponse) 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 (*StargazersGetResponse) GetIsComposedType ¶
func (m *StargazersGetResponse) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*StargazersGetResponse) GetItemItemStargazersSimpleUser ¶
func (m *StargazersGetResponse) GetItemItemStargazersSimpleUser() []ItemItemStargazersSimpleUserable
GetItemItemStargazersSimpleUser gets the ItemItemStargazersSimpleUser property value. Composed type representation for type []ItemItemStargazersSimpleUserable returns a []ItemItemStargazersSimpleUserable when successful
func (*StargazersGetResponse) GetItemItemStargazersStargazer ¶
func (m *StargazersGetResponse) GetItemItemStargazersStargazer() []ItemItemStargazersStargazerable
GetItemItemStargazersStargazer gets the ItemItemStargazersStargazer property value. Composed type representation for type []ItemItemStargazersStargazerable returns a []ItemItemStargazersStargazerable when successful
func (*StargazersGetResponse) Serialize ¶
func (m *StargazersGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*StargazersGetResponse) SetItemItemStargazersSimpleUser ¶
func (m *StargazersGetResponse) SetItemItemStargazersSimpleUser(value []ItemItemStargazersSimpleUserable)
SetItemItemStargazersSimpleUser sets the ItemItemStargazersSimpleUser property value. Composed type representation for type []ItemItemStargazersSimpleUserable
func (*StargazersGetResponse) SetItemItemStargazersStargazer ¶
func (m *StargazersGetResponse) SetItemItemStargazersStargazer(value []ItemItemStargazersStargazerable)
SetItemItemStargazersStargazer sets the ItemItemStargazersStargazer property value. Composed type representation for type []ItemItemStargazersStargazerable
type StargazersGetResponseable ¶
type StargazersGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetItemItemStargazersSimpleUser() []ItemItemStargazersSimpleUserable GetItemItemStargazersStargazer() []ItemItemStargazersStargazerable SetItemItemStargazersSimpleUser(value []ItemItemStargazersSimpleUserable) SetItemItemStargazersStargazer(value []ItemItemStargazersStargazerable) }
type TeamsDeleteRequestBody ¶
type TeamsDeleteRequestBody struct {
// contains filtered or unexported fields
}
TeamsDeleteRequestBody composed type wrapper for classes ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1able, string
func NewTeamsDeleteRequestBody ¶
func NewTeamsDeleteRequestBody() *TeamsDeleteRequestBody
NewTeamsDeleteRequestBody instantiates a new TeamsDeleteRequestBody and sets the default values.
func (*TeamsDeleteRequestBody) GetFieldDeserializers ¶
func (m *TeamsDeleteRequestBody) 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 (*TeamsDeleteRequestBody) GetIsComposedType ¶
func (m *TeamsDeleteRequestBody) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*TeamsDeleteRequestBody) GetItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1 ¶
func (m *TeamsDeleteRequestBody) GetItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1able
GetItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1 gets the ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1able returns a ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1able when successful
func (*TeamsDeleteRequestBody) GetString ¶
func (m *TeamsDeleteRequestBody) GetString() *string
GetString gets the string property value. Composed type representation for type string returns a *string when successful
func (*TeamsDeleteRequestBody) GetTeamsDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1 ¶
func (m *TeamsDeleteRequestBody) GetTeamsDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1able
GetTeamsDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1 gets the ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1able returns a ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1able when successful
func (*TeamsDeleteRequestBody) GetTeamsDeleteRequestBodyString ¶
func (m *TeamsDeleteRequestBody) GetTeamsDeleteRequestBodyString() *string
GetTeamsDeleteRequestBodyString gets the string property value. Composed type representation for type string returns a *string when successful
func (*TeamsDeleteRequestBody) Serialize ¶
func (m *TeamsDeleteRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*TeamsDeleteRequestBody) SetItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1 ¶
func (m *TeamsDeleteRequestBody) SetItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1able)
SetItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1 sets the ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1able
func (*TeamsDeleteRequestBody) SetString ¶
func (m *TeamsDeleteRequestBody) SetString(value *string)
SetString sets the string property value. Composed type representation for type string
func (*TeamsDeleteRequestBody) SetTeamsDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1 ¶
func (m *TeamsDeleteRequestBody) SetTeamsDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1able)
SetTeamsDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1 sets the ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1able
func (*TeamsDeleteRequestBody) SetTeamsDeleteRequestBodyString ¶
func (m *TeamsDeleteRequestBody) SetTeamsDeleteRequestBodyString(value *string)
SetTeamsDeleteRequestBodyString sets the string property value. Composed type representation for type string
type TeamsDeleteRequestBodyable ¶
type TeamsDeleteRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1able GetString() *string GetTeamsDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1able GetTeamsDeleteRequestBodyString() *string SetItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1able) SetString(value *string) SetTeamsDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1able) SetTeamsDeleteRequestBodyString(value *string) }
type TeamsPostRequestBody ¶
type TeamsPostRequestBody struct {
// contains filtered or unexported fields
}
TeamsPostRequestBody composed type wrapper for classes ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1able, string
func NewTeamsPostRequestBody ¶
func NewTeamsPostRequestBody() *TeamsPostRequestBody
NewTeamsPostRequestBody instantiates a new TeamsPostRequestBody and sets the default values.
func (*TeamsPostRequestBody) GetFieldDeserializers ¶
func (m *TeamsPostRequestBody) 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 (*TeamsPostRequestBody) GetIsComposedType ¶
func (m *TeamsPostRequestBody) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*TeamsPostRequestBody) GetItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1 ¶
func (m *TeamsPostRequestBody) GetItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1able
GetItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1 gets the ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1able returns a ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1able when successful
func (*TeamsPostRequestBody) GetString ¶
func (m *TeamsPostRequestBody) GetString() *string
GetString gets the string property value. Composed type representation for type string returns a *string when successful
func (*TeamsPostRequestBody) GetTeamsPostRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1 ¶
func (m *TeamsPostRequestBody) GetTeamsPostRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1able
GetTeamsPostRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1 gets the ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1able returns a ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1able when successful
func (*TeamsPostRequestBody) GetTeamsPostRequestBodyString ¶
func (m *TeamsPostRequestBody) GetTeamsPostRequestBodyString() *string
GetTeamsPostRequestBodyString gets the string property value. Composed type representation for type string returns a *string when successful
func (*TeamsPostRequestBody) Serialize ¶
func (m *TeamsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*TeamsPostRequestBody) SetItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1 ¶
func (m *TeamsPostRequestBody) SetItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1able)
SetItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1 sets the ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1able
func (*TeamsPostRequestBody) SetString ¶
func (m *TeamsPostRequestBody) SetString(value *string)
SetString sets the string property value. Composed type representation for type string
func (*TeamsPostRequestBody) SetTeamsPostRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1 ¶
func (m *TeamsPostRequestBody) SetTeamsPostRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1able)
SetTeamsPostRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1 sets the ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1able
func (*TeamsPostRequestBody) SetTeamsPostRequestBodyString ¶
func (m *TeamsPostRequestBody) SetTeamsPostRequestBodyString(value *string)
SetTeamsPostRequestBodyString sets the string property value. Composed type representation for type string
type TeamsPostRequestBodyable ¶
type TeamsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1able GetString() *string GetTeamsPostRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1able GetTeamsPostRequestBodyString() *string SetItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1able) SetString(value *string) SetTeamsPostRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1able) SetTeamsPostRequestBodyString(value *string) }
type TeamsPutRequestBody ¶
type TeamsPutRequestBody struct {
// contains filtered or unexported fields
}
TeamsPutRequestBody composed type wrapper for classes ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1able, string
func NewTeamsPutRequestBody ¶
func NewTeamsPutRequestBody() *TeamsPutRequestBody
NewTeamsPutRequestBody instantiates a new TeamsPutRequestBody and sets the default values.
func (*TeamsPutRequestBody) GetFieldDeserializers ¶
func (m *TeamsPutRequestBody) 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 (*TeamsPutRequestBody) GetIsComposedType ¶
func (m *TeamsPutRequestBody) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*TeamsPutRequestBody) GetItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1 ¶
func (m *TeamsPutRequestBody) GetItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1able
GetItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1 gets the ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1able returns a ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1able when successful
func (*TeamsPutRequestBody) GetString ¶
func (m *TeamsPutRequestBody) GetString() *string
GetString gets the string property value. Composed type representation for type string returns a *string when successful
func (*TeamsPutRequestBody) GetTeamsPutRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1 ¶
func (m *TeamsPutRequestBody) GetTeamsPutRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1able
GetTeamsPutRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1 gets the ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1able returns a ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1able when successful
func (*TeamsPutRequestBody) GetTeamsPutRequestBodyString ¶
func (m *TeamsPutRequestBody) GetTeamsPutRequestBodyString() *string
GetTeamsPutRequestBodyString gets the string property value. Composed type representation for type string returns a *string when successful
func (*TeamsPutRequestBody) Serialize ¶
func (m *TeamsPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*TeamsPutRequestBody) SetItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1 ¶
func (m *TeamsPutRequestBody) SetItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1able)
SetItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1 sets the ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1able
func (*TeamsPutRequestBody) SetString ¶
func (m *TeamsPutRequestBody) SetString(value *string)
SetString sets the string property value. Composed type representation for type string
func (*TeamsPutRequestBody) SetTeamsPutRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1 ¶
func (m *TeamsPutRequestBody) SetTeamsPutRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1able)
SetTeamsPutRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1 sets the ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1able
func (*TeamsPutRequestBody) SetTeamsPutRequestBodyString ¶
func (m *TeamsPutRequestBody) SetTeamsPutRequestBodyString(value *string)
SetTeamsPutRequestBodyString sets the string property value. Composed type representation for type string
type TeamsPutRequestBodyable ¶
type TeamsPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1able GetString() *string GetTeamsPutRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1able GetTeamsPutRequestBodyString() *string SetItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1able) SetString(value *string) SetTeamsPutRequestBodyItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1able) SetTeamsPutRequestBodyString(value *string) }
type UsersDeleteRequestBody ¶
type UsersDeleteRequestBody struct {
// contains filtered or unexported fields
}
UsersDeleteRequestBody composed type wrapper for classes ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1able, string
func NewUsersDeleteRequestBody ¶
func NewUsersDeleteRequestBody() *UsersDeleteRequestBody
NewUsersDeleteRequestBody instantiates a new UsersDeleteRequestBody and sets the default values.
func (*UsersDeleteRequestBody) GetFieldDeserializers ¶
func (m *UsersDeleteRequestBody) 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 (*UsersDeleteRequestBody) GetIsComposedType ¶
func (m *UsersDeleteRequestBody) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*UsersDeleteRequestBody) GetItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1 ¶
func (m *UsersDeleteRequestBody) GetItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1able
GetItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1 gets the ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1able returns a ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1able when successful
func (*UsersDeleteRequestBody) GetString ¶
func (m *UsersDeleteRequestBody) GetString() *string
GetString gets the string property value. Composed type representation for type string returns a *string when successful
func (*UsersDeleteRequestBody) GetUsersDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1 ¶
func (m *UsersDeleteRequestBody) GetUsersDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1able
GetUsersDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1 gets the ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1able returns a ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1able when successful
func (*UsersDeleteRequestBody) GetUsersDeleteRequestBodyString ¶
func (m *UsersDeleteRequestBody) GetUsersDeleteRequestBodyString() *string
GetUsersDeleteRequestBodyString gets the string property value. Composed type representation for type string returns a *string when successful
func (*UsersDeleteRequestBody) Serialize ¶
func (m *UsersDeleteRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*UsersDeleteRequestBody) SetItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1 ¶
func (m *UsersDeleteRequestBody) SetItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1able)
SetItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1 sets the ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1able
func (*UsersDeleteRequestBody) SetString ¶
func (m *UsersDeleteRequestBody) SetString(value *string)
SetString sets the string property value. Composed type representation for type string
func (*UsersDeleteRequestBody) SetUsersDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1 ¶
func (m *UsersDeleteRequestBody) SetUsersDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1able)
SetUsersDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1 sets the ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1able
func (*UsersDeleteRequestBody) SetUsersDeleteRequestBodyString ¶
func (m *UsersDeleteRequestBody) SetUsersDeleteRequestBodyString(value *string)
SetUsersDeleteRequestBodyString sets the string property value. Composed type representation for type string
type UsersDeleteRequestBodyable ¶
type UsersDeleteRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1able GetString() *string GetUsersDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1able GetUsersDeleteRequestBodyString() *string SetItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1able) SetString(value *string) SetUsersDeleteRequestBodyItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1able) SetUsersDeleteRequestBodyString(value *string) }
type UsersPostRequestBody ¶
type UsersPostRequestBody struct {
// contains filtered or unexported fields
}
UsersPostRequestBody composed type wrapper for classes ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1able, string
func NewUsersPostRequestBody ¶
func NewUsersPostRequestBody() *UsersPostRequestBody
NewUsersPostRequestBody instantiates a new UsersPostRequestBody and sets the default values.
func (*UsersPostRequestBody) GetFieldDeserializers ¶
func (m *UsersPostRequestBody) 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 (*UsersPostRequestBody) GetIsComposedType ¶
func (m *UsersPostRequestBody) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*UsersPostRequestBody) GetItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1 ¶
func (m *UsersPostRequestBody) GetItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1able
GetItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1 gets the ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1able returns a ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1able when successful
func (*UsersPostRequestBody) GetString ¶
func (m *UsersPostRequestBody) GetString() *string
GetString gets the string property value. Composed type representation for type string returns a *string when successful
func (*UsersPostRequestBody) GetUsersPostRequestBodyItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1 ¶
func (m *UsersPostRequestBody) GetUsersPostRequestBodyItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1able
GetUsersPostRequestBodyItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1 gets the ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1able returns a ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1able when successful
func (*UsersPostRequestBody) GetUsersPostRequestBodyString ¶
func (m *UsersPostRequestBody) GetUsersPostRequestBodyString() *string
GetUsersPostRequestBodyString gets the string property value. Composed type representation for type string returns a *string when successful
func (*UsersPostRequestBody) Serialize ¶
func (m *UsersPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*UsersPostRequestBody) SetItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1 ¶
func (m *UsersPostRequestBody) SetItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1able)
SetItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1 sets the ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1able
func (*UsersPostRequestBody) SetString ¶
func (m *UsersPostRequestBody) SetString(value *string)
SetString sets the string property value. Composed type representation for type string
func (*UsersPostRequestBody) SetUsersPostRequestBodyItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1 ¶
func (m *UsersPostRequestBody) SetUsersPostRequestBodyItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1able)
SetUsersPostRequestBodyItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1 sets the ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1able
func (*UsersPostRequestBody) SetUsersPostRequestBodyString ¶
func (m *UsersPostRequestBody) SetUsersPostRequestBodyString(value *string)
SetUsersPostRequestBodyString sets the string property value. Composed type representation for type string
type UsersPostRequestBodyable ¶
type UsersPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1able GetString() *string GetUsersPostRequestBodyItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1able GetUsersPostRequestBodyString() *string SetItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1able) SetString(value *string) SetUsersPostRequestBodyItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1able) SetUsersPostRequestBodyString(value *string) }
type UsersPutRequestBody ¶
type UsersPutRequestBody struct {
// contains filtered or unexported fields
}
UsersPutRequestBody composed type wrapper for classes ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1able, string
func NewUsersPutRequestBody ¶
func NewUsersPutRequestBody() *UsersPutRequestBody
NewUsersPutRequestBody instantiates a new UsersPutRequestBody and sets the default values.
func (*UsersPutRequestBody) GetFieldDeserializers ¶
func (m *UsersPutRequestBody) 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 (*UsersPutRequestBody) GetIsComposedType ¶
func (m *UsersPutRequestBody) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*UsersPutRequestBody) GetItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1 ¶
func (m *UsersPutRequestBody) GetItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1able
GetItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1 gets the ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1able returns a ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1able when successful
func (*UsersPutRequestBody) GetString ¶
func (m *UsersPutRequestBody) GetString() *string
GetString gets the string property value. Composed type representation for type string returns a *string when successful
func (*UsersPutRequestBody) GetUsersPutRequestBodyItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1 ¶
func (m *UsersPutRequestBody) GetUsersPutRequestBodyItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1able
GetUsersPutRequestBodyItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1 gets the ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1able returns a ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1able when successful
func (*UsersPutRequestBody) GetUsersPutRequestBodyString ¶
func (m *UsersPutRequestBody) GetUsersPutRequestBodyString() *string
GetUsersPutRequestBodyString gets the string property value. Composed type representation for type string returns a *string when successful
func (*UsersPutRequestBody) Serialize ¶
func (m *UsersPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*UsersPutRequestBody) SetItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1 ¶
func (m *UsersPutRequestBody) SetItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1able)
SetItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1 sets the ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1able
func (*UsersPutRequestBody) SetString ¶
func (m *UsersPutRequestBody) SetString(value *string)
SetString sets the string property value. Composed type representation for type string
func (*UsersPutRequestBody) SetUsersPutRequestBodyItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1 ¶
func (m *UsersPutRequestBody) SetUsersPutRequestBodyItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1able)
SetUsersPutRequestBodyItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1 sets the ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1 property value. Composed type representation for type ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1able
func (*UsersPutRequestBody) SetUsersPutRequestBodyString ¶
func (m *UsersPutRequestBody) SetUsersPutRequestBodyString(value *string)
SetUsersPutRequestBodyString sets the string property value. Composed type representation for type string
type UsersPutRequestBodyable ¶
type UsersPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1able GetString() *string GetUsersPutRequestBodyItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1() ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1able GetUsersPutRequestBodyString() *string SetItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1able) SetString(value *string) SetUsersPutRequestBodyItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1(value ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1able) SetUsersPutRequestBodyString(value *string) }
type WithCheck_run_PatchRequestBody ¶
type WithCheck_run_PatchRequestBody struct {
// contains filtered or unexported fields
}
WithCheck_run_PatchRequestBody composed type wrapper for classes ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1able, ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2able
func NewWithCheck_run_PatchRequestBody ¶
func NewWithCheck_run_PatchRequestBody() *WithCheck_run_PatchRequestBody
NewWithCheck_run_PatchRequestBody instantiates a new WithCheck_run_PatchRequestBody and sets the default values.
func (*WithCheck_run_PatchRequestBody) GetFieldDeserializers ¶
func (m *WithCheck_run_PatchRequestBody) 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 (*WithCheck_run_PatchRequestBody) GetIsComposedType ¶
func (m *WithCheck_run_PatchRequestBody) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*WithCheck_run_PatchRequestBody) GetItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember1 ¶
func (m *WithCheck_run_PatchRequestBody) GetItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember1() ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1able
GetItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember1 gets the ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1 property value. Composed type representation for type ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1able returns a ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1able when successful
func (*WithCheck_run_PatchRequestBody) GetItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember2 ¶
func (m *WithCheck_run_PatchRequestBody) GetItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember2() ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2able
GetItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember2 gets the ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2 property value. Composed type representation for type ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2able returns a ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2able when successful
func (*WithCheck_run_PatchRequestBody) GetWithCheckRunPatchRequestBodyItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember1 ¶
func (m *WithCheck_run_PatchRequestBody) GetWithCheckRunPatchRequestBodyItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember1() ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1able
GetWithCheckRunPatchRequestBodyItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember1 gets the ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1 property value. Composed type representation for type ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1able returns a ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1able when successful
func (*WithCheck_run_PatchRequestBody) GetWithCheckRunPatchRequestBodyItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember2 ¶
func (m *WithCheck_run_PatchRequestBody) GetWithCheckRunPatchRequestBodyItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember2() ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2able
GetWithCheckRunPatchRequestBodyItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember2 gets the ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2 property value. Composed type representation for type ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2able returns a ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2able when successful
func (*WithCheck_run_PatchRequestBody) Serialize ¶
func (m *WithCheck_run_PatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*WithCheck_run_PatchRequestBody) SetItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember1 ¶
func (m *WithCheck_run_PatchRequestBody) SetItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember1(value ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1able)
SetItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember1 sets the ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1 property value. Composed type representation for type ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1able
func (*WithCheck_run_PatchRequestBody) SetItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember2 ¶
func (m *WithCheck_run_PatchRequestBody) SetItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember2(value ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2able)
SetItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember2 sets the ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2 property value. Composed type representation for type ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2able
func (*WithCheck_run_PatchRequestBody) SetWithCheckRunPatchRequestBodyItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember1 ¶
func (m *WithCheck_run_PatchRequestBody) SetWithCheckRunPatchRequestBodyItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember1(value ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1able)
SetWithCheckRunPatchRequestBodyItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember1 sets the ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1 property value. Composed type representation for type ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1able
func (*WithCheck_run_PatchRequestBody) SetWithCheckRunPatchRequestBodyItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember2 ¶
func (m *WithCheck_run_PatchRequestBody) SetWithCheckRunPatchRequestBodyItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember2(value ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2able)
SetWithCheckRunPatchRequestBodyItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember2 sets the ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2 property value. Composed type representation for type ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2able
type WithCheck_run_PatchRequestBodyable ¶
type WithCheck_run_PatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember1() ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1able GetItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember2() ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2able GetWithCheckRunPatchRequestBodyItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember1() ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1able GetWithCheckRunPatchRequestBodyItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember2() ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2able SetItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember1(value ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1able) SetItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember2(value ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2able) SetWithCheckRunPatchRequestBodyItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember1(value ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1able) SetWithCheckRunPatchRequestBodyItemItemCheckRunsItemWithCheckRunPatchRequestBodyMember2(value ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2able) }
type WithPathGetResponse ¶
type WithPathGetResponse struct {
// contains filtered or unexported fields
}
WithPathGetResponse composed type wrapper for classes ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentFileable, ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentSubmoduleable, ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentSymlinkable, []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WithPathGetResponseMember1able
func NewWithPathGetResponse ¶
func NewWithPathGetResponse() *WithPathGetResponse
NewWithPathGetResponse instantiates a new WithPathGetResponse and sets the default values.
func (*WithPathGetResponse) GetContentFile ¶
func (m *WithPathGetResponse) GetContentFile() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentFileable
GetContentFile gets the contentFile property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentFileable returns a ContentFileable when successful
func (*WithPathGetResponse) GetContentSubmodule ¶
func (m *WithPathGetResponse) GetContentSubmodule() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentSubmoduleable
GetContentSubmodule gets the contentSubmodule property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentSubmoduleable returns a ContentSubmoduleable when successful
func (*WithPathGetResponse) GetContentSymlink ¶
func (m *WithPathGetResponse) GetContentSymlink() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentSymlinkable
GetContentSymlink gets the contentSymlink property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentSymlinkable returns a ContentSymlinkable when successful
func (*WithPathGetResponse) GetFieldDeserializers ¶
func (m *WithPathGetResponse) 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 (*WithPathGetResponse) GetIsComposedType ¶
func (m *WithPathGetResponse) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*WithPathGetResponse) GetWithPathGetResponseMember1 ¶
func (m *WithPathGetResponse) GetWithPathGetResponseMember1() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WithPathGetResponseMember1able
GetWithPathGetResponseMember1 gets the WithPathGetResponseMember1 property value. Composed type representation for type []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WithPathGetResponseMember1able returns a []WithPathGetResponseMember1able when successful
func (*WithPathGetResponse) Serialize ¶
func (m *WithPathGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*WithPathGetResponse) SetContentFile ¶
func (m *WithPathGetResponse) SetContentFile(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentFileable)
SetContentFile sets the contentFile property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentFileable
func (*WithPathGetResponse) SetContentSubmodule ¶
func (m *WithPathGetResponse) SetContentSubmodule(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentSubmoduleable)
SetContentSubmodule sets the contentSubmodule property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentSubmoduleable
func (*WithPathGetResponse) SetContentSymlink ¶
func (m *WithPathGetResponse) SetContentSymlink(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentSymlinkable)
SetContentSymlink sets the contentSymlink property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentSymlinkable
func (*WithPathGetResponse) SetWithPathGetResponseMember1 ¶
func (m *WithPathGetResponse) SetWithPathGetResponseMember1(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WithPathGetResponseMember1able)
SetWithPathGetResponseMember1 sets the WithPathGetResponseMember1 property value. Composed type representation for type []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WithPathGetResponseMember1able
type WithPathGetResponseable ¶
type WithPathGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetContentFile() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentFileable GetContentSubmodule() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentSubmoduleable GetContentSymlink() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentSymlinkable GetWithPathGetResponseMember1() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WithPathGetResponseMember1able SetContentFile(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentFileable) SetContentSubmodule(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentSubmoduleable) SetContentSymlink(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentSymlinkable) SetWithPathGetResponseMember1(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WithPathGetResponseMember1able) }
Source Files
¶
- item_item_actions_artifacts_get_response.go
- item_item_actions_artifacts_item_with_archive_format_item_request_builder.go
- item_item_actions_artifacts_request_builder.go
- item_item_actions_artifacts_with_artifact_item_request_builder.go
- item_item_actions_cache_request_builder.go
- item_item_actions_cache_usage_policy_request_builder.go
- item_item_actions_cache_usage_request_builder.go
- item_item_actions_caches_request_builder.go
- item_item_actions_caches_with_cache_item_request_builder.go
- item_item_actions_jobs_item_logs_request_builder.go
- item_item_actions_jobs_item_rerun_post_request_body.go
- item_item_actions_jobs_item_rerun_request_builder.go
- item_item_actions_jobs_request_builder.go
- item_item_actions_jobs_with_job_item_request_builder.go
- item_item_actions_oidc_customization_request_builder.go
- item_item_actions_oidc_customization_sub_put_request_body.go
- item_item_actions_oidc_customization_sub_request_builder.go
- item_item_actions_oidc_request_builder.go
- item_item_actions_organization_secrets_get_response.go
- item_item_actions_organization_secrets_request_builder.go
- item_item_actions_organization_variables_get_response.go
- item_item_actions_organization_variables_request_builder.go
- item_item_actions_permissions_access_request_builder.go
- item_item_actions_permissions_put_request_body.go
- item_item_actions_permissions_request_builder.go
- item_item_actions_permissions_selected_actions_request_builder.go
- item_item_actions_permissions_workflow_request_builder.go
- item_item_actions_request_builder.go
- item_item_actions_runners_downloads_request_builder.go
- item_item_actions_runners_generate_jitconfig_post_request_body.go
- item_item_actions_runners_generate_jitconfig_post_response.go
- item_item_actions_runners_generate_jitconfig_request_builder.go
- item_item_actions_runners_get_response.go
- item_item_actions_runners_item_labels_delete_response.go
- item_item_actions_runners_item_labels_get_response.go
- item_item_actions_runners_item_labels_item_with_name_delete_response.go
- item_item_actions_runners_item_labels_post_request_body.go
- item_item_actions_runners_item_labels_post_response.go
- item_item_actions_runners_item_labels_put_request_body.go
- item_item_actions_runners_item_labels_put_response.go
- item_item_actions_runners_item_labels_request_builder.go
- item_item_actions_runners_item_labels_with_name_item_request_builder.go
- item_item_actions_runners_registration_token_request_builder.go
- item_item_actions_runners_remove_token_request_builder.go
- item_item_actions_runners_request_builder.go
- item_item_actions_runners_with_runner_item_request_builder.go
- item_item_actions_runs_get_response.go
- item_item_actions_runs_item_approvals_request_builder.go
- item_item_actions_runs_item_artifacts_get_response.go
- item_item_actions_runs_item_artifacts_request_builder.go
- item_item_actions_runs_item_attempts_item_jobs_get_response.go
- item_item_actions_runs_item_attempts_item_jobs_request_builder.go
- item_item_actions_runs_item_attempts_item_logs_request_builder.go
- item_item_actions_runs_item_attempts_request_builder.go
- item_item_actions_runs_item_attempts_with_attempt_number_item_request_builder.go
- item_item_actions_runs_item_cancel_request_builder.go
- item_item_actions_runs_item_deployment_protection_rule_request_builder.go
- item_item_actions_runs_item_jobs_get_response.go
- item_item_actions_runs_item_jobs_request_builder.go
- item_item_actions_runs_item_logs_request_builder.go
- item_item_actions_runs_item_pending_deployments_post_request_body.go
- item_item_actions_runs_item_pending_deployments_request_builder.go
- item_item_actions_runs_item_rerun_failed_jobs_post_request_body.go
- item_item_actions_runs_item_rerun_failed_jobs_request_builder.go
- item_item_actions_runs_item_rerun_post_request_body.go
- item_item_actions_runs_item_rerun_request_builder.go
- item_item_actions_runs_request_builder.go
- item_item_actions_runs_with_run_item_request_builder.go
- item_item_actions_secrets_get_response.go
- item_item_actions_secrets_item_with_secret_name_put_request_body.go
- item_item_actions_secrets_public_key_request_builder.go
- item_item_actions_secrets_request_builder.go
- item_item_actions_secrets_with_secret_name_item_request_builder.go
- item_item_actions_variables_get_response.go
- item_item_actions_variables_item_with_name_patch_request_body.go
- item_item_actions_variables_post_request_body.go
- item_item_actions_variables_request_builder.go
- item_item_actions_variables_with_name_item_request_builder.go
- item_item_actions_workflows_get_response.go
- item_item_actions_workflows_item_disable_request_builder.go
- item_item_actions_workflows_item_dispatches_post_request_body.go
- item_item_actions_workflows_item_dispatches_post_request_body_inputs.go
- item_item_actions_workflows_item_dispatches_request_builder.go
- item_item_actions_workflows_item_enable_request_builder.go
- item_item_actions_workflows_item_runs_get_response.go
- item_item_actions_workflows_item_runs_request_builder.go
- item_item_actions_workflows_request_builder.go
- item_item_actions_workflows_with_workflow_item_request_builder.go
- item_item_assignees_request_builder.go
- item_item_assignees_with_assignee_item_request_builder.go
- item_item_autolinks_post_request_body.go
- item_item_autolinks_request_builder.go
- item_item_autolinks_with_autolink_item_request_builder.go
- item_item_automated_security_fixes_request_builder.go
- item_item_branches_item_protection_enforce_admins_request_builder.go
- item_item_branches_item_protection_put_request_body.go
- item_item_branches_item_protection_put_request_body_required_pull_request_reviews.go
- item_item_branches_item_protection_put_request_body_required_pull_request_reviews_bypass_pull_request_allowances.go
- item_item_branches_item_protection_put_request_body_required_pull_request_reviews_dismissal_restrictions.go
- item_item_branches_item_protection_put_request_body_required_status_checks.go
- item_item_branches_item_protection_put_request_body_required_status_checks_checks.go
- item_item_branches_item_protection_put_request_body_restrictions.go
- item_item_branches_item_protection_request_builder.go
- item_item_branches_item_protection_required_pull_request_reviews_patch_request_body.go
- item_item_branches_item_protection_required_pull_request_reviews_patch_request_body_bypass_pull_request_allowances.go
- item_item_branches_item_protection_required_pull_request_reviews_patch_request_body_dismissal_restrictions.go
- item_item_branches_item_protection_required_pull_request_reviews_request_builder.go
- item_item_branches_item_protection_required_signatures_request_builder.go
- item_item_branches_item_protection_required_status_checks_contexts_delete_request_body_member1.go
- item_item_branches_item_protection_required_status_checks_contexts_post_request_body_member1.go
- item_item_branches_item_protection_required_status_checks_contexts_put_request_body_member1.go
- item_item_branches_item_protection_required_status_checks_contexts_request_builder.go
- item_item_branches_item_protection_required_status_checks_patch_request_body.go
- item_item_branches_item_protection_required_status_checks_patch_request_body_checks.go
- item_item_branches_item_protection_required_status_checks_request_builder.go
- item_item_branches_item_protection_restrictions_apps_delete_request_body_member1.go
- item_item_branches_item_protection_restrictions_apps_post_request_body_member1.go
- item_item_branches_item_protection_restrictions_apps_put_request_body_member1.go
- item_item_branches_item_protection_restrictions_apps_request_builder.go
- item_item_branches_item_protection_restrictions_request_builder.go
- item_item_branches_item_protection_restrictions_teams_delete_request_body_member1.go
- item_item_branches_item_protection_restrictions_teams_post_request_body_member1.go
- item_item_branches_item_protection_restrictions_teams_put_request_body_member1.go
- item_item_branches_item_protection_restrictions_teams_request_builder.go
- item_item_branches_item_protection_restrictions_users_delete_request_body_member1.go
- item_item_branches_item_protection_restrictions_users_post_request_body_member1.go
- item_item_branches_item_protection_restrictions_users_put_request_body_member1.go
- item_item_branches_item_protection_restrictions_users_request_builder.go
- item_item_branches_item_rename_post_request_body.go
- item_item_branches_item_rename_request_builder.go
- item_item_branches_request_builder.go
- item_item_branches_with_branch_item_request_builder.go
- item_item_check_runs_item_annotations_request_builder.go
- item_item_check_runs_item_rerequest_request_builder.go
- item_item_check_runs_item_with_check_run_patch_request_body_member1.go
- item_item_check_runs_item_with_check_run_patch_request_body_member2.go
- item_item_check_runs_post_request_body_member1.go
- item_item_check_runs_post_request_body_member2.go
- item_item_check_runs_request_builder.go
- item_item_check_runs_with_check_run_item_request_builder.go
- item_item_check_suites_item_check_runs_get_response.go
- item_item_check_suites_item_check_runs_request_builder.go
- item_item_check_suites_item_rerequest_request_builder.go
- item_item_check_suites_post_request_body.go
- item_item_check_suites_preferences_patch_request_body.go
- item_item_check_suites_preferences_patch_request_body_auto_trigger_checks.go
- item_item_check_suites_preferences_request_builder.go
- item_item_check_suites_request_builder.go
- item_item_check_suites_with_check_suite_item_request_builder.go
- item_item_code_scanning_alerts_item_instances_request_builder.go
- item_item_code_scanning_alerts_item_with_alert_number_patch_request_body.go
- item_item_code_scanning_alerts_request_builder.go
- item_item_code_scanning_alerts_with_alert_number_item_request_builder.go
- item_item_code_scanning_analyses_request_builder.go
- item_item_code_scanning_analyses_with_analysis_item_request_builder.go
- item_item_code_scanning_default_setup_request_builder.go
- item_item_code_scanning_request_builder.go
- item_item_code_scanning_sarifs_post_request_body.go
- item_item_code_scanning_sarifs_request_builder.go
- item_item_code_scanning_sarifs_with_sarif_item_request_builder.go
- item_item_codeowners_errors_request_builder.go
- item_item_codeowners_request_builder.go
- item_item_collaborators_item_permission_request_builder.go
- item_item_collaborators_item_with_username_put_request_body.go
- item_item_collaborators_request_builder.go
- item_item_collaborators_with_username_item_request_builder.go
- item_item_comments_item_reactions_post_request_body.go
- item_item_comments_item_reactions_request_builder.go
- item_item_comments_item_reactions_with_reaction_item_request_builder.go
- item_item_comments_item_with_comment_patch_request_body.go
- item_item_comments_request_builder.go
- item_item_comments_with_comment_item_request_builder.go
- item_item_commits_commit_sha_item_request_builder.go
- item_item_commits_item_branches_where_head_request_builder.go
- item_item_commits_item_check_runs_get_response.go
- item_item_commits_item_check_runs_request_builder.go
- item_item_commits_item_check_suites_get_response.go
- item_item_commits_item_check_suites_request_builder.go
- item_item_commits_item_comments_post_request_body.go
- item_item_commits_item_comments_request_builder.go
- item_item_commits_item_pulls_request_builder.go
- item_item_commits_item_status_request_builder.go
- item_item_commits_item_statuses_request_builder.go
- item_item_commits_request_builder.go
- item_item_compare_request_builder.go
- item_item_compare_with_basehead_item_request_builder.go
- item_item_contents_item_with_path_delete_request_body.go
- item_item_contents_item_with_path_delete_request_body_author.go
- item_item_contents_item_with_path_delete_request_body_committer.go
- item_item_contents_item_with_path_put_request_body.go
- item_item_contents_item_with_path_put_request_body_author.go
- item_item_contents_item_with_path_put_request_body_committer.go
- item_item_contents_request_builder.go
- item_item_contents_with_path_item_request_builder.go
- item_item_contributors_request_builder.go
- item_item_dependabot_alerts_item_with_alert_number_patch_request_body.go
- item_item_dependabot_alerts_request_builder.go
- item_item_dependabot_alerts_with_alert_number_item_request_builder.go
- item_item_dependabot_request_builder.go
- item_item_dependabot_secrets_get_response.go
- item_item_dependabot_secrets_item_with_secret_name_put_request_body.go
- item_item_dependabot_secrets_public_key_request_builder.go
- item_item_dependabot_secrets_request_builder.go
- item_item_dependabot_secrets_with_secret_name_item_request_builder.go
- item_item_dependency_graph_compare_request_builder.go
- item_item_dependency_graph_compare_with_basehead_item_request_builder.go
- item_item_dependency_graph_request_builder.go
- item_item_dependency_graph_sbom_request_builder.go
- item_item_dependency_graph_snapshots_post_response.go
- item_item_dependency_graph_snapshots_request_builder.go
- item_item_deployments_item_statuses_post_request_body.go
- item_item_deployments_item_statuses_request_builder.go
- item_item_deployments_item_statuses_with_status_item_request_builder.go
- item_item_deployments_post_request_body.go
- item_item_deployments_request_builder.go
- item_item_deployments_with_deployment_item_request_builder.go
- item_item_dispatches_post_request_body.go
- item_item_dispatches_post_request_body_client_payload.go
- item_item_dispatches_request_builder.go
- item_item_environments_get_response.go
- item_item_environments_item_deployment_branch_policies_get_response.go
- item_item_environments_item_deployment_branch_policies_request_builder.go
- item_item_environments_item_deployment_branch_policies_with_branch_policy_item_request_builder.go
- item_item_environments_item_deployment_protection_rules_apps_get_response.go
- item_item_environments_item_deployment_protection_rules_apps_request_builder.go
- item_item_environments_item_deployment_protection_rules_get_response.go
- item_item_environments_item_deployment_protection_rules_post_request_body.go
- item_item_environments_item_deployment_protection_rules_request_builder.go
- item_item_environments_item_deployment_protection_rules_with_protection_rule_item_request_builder.go
- item_item_environments_item_secrets_get_response.go
- item_item_environments_item_secrets_item_with_secret_name_put_request_body.go
- item_item_environments_item_secrets_public_key_request_builder.go
- item_item_environments_item_secrets_request_builder.go
- item_item_environments_item_secrets_with_secret_name_item_request_builder.go
- item_item_environments_item_variables_get_response.go
- item_item_environments_item_variables_item_with_name_patch_request_body.go
- item_item_environments_item_variables_post_request_body.go
- item_item_environments_item_variables_request_builder.go
- item_item_environments_item_variables_with_name_item_request_builder.go
- item_item_environments_item_with_environment_name_put_request_body.go
- item_item_environments_item_with_environment_name_put_request_body_reviewers.go
- item_item_environments_request_builder.go
- item_item_environments_with_environment_name_item_request_builder.go
- item_item_events_request_builder.go
- item_item_forks_post_request_body.go
- item_item_forks_request_builder.go
- item_item_generate_post_request_body.go
- item_item_generate_request_builder.go
- item_item_git_blobs_post_request_body.go
- item_item_git_blobs_request_builder.go
- item_item_git_blobs_with_file_sha_item_request_builder.go
- item_item_git_commits_post_request_body.go
- item_item_git_commits_post_request_body_author.go
- item_item_git_commits_post_request_body_committer.go
- item_item_git_commits_request_builder.go
- item_item_git_commits_with_commit_sha_item_request_builder.go
- item_item_git_matching_refs_request_builder.go
- item_item_git_matching_refs_with_ref_item_request_builder.go
- item_item_git_ref_request_builder.go
- item_item_git_ref_with_ref_item_request_builder.go
- item_item_git_refs_item_with_ref_patch_request_body.go
- item_item_git_refs_post_request_body.go
- item_item_git_refs_request_builder.go
- item_item_git_refs_with_ref_item_request_builder.go
- item_item_git_request_builder.go
- item_item_git_tags_post_request_body.go
- item_item_git_tags_post_request_body_tagger.go
- item_item_git_tags_request_builder.go
- item_item_git_tags_with_tag_sha_item_request_builder.go
- item_item_git_trees_post_request_body.go
- item_item_git_trees_post_request_body_tree.go
- item_item_git_trees_request_builder.go
- item_item_git_trees_with_tree_sha_item_request_builder.go
- item_item_hooks_item_config_patch_request_body.go
- item_item_hooks_item_config_request_builder.go
- item_item_hooks_item_deliveries_item_attempts_post_response.go
- item_item_hooks_item_deliveries_item_attempts_request_builder.go
- item_item_hooks_item_deliveries_request_builder.go
- item_item_hooks_item_deliveries_with_delivery_item_request_builder.go
- item_item_hooks_item_pings_request_builder.go
- item_item_hooks_item_tests_request_builder.go
- item_item_hooks_item_with_hook_patch_request_body.go
- item_item_hooks_post_request_body.go
- item_item_hooks_post_request_body_config.go
- item_item_hooks_request_builder.go
- item_item_hooks_with_hook_item_request_builder.go
- item_item_installation_request_builder.go
- item_item_invitations_item_with_invitation_patch_request_body.go
- item_item_invitations_request_builder.go
- item_item_invitations_with_invitation_item_request_builder.go
- item_item_issues_comments_item_reactions_post_request_body.go
- item_item_issues_comments_item_reactions_request_builder.go
- item_item_issues_comments_item_reactions_with_reaction_item_request_builder.go
- item_item_issues_comments_item_with_comment_patch_request_body.go
- item_item_issues_comments_request_builder.go
- item_item_issues_comments_with_comment_item_request_builder.go
- item_item_issues_events_request_builder.go
- item_item_issues_events_with_event_item_request_builder.go
- item_item_issues_item_assignees_delete_request_body.go
- item_item_issues_item_assignees_post_request_body.go
- item_item_issues_item_assignees_request_builder.go
- item_item_issues_item_assignees_with_assignee_item_request_builder.go
- item_item_issues_item_comments_post_request_body.go
- item_item_issues_item_comments_request_builder.go
- item_item_issues_item_events_request_builder.go
- item_item_issues_item_labels_post_request_body_member1.go
- item_item_issues_item_labels_post_request_body_member2.go
- item_item_issues_item_labels_post_request_body_member2_labels.go
- item_item_issues_item_labels_post_request_body_member3.go
- item_item_issues_item_labels_put_request_body_member1.go
- item_item_issues_item_labels_put_request_body_member2.go
- item_item_issues_item_labels_put_request_body_member2_labels.go
- item_item_issues_item_labels_put_request_body_member3.go
- item_item_issues_item_labels_request_builder.go
- item_item_issues_item_labels_with_name_item_request_builder.go
- item_item_issues_item_lock_put_request_body.go
- item_item_issues_item_lock_request_builder.go
- item_item_issues_item_reactions_post_request_body.go
- item_item_issues_item_reactions_request_builder.go
- item_item_issues_item_reactions_with_reaction_item_request_builder.go
- item_item_issues_item_timeline_request_builder.go
- item_item_issues_item_with_issue_number_patch_request_body.go
- item_item_issues_post_request_body.go
- item_item_issues_request_builder.go
- item_item_issues_with_issue_number_item_request_builder.go
- item_item_keys_post_request_body.go
- item_item_keys_request_builder.go
- item_item_keys_with_key_item_request_builder.go
- item_item_labels_item_with_name_patch_request_body.go
- item_item_labels_post_request_body.go
- item_item_labels_request_builder.go
- item_item_labels_with_name_item_request_builder.go
- item_item_languages_request_builder.go
- item_item_lfs_put_response.go
- item_item_lfs_request_builder.go
- item_item_license_request_builder.go
- item_item_merge_upstream_post_request_body.go
- item_item_merge_upstream_request_builder.go
- item_item_merges_post_request_body.go
- item_item_merges_request_builder.go
- item_item_milestones_item_labels_request_builder.go
- item_item_milestones_item_with_milestone_number_patch_request_body.go
- item_item_milestones_post_request_body.go
- item_item_milestones_request_builder.go
- item_item_milestones_with_milestone_number_item_request_builder.go
- item_item_notifications_put_request_body.go
- item_item_notifications_put_response.go
- item_item_notifications_request_builder.go
- item_item_pages_builds_latest_request_builder.go
- item_item_pages_builds_request_builder.go
- item_item_pages_builds_with_build_item_request_builder.go
- item_item_pages_deployments_post_request_body.go
- item_item_pages_deployments_request_builder.go
- item_item_pages_post_request_body.go
- item_item_pages_post_request_body_source.go
- item_item_pages_put_request_body.go
- item_item_pages_put_request_body_source_member1.go
- item_item_pages_request_builder.go
- item_item_pre_receive_hooks_item_with_pre_receive_hook_patch_request_body.go
- item_item_pre_receive_hooks_request_builder.go
- item_item_pre_receive_hooks_with_pre_receive_hook_item_request_builder.go
- item_item_projects_post_request_body.go
- item_item_projects_request_builder.go
- item_item_pulls_comments_item_reactions_post_request_body.go
- item_item_pulls_comments_item_reactions_request_builder.go
- item_item_pulls_comments_item_reactions_with_reaction_item_request_builder.go
- item_item_pulls_comments_item_with_comment_patch_request_body.go
- item_item_pulls_comments_request_builder.go
- item_item_pulls_comments_with_comment_item_request_builder.go
- item_item_pulls_item_comments_item_replies_post_request_body.go
- item_item_pulls_item_comments_item_replies_request_builder.go
- item_item_pulls_item_comments_post_request_body.go
- item_item_pulls_item_comments_request_builder.go
- item_item_pulls_item_comments_with_comment_item_request_builder.go
- item_item_pulls_item_commits_request_builder.go
- item_item_pulls_item_files_request_builder.go
- item_item_pulls_item_merge_put_request_body.go
- item_item_pulls_item_merge_request_builder.go
- item_item_pulls_item_pull_request_merge_result405_error.go
- item_item_pulls_item_pull_request_merge_result409_error.go
- item_item_pulls_item_requested_reviewers_delete_request_body.go
- item_item_pulls_item_requested_reviewers_post_request_body.go
- item_item_pulls_item_requested_reviewers_request_builder.go
- item_item_pulls_item_reviews_item_comments_request_builder.go
- item_item_pulls_item_reviews_item_dismissals_put_request_body.go
- item_item_pulls_item_reviews_item_dismissals_request_builder.go
- item_item_pulls_item_reviews_item_events_post_request_body.go
- item_item_pulls_item_reviews_item_events_request_builder.go
- item_item_pulls_item_reviews_item_with_review_put_request_body.go
- item_item_pulls_item_reviews_post_request_body.go
- item_item_pulls_item_reviews_post_request_body_comments.go
- item_item_pulls_item_reviews_request_builder.go
- item_item_pulls_item_reviews_with_review_item_request_builder.go
- item_item_pulls_item_update_branch_put_request_body.go
- item_item_pulls_item_update_branch_put_response.go
- item_item_pulls_item_update_branch_request_builder.go
- item_item_pulls_item_with_pull_number_patch_request_body.go
- item_item_pulls_post_request_body.go
- item_item_pulls_request_builder.go
- item_item_pulls_with_pull_number_item_request_builder.go
- item_item_readme_request_builder.go
- item_item_readme_with_dir_item_request_builder.go
- item_item_releases_assets_item_with_asset_patch_request_body.go
- item_item_releases_assets_request_builder.go
- item_item_releases_assets_with_asset_item_request_builder.go
- item_item_releases_generate_notes_post_request_body.go
- item_item_releases_generate_notes_request_builder.go
- item_item_releases_item_assets_request_builder.go
- item_item_releases_item_reactions_post_request_body.go
- item_item_releases_item_reactions_request_builder.go
- item_item_releases_item_reactions_with_reaction_item_request_builder.go
- item_item_releases_item_with_release_patch_request_body.go
- item_item_releases_latest_request_builder.go
- item_item_releases_post_request_body.go
- item_item_releases_request_builder.go
- item_item_releases_tags_request_builder.go
- item_item_releases_tags_with_tag_item_request_builder.go
- item_item_releases_with_release_item_request_builder.go
- item_item_replicas_caches.go
- item_item_replicas_caches_git.go
- item_item_replicas_caches_request_builder.go
- item_item_replicas_request_builder.go
- item_item_repo403_error.go
- item_item_repo_patch_request_body.go
- item_item_repo_patch_request_body_security_and_analysis.go
- item_item_repo_patch_request_body_security_and_analysis_advanced_security.go
- item_item_repo_patch_request_body_security_and_analysis_secret_scanning.go
- item_item_repo_patch_request_body_security_and_analysis_secret_scanning_push_protection.go
- item_item_secret_scanning_alerts_item_locations_request_builder.go
- item_item_secret_scanning_alerts_item_with_alert_number_patch_request_body.go
- item_item_secret_scanning_alerts_request_builder.go
- item_item_secret_scanning_alerts_with_alert_number_item_request_builder.go
- item_item_secret_scanning_request_builder.go
- item_item_stargazers_request_builder.go
- item_item_stargazers_simple_user.go
- item_item_stargazers_stargazer.go
- item_item_stats_code_frequency_request_builder.go
- item_item_stats_commit_activity_request_builder.go
- item_item_stats_contributors_request_builder.go
- item_item_stats_participation_request_builder.go
- item_item_stats_punch_card_request_builder.go
- item_item_stats_request_builder.go
- item_item_statuses_item_with_sha_post_request_body.go
- item_item_statuses_request_builder.go
- item_item_statuses_with_sha_item_request_builder.go
- item_item_subscribers_request_builder.go
- item_item_subscription_put_request_body.go
- item_item_subscription_request_builder.go
- item_item_tags_protection_post_request_body.go
- item_item_tags_protection_request_builder.go
- item_item_tags_protection_with_tag_protection_item_request_builder.go
- item_item_tags_request_builder.go
- item_item_tarball_request_builder.go
- item_item_tarball_with_ref_item_request_builder.go
- item_item_teams_request_builder.go
- item_item_topics_put_request_body.go
- item_item_topics_request_builder.go
- item_item_transfer_post_request_body.go
- item_item_transfer_request_builder.go
- item_item_vulnerability_alerts_request_builder.go
- item_item_zipball_request_builder.go
- item_item_zipball_with_ref_item_request_builder.go
- item_repo_item_request_builder.go
- owner_item_request_builder.go
- repos_request_builder.go