repos

package
v0.0.4-GHES.3.10 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAppsDeleteRequestBodyFromDiscriminatorValue

CreateAppsDeleteRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateAppsPostRequestBodyFromDiscriminatorValue

CreateAppsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateAppsPutRequestBodyFromDiscriminatorValue

CreateAppsPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateCheckRunsPostRequestBodyFromDiscriminatorValue

CreateCheckRunsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateContextsDeleteRequestBodyFromDiscriminatorValue

CreateContextsDeleteRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateContextsPostRequestBodyFromDiscriminatorValue

CreateContextsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateContextsPutRequestBodyFromDiscriminatorValue

CreateContextsPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateDeployment_protection_rulePostRequestBodyFromDiscriminatorValue

CreateDeployment_protection_rulePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemActionsArtifactsGetResponseFromDiscriminatorValue

CreateItemItemActionsArtifactsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemActionsJobsItemRerunPostRequestBodyFromDiscriminatorValue

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

CreateItemItemActionsOrganizationSecretsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemActionsOrganizationVariablesGetResponseFromDiscriminatorValue

CreateItemItemActionsOrganizationVariablesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemActionsPermissionsPutRequestBodyFromDiscriminatorValue

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

CreateItemItemActionsRunnersGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemActionsRunnersItemLabelsDeleteResponseFromDiscriminatorValue

CreateItemItemActionsRunnersItemLabelsDeleteResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemActionsRunnersItemLabelsGetResponseFromDiscriminatorValue

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

CreateItemItemActionsRunnersItemLabelsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemActionsRunnersItemLabelsPostResponseFromDiscriminatorValue

CreateItemItemActionsRunnersItemLabelsPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemActionsRunnersItemLabelsPutRequestBodyFromDiscriminatorValue

CreateItemItemActionsRunnersItemLabelsPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemActionsRunnersItemLabelsPutResponseFromDiscriminatorValue

CreateItemItemActionsRunnersItemLabelsPutResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemActionsRunsGetResponseFromDiscriminatorValue

CreateItemItemActionsRunsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemActionsRunsItemArtifactsGetResponseFromDiscriminatorValue

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

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

CreateItemItemActionsRunsItemRerunPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemActionsSecretsGetResponseFromDiscriminatorValue

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

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

CreateItemItemActionsVariablesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemActionsWorkflowsGetResponseFromDiscriminatorValue

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

CreateItemItemActionsWorkflowsItemRunsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemAutolinksPostRequestBodyFromDiscriminatorValue

CreateItemItemAutolinksPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemBranchesItemProtectionPutRequestBodyFromDiscriminatorValue

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

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

CreateItemItemCheckRunsPostRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemCheckRunsPostRequestBodyMember2FromDiscriminatorValue

CreateItemItemCheckRunsPostRequestBodyMember2FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemCheckSuitesItemCheckRunsGetResponseFromDiscriminatorValue

CreateItemItemCheckSuitesItemCheckRunsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemCheckSuitesPostRequestBodyFromDiscriminatorValue

CreateItemItemCheckSuitesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemCheckSuitesPreferencesPatchRequestBodyFromDiscriminatorValue

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

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

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

CreateItemItemCommitsItemCheckRunsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemCommitsItemCheckSuitesGetResponseFromDiscriminatorValue

CreateItemItemCommitsItemCheckSuitesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemCommitsItemCommentsPostRequestBodyFromDiscriminatorValue

CreateItemItemCommitsItemCommentsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemContentsItemWithPathDeleteRequestBodyFromDiscriminatorValue

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

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

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

CreateItemItemDependencyGraphSnapshotsPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemDeploymentsItemStatusesPostRequestBodyFromDiscriminatorValue

CreateItemItemDeploymentsItemStatusesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemDeploymentsPostRequestBodyFromDiscriminatorValue

CreateItemItemDeploymentsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemDispatchesPostRequestBodyFromDiscriminatorValue

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

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

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

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

CreateItemItemForksPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemGeneratePostRequestBodyFromDiscriminatorValue

CreateItemItemGeneratePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemGitBlobsPostRequestBodyFromDiscriminatorValue

CreateItemItemGitBlobsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemGitCommitsPostRequestBodyFromDiscriminatorValue

CreateItemItemGitCommitsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemGitCommitsPostRequestBody_authorFromDiscriminatorValue

CreateItemItemGitCommitsPostRequestBody_authorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemGitCommitsPostRequestBody_committerFromDiscriminatorValue

CreateItemItemGitCommitsPostRequestBody_committerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemGitRefsItemWithRefPatchRequestBodyFromDiscriminatorValue

CreateItemItemGitRefsItemWithRefPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemGitRefsPostRequestBodyFromDiscriminatorValue

CreateItemItemGitRefsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemGitTagsPostRequestBodyFromDiscriminatorValue

CreateItemItemGitTagsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemGitTagsPostRequestBody_taggerFromDiscriminatorValue

CreateItemItemGitTagsPostRequestBody_taggerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemGitTreesPostRequestBodyFromDiscriminatorValue

CreateItemItemGitTreesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemGitTreesPostRequestBody_treeFromDiscriminatorValue

CreateItemItemGitTreesPostRequestBody_treeFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemHooksItemConfigPatchRequestBodyFromDiscriminatorValue

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

CreateItemItemHooksItemWithHook_PatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemHooksPostRequestBodyFromDiscriminatorValue

CreateItemItemHooksPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemHooksPostRequestBody_configFromDiscriminatorValue

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

CreateItemItemIssuesItemAssigneesDeleteRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemIssuesItemAssigneesPostRequestBodyFromDiscriminatorValue

CreateItemItemIssuesItemAssigneesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemIssuesItemCommentsPostRequestBodyFromDiscriminatorValue

CreateItemItemIssuesItemCommentsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemIssuesItemLabelsPostRequestBodyMember1FromDiscriminatorValue

CreateItemItemIssuesItemLabelsPostRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemIssuesItemLabelsPostRequestBodyMember2FromDiscriminatorValue

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

CreateItemItemIssuesItemLabelsPostRequestBodyMember3FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemIssuesItemLabelsPutRequestBodyMember1FromDiscriminatorValue

CreateItemItemIssuesItemLabelsPutRequestBodyMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemIssuesItemLabelsPutRequestBodyMember2FromDiscriminatorValue

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

CreateItemItemIssuesItemLabelsPutRequestBodyMember3FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemIssuesItemLockPutRequestBodyFromDiscriminatorValue

CreateItemItemIssuesItemLockPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemIssuesItemReactionsPostRequestBodyFromDiscriminatorValue

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

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

CreateItemItemKeysPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemLabelsItemWithNamePatchRequestBodyFromDiscriminatorValue

CreateItemItemLabelsItemWithNamePatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemLabelsPostRequestBodyFromDiscriminatorValue

CreateItemItemLabelsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemLfsPutResponseFromDiscriminatorValue

CreateItemItemLfsPutResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemMergeUpstreamPostRequestBodyFromDiscriminatorValue

CreateItemItemMergeUpstreamPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemMergesPostRequestBodyFromDiscriminatorValue

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

CreateItemItemMilestonesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemNotificationsPutRequestBodyFromDiscriminatorValue

CreateItemItemNotificationsPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemNotificationsPutResponseFromDiscriminatorValue

CreateItemItemNotificationsPutResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemPagesDeploymentsPostRequestBodyFromDiscriminatorValue

CreateItemItemPagesDeploymentsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemPagesPostRequestBodyFromDiscriminatorValue

CreateItemItemPagesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemPagesPostRequestBody_sourceFromDiscriminatorValue

CreateItemItemPagesPostRequestBody_sourceFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemPagesPutRequestBodyFromDiscriminatorValue

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

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

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

CreateItemItemPullsItemCommentsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemPullsItemMergePutRequestBodyFromDiscriminatorValue

CreateItemItemPullsItemMergePutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemPullsItemPullRequestMergeResult405ErrorFromDiscriminatorValue

CreateItemItemPullsItemPullRequestMergeResult405ErrorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemPullsItemPullRequestMergeResult409ErrorFromDiscriminatorValue

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

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

CreateItemItemPullsItemUpdateBranchPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemPullsItemUpdateBranchPutResponseFromDiscriminatorValue

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

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

CreateItemItemReleasesGenerateNotesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemReleasesItemReactionsPostRequestBodyFromDiscriminatorValue

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

CreateItemItemReleasesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemReplicasCachesFromDiscriminatorValue

CreateItemItemReplicasCachesFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemReplicasCaches_gitFromDiscriminatorValue

CreateItemItemReplicasCaches_gitFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemRepo403ErrorFromDiscriminatorValue

CreateItemItemRepo403ErrorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemRepoPatchRequestBodyFromDiscriminatorValue

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

CreateItemItemStargazersSimpleUserFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemStargazersStargazerFromDiscriminatorValue

CreateItemItemStargazersStargazerFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemStatusesItemWithShaPostRequestBodyFromDiscriminatorValue

CreateItemItemStatusesItemWithShaPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemSubscriptionPutRequestBodyFromDiscriminatorValue

CreateItemItemSubscriptionPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemTagsProtectionPostRequestBodyFromDiscriminatorValue

CreateItemItemTagsProtectionPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemTopicsPutRequestBodyFromDiscriminatorValue

CreateItemItemTopicsPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateItemItemTransferPostRequestBodyFromDiscriminatorValue

CreateItemItemTransferPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateLabelsPostRequestBodyFromDiscriminatorValue

CreateLabelsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateLabelsPutRequestBodyFromDiscriminatorValue

CreateLabelsPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateStargazersGetResponseFromDiscriminatorValue

CreateStargazersGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateTeamsDeleteRequestBodyFromDiscriminatorValue

CreateTeamsDeleteRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateTeamsPostRequestBodyFromDiscriminatorValue

CreateTeamsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateTeamsPutRequestBodyFromDiscriminatorValue

CreateTeamsPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateUsersDeleteRequestBodyFromDiscriminatorValue

CreateUsersDeleteRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateUsersPostRequestBodyFromDiscriminatorValue

CreateUsersPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateUsersPutRequestBodyFromDiscriminatorValue

CreateUsersPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateWithCheck_run_PatchRequestBodyFromDiscriminatorValue

CreateWithCheck_run_PatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful

func CreateWithPathGetResponseFromDiscriminatorValue

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetDeploymentProtectionRulePostRequestBodyReviewCustomGatesCommentRequired gets the reviewCustomGatesCommentRequired property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesCommentRequiredable returns a ReviewCustomGatesCommentRequiredable when successful

func (*Deployment_protection_rulePostRequestBody) GetDeploymentProtectionRulePostRequestBodyReviewCustomGatesStateRequired

GetDeploymentProtectionRulePostRequestBodyReviewCustomGatesStateRequired gets the reviewCustomGatesStateRequired property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesStateRequiredable returns a ReviewCustomGatesStateRequiredable when successful

func (*Deployment_protection_rulePostRequestBody) GetFieldDeserializers

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

GetReviewCustomGatesCommentRequired gets the reviewCustomGatesCommentRequired property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesCommentRequiredable returns a ReviewCustomGatesCommentRequiredable when successful

func (*Deployment_protection_rulePostRequestBody) GetReviewCustomGatesStateRequired

GetReviewCustomGatesStateRequired gets the reviewCustomGatesStateRequired property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesStateRequiredable returns a ReviewCustomGatesStateRequiredable when successful

func (*Deployment_protection_rulePostRequestBody) Serialize

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

SetReviewCustomGatesCommentRequired sets the reviewCustomGatesCommentRequired property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ReviewCustomGatesCommentRequiredable

func (*Deployment_protection_rulePostRequestBody) SetReviewCustomGatesStateRequired

SetReviewCustomGatesStateRequired sets the reviewCustomGatesStateRequired property value. Composed type representation for type 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

GetArtifacts gets the artifacts property value. The artifacts property returns a []Artifactable when successful

func (*ItemItemActionsArtifactsGetResponse) GetFieldDeserializers

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

ItemItemActionsCacheRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\cache

func NewItemItemActionsCacheRequestBuilder

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

Usage the usage property returns a *ItemItemActionsCacheUsageRequestBuilder when successful

func (*ItemItemActionsCacheRequestBuilder) UsagePolicy

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

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

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

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

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

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

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

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

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

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

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

ItemItemActionsCachesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\caches

func NewItemItemActionsCachesRequestBuilder

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsJobsItemRerunPostRequestBody) Serialize

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

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

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

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

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

ItemItemActionsJobsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\jobs

func NewItemItemActionsJobsRequestBuilder

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

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

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

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

Logs the logs property returns a *ItemItemActionsJobsItemLogsRequestBuilder when successful

func (*ItemItemActionsJobsWithJob_ItemRequestBuilder) Rerun

Rerun the rerun property returns a *ItemItemActionsJobsItemRerunRequestBuilder when successful

func (*ItemItemActionsJobsWithJob_ItemRequestBuilder) ToGetRequestInformation

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

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

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

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

GetAdditionalData 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

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

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

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

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

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

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

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

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

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

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

ItemItemActionsOidcRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\oidc

func NewItemItemActionsOidcRequestBuilder

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsOrganizationSecretsGetResponse) GetSecrets

GetSecrets gets the secrets property value. The secrets property returns a []ActionsSecretable when successful

func (*ItemItemActionsOrganizationSecretsGetResponse) GetTotalCount

GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful

func (*ItemItemActionsOrganizationSecretsGetResponse) Serialize

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

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 ItemItemActionsOrganizationSecretsRequestBuilder

type ItemItemActionsOrganizationSecretsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemItemActionsOrganizationSecretsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\organization-secrets

func NewItemItemActionsOrganizationSecretsRequestBuilder

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsOrganizationVariablesGetResponse) GetTotalCount

GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful

func (*ItemItemActionsOrganizationVariablesGetResponse) GetVariables

GetVariables gets the variables property value. The variables property returns a []ActionsVariableable when successful

func (*ItemItemActionsOrganizationVariablesGetResponse) Serialize

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

SetVariables sets the variables property value. The variables property

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

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

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

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

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

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

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

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

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

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

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

GetEnabled gets the enabled property value. Whether GitHub Actions is enabled on the repository. returns a *bool when successful

func (*ItemItemActionsPermissionsPutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsPermissionsPutRequestBody) Serialize

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

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 ItemItemActionsPermissionsRequestBuilder

type ItemItemActionsPermissionsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemItemActionsPermissionsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\permissions

func NewItemItemActionsPermissionsRequestBuilder

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

Access the access property returns a *ItemItemActionsPermissionsAccessRequestBuilder when successful

func (*ItemItemActionsPermissionsRequestBuilder) Get

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

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

SelectedActions the selectedActions property returns a *ItemItemActionsPermissionsSelectedActionsRequestBuilder when successful

func (*ItemItemActionsPermissionsRequestBuilder) ToGetRequestInformation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

ItemItemActionsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions

func NewItemItemActionsRequestBuilder

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

Artifacts the artifacts property returns a *ItemItemActionsArtifactsRequestBuilder when successful

func (*ItemItemActionsRequestBuilder) Cache

Cache the cache property returns a *ItemItemActionsCacheRequestBuilder when successful

func (*ItemItemActionsRequestBuilder) Caches

Caches the caches property returns a *ItemItemActionsCachesRequestBuilder when successful

func (*ItemItemActionsRequestBuilder) Jobs

Jobs the jobs property returns a *ItemItemActionsJobsRequestBuilder when successful

func (*ItemItemActionsRequestBuilder) Oidc

Oidc the oidc property returns a *ItemItemActionsOidcRequestBuilder when successful

func (*ItemItemActionsRequestBuilder) OrganizationSecrets

OrganizationSecrets the organizationSecrets property returns a *ItemItemActionsOrganizationSecretsRequestBuilder when successful

func (*ItemItemActionsRequestBuilder) OrganizationVariables

OrganizationVariables the organizationVariables property returns a *ItemItemActionsOrganizationVariablesRequestBuilder when successful

func (*ItemItemActionsRequestBuilder) Permissions

Permissions the permissions property returns a *ItemItemActionsPermissionsRequestBuilder when successful

func (*ItemItemActionsRequestBuilder) Runners

Runners the runners property returns a *ItemItemActionsRunnersRequestBuilder when successful

func (*ItemItemActionsRequestBuilder) Runs

Runs the runs property returns a *ItemItemActionsRunsRequestBuilder when successful

func (*ItemItemActionsRequestBuilder) Secrets

Secrets the secrets property returns a *ItemItemActionsSecretsRequestBuilder when successful

func (*ItemItemActionsRequestBuilder) Variables

Variables the variables property returns a *ItemItemActionsVariablesRequestBuilder when successful

func (*ItemItemActionsRequestBuilder) Workflows

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

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

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

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

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsRunnersGenerateJitconfigPostRequestBody) GetLabels

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

GetName gets the name property value. The name of the new runner. returns a *string when successful

func (*ItemItemActionsRunnersGenerateJitconfigPostRequestBody) GetRunnerGroupId

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

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

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

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

SetName sets the name property value. The name of the new runner.

func (*ItemItemActionsRunnersGenerateJitconfigPostRequestBody) SetRunnerGroupId

SetRunnerGroupId sets the runner_group_id property value. The ID of the runner group to register the runner to.

func (*ItemItemActionsRunnersGenerateJitconfigPostRequestBody) SetWorkFolder

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

GetAdditionalData 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

GetEncodedJitConfig gets the encoded_jit_config property value. The base64 encoded runner configuration. returns a *string when successful

func (*ItemItemActionsRunnersGenerateJitconfigPostResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsRunnersGenerateJitconfigPostResponse) GetRunner

GetRunner gets the runner property value. A self hosted runner returns a Runnerable when successful

func (*ItemItemActionsRunnersGenerateJitconfigPostResponse) Serialize

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

SetRunner sets the runner property value. A self hosted runner

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsRunnersGetResponse) GetRunners

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsRunnersItemLabelsDeleteResponse) GetLabels

GetLabels gets the labels property value. The labels property returns a []RunnerLabelable when successful

func (*ItemItemActionsRunnersItemLabelsDeleteResponse) GetTotalCount

GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful

func (*ItemItemActionsRunnersItemLabelsDeleteResponse) Serialize

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsRunnersItemLabelsGetResponse) GetLabels

GetLabels gets the labels property value. The labels property returns a []RunnerLabelable when successful

func (*ItemItemActionsRunnersItemLabelsGetResponse) GetTotalCount

GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful

func (*ItemItemActionsRunnersItemLabelsGetResponse) Serialize

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

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetLabels

GetLabels gets the labels property value. The labels property returns a []RunnerLabelable when successful

func (*ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetTotalCount

GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful

func (*ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) Serialize

Serialize serializes information the current object

func (*ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetAdditionalData

SetAdditionalData 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

SetLabels sets the labels property value. The labels property

func (*ItemItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetTotalCount

SetTotalCount sets the total_count property value. The total_count property

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsRunnersItemLabelsPostRequestBody) GetLabels

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

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

SetLabels sets the labels property value. The names of the custom labels to add to the runner.

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsRunnersItemLabelsPostResponse) GetLabels

GetLabels gets the labels property value. The labels property returns a []RunnerLabelable when successful

func (*ItemItemActionsRunnersItemLabelsPostResponse) GetTotalCount

GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful

func (*ItemItemActionsRunnersItemLabelsPostResponse) Serialize

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsRunnersItemLabelsPutRequestBody) GetLabels

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsRunnersItemLabelsPutResponse) GetLabels

GetLabels gets the labels property value. The labels property returns a []RunnerLabelable when successful

func (*ItemItemActionsRunnersItemLabelsPutResponse) GetTotalCount

GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful

func (*ItemItemActionsRunnersItemLabelsPutResponse) Serialize

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Downloads the downloads property returns a *ItemItemActionsRunnersDownloadsRequestBuilder when successful

func (*ItemItemActionsRunnersRequestBuilder) GenerateJitconfig

GenerateJitconfig the generateJitconfig property returns a *ItemItemActionsRunnersGenerateJitconfigRequestBuilder when successful

func (*ItemItemActionsRunnersRequestBuilder) Get

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

RegistrationToken the registrationToken property returns a *ItemItemActionsRunnersRegistrationTokenRequestBuilder when successful

func (*ItemItemActionsRunnersRequestBuilder) RemoveToken

RemoveToken the removeToken property returns a *ItemItemActionsRunnersRemoveTokenRequestBuilder when successful

func (*ItemItemActionsRunnersRequestBuilder) ToGetRequestInformation

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

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

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

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

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

Labels the labels property returns a *ItemItemActionsRunnersItemLabelsRequestBuilder when successful

func (*ItemItemActionsRunnersWithRunner_ItemRequestBuilder) ToDeleteRequestInformation

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

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

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

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

GetWorkflowRuns gets the workflow_runs property value. The workflow_runs property returns a []WorkflowRunable when successful

func (*ItemItemActionsRunsGetResponse) Serialize

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

SetWorkflowRuns sets the workflow_runs property value. The workflow_runs property

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

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

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

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

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

GetArtifacts gets the artifacts property value. The artifacts property returns a []Artifactable when successful

func (*ItemItemActionsRunsItemArtifactsGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsRunsItemArtifactsGetResponse) GetTotalCount

GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful

func (*ItemItemActionsRunsItemArtifactsGetResponse) Serialize

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

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

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

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

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

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsRunsItemAttemptsItemJobsGetResponse) GetJobs

GetJobs gets the jobs property value. The jobs property returns a []Jobable when successful

func (*ItemItemActionsRunsItemAttemptsItemJobsGetResponse) GetTotalCount

GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful

func (*ItemItemActionsRunsItemAttemptsItemJobsGetResponse) Serialize

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

SetJobs sets the jobs property value. The jobs property

func (*ItemItemActionsRunsItemAttemptsItemJobsGetResponse) SetTotalCount

SetTotalCount sets the total_count property value. The total_count property

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

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

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

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

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

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

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

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

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

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

Jobs the jobs property returns a *ItemItemActionsRunsItemAttemptsItemJobsRequestBuilder when successful

func (*ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder) Logs

Logs the logs property returns a *ItemItemActionsRunsItemAttemptsItemLogsRequestBuilder when successful

func (*ItemItemActionsRunsItemAttemptsWithAttempt_numberItemRequestBuilder) ToGetRequestInformation

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

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

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

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

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsRunsItemJobsGetResponse) GetJobs

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

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

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

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

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

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

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

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

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

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

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

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

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

GetAdditionalData 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

GetComment gets the comment property value. A comment to accompany the deployment review returns a *string when successful

func (*ItemItemActionsRunsItemPending_deploymentsPostRequestBody) GetEnvironmentIds

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsRunsItemPending_deploymentsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemItemActionsRunsItemPending_deploymentsPostRequestBody) SetAdditionalData

SetAdditionalData 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

SetComment sets the comment property value. A comment to accompany the deployment review

func (*ItemItemActionsRunsItemPending_deploymentsPostRequestBody) SetEnvironmentIds

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

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

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

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

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

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsRunsItemRerunFailedJobsPostRequestBody) Serialize

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsRunsItemRerunPostRequestBody) Serialize

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

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

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

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

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

ItemItemActionsRunsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\runs

func NewItemItemActionsRunsRequestBuilder

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

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

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

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

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

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

Approvals the approvals property returns a *ItemItemActionsRunsItemApprovalsRequestBuilder when successful

func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) Artifacts

Artifacts the artifacts property returns a *ItemItemActionsRunsItemArtifactsRequestBuilder when successful

func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) Attempts

Attempts the attempts property returns a *ItemItemActionsRunsItemAttemptsRequestBuilder when successful

func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) Cancel

Cancel the cancel property returns a *ItemItemActionsRunsItemCancelRequestBuilder when successful

func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) Delete

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

Deployment_protection_rule the deployment_protection_rule property returns a *ItemItemActionsRunsItemDeployment_protection_ruleRequestBuilder when successful

func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) Get

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

Jobs the jobs property returns a *ItemItemActionsRunsItemJobsRequestBuilder when successful

func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) Logs

Logs the logs property returns a *ItemItemActionsRunsItemLogsRequestBuilder when successful

func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) Pending_deployments

Pending_deployments the pending_deployments property returns a *ItemItemActionsRunsItemPending_deploymentsRequestBuilder when successful

func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) Rerun

Rerun the rerun property returns a *ItemItemActionsRunsItemRerunRequestBuilder when successful

func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) RerunFailedJobs

RerunFailedJobs the rerunFailedJobs property returns a *ItemItemActionsRunsItemRerunFailedJobsRequestBuilder when successful

func (*ItemItemActionsRunsWithRun_ItemRequestBuilder) ToDeleteRequestInformation

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsSecretsGetResponse) GetSecrets

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

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

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

GetAdditionalData 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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsSecretsItemWithSecret_namePutRequestBody) GetKeyId

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

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

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

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

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

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

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

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

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

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

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

PublicKey the publicKey property returns a *ItemItemActionsSecretsPublicKeyRequestBuilder when successful

func (*ItemItemActionsSecretsRequestBuilder) ToGetRequestInformation

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

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

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

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

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

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

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

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

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

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

GetVariables gets the variables property value. The variables property returns a []ActionsVariableable when successful

func (*ItemItemActionsVariablesGetResponse) Serialize

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

SetVariables sets the variables property value. The variables property

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsVariablesItemWithNamePatchRequestBody) GetName

GetName gets the name property value. The name of the variable. returns a *string when successful

func (*ItemItemActionsVariablesItemWithNamePatchRequestBody) GetValue

GetValue gets the value property value. The value of the variable. returns a *string when successful

func (*ItemItemActionsVariablesItemWithNamePatchRequestBody) Serialize

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

SetName sets the name property value. The name of the variable.

func (*ItemItemActionsVariablesItemWithNamePatchRequestBody) SetValue

SetValue sets the value property value. The value of the variable.

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsVariablesPostRequestBody) GetName

GetName gets the name property value. The name of the variable. returns a *string when successful

func (*ItemItemActionsVariablesPostRequestBody) GetValue

GetValue gets the value property value. The value of the variable. returns a *string when successful

func (*ItemItemActionsVariablesPostRequestBody) Serialize

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

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 ItemItemActionsVariablesRequestBuilder

type ItemItemActionsVariablesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemItemActionsVariablesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\actions\variables

func NewItemItemActionsVariablesRequestBuilder

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetWorkflows gets the workflows property value. The workflows property returns a []Workflowable when successful

func (*ItemItemActionsWorkflowsGetResponse) Serialize

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

SetWorkflows sets the workflows property value. The workflows property

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

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

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

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

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsWorkflowsItemDispatchesPostRequestBody) GetInputs

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

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

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

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

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputs) Serialize

Serialize serializes information the current object

func (*ItemItemActionsWorkflowsItemDispatchesPostRequestBody_inputs) SetAdditionalData

SetAdditionalData 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 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

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

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

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

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemActionsWorkflowsItemRunsGetResponse) GetTotalCount

GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful

func (*ItemItemActionsWorkflowsItemRunsGetResponse) GetWorkflowRuns

GetWorkflowRuns gets the workflow_runs property value. The workflow_runs property returns a []WorkflowRunable when successful

func (*ItemItemActionsWorkflowsItemRunsGetResponse) Serialize

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

SetWorkflowRuns sets the workflow_runs property value. The workflow_runs property

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

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

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

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

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

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

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

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

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

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

Disable the disable property returns a *ItemItemActionsWorkflowsItemDisableRequestBuilder when successful

func (*ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) Dispatches

Dispatches the dispatches property returns a *ItemItemActionsWorkflowsItemDispatchesRequestBuilder when successful

func (*ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) Enable

Enable the enable property returns a *ItemItemActionsWorkflowsItemEnableRequestBuilder when successful

func (*ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) Get

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

Runs the runs property returns a *ItemItemActionsWorkflowsItemRunsRequestBuilder when successful

func (*ItemItemActionsWorkflowsWithWorkflow_ItemRequestBuilder) ToGetRequestInformation

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

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

ItemItemAssigneesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\assignees

func NewItemItemAssigneesRequestBuilder

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

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

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

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

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

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

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

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

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

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

ItemItemAutolinksRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\autolinks

func NewItemItemAutolinksRequestBuilder

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.

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

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

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

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

ToPostRequestInformation users with admin access to the repository can create an autolink. returns a *RequestInformation when successful

func (*ItemItemAutolinksRequestBuilder) WithUrl

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 struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemItemAutolinksWithAutolink_ItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\autolinks\{autolink_id}

NewItemItemAutolinksWithAutolink_ItemRequestBuilder instantiates a new ItemItemAutolinksWithAutolink_ItemRequestBuilder and sets the default values.

func NewItemItemAutolinksWithAutolink_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemAutolinksWithAutolink_ItemRequestBuilder

NewItemItemAutolinksWithAutolink_ItemRequestBuilderInternal instantiates a new ItemItemAutolinksWithAutolink_ItemRequestBuilder and sets the default values.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemBranchesItemProtectionPutRequestBody) GetLockBranch

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

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

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

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

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

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

SetRequiredStatusChecks sets the required_status_checks property value. Require status checks to pass before merging. Set to `null` to disable.

func (*ItemItemBranchesItemProtectionPutRequestBody) SetRestrictions

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

GetAdditionalData 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

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

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

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

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

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

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

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

Serialize serializes information the current object

func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews) SetAdditionalData

SetAdditionalData 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

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

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

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

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

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

GetAdditionalData 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

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

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

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

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

Serialize serializes information the current object

func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_bypass_pull_request_allowances) SetAdditionalData

SetAdditionalData 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

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

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

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

GetAdditionalData 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

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

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

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

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

Serialize serializes information the current object

func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) SetAdditionalData

SetAdditionalData 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

SetApps sets the apps property value. The list of app `slug`s with dismissal access

func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) SetTeams

SetTeams sets the teams property value. The list of team `slug`s with dismissal access

func (*ItemItemBranchesItemProtectionPutRequestBody_required_pull_request_reviews_dismissal_restrictions) SetUsers

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

GetAdditionalData 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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) GetStrict

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

Serialize serializes information the current object

func (*ItemItemBranchesItemProtectionPutRequestBody_required_status_checks) SetAdditionalData

SetAdditionalData 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

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

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

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

GetAdditionalData 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

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

GetContext gets the context property value. The name of the required check returns a *string when successful

func (*ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) GetFieldDeserializers

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

Serialize serializes information the current object

func (*ItemItemBranchesItemProtectionPutRequestBody_required_status_checks_checks) SetAdditionalData

SetAdditionalData 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

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

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_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

GetAdditionalData 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

GetApps gets the apps property value. The list of app `slug`s with push access returns a []string when successful

func (*ItemItemBranchesItemProtectionPutRequestBody_restrictions) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemBranchesItemProtectionPutRequestBody_restrictions) GetTeams

GetTeams gets the teams property value. The list of team `slug`s with push access returns a []string when successful

func (*ItemItemBranchesItemProtectionPutRequestBody_restrictions) GetUsers

GetUsers gets the users property value. The list of user `login`s with push access returns a []string when successful

func (*ItemItemBranchesItemProtectionPutRequestBody_restrictions) Serialize

Serialize serializes information the current object

func (*ItemItemBranchesItemProtectionPutRequestBody_restrictions) SetAdditionalData

SetAdditionalData 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

SetApps sets the apps property value. The list of app `slug`s with push access

func (*ItemItemBranchesItemProtectionPutRequestBody_restrictions) SetTeams

SetTeams sets the teams property value. The list of team `slug`s with push access

func (*ItemItemBranchesItemProtectionPutRequestBody_restrictions) SetUsers

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

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

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

Enforce_admins the enforce_admins property returns a *ItemItemBranchesItemProtectionEnforce_adminsRequestBuilder when successful

func (*ItemItemBranchesItemProtectionRequestBuilder) Get

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

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

Required_pull_request_reviews the required_pull_request_reviews property returns a *ItemItemBranchesItemProtectionRequired_pull_request_reviewsRequestBuilder when successful

func (*ItemItemBranchesItemProtectionRequestBuilder) Required_signatures

Required_signatures the required_signatures property returns a *ItemItemBranchesItemProtectionRequired_signaturesRequestBuilder when successful

func (*ItemItemBranchesItemProtectionRequestBuilder) Required_status_checks

Required_status_checks the required_status_checks property returns a *ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder when successful

func (*ItemItemBranchesItemProtectionRequestBuilder) Restrictions

Restrictions the restrictions property returns a *ItemItemBranchesItemProtectionRestrictionsRequestBuilder when successful

func (*ItemItemBranchesItemProtectionRequestBuilder) ToDeleteRequestInformation

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

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

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

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

GetAdditionalData 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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) GetRequireCodeOwnerReviews

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

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

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

Serialize serializes information the current object

func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody) SetAdditionalData

SetAdditionalData 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

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

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

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

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

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

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

GetAdditionalData 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

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

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

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

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

Serialize serializes information the current object

func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_bypass_pull_request_allowances) SetAdditionalData

SetAdditionalData 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

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

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

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

GetAdditionalData 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

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

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

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

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

Serialize serializes information the current object

func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) SetAdditionalData

SetAdditionalData 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

SetApps sets the apps property value. The list of app `slug`s with dismissal access

func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) SetTeams

SetTeams sets the teams property value. The list of team `slug`s with dismissal access

func (*ItemItemBranchesItemProtectionRequired_pull_request_reviewsPatchRequestBody_dismissal_restrictions) SetUsers

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetAdditionalData 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

GetContexts gets the contexts property value. The name of the status checks returns a []string when successful

func (*ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1) Serialize

Serialize serializes information the current object

func (*ItemItemBranchesItemProtectionRequired_status_checksContextsDeleteRequestBodyMember1) SetAdditionalData

SetAdditionalData 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

SetContexts sets the contexts property value. The name of the status checks

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

GetAdditionalData 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

GetContexts gets the contexts property value. The name of the status checks returns a []string when successful

func (*ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1) Serialize

Serialize serializes information the current object

func (*ItemItemBranchesItemProtectionRequired_status_checksContextsPostRequestBodyMember1) SetAdditionalData

SetAdditionalData 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

SetContexts sets the contexts property value. The name of the status checks

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

GetAdditionalData 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

GetContexts gets the contexts property value. The name of the status checks returns a []string when successful

func (*ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1) Serialize

Serialize serializes information the current object

func (*ItemItemBranchesItemProtectionRequired_status_checksContextsPutRequestBodyMember1) SetAdditionalData

SetAdditionalData 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

SetContexts sets the contexts property value. The name of the status checks

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

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

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

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

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

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

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

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

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

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

GetAdditionalData 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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) GetStrict

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

Serialize serializes information the current object

func (*ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody) SetAdditionalData

SetAdditionalData 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

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

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

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

GetAdditionalData 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

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

GetContext gets the context property value. The name of the required check returns a *string when successful

func (*ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) Serialize

Serialize serializes information the current object

func (*ItemItemBranchesItemProtectionRequired_status_checksPatchRequestBody_checks) SetAdditionalData

SetAdditionalData 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

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

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_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

Contexts the contexts property returns a *ItemItemBranchesItemProtectionRequired_status_checksContextsRequestBuilder when successful

func (*ItemItemBranchesItemProtectionRequired_status_checksRequestBuilder) Delete

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

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

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

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

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

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

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

GetAdditionalData 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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1) Serialize

Serialize serializes information the current object

func (*ItemItemBranchesItemProtectionRestrictionsAppsDeleteRequestBodyMember1) SetAdditionalData

SetAdditionalData 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

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

GetAdditionalData 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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1) Serialize

Serialize serializes information the current object

func (*ItemItemBranchesItemProtectionRestrictionsAppsPostRequestBodyMember1) SetAdditionalData

SetAdditionalData 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

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

GetAdditionalData 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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1) Serialize

Serialize serializes information the current object

func (*ItemItemBranchesItemProtectionRestrictionsAppsPutRequestBodyMember1) SetAdditionalData

SetAdditionalData 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

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

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

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

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

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

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

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

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

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

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

Apps the apps property returns a *ItemItemBranchesItemProtectionRestrictionsAppsRequestBuilder when successful

func (*ItemItemBranchesItemProtectionRestrictionsRequestBuilder) Delete

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

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

Teams the teams property returns a *ItemItemBranchesItemProtectionRestrictionsTeamsRequestBuilder when successful

func (*ItemItemBranchesItemProtectionRestrictionsRequestBuilder) ToDeleteRequestInformation

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

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

Users the users property returns a *ItemItemBranchesItemProtectionRestrictionsUsersRequestBuilder when successful

func (*ItemItemBranchesItemProtectionRestrictionsRequestBuilder) WithUrl

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1) GetTeams

GetTeams gets the teams property value. The slug values for teams returns a []string when successful

func (*ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1) Serialize

Serialize serializes information the current object

func (*ItemItemBranchesItemProtectionRestrictionsTeamsDeleteRequestBodyMember1) SetAdditionalData

SetAdditionalData 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

SetTeams sets the teams property value. The slug values for teams

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1) GetTeams

GetTeams gets the teams property value. The slug values for teams returns a []string when successful

func (*ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1) Serialize

Serialize serializes information the current object

func (*ItemItemBranchesItemProtectionRestrictionsTeamsPostRequestBodyMember1) SetAdditionalData

SetAdditionalData 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

SetTeams sets the teams property value. The slug values for teams

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1) GetTeams

GetTeams gets the teams property value. The slug values for teams returns a []string when successful

func (*ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1) Serialize

Serialize serializes information the current object

func (*ItemItemBranchesItemProtectionRestrictionsTeamsPutRequestBodyMember1) SetAdditionalData

SetAdditionalData 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

SetTeams sets the teams property value. The slug values for teams

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

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

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

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

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

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

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

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

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

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1) GetUsers

GetUsers gets the users property value. The username for users returns a []string when successful

func (*ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1) Serialize

Serialize serializes information the current object

func (*ItemItemBranchesItemProtectionRestrictionsUsersDeleteRequestBodyMember1) SetAdditionalData

SetAdditionalData 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

SetUsers sets the users property value. The username for users

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1) GetUsers

GetUsers gets the users property value. The username for users returns a []string when successful

func (*ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1) Serialize

Serialize serializes information the current object

func (*ItemItemBranchesItemProtectionRestrictionsUsersPostRequestBodyMember1) SetAdditionalData

SetAdditionalData 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

SetUsers sets the users property value. The username for users

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1) GetUsers

GetUsers gets the users property value. The username for users returns a []string when successful

func (*ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1) Serialize

Serialize serializes information the current object

func (*ItemItemBranchesItemProtectionRestrictionsUsersPutRequestBodyMember1) SetAdditionalData

SetAdditionalData 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

SetUsers sets the users property value. The username for users

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

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

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

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

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

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemBranchesItemRenamePostRequestBody) GetNewName

GetNewName gets the new_name property value. The new name of the branch. returns a *string when successful

func (*ItemItemBranchesItemRenamePostRequestBody) Serialize

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 ItemItemBranchesItemRenameRequestBuilder

type ItemItemBranchesItemRenameRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemItemBranchesItemRenameRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\branches\{branch}\rename

func NewItemItemBranchesItemRenameRequestBuilder

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

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

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

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

ItemItemBranchesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\branches

func NewItemItemBranchesRequestBuilder

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

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

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

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

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

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

Protection the protection property returns a *ItemItemBranchesItemProtectionRequestBuilder when successful

func (*ItemItemBranchesWithBranchItemRequestBuilder) Rename

Rename the rename property returns a *ItemItemBranchesItemRenameRequestBuilder when successful

func (*ItemItemBranchesWithBranchItemRequestBuilder) WithUrl

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

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

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

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

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

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

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

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

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1) Serialize

Serialize serializes information the current object

func (*ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember1) SetAdditionalData

SetAdditionalData 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_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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2) Serialize

Serialize serializes information the current object

func (*ItemItemCheckRunsItemWithCheck_run_PatchRequestBodyMember2) SetAdditionalData

SetAdditionalData 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 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemCheckRunsPostRequestBodyMember1) Serialize

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemCheckRunsPostRequestBodyMember2) Serialize

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 ItemItemCheckRunsRequestBuilder

ItemItemCheckRunsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\check-runs

func NewItemItemCheckRunsRequestBuilder

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

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

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

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

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

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

Annotations the annotations property returns a *ItemItemCheckRunsItemAnnotationsRequestBuilder when successful

func (*ItemItemCheckRunsWithCheck_run_ItemRequestBuilder) Get

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

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

Rerequest the rerequest property returns a *ItemItemCheckRunsItemRerequestRequestBuilder when successful

func (*ItemItemCheckRunsWithCheck_run_ItemRequestBuilder) ToGetRequestInformation

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

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

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

GetCheckRuns gets the check_runs property value. The check_runs property returns a []CheckRunable when successful

func (*ItemItemCheckSuitesItemCheckRunsGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemCheckSuitesItemCheckRunsGetResponse) GetTotalCount

GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful

func (*ItemItemCheckSuitesItemCheckRunsGetResponse) Serialize

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

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

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

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

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

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

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

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

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemCheckSuitesPreferencesPatchRequestBody) Serialize

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

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

GetAdditionalData 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

GetAppId gets the app_id property value. The `id` of the GitHub App. returns a *int32 when successful

func (*ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) GetSetting

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

Serialize serializes information the current object

func (*ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) SetAdditionalData

SetAdditionalData 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

SetAppId sets the app_id property value. The `id` of the GitHub App.

func (*ItemItemCheckSuitesPreferencesPatchRequestBody_auto_trigger_checks) SetSetting

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 ItemItemCheckSuitesPreferencesRequestBuilder

type ItemItemCheckSuitesPreferencesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemItemCheckSuitesPreferencesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\check-suites\preferences

func NewItemItemCheckSuitesPreferencesRequestBuilder

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

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

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

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

ItemItemCheckSuitesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\check-suites

func NewItemItemCheckSuitesRequestBuilder

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

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

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

Preferences the preferences property returns a *ItemItemCheckSuitesPreferencesRequestBuilder when successful

func (*ItemItemCheckSuitesRequestBuilder) ToPostRequestInformation

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

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

CheckRuns the checkRuns property returns a *ItemItemCheckSuitesItemCheckRunsRequestBuilder when successful

func (*ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder) Get

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

Rerequest the rerequest property returns a *ItemItemCheckSuitesItemRerequestRequestBuilder when successful

func (*ItemItemCheckSuitesWithCheck_suite_ItemRequestBuilder) ToGetRequestInformation

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

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

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

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

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

GetAdditionalData 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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) GetState

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

Serialize serializes information the current object

func (*ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) SetAdditionalData

SetAdditionalData 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

SetDismissedComment sets the dismissed_comment property value. The dismissal comment associated with the dismissal of the alert.

func (*ItemItemCodeScanningAlertsItemWithAlert_numberPatchRequestBody) SetDismissedReason

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

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 ItemItemCodeScanningAlertsRequestBuilder

type ItemItemCodeScanningAlertsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemItemCodeScanningAlertsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\code-scanning\alerts

func NewItemItemCodeScanningAlertsRequestBuilder

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

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

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

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

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

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

Instances the instances property returns a *ItemItemCodeScanningAlertsItemInstancesRequestBuilder when successful

func (*ItemItemCodeScanningAlertsWithAlert_numberItemRequestBuilder) Patch

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

ItemItemCodeScanningRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\code-scanning

func NewItemItemCodeScanningRequestBuilder

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

Alerts the alerts property returns a *ItemItemCodeScanningAlertsRequestBuilder when successful

func (*ItemItemCodeScanningRequestBuilder) Analyses

Analyses the analyses property returns a *ItemItemCodeScanningAnalysesRequestBuilder when successful

func (*ItemItemCodeScanningRequestBuilder) DefaultSetup

DefaultSetup the defaultSetup property returns a *ItemItemCodeScanningDefaultSetupRequestBuilder when successful

func (*ItemItemCodeScanningRequestBuilder) Sarifs

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemCodeScanningSarifsPostRequestBody) GetRef

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

ItemItemCodeownersRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\codeowners

func NewItemItemCodeownersRequestBuilder

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

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

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

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

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

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemCollaboratorsItemWithUsernamePutRequestBody) GetPermission

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

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

SetPermission sets the permission property value. The permission to grant the collaborator. **Only valid on organization-owned repositories.**

type ItemItemCollaboratorsRequestBuilder

ItemItemCollaboratorsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\collaborators

func NewItemItemCollaboratorsRequestBuilder

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

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

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

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

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

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

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

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

Permission the permission property returns a *ItemItemCollaboratorsItemPermissionRequestBuilder when successful

func (*ItemItemCollaboratorsWithUsernameItemRequestBuilder) Put

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemCommentsItemReactionsPostRequestBody) Serialize

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

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

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

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

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

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

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

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

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

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

GetBody gets the body property value. The contents of the comment returns a *string when successful

func (*ItemItemCommentsItemWithComment_PatchRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemCommentsItemWithComment_PatchRequestBody) Serialize

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

SetBody sets the body property value. The contents of the comment

type ItemItemCommentsRequestBuilder

ItemItemCommentsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\comments

func NewItemItemCommentsRequestBuilder

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

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

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

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

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

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

Delete delete a commit comment returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemItemCommentsWithComment_ItemRequestBuilder) Get

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

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

Reactions the reactions property returns a *ItemItemCommentsItemReactionsRequestBuilder when successful

func (*ItemItemCommentsWithComment_ItemRequestBuilder) ToGetRequestInformation

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

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

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

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

BranchesWhereHead the branchesWhereHead property returns a *ItemItemCommitsItemBranchesWhereHeadRequestBuilder when successful

func (*ItemItemCommitsCommit_shaItemRequestBuilder) CheckRuns

CheckRuns the checkRuns property returns a *ItemItemCommitsItemCheckRunsRequestBuilder when successful

func (*ItemItemCommitsCommit_shaItemRequestBuilder) CheckSuites

CheckSuites the checkSuites property returns a *ItemItemCommitsItemCheckSuitesRequestBuilder when successful

func (*ItemItemCommitsCommit_shaItemRequestBuilder) Comments

Comments the comments property returns a *ItemItemCommitsItemCommentsRequestBuilder when successful

func (*ItemItemCommitsCommit_shaItemRequestBuilder) Get

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

Pulls the pulls property returns a *ItemItemCommitsItemPullsRequestBuilder when successful

func (*ItemItemCommitsCommit_shaItemRequestBuilder) Status

Status the status property returns a *ItemItemCommitsItemStatusRequestBuilder when successful

func (*ItemItemCommitsCommit_shaItemRequestBuilder) Statuses

Statuses the statuses property returns a *ItemItemCommitsItemStatusesRequestBuilder when successful

func (*ItemItemCommitsCommit_shaItemRequestBuilder) ToGetRequestInformation

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

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

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

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

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

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

GetCheckRuns gets the check_runs property value. The check_runs property returns a []CheckRunable when successful

func (*ItemItemCommitsItemCheckRunsGetResponse) GetFieldDeserializers

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

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

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

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

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

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

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

GetCheckSuites gets the check_suites property value. The check_suites property returns a []CheckSuiteable when successful

func (*ItemItemCommitsItemCheckSuitesGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemCommitsItemCheckSuitesGetResponse) GetTotalCount

GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful

func (*ItemItemCommitsItemCheckSuitesGetResponse) Serialize

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

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

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

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

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

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

GetBody gets the body property value. The contents of the comment. returns a *string when successful

func (*ItemItemCommitsItemCommentsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemCommitsItemCommentsPostRequestBody) GetLine

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

GetPath gets the path property value. Relative path of the file to comment on. returns a *string when successful

func (*ItemItemCommitsItemCommentsPostRequestBody) GetPosition

GetPosition gets the position property value. Line index in the diff to comment on. returns a *int32 when successful

func (*ItemItemCommitsItemCommentsPostRequestBody) Serialize

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

SetBody sets the body property value. The contents of the comment.

func (*ItemItemCommitsItemCommentsPostRequestBody) SetLine

SetLine sets the line property value. **Deprecated**. Use **position** parameter instead. Line number in the file to comment on.

func (*ItemItemCommitsItemCommentsPostRequestBody) SetPath

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

ItemItemCommitsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\commits

func NewItemItemCommitsRequestBuilder

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

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

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

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

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

ItemItemCompareRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\compare

func NewItemItemCompareRequestBuilder

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

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

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

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

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

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

GetAuthor gets the author property value. object containing information about the author. returns a ItemItemContentsItemWithPathDeleteRequestBody_authorable when successful

func (*ItemItemContentsItemWithPathDeleteRequestBody) GetBranch

GetBranch gets the branch property value. The branch name. Default: the repository’s default branch returns a *string when successful

func (*ItemItemContentsItemWithPathDeleteRequestBody) GetCommitter

GetCommitter gets the committer property value. object containing information about the committer. returns a ItemItemContentsItemWithPathDeleteRequestBody_committerable when successful

func (*ItemItemContentsItemWithPathDeleteRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemContentsItemWithPathDeleteRequestBody) GetMessage

GetMessage gets the message property value. The commit message. returns a *string when successful

func (*ItemItemContentsItemWithPathDeleteRequestBody) GetSha

GetSha gets the sha property value. The blob SHA of the file being deleted. returns a *string when successful

func (*ItemItemContentsItemWithPathDeleteRequestBody) Serialize

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

SetAuthor sets the author property value. object containing information about the author.

func (*ItemItemContentsItemWithPathDeleteRequestBody) SetBranch

SetBranch sets the branch property value. The branch name. Default: the repository’s default branch

func (*ItemItemContentsItemWithPathDeleteRequestBody) SetCommitter

SetCommitter sets the committer property value. object containing information about the committer.

func (*ItemItemContentsItemWithPathDeleteRequestBody) SetMessage

SetMessage sets the message property value. The commit message.

func (*ItemItemContentsItemWithPathDeleteRequestBody) SetSha

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

GetAdditionalData 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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemContentsItemWithPathDeleteRequestBody_author) GetName

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

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

SetEmail sets the email property value. The email of the author (or committer) of the commit

func (*ItemItemContentsItemWithPathDeleteRequestBody_author) SetName

SetName sets the name property value. The name of the author (or committer) of the commit

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

GetAdditionalData 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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemContentsItemWithPathDeleteRequestBody_committer) GetName

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

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

SetEmail sets the email property value. The email of the author (or committer) of the commit

func (*ItemItemContentsItemWithPathDeleteRequestBody_committer) SetName

SetName sets the name property value. The name of the author (or committer) of the commit

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

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

GetBranch gets the branch property value. The branch name. Default: the repository’s default branch. returns a *string when successful

func (*ItemItemContentsItemWithPathPutRequestBody) GetCommitter

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

GetContent gets the content property value. The new file content, using Base64 encoding. returns a *string when successful

func (*ItemItemContentsItemWithPathPutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemContentsItemWithPathPutRequestBody) GetMessage

GetMessage gets the message property value. The commit message. returns a *string when successful

func (*ItemItemContentsItemWithPathPutRequestBody) GetSha

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

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

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

SetBranch sets the branch property value. The branch name. Default: the repository’s default branch.

func (*ItemItemContentsItemWithPathPutRequestBody) SetCommitter

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

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

GetAdditionalData 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

GetDate gets the date property value. The date property returns a *string when successful

func (*ItemItemContentsItemWithPathPutRequestBody_author) GetEmail

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemContentsItemWithPathPutRequestBody_author) GetName

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

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

SetDate sets the date property value. The date property

func (*ItemItemContentsItemWithPathPutRequestBody_author) SetEmail

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

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
	GetDate() *string
	GetEmail() *string
	GetName() *string
	SetDate(value *string)
	SetEmail(value *string)
	SetName(value *string)
}

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

GetAdditionalData 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

GetDate gets the date property value. The date property returns a *string when successful

func (*ItemItemContentsItemWithPathPutRequestBody_committer) GetEmail

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemContentsItemWithPathPutRequestBody_committer) GetName

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

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

SetDate sets the date property value. The date property

func (*ItemItemContentsItemWithPathPutRequestBody_committer) SetEmail

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

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 ItemItemContentsRequestBuilder

ItemItemContentsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\contents

func NewItemItemContentsRequestBuilder

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

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

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

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

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

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

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

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

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

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

ItemItemContributorsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\contributors

func NewItemItemContributorsRequestBuilder

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

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

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

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

GetDismissedComment gets the dismissed_comment property value. An optional comment associated with dismissing the alert. returns a *string when successful

func (*ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemItemDependabotAlertsItemWithAlert_numberPatchRequestBody) SetDismissedComment

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

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

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

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

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

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

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

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

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

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

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

ItemItemDependabotRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\dependabot

func NewItemItemDependabotRequestBuilder

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

Alerts the alerts property returns a *ItemItemDependabotAlertsRequestBuilder when successful

func (*ItemItemDependabotRequestBuilder) Secrets

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemDependabotSecretsGetResponse) GetSecrets

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

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

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

GetAdditionalData 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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemDependabotSecretsItemWithSecret_namePutRequestBody) GetKeyId

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

Serialize serializes information the current object

func (*ItemItemDependabotSecretsItemWithSecret_namePutRequestBody) SetAdditionalData

SetAdditionalData 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

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

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

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

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

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

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

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

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

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

PublicKey the publicKey property returns a *ItemItemDependabotSecretsPublicKeyRequestBuilder when successful

func (*ItemItemDependabotSecretsRequestBuilder) ToGetRequestInformation

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Compare the compare property returns a *ItemItemDependencyGraphCompareRequestBuilder when successful

func (*ItemItemDependencyGraphRequestBuilder) Sbom

Sbom the sbom property returns a *ItemItemDependencyGraphSbomRequestBuilder when successful

func (*ItemItemDependencyGraphRequestBuilder) Snapshots

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

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

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

ToGetRequestInformation exports the software bill of materials (SBOM) for a repository in SPDX JSON format. returns a *RequestInformation when successful

func (*ItemItemDependencyGraphSbomRequestBuilder) WithUrl

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

GetCreatedAt gets the created_at property value. The time at which the snapshot was created. returns a *string when successful

func (*ItemItemDependencyGraphSnapshotsPostResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemDependencyGraphSnapshotsPostResponse) GetId

GetId gets the id property value. ID of the created snapshot. returns a *int32 when successful

func (*ItemItemDependencyGraphSnapshotsPostResponse) GetMessage

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

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

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

SetId sets the id property value. ID of the created snapshot.

func (*ItemItemDependencyGraphSnapshotsPostResponse) SetMessage

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

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

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

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

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

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

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

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

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

GetEnvironmentUrl gets the environment_url property value. Sets the URL for accessing your environment. Default: `""` returns a *string when successful

func (*ItemItemDeploymentsItemStatusesPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemDeploymentsItemStatusesPostRequestBody) GetLogUrl

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

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

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

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

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

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

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

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

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

ToGetRequestInformation users with pull access can view deployment statuses for a deployment: returns a *RequestInformation when successful

func (*ItemItemDeploymentsItemStatusesRequestBuilder) ToPostRequestInformation

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

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

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

ToGetRequestInformation users with pull access can view a deployment status for a deployment: returns a *RequestInformation when successful

func (*ItemItemDeploymentsItemStatusesWithStatus_ItemRequestBuilder) WithUrl

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

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

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

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

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

ItemItemDeploymentsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\deployments

func NewItemItemDeploymentsRequestBuilder

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

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

Get simple filtering of deployments is available via query parameters: returns a []Deploymentable when successful API method documentation

func (*ItemItemDeploymentsRequestBuilder) Post

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

ToGetRequestInformation simple filtering of deployments is available via query parameters: returns a *RequestInformation when successful

func (*ItemItemDeploymentsRequestBuilder) ToPostRequestInformation

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

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

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

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

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

Statuses the statuses property returns a *ItemItemDeploymentsItemStatusesRequestBuilder when successful

func (*ItemItemDeploymentsWithDeployment_ItemRequestBuilder) ToDeleteRequestInformation

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemDispatchesPostRequestBody) Serialize

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemDispatchesPostRequestBody_client_payload) Serialize

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 ItemItemDispatchesRequestBuilder

ItemItemDispatchesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\dispatches

func NewItemItemDispatchesRequestBuilder

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

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

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

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

GetEnvironments gets the environments property value. The environments property returns a []Environmentable when successful

func (*ItemItemEnvironmentsGetResponse) GetFieldDeserializers

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

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

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

GetAdditionalData 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

GetBranchPolicies gets the branch_policies property value. The branch_policies property returns a []DeploymentBranchPolicyable when successful

func (*ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) GetTotalCount

GetTotalCount gets the total_count property value. The number of deployment branch policies for the environment. returns a *int32 when successful

func (*ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) Serialize

Serialize serializes information the current object

func (*ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) SetAdditionalData

SetAdditionalData 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

SetBranchPolicies sets the branch_policies property value. The branch_policies property

func (*ItemItemEnvironmentsItemDeploymentBranchPoliciesGetResponse) SetTotalCount

SetTotalCount sets the total_count property value. The number of deployment branch policies for the environment.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetAdditionalData 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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) GetTotalCount

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

Serialize serializes information the current object

func (*ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) SetAdditionalData

SetAdditionalData 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

SetAvailableCustomDeploymentProtectionRuleIntegrations sets the available_custom_deployment_protection_rule_integrations property value. The available_custom_deployment_protection_rule_integrations property

func (*ItemItemEnvironmentsItemDeployment_protection_rulesAppsGetResponse) SetTotalCount

SetTotalCount sets the total_count property value. The total number of custom deployment protection rule integrations available for this environment.

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

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

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

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

GetAdditionalData 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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) GetTotalCount

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

Serialize serializes information the current object

func (*ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) SetAdditionalData

SetAdditionalData 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

SetCustomDeploymentProtectionRules sets the custom_deployment_protection_rules property value. The custom_deployment_protection_rules property

func (*ItemItemEnvironmentsItemDeployment_protection_rulesGetResponse) SetTotalCount

SetTotalCount sets the total_count property value. The number of enabled custom deployment protection rules for this environment

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody) GetIntegrationId

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

Serialize serializes information the current object

func (*ItemItemEnvironmentsItemDeployment_protection_rulesPostRequestBody) SetAdditionalData

SetAdditionalData 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

SetIntegrationId sets the integration_id property value. The ID of the custom app that will be enabled on the environment.

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

Apps the apps property returns a *ItemItemEnvironmentsItemDeployment_protection_rulesAppsRequestBuilder when successful

func (*ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder) ByProtection_rule_id

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

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

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

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

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

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

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemEnvironmentsItemSecretsGetResponse) GetSecrets

GetSecrets gets the secrets property value. The secrets property returns a []ActionsSecretable when successful

func (*ItemItemEnvironmentsItemSecretsGetResponse) GetTotalCount

GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful

func (*ItemItemEnvironmentsItemSecretsGetResponse) Serialize

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

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

GetAdditionalData 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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) GetKeyId

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

Serialize serializes information the current object

func (*ItemItemEnvironmentsItemSecretsItemWithSecret_namePutRequestBody) SetAdditionalData

SetAdditionalData 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

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

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

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

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

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

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

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

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

PublicKey the publicKey property returns a *ItemItemEnvironmentsItemSecretsPublicKeyRequestBuilder when successful

func (*ItemItemEnvironmentsItemSecretsRequestBuilder) ToGetRequestInformation

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

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

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

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

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemEnvironmentsItemVariablesGetResponse) GetTotalCount

GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful

func (*ItemItemEnvironmentsItemVariablesGetResponse) GetVariables

GetVariables gets the variables property value. The variables property returns a []ActionsVariableable when successful

func (*ItemItemEnvironmentsItemVariablesGetResponse) Serialize

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

SetVariables sets the variables property value. The variables property

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) GetName

GetName gets the name property value. The name of the variable. returns a *string when successful

func (*ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) GetValue

GetValue gets the value property value. The value of the variable. returns a *string when successful

func (*ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) SetAdditionalData

SetAdditionalData 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

SetName sets the name property value. The name of the variable.

func (*ItemItemEnvironmentsItemVariablesItemWithNamePatchRequestBody) SetValue

SetValue sets the value property value. The value of the variable.

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemEnvironmentsItemVariablesPostRequestBody) GetName

GetName gets the name property value. The name of the variable. returns a *string when successful

func (*ItemItemEnvironmentsItemVariablesPostRequestBody) GetValue

GetValue gets the value property value. The value of the variable. returns a *string when successful

func (*ItemItemEnvironmentsItemVariablesPostRequestBody) Serialize

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

SetName sets the name property value. The name of the variable.

func (*ItemItemEnvironmentsItemVariablesPostRequestBody) SetValue

SetValue sets the value property value. The value of the variable.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) GetReviewers

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

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

Serialize serializes information the current object

func (*ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody) SetDeploymentBranchPolicy

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

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

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) GetId

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

GetTypeEscaped gets the type property value. The type of reviewer. returns a *DeploymentReviewerType when successful

func (*ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) Serialize

Serialize serializes information the current object

func (*ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) SetAdditionalData

SetAdditionalData 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

SetId sets the id property value. The id of the user or team who can review the deployment

func (*ItemItemEnvironmentsItemWithEnvironment_namePutRequestBody_reviewers) SetTypeEscaped

SetTypeEscaped sets the type property value. The type of reviewer.

type ItemItemEnvironmentsRequestBuilder

ItemItemEnvironmentsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\environments

func NewItemItemEnvironmentsRequestBuilder

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

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

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

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

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

Delete oAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation

func (*ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) DeploymentBranchPolicies

DeploymentBranchPolicies the deploymentBranchPolicies property returns a *ItemItemEnvironmentsItemDeploymentBranchPoliciesRequestBuilder when successful

func (*ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) Deployment_protection_rules

Deployment_protection_rules the deployment_protection_rules property returns a *ItemItemEnvironmentsItemDeployment_protection_rulesRequestBuilder when successful

func (*ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) Get

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

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

Secrets the secrets property returns a *ItemItemEnvironmentsItemSecretsRequestBuilder when successful

func (*ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) ToDeleteRequestInformation

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

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

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

Variables the variables property returns a *ItemItemEnvironmentsItemVariablesRequestBuilder when successful

func (*ItemItemEnvironmentsWithEnvironment_nameItemRequestBuilder) WithUrl

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

ItemItemEventsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\events

func NewItemItemEventsRequestBuilder

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

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

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

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

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

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

ItemItemForksRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\forks

func NewItemItemForksRequestBuilder

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

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

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

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

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

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

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

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

ItemItemGenerateRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\generate

func NewItemItemGenerateRequestBuilder

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemGitBlobsPostRequestBody) Serialize

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 ItemItemGitBlobsRequestBuilder

ItemItemGitBlobsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\git\blobs

func NewItemItemGitBlobsRequestBuilder

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

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

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

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

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

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

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

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

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

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

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

GetTree gets the tree property value. The SHA of the tree object this commit points to returns a *string when successful

func (*ItemItemGitCommitsPostRequestBody) Serialize

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemGitCommitsPostRequestBody_author) GetName

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

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

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

SetEmail sets the email property value. The email of the author (or committer) of the commit

func (*ItemItemGitCommitsPostRequestBody_author) SetName

SetName sets the name property value. The name of the author (or committer) of the commit

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemGitCommitsPostRequestBody_committer) GetName

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

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

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

SetEmail sets the email property value. The email of the author (or committer) of the commit

func (*ItemItemGitCommitsPostRequestBody_committer) SetName

SetName sets the name property value. The name of the author (or committer) of the commit

type ItemItemGitCommitsRequestBuilder

ItemItemGitCommitsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\git\commits

func NewItemItemGitCommitsRequestBuilder

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

ItemItemGitRefRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\git\ref

func NewItemItemGitRefRequestBuilder

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

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemGitRefsItemWithRefPatchRequestBody) GetForce

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

GetSha gets the sha property value. The SHA1 value to set this reference to returns a *string when successful

func (*ItemItemGitRefsItemWithRefPatchRequestBody) Serialize

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

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

SetSha sets the sha property value. The SHA1 value to set this reference to

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemGitRefsPostRequestBody) GetRef

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

GetSha gets the sha property value. The SHA1 value for this reference. returns a *string when successful

func (*ItemItemGitRefsPostRequestBody) Serialize

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 ItemItemGitRefsRequestBuilder

ItemItemGitRefsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\git\refs

func NewItemItemGitRefsRequestBuilder

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

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

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

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

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

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

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

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

ToDeleteRequestInformation deletes the provided reference. returns a *RequestInformation when successful

func (*ItemItemGitRefsWithRefItemRequestBuilder) ToPatchRequestInformation

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

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

ItemItemGitRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\git

func NewItemItemGitRequestBuilder

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

Blobs the blobs property returns a *ItemItemGitBlobsRequestBuilder when successful

func (*ItemItemGitRequestBuilder) Commits

Commits the commits property returns a *ItemItemGitCommitsRequestBuilder when successful

func (*ItemItemGitRequestBuilder) MatchingRefs

MatchingRefs the matchingRefs property returns a *ItemItemGitMatchingRefsRequestBuilder when successful

func (*ItemItemGitRequestBuilder) Ref

Ref the ref property returns a *ItemItemGitRefRequestBuilder when successful

func (*ItemItemGitRequestBuilder) Refs

Refs the refs property returns a *ItemItemGitRefsRequestBuilder when successful

func (*ItemItemGitRequestBuilder) Tags

Tags the tags property returns a *ItemItemGitTagsRequestBuilder when successful

func (*ItemItemGitRequestBuilder) Trees

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

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

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

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

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

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

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

GetEmail gets the email property value. The email of the author of the tag returns a *string when successful

func (*ItemItemGitTagsPostRequestBody_tagger) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemGitTagsPostRequestBody_tagger) GetName

GetName gets the name property value. The name of the author of the tag returns a *string when successful

func (*ItemItemGitTagsPostRequestBody_tagger) Serialize

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

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 ItemItemGitTagsRequestBuilder

ItemItemGitTagsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\git\tags

func NewItemItemGitTagsRequestBuilder

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

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

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

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

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemGitTreesPostRequestBody) GetTree

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemGitTreesPostRequestBody_tree) GetPath

GetPath gets the path property value. The file referenced in the tree. returns a *string when successful

func (*ItemItemGitTreesPostRequestBody_tree) GetSha

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

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 ItemItemGitTreesRequestBuilder

ItemItemGitTreesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\git\trees

func NewItemItemGitTreesRequestBuilder

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

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

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

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

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemHooksItemConfigPatchRequestBody) GetInsecureSsl

GetInsecureSsl gets the insecure_ssl property value. The insecure_ssl property returns a WebhookConfigInsecureSslable when successful

func (*ItemItemHooksItemConfigPatchRequestBody) GetSecret

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

GetUrl gets the url property value. The URL to which the payloads will be delivered. returns a *string when successful

func (*ItemItemHooksItemConfigPatchRequestBody) Serialize

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

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

SetUrl sets the url property value. The URL to which the payloads will be delivered.

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

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

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

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

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

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

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemHooksItemDeliveriesItemAttemptsPostResponse) Serialize

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

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

ToPostRequestInformation redeliver a webhook delivery for a webhook configured in a repository. returns a *RequestInformation when successful

func (*ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder) WithUrl

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

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

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

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

ToGetRequestInformation returns a list of webhook deliveries for a webhook configured in a repository. returns a *RequestInformation when successful

func (*ItemItemHooksItemDeliveriesRequestBuilder) WithUrl

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

Attempts the attempts property returns a *ItemItemHooksItemDeliveriesItemAttemptsRequestBuilder when successful

func (*ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) Get

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

ToGetRequestInformation returns a delivery for a webhook configured in a repository. returns a *RequestInformation when successful

func (*ItemItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) WithUrl

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

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

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

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

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

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

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

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

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

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

GetConfig gets the config property value. Configuration object of the webhook returns a WebhookConfigable when successful

func (*ItemItemHooksItemWithHook_PatchRequestBody) GetEvents

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

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

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

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemHooksPostRequestBody_config) GetInsecureSsl

GetInsecureSsl gets the insecure_ssl property value. The insecure_ssl property returns a WebhookConfigInsecureSslable when successful

func (*ItemItemHooksPostRequestBody_config) GetSecret

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

GetUrl gets the url property value. The URL to which the payloads will be delivered. returns a *string when successful

func (*ItemItemHooksPostRequestBody_config) Serialize

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

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

ItemItemHooksRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\hooks

func NewItemItemHooksRequestBuilder

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

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

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

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

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

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

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

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

Config the config property returns a *ItemItemHooksItemConfigRequestBuilder when successful

func (*ItemItemHooksWithHook_ItemRequestBuilder) Delete

Delete delete a repository webhook returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemItemHooksWithHook_ItemRequestBuilder) Deliveries

Deliveries the deliveries property returns a *ItemItemHooksItemDeliveriesRequestBuilder when successful

func (*ItemItemHooksWithHook_ItemRequestBuilder) Get

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

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

Pings the pings property returns a *ItemItemHooksItemPingsRequestBuilder when successful

func (*ItemItemHooksWithHook_ItemRequestBuilder) Tests

Tests the tests property returns a *ItemItemHooksItemTestsRequestBuilder when successful

func (*ItemItemHooksWithHook_ItemRequestBuilder) ToGetRequestInformation

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

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

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

ItemItemInstallationRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\installation

func NewItemItemInstallationRequestBuilder

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

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

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

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemInvitationsItemWithInvitation_PatchRequestBody) Serialize

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 ItemItemInvitationsRequestBuilder

ItemItemInvitationsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\invitations

func NewItemItemInvitationsRequestBuilder

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

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

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

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

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

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

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemIssuesCommentsItemReactionsPostRequestBody) Serialize

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

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

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

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

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

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

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

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

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

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

GetAdditionalData 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

GetBody gets the body property value. The contents of the comment. returns a *string when successful

func (*ItemItemIssuesCommentsItemWithComment_PatchRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemIssuesCommentsItemWithComment_PatchRequestBody) Serialize

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

SetBody sets the body property value. The contents of the comment.

type ItemItemIssuesCommentsRequestBuilder

type ItemItemIssuesCommentsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemItemIssuesCommentsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\issues\comments

func NewItemItemIssuesCommentsRequestBuilder

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

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

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

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

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

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

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

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

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

Reactions the reactions property returns a *ItemItemIssuesCommentsItemReactionsRequestBuilder when successful

func (*ItemItemIssuesCommentsWithComment_ItemRequestBuilder) ToDeleteRequestInformation

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

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

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

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

ItemItemIssuesEventsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\issues\events

func NewItemItemIssuesEventsRequestBuilder

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

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

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

ToGetRequestInformation lists events for a repository. returns a *RequestInformation when successful

func (*ItemItemIssuesEventsRequestBuilder) WithUrl

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

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

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

ToGetRequestInformation gets a single event by the event id. returns a *RequestInformation when successful

func (*ItemItemIssuesEventsWithEvent_ItemRequestBuilder) WithUrl

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemIssuesItemAssigneesDeleteRequestBody) Serialize

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemIssuesItemAssigneesPostRequestBody) Serialize

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

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

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

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

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

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

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

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

GetBody gets the body property value. The contents of the comment. returns a *string when successful

func (*ItemItemIssuesItemCommentsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemIssuesItemCommentsPostRequestBody) Serialize

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

SetBody sets the body property value. The contents of the comment.

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

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

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

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

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

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

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

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

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

ToGetRequestInformation lists all events for an issue. returns a *RequestInformation when successful

func (*ItemItemIssuesItemEventsRequestBuilder) WithUrl

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemIssuesItemLabelsPostRequestBodyMember1) GetLabels

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemIssuesItemLabelsPostRequestBodyMember2) GetLabels

GetLabels gets the labels property value. The labels property returns a []ItemItemIssuesItemLabelsPostRequestBodyMember2_labelsable when successful

func (*ItemItemIssuesItemLabelsPostRequestBodyMember2) Serialize

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

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemIssuesItemLabelsPostRequestBodyMember2_labels) GetName

GetName gets the name property value. The name property returns a *string when successful

func (*ItemItemIssuesItemLabelsPostRequestBodyMember2_labels) Serialize

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

SetName sets the name property value. The name property

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemIssuesItemLabelsPostRequestBodyMember3) Serialize

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemIssuesItemLabelsPutRequestBodyMember1) GetLabels

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemIssuesItemLabelsPutRequestBodyMember2) GetLabels

GetLabels gets the labels property value. The labels property returns a []ItemItemIssuesItemLabelsPutRequestBodyMember2_labelsable when successful

func (*ItemItemIssuesItemLabelsPutRequestBodyMember2) Serialize

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

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemIssuesItemLabelsPutRequestBodyMember2_labels) GetName

GetName gets the name property value. The name property returns a *string when successful

func (*ItemItemIssuesItemLabelsPutRequestBodyMember2_labels) Serialize

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

SetName sets the name property value. The name property

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemIssuesItemLabelsPutRequestBodyMember3) Serialize

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

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

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

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

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

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

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

ToDeleteRequestInformation removes all labels from an issue. returns a *RequestInformation when successful

func (*ItemItemIssuesItemLabelsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all labels for an issue. returns a *RequestInformation when successful

func (*ItemItemIssuesItemLabelsRequestBuilder) ToPostRequestInformation

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

ToPutRequestInformation removes any previous labels and sets the new labels for an issue. returns a *RequestInformation when successful

func (*ItemItemIssuesItemLabelsRequestBuilder) WithUrl

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemIssuesItemLockPutRequestBody) Serialize

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

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

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

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

ToDeleteRequestInformation users with push access can unlock an issue's conversation. returns a *RequestInformation when successful

func (*ItemItemIssuesItemLockRequestBuilder) ToPutRequestInformation

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemIssuesItemReactionsPostRequestBody) Serialize

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

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

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

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

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

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

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

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

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

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

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

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

ToGetRequestInformation list all timeline events for an issue. returns a *RequestInformation when successful

func (*ItemItemIssuesItemTimelineRequestBuilder) WithUrl

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

GetAdditionalData 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

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

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

GetBody gets the body property value. The contents of the issue. returns a *string when successful

func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetLabels

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

GetMilestone gets the milestone property value. The milestone property returns a ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestoneable when successful

func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody) GetTitle

GetTitle gets the title property value. The title of the issue. returns a ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_titleable when successful

func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody) Serialize

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

SetAssignee sets the assignee property value. Username to assign to this issue. **This field is deprecated.**

func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody) SetAssignees

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

SetBody sets the body property value. The contents of the issue.

func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody) SetLabels

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

SetMilestone sets the milestone property value. The milestone property

func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody) SetTitle

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

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

GetInteger gets the integer property value. Composed type representation for type int32 returns a *int32 when successful

func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) GetIsComposedType

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

GetString gets the string property value. Composed type representation for type string returns a *string when successful

func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) Serialize

Serialize serializes information the current object

func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) SetInteger

SetInteger sets the integer property value. Composed type representation for type int32

func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestone) SetString

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

type ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestoneable

type ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_milestoneable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetInteger() *int32
	GetString() *string
	SetInteger(value *int32)
	SetString(value *string)
}

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

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

GetInteger gets the integer property value. Composed type representation for type int32 returns a *int32 when successful

func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) GetIsComposedType

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

GetString gets the string property value. Composed type representation for type string returns a *string when successful

func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) Serialize

Serialize serializes information the current object

func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) SetInteger

SetInteger sets the integer property value. Composed type representation for type int32

func (*ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_title) SetString

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

type ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_titleable

type ItemItemIssuesItemWithIssue_numberPatchRequestBody_WithIssue_numberPatchRequestBody_titleable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetInteger() *int32
	GetString() *string
	SetInteger(value *int32)
	SetString(value *string)
}

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

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

GetMilestone gets the milestone property value. The milestone property returns a ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestoneable when successful

func (*ItemItemIssuesPostRequestBody) GetTitle

GetTitle gets the title property value. The title of the issue. returns a ItemItemIssuesPostRequestBody_IssuesPostRequestBody_titleable when successful

func (*ItemItemIssuesPostRequestBody) Serialize

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

SetMilestone sets the milestone property value. The milestone property

func (*ItemItemIssuesPostRequestBody) SetTitle

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) GetInteger

GetInteger gets the integer property value. Composed type representation for type int32 returns a *int32 when successful

func (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) GetIsComposedType

GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful

func (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) GetString

GetString gets the string property value. Composed type representation for type string returns a *string when successful

func (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) Serialize

Serialize serializes information the current object

func (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) SetInteger

SetInteger sets the integer property value. Composed type representation for type int32

func (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestone) SetString

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

type ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestoneable

type ItemItemIssuesPostRequestBody_IssuesPostRequestBody_milestoneable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetInteger() *int32
	GetString() *string
	SetInteger(value *int32)
	SetString(value *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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) GetInteger

GetInteger gets the integer property value. Composed type representation for type int32 returns a *int32 when successful

func (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) GetIsComposedType

GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful

func (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) GetString

GetString gets the string property value. Composed type representation for type string returns a *string when successful

func (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) Serialize

Serialize serializes information the current object

func (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) SetInteger

SetInteger sets the integer property value. Composed type representation for type int32

func (*ItemItemIssuesPostRequestBody_IssuesPostRequestBody_title) SetString

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

type ItemItemIssuesPostRequestBody_IssuesPostRequestBody_titleable

type ItemItemIssuesPostRequestBody_IssuesPostRequestBody_titleable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetInteger() *int32
	GetString() *string
	SetInteger(value *int32)
	SetString(value *string)
}

type ItemItemIssuesRequestBuilder

ItemItemIssuesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\issues

func NewItemItemIssuesRequestBuilder

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

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

Comments the comments property returns a *ItemItemIssuesCommentsRequestBuilder when successful

func (*ItemItemIssuesRequestBuilder) Events

Events the events property returns a *ItemItemIssuesEventsRequestBuilder when successful

func (*ItemItemIssuesRequestBuilder) Get

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

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

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

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

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

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

Assignees the assignees property returns a *ItemItemIssuesItemAssigneesRequestBuilder when successful

func (*ItemItemIssuesWithIssue_numberItemRequestBuilder) Comments

Comments the comments property returns a *ItemItemIssuesItemCommentsRequestBuilder when successful

func (*ItemItemIssuesWithIssue_numberItemRequestBuilder) Events

Events the events property returns a *ItemItemIssuesItemEventsRequestBuilder when successful

func (*ItemItemIssuesWithIssue_numberItemRequestBuilder) Get

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

Labels the labels property returns a *ItemItemIssuesItemLabelsRequestBuilder when successful

func (*ItemItemIssuesWithIssue_numberItemRequestBuilder) Lock

Lock the lock property returns a *ItemItemIssuesItemLockRequestBuilder when successful

func (*ItemItemIssuesWithIssue_numberItemRequestBuilder) Patch

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

Reactions the reactions property returns a *ItemItemIssuesItemReactionsRequestBuilder when successful

func (*ItemItemIssuesWithIssue_numberItemRequestBuilder) Timeline

Timeline the timeline property returns a *ItemItemIssuesItemTimelineRequestBuilder when successful

func (*ItemItemIssuesWithIssue_numberItemRequestBuilder) ToGetRequestInformation

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

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

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

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

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

ItemItemKeysRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\keys

func NewItemItemKeysRequestBuilder

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

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

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

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

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

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

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemLabelsItemWithNamePatchRequestBody) GetNewName

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 ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png ":strawberry:"). 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

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

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 ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png ":strawberry:"). 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

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 ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png ":strawberry:"). 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

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 ![:strawberry:](https://github.githubassets.com/images/icons/emoji/unicode/1f353.png ":strawberry:"). 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

ItemItemLabelsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\labels

func NewItemItemLabelsRequestBuilder

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

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

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

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

ToGetRequestInformation lists all labels for a repository. returns a *RequestInformation when successful

func (*ItemItemLabelsRequestBuilder) ToPostRequestInformation

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

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

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

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

ToDeleteRequestInformation deletes a label using the given label name. returns a *RequestInformation when successful

func (*ItemItemLabelsWithNameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a label using the given name. returns a *RequestInformation when successful

func (*ItemItemLabelsWithNameItemRequestBuilder) WithUrl

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

ItemItemLanguagesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\languages

func NewItemItemLanguagesRequestBuilder

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemLfsPutResponse) Serialize

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 ItemItemLfsRequestBuilder

ItemItemLfsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\lfs

func NewItemItemLfsRequestBuilder

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

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

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

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

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

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

ItemItemLicenseRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\license

func NewItemItemLicenseRequestBuilder

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemMergeUpstreamPostRequestBody) Serialize

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 ItemItemMergeUpstreamRequestBuilder

ItemItemMergeUpstreamRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\merge-upstream

func NewItemItemMergeUpstreamRequestBuilder

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

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

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

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

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

ItemItemMergesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\merges

func NewItemItemMergesRequestBuilder

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

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

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

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

ToGetRequestInformation lists labels for issues in a milestone. returns a *RequestInformation when successful

func (*ItemItemMilestonesItemLabelsRequestBuilder) WithUrl

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

GetAdditionalData 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

GetDescription gets the description property value. A description of the milestone. returns a *string when successful

func (*ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) GetDueOn

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) GetTitle

GetTitle gets the title property value. The title of the milestone. returns a *string when successful

func (*ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) SetAdditionalData

SetAdditionalData 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

SetDescription sets the description property value. A description of the milestone.

func (*ItemItemMilestonesItemWithMilestone_numberPatchRequestBody) SetDueOn

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

SetTitle sets the title property value. The title of the milestone.

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemMilestonesPostRequestBody) GetTitle

GetTitle gets the title property value. The title of the milestone. returns a *string when successful

func (*ItemItemMilestonesPostRequestBody) Serialize

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

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 ItemItemMilestonesRequestBuilder

ItemItemMilestonesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\milestones

func NewItemItemMilestonesRequestBuilder

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

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

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

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

ToGetRequestInformation lists milestones for a repository. returns a *RequestInformation when successful

func (*ItemItemMilestonesRequestBuilder) WithUrl

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

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

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

Labels the labels property returns a *ItemItemMilestonesItemLabelsRequestBuilder when successful

func (*ItemItemMilestonesWithMilestone_numberItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a milestone using the given milestone number. returns a *RequestInformation when successful

func (*ItemItemMilestonesWithMilestone_numberItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a milestone using the given milestone number. returns a *RequestInformation when successful

func (*ItemItemMilestonesWithMilestone_numberItemRequestBuilder) WithUrl

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemNotificationsPutRequestBody) GetLastReadAt

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

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

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

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

GetUrl gets the url property value. The url property returns a *string when successful

func (*ItemItemNotificationsPutResponse) Serialize

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 ItemItemNotificationsRequestBuilder

ItemItemNotificationsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\notifications

func NewItemItemNotificationsRequestBuilder

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

Get lists all notifications for the current user in the specified repository. returns a []Threadable when successful API method documentation

func (*ItemItemNotificationsRequestBuilder) Put

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

ToGetRequestInformation lists all notifications for the current user in the specified repository. returns a *RequestInformation when successful

func (*ItemItemNotificationsRequestBuilder) ToPutRequestInformation

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

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

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

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

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

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

ItemItemPagesBuildsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pages\builds

func NewItemItemPagesBuildsRequestBuilder

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

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

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

Latest the latest property returns a *ItemItemPagesBuildsLatestRequestBuilder when successful

func (*ItemItemPagesBuildsRequestBuilder) Post

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

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

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

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemPagesDeploymentsPostRequestBody) GetOidcToken

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

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemPagesPostRequestBody) GetSource

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemPagesPostRequestBody_source) Serialize

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

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

GetSource gets the source property value. The source property returns a ItemItemPagesPutRequestBody_PagesPutRequestBody_sourceable when successful

func (*ItemItemPagesPutRequestBody) Serialize

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemPagesPutRequestBody_PagesPutRequestBody_source) GetIsComposedType

GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful

func (*ItemItemPagesPutRequestBody_PagesPutRequestBody_source) GetItemItemPagesPutRequestBodySourceMember1

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

GetString gets the string property value. Composed type representation for type string returns a *string when successful

func (*ItemItemPagesPutRequestBody_PagesPutRequestBody_source) Serialize

Serialize serializes information the current object

func (*ItemItemPagesPutRequestBody_PagesPutRequestBody_source) SetItemItemPagesPutRequestBodySourceMember1

SetItemItemPagesPutRequestBodySourceMember1 sets the ItemItemPagesPutRequestBody_sourceMember1 property value. Composed type representation for type ItemItemPagesPutRequestBody_sourceMember1able

func (*ItemItemPagesPutRequestBody_PagesPutRequestBody_source) SetString

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemPagesPutRequestBody_sourceMember1) Serialize

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

SetBranch sets the branch property value. The repository branch used to publish your site's source files.

type ItemItemPagesRequestBuilder

ItemItemPagesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pages

func NewItemItemPagesRequestBuilder

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

Builds the builds property returns a *ItemItemPagesBuildsRequestBuilder when successful

func (*ItemItemPagesRequestBuilder) Delete

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

Deployments the deployments property returns a *ItemItemPagesDeploymentsRequestBuilder when successful

func (*ItemItemPagesRequestBuilder) Get

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

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

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

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

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

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

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

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetAdditionalData

SetAdditionalData 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 ItemItemPreReceiveHooksRequestBuilder

type ItemItemPreReceiveHooksRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemItemPreReceiveHooksRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pre-receive-hooks

func NewItemItemPreReceiveHooksRequestBuilder

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

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

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

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

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

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

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

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

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

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

GetBody gets the body property value. The description of the project. returns a *string when successful

func (*ItemItemProjectsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemProjectsPostRequestBody) GetName

GetName gets the name property value. The name of the project. returns a *string when successful

func (*ItemItemProjectsPostRequestBody) Serialize

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 ItemItemProjectsRequestBuilder

ItemItemProjectsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\projects

func NewItemItemProjectsRequestBuilder

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

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

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

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

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

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemPullsCommentsItemReactionsPostRequestBody) Serialize

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

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

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

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

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

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

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

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

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

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

GetAdditionalData 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

GetBody gets the body property value. The text of the reply to the review comment. returns a *string when successful

func (*ItemItemPullsCommentsItemWithComment_PatchRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemPullsCommentsItemWithComment_PatchRequestBody) Serialize

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

SetBody sets the body property value. The text of the reply to the review comment.

type ItemItemPullsCommentsRequestBuilder

ItemItemPullsCommentsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pulls\comments

func NewItemItemPullsCommentsRequestBuilder

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

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

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

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

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

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

Delete deletes a review comment. returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemItemPullsCommentsWithComment_ItemRequestBuilder) Get

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

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

Reactions the reactions property returns a *ItemItemPullsCommentsItemReactionsRequestBuilder when successful

func (*ItemItemPullsCommentsWithComment_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a review comment. returns a *RequestInformation when successful

func (*ItemItemPullsCommentsWithComment_ItemRequestBuilder) ToGetRequestInformation

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

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

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

GetAdditionalData 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

GetBody gets the body property value. The text of the review comment. returns a *string when successful

func (*ItemItemPullsItemCommentsItemRepliesPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemPullsItemCommentsItemRepliesPostRequestBody) Serialize

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

SetBody sets the body property value. The text of the review comment.

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

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

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

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

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

GetBody gets the body property value. The text of the review comment. returns a *string when successful

func (*ItemItemPullsItemCommentsPostRequestBody) GetCommitId

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemPullsItemCommentsPostRequestBody) GetInReplyTo

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

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

GetPath gets the path property value. The relative path to the file that necessitates a comment. returns a *string when successful

func (*ItemItemPullsItemCommentsPostRequestBody) GetPosition

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemPullsItemMergePutRequestBody) GetSha

GetSha gets the sha property value. SHA that pull request head must match to allow merge. returns a *string when successful

func (*ItemItemPullsItemMergePutRequestBody) Serialize

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

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

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemPullsItemPullRequestMergeResult405Error) GetMessage

GetMessage gets the message property value. The message property returns a *string when successful

func (*ItemItemPullsItemPullRequestMergeResult405Error) Serialize

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemPullsItemPullRequestMergeResult409Error) GetMessage

GetMessage gets the message property value. The message property returns a *string when successful

func (*ItemItemPullsItemPullRequestMergeResult409Error) Serialize

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

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemPullsItemRequested_reviewersDeleteRequestBody) GetReviewers

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

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

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

SetReviewers sets the reviewers property value. An array of user `login`s that will be removed.

func (*ItemItemPullsItemRequested_reviewersDeleteRequestBody) SetTeamReviewers

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemPullsItemRequested_reviewersPostRequestBody) GetReviewers

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemPullsItemReviewsItemDismissalsPutRequestBody) GetMessage

GetMessage gets the message property value. The message for the pull request review dismissal returns a *string when successful

func (*ItemItemPullsItemReviewsItemDismissalsPutRequestBody) Serialize

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

SetMessage sets the message property value. The message for the pull request review dismissal

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

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

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

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

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

GetAdditionalData 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

GetBody gets the body property value. The body text of the pull request review returns a *string when successful

func (*ItemItemPullsItemReviewsItemEventsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemPullsItemReviewsItemEventsPostRequestBody) Serialize

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

SetBody sets the body property value. The body text of the pull request review

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

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

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

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

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

GetAdditionalData 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

GetBody gets the body property value. The body text of the pull request review. returns a *string when successful

func (*ItemItemPullsItemReviewsItemWithReview_PutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemPullsItemReviewsItemWithReview_PutRequestBody) Serialize

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

SetBody sets the body property value. The body text of the pull request review.

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemPullsItemReviewsPostRequestBody) Serialize

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

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

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

GetBody gets the body property value. Text of the review comment. returns a *string when successful

func (*ItemItemPullsItemReviewsPostRequestBody_comments) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemPullsItemReviewsPostRequestBody_comments) GetLine

GetLine gets the line property value. The line property returns a *int32 when successful

func (*ItemItemPullsItemReviewsPostRequestBody_comments) GetPath

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

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

GetSide gets the side property value. The side property returns a *string when successful

func (*ItemItemPullsItemReviewsPostRequestBody_comments) GetStartLine

GetStartLine gets the start_line property value. The start_line property returns a *int32 when successful

func (*ItemItemPullsItemReviewsPostRequestBody_comments) GetStartSide

GetStartSide gets the start_side property value. The start_side property returns a *string when successful

func (*ItemItemPullsItemReviewsPostRequestBody_comments) Serialize

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

SetBody sets the body property value. Text of the review comment.

func (*ItemItemPullsItemReviewsPostRequestBody_comments) SetLine

SetLine sets the line property value. The line property

func (*ItemItemPullsItemReviewsPostRequestBody_comments) SetPath

SetPath sets the path property value. The relative path to the file that necessitates a review comment.

func (*ItemItemPullsItemReviewsPostRequestBody_comments) SetPosition

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

SetSide sets the side property value. The side property

func (*ItemItemPullsItemReviewsPostRequestBody_comments) SetStartLine

SetStartLine sets the start_line property value. The start_line property

func (*ItemItemPullsItemReviewsPostRequestBody_comments) SetStartSide

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

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

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

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

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

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

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

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

Comments the comments property returns a *ItemItemPullsItemReviewsItemCommentsRequestBuilder when successful

func (*ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) Delete

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

Dismissals the dismissals property returns a *ItemItemPullsItemReviewsItemDismissalsRequestBuilder when successful

func (*ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) Events

Events the events property returns a *ItemItemPullsItemReviewsItemEventsRequestBuilder when successful

func (*ItemItemPullsItemReviewsWithReview_ItemRequestBuilder) Get

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

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemPullsItemUpdateBranchPutRequestBody) Serialize

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemPullsItemUpdateBranchPutResponse) GetMessage

GetMessage gets the message property value. The message property returns a *string when successful

func (*ItemItemPullsItemUpdateBranchPutResponse) GetUrl

GetUrl gets the url property value. The url property returns a *string when successful

func (*ItemItemPullsItemUpdateBranchPutResponse) Serialize

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

SetUrl sets the url property value. The url property

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

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

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

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

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

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

GetBody gets the body property value. The contents of the pull request. returns a *string when successful

func (*ItemItemPullsItemWithPull_numberPatchRequestBody) GetFieldDeserializers

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

GetTitle gets the title property value. The title of the pull request. returns a *string when successful

func (*ItemItemPullsItemWithPull_numberPatchRequestBody) Serialize

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

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

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

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

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

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

ItemItemPullsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\pulls

func NewItemItemPullsRequestBuilder

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

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

Comments the comments property returns a *ItemItemPullsCommentsRequestBuilder when successful

func (*ItemItemPullsRequestBuilder) Get

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

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

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

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

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

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

Comments the comments property returns a *ItemItemPullsItemCommentsRequestBuilder when successful

func (*ItemItemPullsWithPull_numberItemRequestBuilder) Commits

Commits the commits property returns a *ItemItemPullsItemCommitsRequestBuilder when successful

func (*ItemItemPullsWithPull_numberItemRequestBuilder) Files

Files the files property returns a *ItemItemPullsItemFilesRequestBuilder when successful

func (*ItemItemPullsWithPull_numberItemRequestBuilder) Get

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

Merge the merge property returns a *ItemItemPullsItemMergeRequestBuilder when successful

func (*ItemItemPullsWithPull_numberItemRequestBuilder) Patch

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

Requested_reviewers the requested_reviewers property returns a *ItemItemPullsItemRequested_reviewersRequestBuilder when successful

func (*ItemItemPullsWithPull_numberItemRequestBuilder) Reviews

Reviews the reviews property returns a *ItemItemPullsItemReviewsRequestBuilder when successful

func (*ItemItemPullsWithPull_numberItemRequestBuilder) ToGetRequestInformation

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

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

UpdateBranch the updateBranch property returns a *ItemItemPullsItemUpdateBranchRequestBuilder when successful

func (*ItemItemPullsWithPull_numberItemRequestBuilder) WithUrl

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

ItemItemReadmeRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\readme

func NewItemItemReadmeRequestBuilder

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

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

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

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

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

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

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

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

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) GetLabel

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

GetName gets the name property value. The file name of the asset. returns a *string when successful

func (*ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) GetState

GetState gets the state property value. The state property returns a *string when successful

func (*ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) Serialize

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

SetLabel sets the label property value. An alternate short description of the asset. Used in place of the filename.

func (*ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) SetName

SetName sets the name property value. The file name of the asset.

func (*ItemItemReleasesAssetsItemWithAsset_PatchRequestBody) SetState

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

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

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

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

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

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

ToPatchRequestInformation users with push access to the repository can edit a release asset. returns a *RequestInformation when successful

func (*ItemItemReleasesAssetsWithAsset_ItemRequestBuilder) WithUrl

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

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

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

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

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

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

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

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

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

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemReleasesItemReactionsPostRequestBody) Serialize

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

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

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

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

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

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

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

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

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

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

GetBody gets the body property value. Text describing the contents of the tag. returns a *string when successful

func (*ItemItemReleasesItemWithRelease_PatchRequestBody) GetDraft

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemReleasesItemWithRelease_PatchRequestBody) GetName

GetName gets the name property value. The name of the release. returns a *string when successful

func (*ItemItemReleasesItemWithRelease_PatchRequestBody) GetPrerelease

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

GetTagName gets the tag_name property value. The name of the tag. returns a *string when successful

func (*ItemItemReleasesItemWithRelease_PatchRequestBody) GetTargetCommitish

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

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

SetBody sets the body property value. Text describing the contents of the tag.

func (*ItemItemReleasesItemWithRelease_PatchRequestBody) SetDraft

SetDraft sets the draft property value. `true` makes the release a draft, and `false` publishes the release.

func (*ItemItemReleasesItemWithRelease_PatchRequestBody) SetName

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

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

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

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

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

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

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

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

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

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

ItemItemReleasesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\releases

func NewItemItemReleasesRequestBuilder

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

Assets the assets property returns a *ItemItemReleasesAssetsRequestBuilder when successful

func (*ItemItemReleasesRequestBuilder) ByRelease_id

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

GenerateNotes the generateNotes property returns a *ItemItemReleasesGenerateNotesRequestBuilder when successful

func (*ItemItemReleasesRequestBuilder) Get

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

Latest the latest property returns a *ItemItemReleasesLatestRequestBuilder when successful

func (*ItemItemReleasesRequestBuilder) Post

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

Tags the tags property returns a *ItemItemReleasesTagsRequestBuilder when successful

func (*ItemItemReleasesRequestBuilder) ToGetRequestInformation

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

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

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

ItemItemReleasesTagsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\releases\tags

func NewItemItemReleasesTagsRequestBuilder

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

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

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

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

ToGetRequestInformation get a published release with the specified tag. returns a *RequestInformation when successful

func (*ItemItemReleasesTagsWithTagItemRequestBuilder) WithUrl

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

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

Assets the assets property returns a *ItemItemReleasesItemAssetsRequestBuilder when successful

func (*ItemItemReleasesWithRelease_ItemRequestBuilder) Delete

Delete users with push access to the repository can delete a release. API method documentation

func (*ItemItemReleasesWithRelease_ItemRequestBuilder) Get

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

Reactions the reactions property returns a *ItemItemReleasesItemReactionsRequestBuilder when successful

func (*ItemItemReleasesWithRelease_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation users with push access to the repository can delete a release. returns a *RequestInformation when successful

func (*ItemItemReleasesWithRelease_ItemRequestBuilder) ToGetRequestInformation

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

ToPatchRequestInformation users with push access to the repository can edit a release. returns a *RequestInformation when successful

func (*ItemItemReleasesWithRelease_ItemRequestBuilder) WithUrl

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemReplicasCaches) GetGit

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

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

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

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

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

ToGetRequestInformation lists the status of each repository cache replica. returns a *RequestInformation when successful

func (*ItemItemReplicasCachesRequestBuilder) WithUrl

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemReplicasCaches_git) GetLastSync

GetLastSync gets the last_sync property value. The last_sync property returns a *Time when successful

func (*ItemItemReplicasCaches_git) Serialize

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

SetLastSync sets the last_sync property value. The last_sync property

type ItemItemReplicasRequestBuilder

ItemItemReplicasRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\replicas

func NewItemItemReplicasRequestBuilder

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

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

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

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

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

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

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

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

GetAdditionalData 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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemRepoPatchRequestBody_security_and_analysis) GetSecretScanning

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

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

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

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

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

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

GetAdditionalData 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

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

GetStatus gets the status property value. Can be `enabled` or `disabled`. returns a *string when successful

func (*ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security) Serialize

Serialize serializes information the current object

func (*ItemItemRepoPatchRequestBody_security_and_analysis_advanced_security) SetAdditionalData

SetAdditionalData 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

SetStatus sets the status property value. Can be `enabled` or `disabled`.

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

GetAdditionalData 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

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

GetStatus gets the status property value. Can be `enabled` or `disabled`. returns a *string when successful

func (*ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning) Serialize

Serialize serializes information the current object

func (*ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning) SetAdditionalData

SetAdditionalData 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

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

GetAdditionalData 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

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

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

Serialize serializes information the current object

func (*ItemItemRepoPatchRequestBody_security_and_analysis_secret_scanning_push_protection) SetAdditionalData

SetAdditionalData 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

SetStatus sets the status property value. Can be `enabled` or `disabled`.

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

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

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

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

GetAdditionalData 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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) GetResolution

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

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

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

Serialize serializes information the current object

func (*ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) SetAdditionalData

SetAdditionalData 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

SetResolution sets the resolution property value. **Required when the `state` is `resolved`.** The reason for resolving the alert.

func (*ItemItemSecretScanningAlertsItemWithAlert_numberPatchRequestBody) SetResolutionComment

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

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 ItemItemSecretScanningAlertsRequestBuilder

type ItemItemSecretScanningAlertsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemItemSecretScanningAlertsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\secret-scanning\alerts

func NewItemItemSecretScanningAlertsRequestBuilder

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

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

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

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

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

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

Locations the locations property returns a *ItemItemSecretScanningAlertsItemLocationsRequestBuilder when successful

func (*ItemItemSecretScanningAlertsWithAlert_numberItemRequestBuilder) Patch

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

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

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

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

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

Alerts the alerts property returns a *ItemItemSecretScanningAlertsRequestBuilder when successful

type ItemItemStargazersRequestBuilder

ItemItemStargazersRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\stargazers

func NewItemItemStargazersRequestBuilder

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

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

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemStargazersSimpleUser) Serialize

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemStargazersStargazer) Serialize

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

ItemItemStatsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\stats

func NewItemItemStatsRequestBuilder

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

Code_frequency the code_frequency property returns a *ItemItemStatsCode_frequencyRequestBuilder when successful

func (*ItemItemStatsRequestBuilder) Commit_activity

Commit_activity the commit_activity property returns a *ItemItemStatsCommit_activityRequestBuilder when successful

func (*ItemItemStatsRequestBuilder) Contributors

Contributors the contributors property returns a *ItemItemStatsContributorsRequestBuilder when successful

func (*ItemItemStatsRequestBuilder) Participation

Participation the participation property returns a *ItemItemStatsParticipationRequestBuilder when successful

func (*ItemItemStatsRequestBuilder) Punch_card

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

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

GetDescription gets the description property value. A short description of the status. returns a *string when successful

func (*ItemItemStatusesItemWithShaPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemStatusesItemWithShaPostRequestBody) GetTargetUrl

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

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

ItemItemStatusesRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\statuses

func NewItemItemStatusesRequestBuilder

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

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

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

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

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

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

ItemItemSubscribersRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\subscribers

func NewItemItemSubscribersRequestBuilder

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

Get lists the people watching the specified repository. returns a []SimpleUserable when successful API method documentation

func (*ItemItemSubscribersRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the people watching the specified repository. returns a *RequestInformation when successful

func (*ItemItemSubscribersRequestBuilder) WithUrl

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

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

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

ItemItemSubscriptionRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\subscription

func NewItemItemSubscriptionRequestBuilder

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

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

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

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

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

ToGetRequestInformation gets information about whether the authenticated user is subscribed to the repository. returns a *RequestInformation when successful

func (*ItemItemSubscriptionRequestBuilder) ToPutRequestInformation

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

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

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemItemTagsProtectionPostRequestBody) GetPattern

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

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 ItemItemTagsProtectionRequestBuilder

type ItemItemTagsProtectionRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemItemTagsProtectionRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\tags\protection

func NewItemItemTagsProtectionRequestBuilder

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

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

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

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

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

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

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

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

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

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

ItemItemTagsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\tags

func NewItemItemTagsRequestBuilder

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

Protection the protection property returns a *ItemItemTagsProtectionRequestBuilder when successful

func (*ItemItemTagsRequestBuilder) WithUrl

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

ItemItemTarballRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\tarball

func NewItemItemTarballRequestBuilder

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

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

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

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

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

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

ItemItemTeamsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\teams

func NewItemItemTeamsRequestBuilder

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

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

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

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

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

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 ItemItemTopicsRequestBuilder

ItemItemTopicsRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\topics

func NewItemItemTopicsRequestBuilder

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

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

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

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

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

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

ItemItemTransferRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\transfer

func NewItemItemTransferRequestBuilder

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

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

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

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

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

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

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

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

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

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

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

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

ItemItemZipballRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}\zipball

func NewItemItemZipballRequestBuilder

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

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

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

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

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

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

ItemRepoItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}\{repo-id}

func NewItemRepoItemRequestBuilder

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

Actions the actions property returns a *ItemItemActionsRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Assignees

Assignees the assignees property returns a *ItemItemAssigneesRequestBuilder when successful

Autolinks the autolinks property returns a *ItemItemAutolinksRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) AutomatedSecurityFixes

AutomatedSecurityFixes the automatedSecurityFixes property returns a *ItemItemAutomatedSecurityFixesRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Branches

Branches the branches property returns a *ItemItemBranchesRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) CheckRuns

CheckRuns the checkRuns property returns a *ItemItemCheckRunsRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) CheckSuites

CheckSuites the checkSuites property returns a *ItemItemCheckSuitesRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) CodeScanning

CodeScanning the codeScanning property returns a *ItemItemCodeScanningRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Codeowners

Codeowners the codeowners property returns a *ItemItemCodeownersRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Collaborators

Collaborators the collaborators property returns a *ItemItemCollaboratorsRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Comments

Comments the comments property returns a *ItemItemCommentsRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Commits

Commits the commits property returns a *ItemItemCommitsRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Compare

Compare the compare property returns a *ItemItemCompareRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Contents

Contents the contents property returns a *ItemItemContentsRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Contributors

Contributors the contributors property returns a *ItemItemContributorsRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Delete

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

Dependabot the dependabot property returns a *ItemItemDependabotRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) DependencyGraph

DependencyGraph the dependencyGraph property returns a *ItemItemDependencyGraphRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Deployments

Deployments the deployments property returns a *ItemItemDeploymentsRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Dispatches

Dispatches the dispatches property returns a *ItemItemDispatchesRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Environments

Environments the environments property returns a *ItemItemEnvironmentsRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Events

Events the events property returns a *ItemItemEventsRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Forks

Forks the forks property returns a *ItemItemForksRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Generate

Generate the generate property returns a *ItemItemGenerateRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Get

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

Git the git property returns a *ItemItemGitRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Hooks

Hooks the hooks property returns a *ItemItemHooksRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Installation

Installation the installation property returns a *ItemItemInstallationRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Invitations

Invitations the invitations property returns a *ItemItemInvitationsRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Issues

Issues the issues property returns a *ItemItemIssuesRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Keys

Keys the keys property returns a *ItemItemKeysRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Labels

Labels the labels property returns a *ItemItemLabelsRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Languages

Languages the languages property returns a *ItemItemLanguagesRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Lfs

Lfs the lfs property returns a *ItemItemLfsRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) License

License the license property returns a *ItemItemLicenseRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) MergeUpstream

MergeUpstream the mergeUpstream property returns a *ItemItemMergeUpstreamRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Merges

Merges the merges property returns a *ItemItemMergesRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Milestones

Milestones the milestones property returns a *ItemItemMilestonesRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Notifications

Notifications the notifications property returns a *ItemItemNotificationsRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Pages

Pages the pages property returns a *ItemItemPagesRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Patch

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

PreReceiveHooks the preReceiveHooks property returns a *ItemItemPreReceiveHooksRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Projects

Projects the projects property returns a *ItemItemProjectsRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Pulls

Pulls the pulls property returns a *ItemItemPullsRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Readme

Readme the readme property returns a *ItemItemReadmeRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Releases

Releases the releases property returns a *ItemItemReleasesRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Replicas

Replicas the replicas property returns a *ItemItemReplicasRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) SecretScanning

SecretScanning the secretScanning property returns a *ItemItemSecretScanningRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Stargazers

Stargazers the stargazers property returns a *ItemItemStargazersRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Stats

Stats the stats property returns a *ItemItemStatsRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Statuses

Statuses the statuses property returns a *ItemItemStatusesRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Subscribers

Subscribers the subscribers property returns a *ItemItemSubscribersRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Subscription

Subscription the subscription property returns a *ItemItemSubscriptionRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Tags

Tags the tags property returns a *ItemItemTagsRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Tarball

Tarball the tarball property returns a *ItemItemTarballRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Teams

Teams the teams property returns a *ItemItemTeamsRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) ToDeleteRequestInformation

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

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

Topics the topics property returns a *ItemItemTopicsRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) Transfer

Transfer the transfer property returns a *ItemItemTransferRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) VulnerabilityAlerts

VulnerabilityAlerts the vulnerabilityAlerts property returns a *ItemItemVulnerabilityAlertsRequestBuilder when successful

func (*ItemRepoItemRequestBuilder) WithUrl

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

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

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

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

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

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

OwnerItemRequestBuilder builds and executes requests for operations under \repos\{owner-id}

func NewOwnerItemRequestBuilder

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

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

ReposRequestBuilder builds and executes requests for operations under \repos

func NewReposRequestBuilder

NewReposRequestBuilder instantiates a new ReposRequestBuilder and sets the default values.

func NewReposRequestBuilderInternal

func NewReposRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ReposRequestBuilder

NewReposRequestBuilderInternal instantiates a new ReposRequestBuilder and sets the default values.

func (*ReposRequestBuilder) 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetContentFile gets the contentFile property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentFileable returns a ContentFileable when successful

func (*WithPathGetResponse) GetContentSubmodule

GetContentSubmodule gets the contentSubmodule property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentSubmoduleable returns a ContentSubmoduleable when successful

GetContentSymlink gets the contentSymlink property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentSymlinkable returns a ContentSymlinkable when successful

func (*WithPathGetResponse) GetFieldDeserializers

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

GetWithPathGetResponseMember1 gets the WithPathGetResponseMember1 property value. Composed type representation for type []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WithPathGetResponseMember1able returns a []WithPathGetResponseMember1able when successful

func (*WithPathGetResponse) Serialize

Serialize serializes information the current object

func (*WithPathGetResponse) SetContentFile

SetContentFile sets the contentFile property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentFileable

func (*WithPathGetResponse) SetContentSubmodule

SetContentSubmodule sets the contentSubmodule property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentSubmoduleable

SetContentSymlink sets the contentSymlink property value. Composed type representation for type ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ContentSymlinkable

func (*WithPathGetResponse) SetWithPathGetResponseMember1

SetWithPathGetResponseMember1 sets the WithPathGetResponseMember1 property value. Composed type representation for type []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WithPathGetResponseMember1able

Source Files

Jump to

Keyboard shortcuts

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