orgs

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateItemActionsCacheUsageByRepositoryGetResponseFromDiscriminatorValue

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

func CreateItemActionsCacheUsageByRepositoryResponseFromDiscriminatorValue

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

func CreateItemActionsPermissionsPutRequestBodyFromDiscriminatorValue

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

func CreateItemActionsPermissionsRepositoriesGetResponseFromDiscriminatorValue

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

func CreateItemActionsPermissionsRepositoriesPutRequestBodyFromDiscriminatorValue

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

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

func CreateItemActionsPermissionsRepositoriesResponseFromDiscriminatorValue

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

func CreateItemActionsRunnersGenerateJitconfigPostRequestBodyFromDiscriminatorValue

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

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

func CreateItemActionsRunnersGenerateJitconfigPostResponseFromDiscriminatorValue

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

func CreateItemActionsRunnersGenerateJitconfigResponseFromDiscriminatorValue

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

func CreateItemActionsRunnersGetResponseFromDiscriminatorValue

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

func CreateItemActionsRunnersItemLabelsDeleteResponseFromDiscriminatorValue

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

func CreateItemActionsRunnersItemLabelsGetResponseFromDiscriminatorValue

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

func CreateItemActionsRunnersItemLabelsItemWithNameDeleteResponseFromDiscriminatorValue

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

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

func CreateItemActionsRunnersItemLabelsItemWithNameResponseFromDiscriminatorValue

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

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

func CreateItemActionsRunnersItemLabelsPostRequestBodyFromDiscriminatorValue

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

func CreateItemActionsRunnersItemLabelsPostResponseFromDiscriminatorValue

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

func CreateItemActionsRunnersItemLabelsPutRequestBodyFromDiscriminatorValue

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

func CreateItemActionsRunnersItemLabelsPutResponseFromDiscriminatorValue

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

func CreateItemActionsRunnersItemLabelsResponseFromDiscriminatorValue

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

func CreateItemActionsRunnersResponseFromDiscriminatorValue

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

func CreateItemActionsSecretsGetResponseFromDiscriminatorValue

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

func CreateItemActionsSecretsItemRepositoriesGetResponseFromDiscriminatorValue

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

func CreateItemActionsSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue

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

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

func CreateItemActionsSecretsItemRepositoriesResponseFromDiscriminatorValue

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

func CreateItemActionsSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue

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

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

func CreateItemActionsSecretsResponseFromDiscriminatorValue

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

func CreateItemActionsVariablesGetResponseFromDiscriminatorValue

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

func CreateItemActionsVariablesItemRepositoriesGetResponseFromDiscriminatorValue

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

func CreateItemActionsVariablesItemRepositoriesPutRequestBodyFromDiscriminatorValue

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

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

func CreateItemActionsVariablesItemRepositoriesResponseFromDiscriminatorValue

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

func CreateItemActionsVariablesItemWithNamePatchRequestBodyFromDiscriminatorValue

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

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

func CreateItemActionsVariablesPostRequestBodyFromDiscriminatorValue

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

func CreateItemActionsVariablesResponseFromDiscriminatorValue

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

func CreateItemAttestationsItemWithSubject_digestGetResponseFromDiscriminatorValue added in v0.0.18

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

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

func CreateItemAttestationsItemWithSubject_digestGetResponse_attestationsFromDiscriminatorValue added in v0.0.18

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

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

func CreateItemAttestationsItemWithSubject_digestGetResponse_attestations_bundleFromDiscriminatorValue added in v0.0.18

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

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

func CreateItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle_dsseEnvelopeFromDiscriminatorValue added in v0.0.18

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

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

func CreateItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle_verificationMaterialFromDiscriminatorValue added in v0.0.18

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

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

func CreateItemCodeSecurityConfigurationsItemAttachPostRequestBodyFromDiscriminatorValue added in v0.0.17

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

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

func CreateItemCodeSecurityConfigurationsItemAttachPostResponseFromDiscriminatorValue added in v0.0.17

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

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

func CreateItemCodeSecurityConfigurationsItemDefaultsPutRequestBodyFromDiscriminatorValue added in v0.0.17

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

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

func CreateItemCodeSecurityConfigurationsItemDefaultsPutResponseFromDiscriminatorValue added in v0.0.17

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

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

func CreateItemCodeSecurityConfigurationsItemWithConfiguration_PatchRequestBodyFromDiscriminatorValue added in v0.0.17

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

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

func CreateItemCodeSecurityConfigurationsPostRequestBodyFromDiscriminatorValue added in v0.0.17

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

func CreateItemCodespacesAccessPutRequestBodyFromDiscriminatorValue

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

func CreateItemCodespacesAccessSelected_usersDeleteRequestBodyFromDiscriminatorValue

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

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

func CreateItemCodespacesAccessSelected_usersPostRequestBodyFromDiscriminatorValue

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

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

func CreateItemCodespacesGetResponseFromDiscriminatorValue

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

func CreateItemCodespacesResponseFromDiscriminatorValue

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

func CreateItemCodespacesSecretsGetResponseFromDiscriminatorValue

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

func CreateItemCodespacesSecretsItemRepositoriesGetResponseFromDiscriminatorValue

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

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

func CreateItemCodespacesSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue

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

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

func CreateItemCodespacesSecretsItemRepositoriesResponseFromDiscriminatorValue

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

func CreateItemCodespacesSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue

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

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

func CreateItemCodespacesSecretsResponseFromDiscriminatorValue

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

func CreateItemCopilotBillingSeatsGetResponseFromDiscriminatorValue

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

func CreateItemCopilotBillingSeatsResponseFromDiscriminatorValue

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

func CreateItemCopilotBillingSelected_teamsDeleteRequestBodyFromDiscriminatorValue

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

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

func CreateItemCopilotBillingSelected_teamsDeleteResponseFromDiscriminatorValue

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

func CreateItemCopilotBillingSelected_teamsPostRequestBodyFromDiscriminatorValue

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

func CreateItemCopilotBillingSelected_teamsPostResponseFromDiscriminatorValue

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

func CreateItemCopilotBillingSelected_teamsResponseFromDiscriminatorValue

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

func CreateItemCopilotBillingSelected_usersDeleteRequestBodyFromDiscriminatorValue

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

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

func CreateItemCopilotBillingSelected_usersDeleteResponseFromDiscriminatorValue

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

func CreateItemCopilotBillingSelected_usersPostRequestBodyFromDiscriminatorValue

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

func CreateItemCopilotBillingSelected_usersPostResponseFromDiscriminatorValue

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

func CreateItemCopilotBillingSelected_usersResponseFromDiscriminatorValue

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

func CreateItemDependabotSecretsGetResponseFromDiscriminatorValue

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

func CreateItemDependabotSecretsItemRepositoriesGetResponseFromDiscriminatorValue

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

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

func CreateItemDependabotSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue

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

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

func CreateItemDependabotSecretsItemRepositoriesResponseFromDiscriminatorValue

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

func CreateItemDependabotSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue

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

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

func CreateItemDependabotSecretsResponseFromDiscriminatorValue

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

func CreateItemHooksItemConfigPatchRequestBodyFromDiscriminatorValue

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

func CreateItemHooksItemDeliveriesItemAttemptsPostResponseFromDiscriminatorValue

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

func CreateItemHooksItemDeliveriesItemAttemptsResponseFromDiscriminatorValue

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

func CreateItemHooksItemWithHook_PatchRequestBodyFromDiscriminatorValue

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

func CreateItemHooksItemWithHook_PatchRequestBody_configFromDiscriminatorValue

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

func CreateItemHooksPostRequestBodyFromDiscriminatorValue

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

func CreateItemHooksPostRequestBody_configFromDiscriminatorValue

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

func CreateItemInstallationsGetResponseFromDiscriminatorValue

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

func CreateItemInstallationsResponseFromDiscriminatorValue

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

func CreateItemInteractionLimitsGetResponseMember1FromDiscriminatorValue

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

func CreateItemInvitationsPostRequestBodyFromDiscriminatorValue

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

func CreateItemItemItemWithEnablementPostRequestBodyFromDiscriminatorValue

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

func CreateItemMembersItemCodespacesGetResponseFromDiscriminatorValue

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

func CreateItemMembersItemCodespacesItemWithCodespace_nameDeleteResponseFromDiscriminatorValue

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

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

func CreateItemMembersItemCodespacesItemWithCodespace_nameResponseFromDiscriminatorValue

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

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

func CreateItemMembersItemCodespacesResponseFromDiscriminatorValue

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

func CreateItemMembershipsItemWithUsernamePutRequestBodyFromDiscriminatorValue

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

func CreateItemMigrationsPostRequestBodyFromDiscriminatorValue

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

func CreateItemOrganizationRolesGetResponseFromDiscriminatorValue

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

func CreateItemOrganizationRolesItemWithRole_PatchRequestBodyFromDiscriminatorValue

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

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

func CreateItemOrganizationRolesPostRequestBodyFromDiscriminatorValue

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

func CreateItemOrganizationRolesResponseFromDiscriminatorValue

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

func CreateItemOutside_collaboratorsItemWithUsername422ErrorFromDiscriminatorValue

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

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

func CreateItemOutside_collaboratorsItemWithUsernamePutRequestBodyFromDiscriminatorValue

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

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

func CreateItemOutside_collaboratorsItemWithUsernamePutResponseFromDiscriminatorValue

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

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

func CreateItemOutside_collaboratorsItemWithUsernameResponseFromDiscriminatorValue

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

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

func CreateItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBodyFromDiscriminatorValue

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

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

func CreateItemPersonalAccessTokenRequestsPostRequestBodyFromDiscriminatorValue

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

func CreateItemPersonalAccessTokenRequestsPostResponseFromDiscriminatorValue

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

func CreateItemPersonalAccessTokenRequestsResponseFromDiscriminatorValue

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

func CreateItemPersonalAccessTokensItemWithPat_PostRequestBodyFromDiscriminatorValue

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

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

func CreateItemPersonalAccessTokensPostRequestBodyFromDiscriminatorValue

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

func CreateItemPersonalAccessTokensPostResponseFromDiscriminatorValue

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

func CreateItemPersonalAccessTokensResponseFromDiscriminatorValue

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

func CreateItemProjectsPostRequestBodyFromDiscriminatorValue

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

func CreateItemPropertiesSchemaItemWithCustom_property_namePutRequestBodyFromDiscriminatorValue

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

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

func CreateItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_valueFromDiscriminatorValue added in v0.0.11

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

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

func CreateItemPropertiesSchemaPatchRequestBodyFromDiscriminatorValue

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

func CreateItemPropertiesValuesPatchRequestBodyFromDiscriminatorValue

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

func CreateItemReposPostRequestBodyFromDiscriminatorValue

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

func CreateItemReposPostRequestBody_custom_propertiesFromDiscriminatorValue

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

func CreateItemRulesetsItemWithRuleset_PutRequestBodyFromDiscriminatorValue

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

func CreateItemRulesetsPostRequestBodyFromDiscriminatorValue

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

func CreateItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBodyFromDiscriminatorValue

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

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

func CreateItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyFromDiscriminatorValue

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

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

func CreateItemTeamsItemDiscussionsItemCommentsPostRequestBodyFromDiscriminatorValue

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

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

func CreateItemTeamsItemDiscussionsItemReactionsPostRequestBodyFromDiscriminatorValue

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

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

func CreateItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBodyFromDiscriminatorValue

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

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

func CreateItemTeamsItemDiscussionsPostRequestBodyFromDiscriminatorValue

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

func CreateItemTeamsItemMembershipsItemWithUsernamePutRequestBodyFromDiscriminatorValue

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

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

func CreateItemTeamsItemProjectsItemWithProject_403ErrorFromDiscriminatorValue

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

func CreateItemTeamsItemProjectsItemWithProject_PutRequestBodyFromDiscriminatorValue

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

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

func CreateItemTeamsItemReposItemItemWithRepoPutRequestBodyFromDiscriminatorValue

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

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

func CreateItemTeamsItemWithTeam_slugPatchRequestBodyFromDiscriminatorValue

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

func CreateItemTeamsPostRequestBodyFromDiscriminatorValue

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

func CreateItemWithOrgDeleteResponseFromDiscriminatorValue

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

func CreateItemWithOrgPatchRequestBodyFromDiscriminatorValue

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

func CreateItemWithOrgResponseFromDiscriminatorValue

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

Types

type ItemActionsCacheRequestBuilder

ItemActionsCacheRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\cache

func NewItemActionsCacheRequestBuilder

NewItemActionsCacheRequestBuilder instantiates a new ItemActionsCacheRequestBuilder and sets the default values.

func NewItemActionsCacheRequestBuilderInternal

func NewItemActionsCacheRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsCacheRequestBuilder

NewItemActionsCacheRequestBuilderInternal instantiates a new ItemActionsCacheRequestBuilder and sets the default values.

func (*ItemActionsCacheRequestBuilder) Usage

Usage the usage property returns a *ItemActionsCacheUsageRequestBuilder when successful

func (*ItemActionsCacheRequestBuilder) UsageByRepository

UsageByRepository the usageByRepository property returns a *ItemActionsCacheUsageByRepositoryRequestBuilder when successful

type ItemActionsCacheUsageByRepositoryGetResponse

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

func NewItemActionsCacheUsageByRepositoryGetResponse

func NewItemActionsCacheUsageByRepositoryGetResponse() *ItemActionsCacheUsageByRepositoryGetResponse

NewItemActionsCacheUsageByRepositoryGetResponse instantiates a new ItemActionsCacheUsageByRepositoryGetResponse and sets the default values.

func (*ItemActionsCacheUsageByRepositoryGetResponse) GetAdditionalData

func (m *ItemActionsCacheUsageByRepositoryGetResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemActionsCacheUsageByRepositoryGetResponse) GetFieldDeserializers

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

func (*ItemActionsCacheUsageByRepositoryGetResponse) GetRepositoryCacheUsages

GetRepositoryCacheUsages gets the repository_cache_usages property value. The repository_cache_usages property returns a []ActionsCacheUsageByRepositoryable when successful

func (*ItemActionsCacheUsageByRepositoryGetResponse) GetTotalCount

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

func (*ItemActionsCacheUsageByRepositoryGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsCacheUsageByRepositoryGetResponse) SetAdditionalData

func (m *ItemActionsCacheUsageByRepositoryGetResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemActionsCacheUsageByRepositoryGetResponse) SetRepositoryCacheUsages

SetRepositoryCacheUsages sets the repository_cache_usages property value. The repository_cache_usages property

func (*ItemActionsCacheUsageByRepositoryGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsCacheUsageByRepositoryRequestBuilder

type ItemActionsCacheUsageByRepositoryRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsCacheUsageByRepositoryRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\cache\usage-by-repository

func NewItemActionsCacheUsageByRepositoryRequestBuilder

NewItemActionsCacheUsageByRepositoryRequestBuilder instantiates a new ItemActionsCacheUsageByRepositoryRequestBuilder and sets the default values.

func NewItemActionsCacheUsageByRepositoryRequestBuilderInternal

func NewItemActionsCacheUsageByRepositoryRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsCacheUsageByRepositoryRequestBuilder

NewItemActionsCacheUsageByRepositoryRequestBuilderInternal instantiates a new ItemActionsCacheUsageByRepositoryRequestBuilder and sets the default values.

func (*ItemActionsCacheUsageByRepositoryRequestBuilder) Get

Get lists repositories and their GitHub Actions cache usage for an organization.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.OAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. returns a ItemActionsCacheUsageByRepositoryGetResponseable when successful API method documentation

func (*ItemActionsCacheUsageByRepositoryRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists repositories and their GitHub Actions cache usage for an organization.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.OAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsCacheUsageByRepositoryRequestBuilder) 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 *ItemActionsCacheUsageByRepositoryRequestBuilder when successful

type ItemActionsCacheUsageByRepositoryRequestBuilderGetQueryParameters

type ItemActionsCacheUsageByRepositoryRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemActionsCacheUsageByRepositoryRequestBuilderGetQueryParameters lists repositories and their GitHub Actions cache usage for an organization.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.OAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint.

type ItemActionsCacheUsageByRepositoryResponse

type ItemActionsCacheUsageByRepositoryResponse struct {
	ItemActionsCacheUsageByRepositoryGetResponse
}

ItemActionsCacheUsageByRepositoryResponse Deprecated: This class is obsolete. Use usageByRepositoryGetResponse instead.

func NewItemActionsCacheUsageByRepositoryResponse

func NewItemActionsCacheUsageByRepositoryResponse() *ItemActionsCacheUsageByRepositoryResponse

NewItemActionsCacheUsageByRepositoryResponse instantiates a new ItemActionsCacheUsageByRepositoryResponse and sets the default values.

type ItemActionsCacheUsageByRepositoryResponseable

ItemActionsCacheUsageByRepositoryResponseable Deprecated: This class is obsolete. Use usageByRepositoryGetResponse instead.

type ItemActionsCacheUsageRequestBuilder

ItemActionsCacheUsageRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\cache\usage

func NewItemActionsCacheUsageRequestBuilder

NewItemActionsCacheUsageRequestBuilder instantiates a new ItemActionsCacheUsageRequestBuilder and sets the default values.

func NewItemActionsCacheUsageRequestBuilderInternal

func NewItemActionsCacheUsageRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsCacheUsageRequestBuilder

NewItemActionsCacheUsageRequestBuilderInternal instantiates a new ItemActionsCacheUsageRequestBuilder and sets the default values.

func (*ItemActionsCacheUsageRequestBuilder) Get

Get gets the total GitHub Actions cache usage for an organization.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.OAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. returns a ActionsCacheUsageOrgEnterpriseable when successful API method documentation

func (*ItemActionsCacheUsageRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets the total GitHub Actions cache usage for an organization.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.OAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsCacheUsageRequestBuilder) 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 *ItemActionsCacheUsageRequestBuilder when successful

type ItemActionsOidcCustomizationRequestBuilder

type ItemActionsOidcCustomizationRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsOidcCustomizationRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\oidc\customization

func NewItemActionsOidcCustomizationRequestBuilder

NewItemActionsOidcCustomizationRequestBuilder instantiates a new ItemActionsOidcCustomizationRequestBuilder and sets the default values.

func NewItemActionsOidcCustomizationRequestBuilderInternal

func NewItemActionsOidcCustomizationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsOidcCustomizationRequestBuilder

NewItemActionsOidcCustomizationRequestBuilderInternal instantiates a new ItemActionsOidcCustomizationRequestBuilder and sets the default values.

func (*ItemActionsOidcCustomizationRequestBuilder) Sub

Sub the sub property returns a *ItemActionsOidcCustomizationSubRequestBuilder when successful

type ItemActionsOidcCustomizationSubRequestBuilder

type ItemActionsOidcCustomizationSubRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsOidcCustomizationSubRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\oidc\customization\sub

func NewItemActionsOidcCustomizationSubRequestBuilder

NewItemActionsOidcCustomizationSubRequestBuilder instantiates a new ItemActionsOidcCustomizationSubRequestBuilder and sets the default values.

func NewItemActionsOidcCustomizationSubRequestBuilderInternal

func NewItemActionsOidcCustomizationSubRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsOidcCustomizationSubRequestBuilder

NewItemActionsOidcCustomizationSubRequestBuilderInternal instantiates a new ItemActionsOidcCustomizationSubRequestBuilder and sets the default values.

func (*ItemActionsOidcCustomizationSubRequestBuilder) Get

Get gets the customization template for an OpenID Connect (OIDC) subject claim.OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. returns a OidcCustomSubable when successful API method documentation

func (*ItemActionsOidcCustomizationSubRequestBuilder) Put

Put creates or updates the customization template for an OpenID Connect (OIDC) subject claim.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to 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 API method documentation

func (*ItemActionsOidcCustomizationSubRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets the customization template for an OpenID Connect (OIDC) subject claim.OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsOidcCustomizationSubRequestBuilder) ToPutRequestInformation

ToPutRequestInformation creates or updates the customization template for an OpenID Connect (OIDC) subject claim.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsOidcCustomizationSubRequestBuilder) 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 *ItemActionsOidcCustomizationSubRequestBuilder when successful

type ItemActionsOidcRequestBuilder

ItemActionsOidcRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\oidc

func NewItemActionsOidcRequestBuilder

NewItemActionsOidcRequestBuilder instantiates a new ItemActionsOidcRequestBuilder and sets the default values.

func NewItemActionsOidcRequestBuilderInternal

func NewItemActionsOidcRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsOidcRequestBuilder

NewItemActionsOidcRequestBuilderInternal instantiates a new ItemActionsOidcRequestBuilder and sets the default values.

func (*ItemActionsOidcRequestBuilder) Customization

Customization the customization property returns a *ItemActionsOidcCustomizationRequestBuilder when successful

type ItemActionsPermissionsPutRequestBody

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

func NewItemActionsPermissionsPutRequestBody

func NewItemActionsPermissionsPutRequestBody() *ItemActionsPermissionsPutRequestBody

NewItemActionsPermissionsPutRequestBody instantiates a new ItemActionsPermissionsPutRequestBody and sets the default values.

func (*ItemActionsPermissionsPutRequestBody) GetAdditionalData

func (m *ItemActionsPermissionsPutRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemActionsPermissionsPutRequestBody) GetAllowedActions

GetAllowedActions gets the allowed_actions property value. The permissions policy that controls the actions and reusable workflows that are allowed to run. returns a *AllowedActions when successful

func (*ItemActionsPermissionsPutRequestBody) GetEnabledRepositories

GetEnabledRepositories gets the enabled_repositories property value. The policy that controls the repositories in the organization that are allowed to run GitHub Actions. returns a *EnabledRepositories when successful

func (*ItemActionsPermissionsPutRequestBody) GetFieldDeserializers

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

func (*ItemActionsPermissionsPutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsPermissionsPutRequestBody) SetAdditionalData

func (m *ItemActionsPermissionsPutRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemActionsPermissionsPutRequestBody) SetAllowedActions

SetAllowedActions sets the allowed_actions property value. The permissions policy that controls the actions and reusable workflows that are allowed to run.

func (*ItemActionsPermissionsPutRequestBody) SetEnabledRepositories

SetEnabledRepositories sets the enabled_repositories property value. The policy that controls the repositories in the organization that are allowed to run GitHub Actions.

type ItemActionsPermissionsRepositoriesGetResponse

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

func NewItemActionsPermissionsRepositoriesGetResponse

func NewItemActionsPermissionsRepositoriesGetResponse() *ItemActionsPermissionsRepositoriesGetResponse

NewItemActionsPermissionsRepositoriesGetResponse instantiates a new ItemActionsPermissionsRepositoriesGetResponse and sets the default values.

func (*ItemActionsPermissionsRepositoriesGetResponse) GetAdditionalData

func (m *ItemActionsPermissionsRepositoriesGetResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemActionsPermissionsRepositoriesGetResponse) GetFieldDeserializers

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

func (*ItemActionsPermissionsRepositoriesGetResponse) GetRepositories

GetRepositories gets the repositories property value. The repositories property returns a []Repositoryable when successful

func (*ItemActionsPermissionsRepositoriesGetResponse) GetTotalCount

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

func (*ItemActionsPermissionsRepositoriesGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsPermissionsRepositoriesGetResponse) SetAdditionalData

func (m *ItemActionsPermissionsRepositoriesGetResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemActionsPermissionsRepositoriesGetResponse) SetRepositories

SetRepositories sets the repositories property value. The repositories property

func (*ItemActionsPermissionsRepositoriesGetResponse) SetTotalCount

func (m *ItemActionsPermissionsRepositoriesGetResponse) SetTotalCount(value *float64)

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsPermissionsRepositoriesPutRequestBody

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

func NewItemActionsPermissionsRepositoriesPutRequestBody

func NewItemActionsPermissionsRepositoriesPutRequestBody() *ItemActionsPermissionsRepositoriesPutRequestBody

NewItemActionsPermissionsRepositoriesPutRequestBody instantiates a new ItemActionsPermissionsRepositoriesPutRequestBody and sets the default values.

func (*ItemActionsPermissionsRepositoriesPutRequestBody) GetAdditionalData

func (m *ItemActionsPermissionsRepositoriesPutRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemActionsPermissionsRepositoriesPutRequestBody) GetFieldDeserializers

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

func (*ItemActionsPermissionsRepositoriesPutRequestBody) GetSelectedRepositoryIds

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

GetSelectedRepositoryIds gets the selected_repository_ids property value. List of repository IDs to enable for GitHub Actions. returns a []int32 when successful

func (*ItemActionsPermissionsRepositoriesPutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsPermissionsRepositoriesPutRequestBody) SetAdditionalData

func (m *ItemActionsPermissionsRepositoriesPutRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemActionsPermissionsRepositoriesPutRequestBody) SetSelectedRepositoryIds

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

SetSelectedRepositoryIds sets the selected_repository_ids property value. List of repository IDs to enable for GitHub Actions.

type ItemActionsPermissionsRepositoriesPutRequestBodyable

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

type ItemActionsPermissionsRepositoriesRequestBuilder

type ItemActionsPermissionsRepositoriesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsPermissionsRepositoriesRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\permissions\repositories

func NewItemActionsPermissionsRepositoriesRequestBuilder

NewItemActionsPermissionsRepositoriesRequestBuilder instantiates a new ItemActionsPermissionsRepositoriesRequestBuilder and sets the default values.

func NewItemActionsPermissionsRepositoriesRequestBuilderInternal

func NewItemActionsPermissionsRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsRepositoriesRequestBuilder

NewItemActionsPermissionsRepositoriesRequestBuilderInternal instantiates a new ItemActionsPermissionsRepositoriesRequestBuilder and sets the default values.

func (*ItemActionsPermissionsRepositoriesRequestBuilder) ByRepository_id

ByRepository_id gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.actions.permissions.repositories.item collection returns a *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder when successful

func (*ItemActionsPermissionsRepositoriesRequestBuilder) Get

Get lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a ItemActionsPermissionsRepositoriesGetResponseable when successful API method documentation

func (*ItemActionsPermissionsRepositoriesRequestBuilder) Put

Put replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemActionsPermissionsRepositoriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsPermissionsRepositoriesRequestBuilder) ToPutRequestInformation

ToPutRequestInformation replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsPermissionsRepositoriesRequestBuilder) 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 *ItemActionsPermissionsRepositoriesRequestBuilder when successful

type ItemActionsPermissionsRepositoriesRequestBuilderGetQueryParameters

type ItemActionsPermissionsRepositoriesRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemActionsPermissionsRepositoriesRequestBuilderGetQueryParameters lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.

type ItemActionsPermissionsRepositoriesResponse

type ItemActionsPermissionsRepositoriesResponse struct {
	ItemActionsPermissionsRepositoriesGetResponse
}

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

func NewItemActionsPermissionsRepositoriesResponse

func NewItemActionsPermissionsRepositoriesResponse() *ItemActionsPermissionsRepositoriesResponse

NewItemActionsPermissionsRepositoriesResponse instantiates a new ItemActionsPermissionsRepositoriesResponse and sets the default values.

type ItemActionsPermissionsRepositoriesResponseable

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

type ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder

type ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\permissions\repositories\{repository_id}

func NewItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder

func NewItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder

NewItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder instantiates a new ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder and sets the default values.

func NewItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilderInternal

func NewItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder

NewItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilderInternal instantiates a new ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder and sets the default values.

func (*ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) Delete

Delete removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) Put

Put adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for `enabled_repositories` must be must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsPermissionsRepositoriesWithRepository_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 *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder when successful

type ItemActionsPermissionsRequestBuilder

type ItemActionsPermissionsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsPermissionsRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\permissions

func NewItemActionsPermissionsRequestBuilder

NewItemActionsPermissionsRequestBuilder instantiates a new ItemActionsPermissionsRequestBuilder and sets the default values.

func NewItemActionsPermissionsRequestBuilderInternal

func NewItemActionsPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsRequestBuilder

NewItemActionsPermissionsRequestBuilderInternal instantiates a new ItemActionsPermissionsRequestBuilder and sets the default values.

func (*ItemActionsPermissionsRequestBuilder) Get

Get gets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization.OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a ActionsOrganizationPermissionsable when successful API method documentation

func (*ItemActionsPermissionsRequestBuilder) Put

Put sets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemActionsPermissionsRequestBuilder) Repositories

Repositories the repositories property returns a *ItemActionsPermissionsRepositoriesRequestBuilder when successful

func (*ItemActionsPermissionsRequestBuilder) SelectedActions

SelectedActions the selectedActions property returns a *ItemActionsPermissionsSelectedActionsRequestBuilder when successful

func (*ItemActionsPermissionsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization.OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsPermissionsRequestBuilder) ToPutRequestInformation

ToPutRequestInformation sets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsPermissionsRequestBuilder) 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 *ItemActionsPermissionsRequestBuilder when successful

func (*ItemActionsPermissionsRequestBuilder) Workflow

Workflow the workflow property returns a *ItemActionsPermissionsWorkflowRequestBuilder when successful

type ItemActionsPermissionsSelectedActionsRequestBuilder

type ItemActionsPermissionsSelectedActionsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsPermissionsSelectedActionsRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\permissions\selected-actions

func NewItemActionsPermissionsSelectedActionsRequestBuilder

NewItemActionsPermissionsSelectedActionsRequestBuilder instantiates a new ItemActionsPermissionsSelectedActionsRequestBuilder and sets the default values.

func NewItemActionsPermissionsSelectedActionsRequestBuilderInternal

func NewItemActionsPermissionsSelectedActionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsSelectedActionsRequestBuilder

NewItemActionsPermissionsSelectedActionsRequestBuilderInternal instantiates a new ItemActionsPermissionsSelectedActionsRequestBuilder and sets the default values.

func (*ItemActionsPermissionsSelectedActionsRequestBuilder) Get

Get gets the selected actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a SelectedActionsable when successful API method documentation

func (*ItemActionsPermissionsSelectedActionsRequestBuilder) Put

Put sets the actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemActionsPermissionsSelectedActionsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets the selected actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsPermissionsSelectedActionsRequestBuilder) ToPutRequestInformation

ToPutRequestInformation sets the actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsPermissionsSelectedActionsRequestBuilder) 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 *ItemActionsPermissionsSelectedActionsRequestBuilder when successful

type ItemActionsPermissionsWorkflowRequestBuilder

type ItemActionsPermissionsWorkflowRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsPermissionsWorkflowRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\permissions\workflow

func NewItemActionsPermissionsWorkflowRequestBuilder

NewItemActionsPermissionsWorkflowRequestBuilder instantiates a new ItemActionsPermissionsWorkflowRequestBuilder and sets the default values.

func NewItemActionsPermissionsWorkflowRequestBuilderInternal

func NewItemActionsPermissionsWorkflowRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsWorkflowRequestBuilder

NewItemActionsPermissionsWorkflowRequestBuilderInternal instantiates a new ItemActionsPermissionsWorkflowRequestBuilder and sets the default values.

func (*ItemActionsPermissionsWorkflowRequestBuilder) Get

Get gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization,as well as whether GitHub Actions can submit approving pull request reviews. For more information, see"[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization)."OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a ActionsGetDefaultWorkflowPermissionsable when successful API method documentation

func (*ItemActionsPermissionsWorkflowRequestBuilder) Put

Put sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization, and sets if GitHub Actionscan submit approving pull request reviews. For more information, see"[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization)."OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemActionsPermissionsWorkflowRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization,as well as whether GitHub Actions can submit approving pull request reviews. For more information, see"[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization)."OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsPermissionsWorkflowRequestBuilder) ToPutRequestInformation

ToPutRequestInformation sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an organization, and sets if GitHub Actionscan submit approving pull request reviews. For more information, see"[Setting the permissions of the GITHUB_TOKEN for your organization](https://docs.github.com/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-organization)."OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsPermissionsWorkflowRequestBuilder) 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 *ItemActionsPermissionsWorkflowRequestBuilder when successful

type ItemActionsRequestBuilder

ItemActionsRequestBuilder builds and executes requests for operations under \orgs\{org}\actions

func NewItemActionsRequestBuilder

NewItemActionsRequestBuilder instantiates a new ItemActionsRequestBuilder and sets the default values.

func NewItemActionsRequestBuilderInternal

func NewItemActionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRequestBuilder

NewItemActionsRequestBuilderInternal instantiates a new ItemActionsRequestBuilder and sets the default values.

func (*ItemActionsRequestBuilder) Cache

Cache the cache property returns a *ItemActionsCacheRequestBuilder when successful

func (*ItemActionsRequestBuilder) Oidc

Oidc the oidc property returns a *ItemActionsOidcRequestBuilder when successful

func (*ItemActionsRequestBuilder) Permissions

Permissions the permissions property returns a *ItemActionsPermissionsRequestBuilder when successful

func (*ItemActionsRequestBuilder) Runners

Runners the runners property returns a *ItemActionsRunnersRequestBuilder when successful

func (*ItemActionsRequestBuilder) Secrets

Secrets the secrets property returns a *ItemActionsSecretsRequestBuilder when successful

func (*ItemActionsRequestBuilder) Variables

Variables the variables property returns a *ItemActionsVariablesRequestBuilder when successful

type ItemActionsRunnersDownloadsRequestBuilder

type ItemActionsRunnersDownloadsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsRunnersDownloadsRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\runners\downloads

func NewItemActionsRunnersDownloadsRequestBuilder

NewItemActionsRunnersDownloadsRequestBuilder instantiates a new ItemActionsRunnersDownloadsRequestBuilder and sets the default values.

func NewItemActionsRunnersDownloadsRequestBuilderInternal

func NewItemActionsRunnersDownloadsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersDownloadsRequestBuilder

NewItemActionsRunnersDownloadsRequestBuilderInternal instantiates a new ItemActionsRunnersDownloadsRequestBuilder and sets the default values.

func (*ItemActionsRunnersDownloadsRequestBuilder) Get

Get lists binaries for the runner application that you can download and run.Authenticated users must have admin access to the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a []RunnerApplicationable when successful API method documentation

func (*ItemActionsRunnersDownloadsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists binaries for the runner application that you can download and run.Authenticated users must have admin access to the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsRunnersDownloadsRequestBuilder) 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 *ItemActionsRunnersDownloadsRequestBuilder when successful

type ItemActionsRunnersGenerateJitconfigPostRequestBody

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

func NewItemActionsRunnersGenerateJitconfigPostRequestBody

func NewItemActionsRunnersGenerateJitconfigPostRequestBody() *ItemActionsRunnersGenerateJitconfigPostRequestBody

NewItemActionsRunnersGenerateJitconfigPostRequestBody instantiates a new ItemActionsRunnersGenerateJitconfigPostRequestBody and sets the default values.

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

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

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

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

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

Serialize serializes information the current object

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) SetAdditionalData

func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

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

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

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) SetRunnerGroupId

func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) SetRunnerGroupId(value *int32)

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

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) SetWorkFolder

SetWorkFolder sets the work_folder property value. The working directory to be used for job execution, relative to the runner install directory.

type ItemActionsRunnersGenerateJitconfigPostRequestBodyable

type ItemActionsRunnersGenerateJitconfigPostRequestBodyable 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 ItemActionsRunnersGenerateJitconfigPostResponse

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

func NewItemActionsRunnersGenerateJitconfigPostResponse

func NewItemActionsRunnersGenerateJitconfigPostResponse() *ItemActionsRunnersGenerateJitconfigPostResponse

NewItemActionsRunnersGenerateJitconfigPostResponse instantiates a new ItemActionsRunnersGenerateJitconfigPostResponse and sets the default values.

func (*ItemActionsRunnersGenerateJitconfigPostResponse) GetAdditionalData

func (m *ItemActionsRunnersGenerateJitconfigPostResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemActionsRunnersGenerateJitconfigPostResponse) GetEncodedJitConfig

func (m *ItemActionsRunnersGenerateJitconfigPostResponse) GetEncodedJitConfig() *string

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

func (*ItemActionsRunnersGenerateJitconfigPostResponse) GetFieldDeserializers

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

func (*ItemActionsRunnersGenerateJitconfigPostResponse) GetRunner

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

func (*ItemActionsRunnersGenerateJitconfigPostResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersGenerateJitconfigPostResponse) SetAdditionalData

func (m *ItemActionsRunnersGenerateJitconfigPostResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemActionsRunnersGenerateJitconfigPostResponse) SetEncodedJitConfig

func (m *ItemActionsRunnersGenerateJitconfigPostResponse) SetEncodedJitConfig(value *string)

SetEncodedJitConfig sets the encoded_jit_config property value. The base64 encoded runner configuration.

func (*ItemActionsRunnersGenerateJitconfigPostResponse) SetRunner

SetRunner sets the runner property value. A self hosted runner

type ItemActionsRunnersGenerateJitconfigRequestBuilder

type ItemActionsRunnersGenerateJitconfigRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsRunnersGenerateJitconfigRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\runners\generate-jitconfig

func NewItemActionsRunnersGenerateJitconfigRequestBuilder

NewItemActionsRunnersGenerateJitconfigRequestBuilder instantiates a new ItemActionsRunnersGenerateJitconfigRequestBuilder and sets the default values.

func NewItemActionsRunnersGenerateJitconfigRequestBuilderInternal

func NewItemActionsRunnersGenerateJitconfigRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersGenerateJitconfigRequestBuilder

NewItemActionsRunnersGenerateJitconfigRequestBuilderInternal instantiates a new ItemActionsRunnersGenerateJitconfigRequestBuilder and sets the default values.

func (*ItemActionsRunnersGenerateJitconfigRequestBuilder) Post

Post generates a configuration that can be passed to the runner application at startup.The authenticated user must have admin access to the organization.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to 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 ItemActionsRunnersGenerateJitconfigPostResponseable 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 (*ItemActionsRunnersGenerateJitconfigRequestBuilder) ToPostRequestInformation

ToPostRequestInformation generates a configuration that can be passed to the runner application at startup.The authenticated user must have admin access to the organization.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to 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 (*ItemActionsRunnersGenerateJitconfigRequestBuilder) 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 *ItemActionsRunnersGenerateJitconfigRequestBuilder when successful

type ItemActionsRunnersGenerateJitconfigResponse

type ItemActionsRunnersGenerateJitconfigResponse struct {
	ItemActionsRunnersGenerateJitconfigPostResponse
}

ItemActionsRunnersGenerateJitconfigResponse Deprecated: This class is obsolete. Use generateJitconfigPostResponse instead.

func NewItemActionsRunnersGenerateJitconfigResponse

func NewItemActionsRunnersGenerateJitconfigResponse() *ItemActionsRunnersGenerateJitconfigResponse

NewItemActionsRunnersGenerateJitconfigResponse instantiates a new ItemActionsRunnersGenerateJitconfigResponse and sets the default values.

type ItemActionsRunnersGenerateJitconfigResponseable

ItemActionsRunnersGenerateJitconfigResponseable Deprecated: This class is obsolete. Use generateJitconfigPostResponse instead.

type ItemActionsRunnersGetResponse

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

func NewItemActionsRunnersGetResponse

func NewItemActionsRunnersGetResponse() *ItemActionsRunnersGetResponse

NewItemActionsRunnersGetResponse instantiates a new ItemActionsRunnersGetResponse and sets the default values.

func (*ItemActionsRunnersGetResponse) GetAdditionalData

func (m *ItemActionsRunnersGetResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemActionsRunnersGetResponse) GetFieldDeserializers

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

func (*ItemActionsRunnersGetResponse) GetRunners

GetRunners gets the runners property value. The runners property returns a []Runnerable when successful

func (*ItemActionsRunnersGetResponse) GetTotalCount

func (m *ItemActionsRunnersGetResponse) GetTotalCount() *int32

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

func (*ItemActionsRunnersGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersGetResponse) SetAdditionalData

func (m *ItemActionsRunnersGetResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemActionsRunnersGetResponse) SetRunners

SetRunners sets the runners property value. The runners property

func (*ItemActionsRunnersGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsRunnersItemLabelsDeleteResponse

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

func NewItemActionsRunnersItemLabelsDeleteResponse

func NewItemActionsRunnersItemLabelsDeleteResponse() *ItemActionsRunnersItemLabelsDeleteResponse

NewItemActionsRunnersItemLabelsDeleteResponse instantiates a new ItemActionsRunnersItemLabelsDeleteResponse and sets the default values.

func (*ItemActionsRunnersItemLabelsDeleteResponse) GetAdditionalData

func (m *ItemActionsRunnersItemLabelsDeleteResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemActionsRunnersItemLabelsDeleteResponse) GetFieldDeserializers

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

func (*ItemActionsRunnersItemLabelsDeleteResponse) GetLabels

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

func (*ItemActionsRunnersItemLabelsDeleteResponse) GetTotalCount

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

func (*ItemActionsRunnersItemLabelsDeleteResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersItemLabelsDeleteResponse) SetAdditionalData

func (m *ItemActionsRunnersItemLabelsDeleteResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemActionsRunnersItemLabelsDeleteResponse) SetLabels

SetLabels sets the labels property value. The labels property

func (*ItemActionsRunnersItemLabelsDeleteResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsRunnersItemLabelsGetResponse

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

func NewItemActionsRunnersItemLabelsGetResponse

func NewItemActionsRunnersItemLabelsGetResponse() *ItemActionsRunnersItemLabelsGetResponse

NewItemActionsRunnersItemLabelsGetResponse instantiates a new ItemActionsRunnersItemLabelsGetResponse and sets the default values.

func (*ItemActionsRunnersItemLabelsGetResponse) GetAdditionalData

func (m *ItemActionsRunnersItemLabelsGetResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemActionsRunnersItemLabelsGetResponse) GetFieldDeserializers

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

func (*ItemActionsRunnersItemLabelsGetResponse) GetLabels

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

func (*ItemActionsRunnersItemLabelsGetResponse) GetTotalCount

func (m *ItemActionsRunnersItemLabelsGetResponse) GetTotalCount() *int32

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

func (*ItemActionsRunnersItemLabelsGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersItemLabelsGetResponse) SetAdditionalData

func (m *ItemActionsRunnersItemLabelsGetResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemActionsRunnersItemLabelsGetResponse) SetLabels

SetLabels sets the labels property value. The labels property

func (*ItemActionsRunnersItemLabelsGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsRunnersItemLabelsItemWithNameDeleteResponse

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

func NewItemActionsRunnersItemLabelsItemWithNameDeleteResponse

func NewItemActionsRunnersItemLabelsItemWithNameDeleteResponse() *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse

NewItemActionsRunnersItemLabelsItemWithNameDeleteResponse instantiates a new ItemActionsRunnersItemLabelsItemWithNameDeleteResponse and sets the default values.

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

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

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetLabels

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

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetTotalCount

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

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetAdditionalData

func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetLabels

SetLabels sets the labels property value. The labels property

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetTotalCount

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsRunnersItemLabelsItemWithNameResponse

type ItemActionsRunnersItemLabelsItemWithNameResponse struct {
	ItemActionsRunnersItemLabelsItemWithNameDeleteResponse
}

ItemActionsRunnersItemLabelsItemWithNameResponse Deprecated: This class is obsolete. Use WithNameDeleteResponse instead.

func NewItemActionsRunnersItemLabelsItemWithNameResponse

func NewItemActionsRunnersItemLabelsItemWithNameResponse() *ItemActionsRunnersItemLabelsItemWithNameResponse

NewItemActionsRunnersItemLabelsItemWithNameResponse instantiates a new ItemActionsRunnersItemLabelsItemWithNameResponse and sets the default values.

type ItemActionsRunnersItemLabelsItemWithNameResponseable

ItemActionsRunnersItemLabelsItemWithNameResponseable Deprecated: This class is obsolete. Use WithNameDeleteResponse instead.

type ItemActionsRunnersItemLabelsPostRequestBody

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

func NewItemActionsRunnersItemLabelsPostRequestBody

func NewItemActionsRunnersItemLabelsPostRequestBody() *ItemActionsRunnersItemLabelsPostRequestBody

NewItemActionsRunnersItemLabelsPostRequestBody instantiates a new ItemActionsRunnersItemLabelsPostRequestBody and sets the default values.

func (*ItemActionsRunnersItemLabelsPostRequestBody) GetAdditionalData

func (m *ItemActionsRunnersItemLabelsPostRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemActionsRunnersItemLabelsPostRequestBody) GetFieldDeserializers

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

func (*ItemActionsRunnersItemLabelsPostRequestBody) GetLabels

GetLabels gets the labels property value. The names of the custom labels to add to the runner. returns a []string when successful

func (*ItemActionsRunnersItemLabelsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersItemLabelsPostRequestBody) SetAdditionalData

func (m *ItemActionsRunnersItemLabelsPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemActionsRunnersItemLabelsPostRequestBody) SetLabels

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

type ItemActionsRunnersItemLabelsPostResponse

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

func NewItemActionsRunnersItemLabelsPostResponse

func NewItemActionsRunnersItemLabelsPostResponse() *ItemActionsRunnersItemLabelsPostResponse

NewItemActionsRunnersItemLabelsPostResponse instantiates a new ItemActionsRunnersItemLabelsPostResponse and sets the default values.

func (*ItemActionsRunnersItemLabelsPostResponse) GetAdditionalData

func (m *ItemActionsRunnersItemLabelsPostResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemActionsRunnersItemLabelsPostResponse) GetFieldDeserializers

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

func (*ItemActionsRunnersItemLabelsPostResponse) GetLabels

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

func (*ItemActionsRunnersItemLabelsPostResponse) GetTotalCount

func (m *ItemActionsRunnersItemLabelsPostResponse) GetTotalCount() *int32

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

func (*ItemActionsRunnersItemLabelsPostResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersItemLabelsPostResponse) SetAdditionalData

func (m *ItemActionsRunnersItemLabelsPostResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemActionsRunnersItemLabelsPostResponse) SetLabels

SetLabels sets the labels property value. The labels property

func (*ItemActionsRunnersItemLabelsPostResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsRunnersItemLabelsPutRequestBody

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

func NewItemActionsRunnersItemLabelsPutRequestBody

func NewItemActionsRunnersItemLabelsPutRequestBody() *ItemActionsRunnersItemLabelsPutRequestBody

NewItemActionsRunnersItemLabelsPutRequestBody instantiates a new ItemActionsRunnersItemLabelsPutRequestBody and sets the default values.

func (*ItemActionsRunnersItemLabelsPutRequestBody) GetAdditionalData

func (m *ItemActionsRunnersItemLabelsPutRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemActionsRunnersItemLabelsPutRequestBody) GetFieldDeserializers

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

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

Serialize serializes information the current object

func (*ItemActionsRunnersItemLabelsPutRequestBody) SetAdditionalData

func (m *ItemActionsRunnersItemLabelsPutRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemActionsRunnersItemLabelsPutRequestBody) SetLabels

func (m *ItemActionsRunnersItemLabelsPutRequestBody) SetLabels(value []string)

SetLabels sets the labels property value. The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels.

type ItemActionsRunnersItemLabelsPutResponse

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

func NewItemActionsRunnersItemLabelsPutResponse

func NewItemActionsRunnersItemLabelsPutResponse() *ItemActionsRunnersItemLabelsPutResponse

NewItemActionsRunnersItemLabelsPutResponse instantiates a new ItemActionsRunnersItemLabelsPutResponse and sets the default values.

func (*ItemActionsRunnersItemLabelsPutResponse) GetAdditionalData

func (m *ItemActionsRunnersItemLabelsPutResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemActionsRunnersItemLabelsPutResponse) GetFieldDeserializers

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

func (*ItemActionsRunnersItemLabelsPutResponse) GetLabels

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

func (*ItemActionsRunnersItemLabelsPutResponse) GetTotalCount

func (m *ItemActionsRunnersItemLabelsPutResponse) GetTotalCount() *int32

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

func (*ItemActionsRunnersItemLabelsPutResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersItemLabelsPutResponse) SetAdditionalData

func (m *ItemActionsRunnersItemLabelsPutResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemActionsRunnersItemLabelsPutResponse) SetLabels

SetLabels sets the labels property value. The labels property

func (*ItemActionsRunnersItemLabelsPutResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsRunnersItemLabelsRequestBuilder

type ItemActionsRunnersItemLabelsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsRunnersItemLabelsRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\runners\{runner_id}\labels

func NewItemActionsRunnersItemLabelsRequestBuilder

NewItemActionsRunnersItemLabelsRequestBuilder instantiates a new ItemActionsRunnersItemLabelsRequestBuilder and sets the default values.

func NewItemActionsRunnersItemLabelsRequestBuilderInternal

func NewItemActionsRunnersItemLabelsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersItemLabelsRequestBuilder

NewItemActionsRunnersItemLabelsRequestBuilderInternal instantiates a new ItemActionsRunnersItemLabelsRequestBuilder and sets the default values.

func (*ItemActionsRunnersItemLabelsRequestBuilder) ByName

ByName gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.actions.runners.item.labels.item collection returns a *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder when successful

func (*ItemActionsRunnersItemLabelsRequestBuilder) Delete

Delete remove all custom labels from a self-hosted runner configured in anorganization. Returns the remaining read-only labels from the runner.Authenticated users must have admin access to the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a ItemActionsRunnersItemLabelsDeleteResponseable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemActionsRunnersItemLabelsRequestBuilder) Get

Get lists all labels for a self-hosted runner configured in an organization.Authenticated users must have admin access to the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a ItemActionsRunnersItemLabelsGetResponseable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemActionsRunnersItemLabelsRequestBuilder) Post

Post adds custom labels to a self-hosted runner configured in an organization.Authenticated users must have admin access to the organization to use this endpoint.OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a ItemActionsRunnersItemLabelsPostResponseable 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 (*ItemActionsRunnersItemLabelsRequestBuilder) Put

Put remove all previous custom labels and set the new custom labels for a specificself-hosted runner configured in an organization.Authenticated users must have admin access to the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a ItemActionsRunnersItemLabelsPutResponseable 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 (*ItemActionsRunnersItemLabelsRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation remove all custom labels from a self-hosted runner configured in anorganization. Returns the remaining read-only labels from the runner.Authenticated users must have admin access to the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsRunnersItemLabelsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all labels for a self-hosted runner configured in an organization.Authenticated users must have admin access to the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsRunnersItemLabelsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation adds custom labels to a self-hosted runner configured in an organization.Authenticated users must have admin access to the organization to use this endpoint.OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnersItemLabelsRequestBuilder) ToPutRequestInformation

ToPutRequestInformation remove all previous custom labels and set the new custom labels for a specificself-hosted runner configured in an organization.Authenticated users must have admin access to the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsRunnersItemLabelsRequestBuilder) 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 *ItemActionsRunnersItemLabelsRequestBuilder when successful

type ItemActionsRunnersItemLabelsResponse

type ItemActionsRunnersItemLabelsResponse struct {
	ItemActionsRunnersItemLabelsGetResponse
}

ItemActionsRunnersItemLabelsResponse Deprecated: This class is obsolete. Use labelsGetResponse instead.

func NewItemActionsRunnersItemLabelsResponse

func NewItemActionsRunnersItemLabelsResponse() *ItemActionsRunnersItemLabelsResponse

NewItemActionsRunnersItemLabelsResponse instantiates a new ItemActionsRunnersItemLabelsResponse and sets the default values.

type ItemActionsRunnersItemLabelsResponseable

ItemActionsRunnersItemLabelsResponseable Deprecated: This class is obsolete. Use labelsGetResponse instead.

type ItemActionsRunnersItemLabelsWithNameItemRequestBuilder

type ItemActionsRunnersItemLabelsWithNameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsRunnersItemLabelsWithNameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\runners\{runner_id}\labels\{name}

func NewItemActionsRunnersItemLabelsWithNameItemRequestBuilder

func NewItemActionsRunnersItemLabelsWithNameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder

NewItemActionsRunnersItemLabelsWithNameItemRequestBuilder instantiates a new ItemActionsRunnersItemLabelsWithNameItemRequestBuilder and sets the default values.

func NewItemActionsRunnersItemLabelsWithNameItemRequestBuilderInternal

func NewItemActionsRunnersItemLabelsWithNameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder

NewItemActionsRunnersItemLabelsWithNameItemRequestBuilderInternal instantiates a new ItemActionsRunnersItemLabelsWithNameItemRequestBuilder and sets the default values.

func (*ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) Delete

Delete remove a custom label from a self-hosted runner configuredin an organization. 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 organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a ItemActionsRunnersItemLabelsItemWithNameDeleteResponseable 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 (*ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation remove a custom label from a self-hosted runner configuredin an organization. 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 organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) 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 *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder when successful

type ItemActionsRunnersRegistrationTokenRequestBuilder

type ItemActionsRunnersRegistrationTokenRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsRunnersRegistrationTokenRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\runners\registration-token

func NewItemActionsRunnersRegistrationTokenRequestBuilder

NewItemActionsRunnersRegistrationTokenRequestBuilder instantiates a new ItemActionsRunnersRegistrationTokenRequestBuilder and sets the default values.

func NewItemActionsRunnersRegistrationTokenRequestBuilderInternal

func NewItemActionsRunnersRegistrationTokenRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersRegistrationTokenRequestBuilder

NewItemActionsRunnersRegistrationTokenRequestBuilderInternal instantiates a new ItemActionsRunnersRegistrationTokenRequestBuilder and sets the default values.

func (*ItemActionsRunnersRegistrationTokenRequestBuilder) 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 organization to use this endpoint.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to 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 AuthenticationTokenable when successful API method documentation

func (*ItemActionsRunnersRegistrationTokenRequestBuilder) 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 organization to use this endpoint.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to 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 (*ItemActionsRunnersRegistrationTokenRequestBuilder) 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 *ItemActionsRunnersRegistrationTokenRequestBuilder when successful

type ItemActionsRunnersRemoveTokenRequestBuilder

type ItemActionsRunnersRemoveTokenRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsRunnersRemoveTokenRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\runners\remove-token

func NewItemActionsRunnersRemoveTokenRequestBuilder

NewItemActionsRunnersRemoveTokenRequestBuilder instantiates a new ItemActionsRunnersRemoveTokenRequestBuilder and sets the default values.

func NewItemActionsRunnersRemoveTokenRequestBuilderInternal

func NewItemActionsRunnersRemoveTokenRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersRemoveTokenRequestBuilder

NewItemActionsRunnersRemoveTokenRequestBuilderInternal instantiates a new ItemActionsRunnersRemoveTokenRequestBuilder and sets the default values.

func (*ItemActionsRunnersRemoveTokenRequestBuilder) Post

Post returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. 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 organization to use this endpoint.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to 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 AuthenticationTokenable when successful API method documentation

func (*ItemActionsRunnersRemoveTokenRequestBuilder) ToPostRequestInformation

ToPostRequestInformation returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. 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 organization to use this endpoint.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to 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 (*ItemActionsRunnersRemoveTokenRequestBuilder) 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 *ItemActionsRunnersRemoveTokenRequestBuilder when successful

type ItemActionsRunnersRequestBuilder

ItemActionsRunnersRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\runners

func NewItemActionsRunnersRequestBuilder

NewItemActionsRunnersRequestBuilder instantiates a new ItemActionsRunnersRequestBuilder and sets the default values.

func NewItemActionsRunnersRequestBuilderInternal

func NewItemActionsRunnersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersRequestBuilder

NewItemActionsRunnersRequestBuilderInternal instantiates a new ItemActionsRunnersRequestBuilder and sets the default values.

func (*ItemActionsRunnersRequestBuilder) ByRunner_id

ByRunner_id gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.actions.runners.item collection returns a *ItemActionsRunnersWithRunner_ItemRequestBuilder when successful

func (*ItemActionsRunnersRequestBuilder) Downloads

Downloads the downloads property returns a *ItemActionsRunnersDownloadsRequestBuilder when successful

func (*ItemActionsRunnersRequestBuilder) GenerateJitconfig

GenerateJitconfig the generateJitconfig property returns a *ItemActionsRunnersGenerateJitconfigRequestBuilder when successful

func (*ItemActionsRunnersRequestBuilder) Get

Get lists all self-hosted runners configured in an organization.Authenticated users must have admin access to the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a ItemActionsRunnersGetResponseable when successful API method documentation

func (*ItemActionsRunnersRequestBuilder) RegistrationToken

RegistrationToken the registrationToken property returns a *ItemActionsRunnersRegistrationTokenRequestBuilder when successful

func (*ItemActionsRunnersRequestBuilder) RemoveToken

RemoveToken the removeToken property returns a *ItemActionsRunnersRemoveTokenRequestBuilder when successful

func (*ItemActionsRunnersRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all self-hosted runners configured in an organization.Authenticated users must have admin access to the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsRunnersRequestBuilder) 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 *ItemActionsRunnersRequestBuilder when successful

type ItemActionsRunnersRequestBuilderGetQueryParameters

type ItemActionsRunnersRequestBuilderGetQueryParameters struct {
	// The name of a self-hosted runner.
	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/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemActionsRunnersRequestBuilderGetQueryParameters lists all self-hosted runners configured in an organization.Authenticated users must have admin access to the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.

type ItemActionsRunnersResponse

type ItemActionsRunnersResponse struct {
	ItemActionsRunnersGetResponse
}

ItemActionsRunnersResponse Deprecated: This class is obsolete. Use runnersGetResponse instead.

func NewItemActionsRunnersResponse

func NewItemActionsRunnersResponse() *ItemActionsRunnersResponse

NewItemActionsRunnersResponse instantiates a new ItemActionsRunnersResponse and sets the default values.

type ItemActionsRunnersResponseable

ItemActionsRunnersResponseable Deprecated: This class is obsolete. Use runnersGetResponse instead.

type ItemActionsRunnersWithRunner_ItemRequestBuilder

type ItemActionsRunnersWithRunner_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsRunnersWithRunner_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\runners\{runner_id}

func NewItemActionsRunnersWithRunner_ItemRequestBuilder

NewItemActionsRunnersWithRunner_ItemRequestBuilder instantiates a new ItemActionsRunnersWithRunner_ItemRequestBuilder and sets the default values.

func NewItemActionsRunnersWithRunner_ItemRequestBuilderInternal

func NewItemActionsRunnersWithRunner_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersWithRunner_ItemRequestBuilder

NewItemActionsRunnersWithRunner_ItemRequestBuilderInternal instantiates a new ItemActionsRunnersWithRunner_ItemRequestBuilder and sets the default values.

func (*ItemActionsRunnersWithRunner_ItemRequestBuilder) Delete

Delete forces the removal of a self-hosted runner from an organization. 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 organization to use this endpoint.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to 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 (*ItemActionsRunnersWithRunner_ItemRequestBuilder) Get

Get gets a specific self-hosted runner configured in an organization.Authenticated users must have admin access to the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a Runnerable when successful API method documentation

func (*ItemActionsRunnersWithRunner_ItemRequestBuilder) Labels

Labels the labels property returns a *ItemActionsRunnersItemLabelsRequestBuilder when successful

func (*ItemActionsRunnersWithRunner_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation forces the removal of a self-hosted runner from an organization. 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 organization to use this endpoint.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to 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 (*ItemActionsRunnersWithRunner_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a specific self-hosted runner configured in an organization.Authenticated users must have admin access to the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsRunnersWithRunner_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 *ItemActionsRunnersWithRunner_ItemRequestBuilder when successful

type ItemActionsSecretsGetResponse

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

func NewItemActionsSecretsGetResponse

func NewItemActionsSecretsGetResponse() *ItemActionsSecretsGetResponse

NewItemActionsSecretsGetResponse instantiates a new ItemActionsSecretsGetResponse and sets the default values.

func (*ItemActionsSecretsGetResponse) GetAdditionalData

func (m *ItemActionsSecretsGetResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemActionsSecretsGetResponse) GetFieldDeserializers

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

func (*ItemActionsSecretsGetResponse) GetSecrets

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

func (*ItemActionsSecretsGetResponse) GetTotalCount

func (m *ItemActionsSecretsGetResponse) GetTotalCount() *int32

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

func (*ItemActionsSecretsGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsSecretsGetResponse) SetAdditionalData

func (m *ItemActionsSecretsGetResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemActionsSecretsGetResponse) SetSecrets

SetSecrets sets the secrets property value. The secrets property

func (*ItemActionsSecretsGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsSecretsItemRepositoriesGetResponse

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

func NewItemActionsSecretsItemRepositoriesGetResponse

func NewItemActionsSecretsItemRepositoriesGetResponse() *ItemActionsSecretsItemRepositoriesGetResponse

NewItemActionsSecretsItemRepositoriesGetResponse instantiates a new ItemActionsSecretsItemRepositoriesGetResponse and sets the default values.

func (*ItemActionsSecretsItemRepositoriesGetResponse) GetAdditionalData

func (m *ItemActionsSecretsItemRepositoriesGetResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemActionsSecretsItemRepositoriesGetResponse) GetFieldDeserializers

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

func (*ItemActionsSecretsItemRepositoriesGetResponse) GetRepositories

GetRepositories gets the repositories property value. The repositories property returns a []MinimalRepositoryable when successful

func (*ItemActionsSecretsItemRepositoriesGetResponse) GetTotalCount

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

func (*ItemActionsSecretsItemRepositoriesGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsSecretsItemRepositoriesGetResponse) SetAdditionalData

func (m *ItemActionsSecretsItemRepositoriesGetResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemActionsSecretsItemRepositoriesGetResponse) SetRepositories

SetRepositories sets the repositories property value. The repositories property

func (*ItemActionsSecretsItemRepositoriesGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsSecretsItemRepositoriesPutRequestBody

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

func NewItemActionsSecretsItemRepositoriesPutRequestBody

func NewItemActionsSecretsItemRepositoriesPutRequestBody() *ItemActionsSecretsItemRepositoriesPutRequestBody

NewItemActionsSecretsItemRepositoriesPutRequestBody instantiates a new ItemActionsSecretsItemRepositoriesPutRequestBody and sets the default values.

func (*ItemActionsSecretsItemRepositoriesPutRequestBody) GetAdditionalData

func (m *ItemActionsSecretsItemRepositoriesPutRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemActionsSecretsItemRepositoriesPutRequestBody) GetFieldDeserializers

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

func (*ItemActionsSecretsItemRepositoriesPutRequestBody) GetSelectedRepositoryIds

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

GetSelectedRepositoryIds gets the selected_repository_ids property value. An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Add selected repository to an organization secret](https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints. returns a []int32 when successful

func (*ItemActionsSecretsItemRepositoriesPutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsSecretsItemRepositoriesPutRequestBody) SetAdditionalData

func (m *ItemActionsSecretsItemRepositoriesPutRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemActionsSecretsItemRepositoriesPutRequestBody) SetSelectedRepositoryIds

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

SetSelectedRepositoryIds sets the selected_repository_ids property value. An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Add selected repository to an organization secret](https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints.

type ItemActionsSecretsItemRepositoriesPutRequestBodyable

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

type ItemActionsSecretsItemRepositoriesRequestBuilder

type ItemActionsSecretsItemRepositoriesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsSecretsItemRepositoriesRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\secrets\{secret_name}\repositories

func NewItemActionsSecretsItemRepositoriesRequestBuilder

NewItemActionsSecretsItemRepositoriesRequestBuilder instantiates a new ItemActionsSecretsItemRepositoriesRequestBuilder and sets the default values.

func NewItemActionsSecretsItemRepositoriesRequestBuilderInternal

func NewItemActionsSecretsItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsSecretsItemRepositoriesRequestBuilder

NewItemActionsSecretsItemRepositoriesRequestBuilderInternal instantiates a new ItemActionsSecretsItemRepositoriesRequestBuilder and sets the default values.

func (*ItemActionsSecretsItemRepositoriesRequestBuilder) ByRepository_id

ByRepository_id gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.actions.secrets.item.repositories.item collection returns a *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder when successful

func (*ItemActionsSecretsItemRepositoriesRequestBuilder) Get

Get lists all repositories that have been selected when the `visibility`for repository access to a secret is set to `selected`.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 `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a ItemActionsSecretsItemRepositoriesGetResponseable when successful API method documentation

func (*ItemActionsSecretsItemRepositoriesRequestBuilder) Put

Put replaces all repositories for an organization secret when the `visibility`for repository access is set to `selected`. The visibility is set when you [Createor update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret).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 `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. API method documentation

func (*ItemActionsSecretsItemRepositoriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all repositories that have been selected when the `visibility`for repository access to a secret is set to `selected`.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 `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsSecretsItemRepositoriesRequestBuilder) ToPutRequestInformation

ToPutRequestInformation replaces all repositories for an organization secret when the `visibility`for repository access is set to `selected`. The visibility is set when you [Createor update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret).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 `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsSecretsItemRepositoriesRequestBuilder) 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 *ItemActionsSecretsItemRepositoriesRequestBuilder when successful

type ItemActionsSecretsItemRepositoriesRequestBuilderGetQueryParameters

type ItemActionsSecretsItemRepositoriesRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemActionsSecretsItemRepositoriesRequestBuilderGetQueryParameters lists all repositories that have been selected when the `visibility`for repository access to a secret is set to `selected`.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 `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.

type ItemActionsSecretsItemRepositoriesResponse

type ItemActionsSecretsItemRepositoriesResponse struct {
	ItemActionsSecretsItemRepositoriesGetResponse
}

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

func NewItemActionsSecretsItemRepositoriesResponse

func NewItemActionsSecretsItemRepositoriesResponse() *ItemActionsSecretsItemRepositoriesResponse

NewItemActionsSecretsItemRepositoriesResponse instantiates a new ItemActionsSecretsItemRepositoriesResponse and sets the default values.

type ItemActionsSecretsItemRepositoriesResponseable

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

type ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder

type ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\secrets\{secret_name}\repositories\{repository_id}

func NewItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder

func NewItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder

NewItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder instantiates a new ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder and sets the default values.

func NewItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal

func NewItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder

NewItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal instantiates a new ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder and sets the default values.

func (*ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Delete

Delete removes a repository from an organization secret when the `visibility`for repository access is set to `selected`. The visibility is set when you [Createor update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret).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 `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. API method documentation

func (*ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Put

Put adds a repository to an organization secret when the `visibility` forrepository access is set to `selected`. For more information about setting the visibility, see [Create orupdate an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret).Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the `admin:org` scope to 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 (*ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removes a repository from an organization secret when the `visibility`for repository access is set to `selected`. The visibility is set when you [Createor update an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret).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 `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation adds a repository to an organization secret when the `visibility` forrepository access is set to `selected`. For more information about setting the visibility, see [Create orupdate an organization secret](https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret).Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the `admin:org` scope to 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 (*ItemActionsSecretsItemRepositoriesWithRepository_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 *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder when successful

type ItemActionsSecretsItemWithSecret_namePutRequestBody

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

func NewItemActionsSecretsItemWithSecret_namePutRequestBody

func NewItemActionsSecretsItemWithSecret_namePutRequestBody() *ItemActionsSecretsItemWithSecret_namePutRequestBody

NewItemActionsSecretsItemWithSecret_namePutRequestBody instantiates a new ItemActionsSecretsItemWithSecret_namePutRequestBody and sets the default values.

func (*ItemActionsSecretsItemWithSecret_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 (*ItemActionsSecretsItemWithSecret_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 organization public key](https://docs.github.com/rest/actions/secrets#get-an-organization-public-key) endpoint. returns a *string when successful

func (*ItemActionsSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers

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

func (*ItemActionsSecretsItemWithSecret_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 (*ItemActionsSecretsItemWithSecret_namePutRequestBody) GetSelectedRepositoryIds

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

GetSelectedRepositoryIds gets the selected_repository_ids property value. An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints. returns a []int32 when successful

func (*ItemActionsSecretsItemWithSecret_namePutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsSecretsItemWithSecret_namePutRequestBody) SetAdditionalData

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

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

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

func (*ItemActionsSecretsItemWithSecret_namePutRequestBody) SetKeyId

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

func (*ItemActionsSecretsItemWithSecret_namePutRequestBody) SetSelectedRepositoryIds

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

SetSelectedRepositoryIds sets the selected_repository_ids property value. An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints.

type ItemActionsSecretsItemWithSecret_namePutRequestBodyable

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

type ItemActionsSecretsPublicKeyRequestBuilder

type ItemActionsSecretsPublicKeyRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsSecretsPublicKeyRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\secrets\public-key

func NewItemActionsSecretsPublicKeyRequestBuilder

NewItemActionsSecretsPublicKeyRequestBuilder instantiates a new ItemActionsSecretsPublicKeyRequestBuilder and sets the default values.

func NewItemActionsSecretsPublicKeyRequestBuilderInternal

func NewItemActionsSecretsPublicKeyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsSecretsPublicKeyRequestBuilder

NewItemActionsSecretsPublicKeyRequestBuilderInternal instantiates a new ItemActionsSecretsPublicKeyRequestBuilder and sets the default values.

func (*ItemActionsSecretsPublicKeyRequestBuilder) Get

Get gets your public key, which you need to encrypt secrets. You need toencrypt a secret before you can create or update secrets.The authenticated user must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to 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 (*ItemActionsSecretsPublicKeyRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets your public key, which you need to encrypt secrets. You need toencrypt a secret before you can create or update secrets.The authenticated user must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to 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 (*ItemActionsSecretsPublicKeyRequestBuilder) 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 *ItemActionsSecretsPublicKeyRequestBuilder when successful

type ItemActionsSecretsRequestBuilder

ItemActionsSecretsRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\secrets

func NewItemActionsSecretsRequestBuilder

NewItemActionsSecretsRequestBuilder instantiates a new ItemActionsSecretsRequestBuilder and sets the default values.

func NewItemActionsSecretsRequestBuilderInternal

func NewItemActionsSecretsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsSecretsRequestBuilder

NewItemActionsSecretsRequestBuilderInternal instantiates a new ItemActionsSecretsRequestBuilder and sets the default values.

func (*ItemActionsSecretsRequestBuilder) BySecret_name

BySecret_name gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.actions.secrets.item collection returns a *ItemActionsSecretsWithSecret_nameItemRequestBuilder when successful

func (*ItemActionsSecretsRequestBuilder) Get

Get lists all secrets available in an organization 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 `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a ItemActionsSecretsGetResponseable when successful API method documentation

func (*ItemActionsSecretsRequestBuilder) PublicKey

PublicKey the publicKey property returns a *ItemActionsSecretsPublicKeyRequestBuilder when successful

func (*ItemActionsSecretsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all secrets available in an organization 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 `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsSecretsRequestBuilder) 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 *ItemActionsSecretsRequestBuilder when successful

type ItemActionsSecretsRequestBuilderGetQueryParameters

type ItemActionsSecretsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemActionsSecretsRequestBuilderGetQueryParameters lists all secrets available in an organization 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 `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.

type ItemActionsSecretsResponse

type ItemActionsSecretsResponse struct {
	ItemActionsSecretsGetResponse
}

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

func NewItemActionsSecretsResponse

func NewItemActionsSecretsResponse() *ItemActionsSecretsResponse

NewItemActionsSecretsResponse instantiates a new ItemActionsSecretsResponse and sets the default values.

type ItemActionsSecretsResponseable

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

type ItemActionsSecretsWithSecret_nameItemRequestBuilder

type ItemActionsSecretsWithSecret_nameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsSecretsWithSecret_nameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\secrets\{secret_name}

func NewItemActionsSecretsWithSecret_nameItemRequestBuilder

NewItemActionsSecretsWithSecret_nameItemRequestBuilder instantiates a new ItemActionsSecretsWithSecret_nameItemRequestBuilder and sets the default values.

func NewItemActionsSecretsWithSecret_nameItemRequestBuilderInternal

func NewItemActionsSecretsWithSecret_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsSecretsWithSecret_nameItemRequestBuilder

NewItemActionsSecretsWithSecret_nameItemRequestBuilderInternal instantiates a new ItemActionsSecretsWithSecret_nameItemRequestBuilder and sets the default values.

func (*ItemActionsSecretsWithSecret_nameItemRequestBuilder) Delete

Delete deletes a secret in an organization 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`admin:org` scope to 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 (*ItemActionsSecretsWithSecret_nameItemRequestBuilder) Get

Get gets a single organization secret without revealing its encrypted value.The authenticated user must have collaborator access to a repository to create, update, or read secretsOAuth tokens and personal access tokens (classic) need the`admin:org` scope to 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 OrganizationActionsSecretable when successful API method documentation

func (*ItemActionsSecretsWithSecret_nameItemRequestBuilder) Put

Put creates or updates an organization 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/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`admin:org` scope to 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 EmptyObjectable when successful API method documentation

func (*ItemActionsSecretsWithSecret_nameItemRequestBuilder) Repositories

Repositories the repositories property returns a *ItemActionsSecretsItemRepositoriesRequestBuilder when successful

func (*ItemActionsSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a secret in an organization 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`admin:org` scope to 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 (*ItemActionsSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a single organization secret without revealing its encrypted value.The authenticated user must have collaborator access to a repository to create, update, or read secretsOAuth tokens and personal access tokens (classic) need the`admin:org` scope to 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 (*ItemActionsSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation creates or updates an organization 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/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`admin:org` scope to 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 (*ItemActionsSecretsWithSecret_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 *ItemActionsSecretsWithSecret_nameItemRequestBuilder when successful

type ItemActionsVariablesGetResponse

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

func NewItemActionsVariablesGetResponse

func NewItemActionsVariablesGetResponse() *ItemActionsVariablesGetResponse

NewItemActionsVariablesGetResponse instantiates a new ItemActionsVariablesGetResponse and sets the default values.

func (*ItemActionsVariablesGetResponse) GetAdditionalData

func (m *ItemActionsVariablesGetResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemActionsVariablesGetResponse) GetFieldDeserializers

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

func (*ItemActionsVariablesGetResponse) GetTotalCount

func (m *ItemActionsVariablesGetResponse) GetTotalCount() *int32

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

func (*ItemActionsVariablesGetResponse) GetVariables

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

func (*ItemActionsVariablesGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsVariablesGetResponse) SetAdditionalData

func (m *ItemActionsVariablesGetResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemActionsVariablesGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

func (*ItemActionsVariablesGetResponse) SetVariables

SetVariables sets the variables property value. The variables property

type ItemActionsVariablesItemRepositoriesGetResponse

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

func NewItemActionsVariablesItemRepositoriesGetResponse

func NewItemActionsVariablesItemRepositoriesGetResponse() *ItemActionsVariablesItemRepositoriesGetResponse

NewItemActionsVariablesItemRepositoriesGetResponse instantiates a new ItemActionsVariablesItemRepositoriesGetResponse and sets the default values.

func (*ItemActionsVariablesItemRepositoriesGetResponse) GetAdditionalData

func (m *ItemActionsVariablesItemRepositoriesGetResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemActionsVariablesItemRepositoriesGetResponse) GetFieldDeserializers

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

func (*ItemActionsVariablesItemRepositoriesGetResponse) GetRepositories

GetRepositories gets the repositories property value. The repositories property returns a []MinimalRepositoryable when successful

func (*ItemActionsVariablesItemRepositoriesGetResponse) GetTotalCount

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

func (*ItemActionsVariablesItemRepositoriesGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsVariablesItemRepositoriesGetResponse) SetAdditionalData

func (m *ItemActionsVariablesItemRepositoriesGetResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemActionsVariablesItemRepositoriesGetResponse) SetRepositories

SetRepositories sets the repositories property value. The repositories property

func (*ItemActionsVariablesItemRepositoriesGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsVariablesItemRepositoriesPutRequestBody

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

func NewItemActionsVariablesItemRepositoriesPutRequestBody

func NewItemActionsVariablesItemRepositoriesPutRequestBody() *ItemActionsVariablesItemRepositoriesPutRequestBody

NewItemActionsVariablesItemRepositoriesPutRequestBody instantiates a new ItemActionsVariablesItemRepositoriesPutRequestBody and sets the default values.

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

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

func (*ItemActionsVariablesItemRepositoriesPutRequestBody) GetSelectedRepositoryIds

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

GetSelectedRepositoryIds gets the selected_repository_ids property value. The IDs of the repositories that can access the organization variable. returns a []int32 when successful

func (*ItemActionsVariablesItemRepositoriesPutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsVariablesItemRepositoriesPutRequestBody) SetAdditionalData

func (m *ItemActionsVariablesItemRepositoriesPutRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemActionsVariablesItemRepositoriesPutRequestBody) SetSelectedRepositoryIds

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

SetSelectedRepositoryIds sets the selected_repository_ids property value. The IDs of the repositories that can access the organization variable.

type ItemActionsVariablesItemRepositoriesPutRequestBodyable

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

type ItemActionsVariablesItemRepositoriesRequestBuilder

type ItemActionsVariablesItemRepositoriesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsVariablesItemRepositoriesRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\variables\{name}\repositories

func NewItemActionsVariablesItemRepositoriesRequestBuilder

NewItemActionsVariablesItemRepositoriesRequestBuilder instantiates a new ItemActionsVariablesItemRepositoriesRequestBuilder and sets the default values.

func NewItemActionsVariablesItemRepositoriesRequestBuilderInternal

func NewItemActionsVariablesItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsVariablesItemRepositoriesRequestBuilder

NewItemActionsVariablesItemRepositoriesRequestBuilderInternal instantiates a new ItemActionsVariablesItemRepositoriesRequestBuilder and sets the default values.

func (*ItemActionsVariablesItemRepositoriesRequestBuilder) ByRepository_id

ByRepository_id gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.actions.variables.item.repositories.item collection returns a *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder when successful

func (*ItemActionsVariablesItemRepositoriesRequestBuilder) Get

Get lists all repositories that can access an organization variablethat is available to selected repositories.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 `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a ItemActionsVariablesItemRepositoriesGetResponseable when successful API method documentation

func (*ItemActionsVariablesItemRepositoriesRequestBuilder) Put

Put replaces all repositories for an organization variable that is availableto selected repositories. Organization variables that are available to selectedrepositories have their `visibility` field set to `selected`.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 `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. API method documentation

func (*ItemActionsVariablesItemRepositoriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all repositories that can access an organization variablethat is available to selected repositories.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 `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsVariablesItemRepositoriesRequestBuilder) ToPutRequestInformation

ToPutRequestInformation replaces all repositories for an organization variable that is availableto selected repositories. Organization variables that are available to selectedrepositories have their `visibility` field set to `selected`.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 `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsVariablesItemRepositoriesRequestBuilder) 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 *ItemActionsVariablesItemRepositoriesRequestBuilder when successful

type ItemActionsVariablesItemRepositoriesRequestBuilderGetQueryParameters

type ItemActionsVariablesItemRepositoriesRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemActionsVariablesItemRepositoriesRequestBuilderGetQueryParameters lists all repositories that can access an organization variablethat is available to selected repositories.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 `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.

type ItemActionsVariablesItemRepositoriesResponse

type ItemActionsVariablesItemRepositoriesResponse struct {
	ItemActionsVariablesItemRepositoriesGetResponse
}

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

func NewItemActionsVariablesItemRepositoriesResponse

func NewItemActionsVariablesItemRepositoriesResponse() *ItemActionsVariablesItemRepositoriesResponse

NewItemActionsVariablesItemRepositoriesResponse instantiates a new ItemActionsVariablesItemRepositoriesResponse and sets the default values.

type ItemActionsVariablesItemRepositoriesResponseable

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

type ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder

type ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\variables\{name}\repositories\{repository_id}

func NewItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder

func NewItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder

NewItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder instantiates a new ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder and sets the default values.

func NewItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilderInternal

func NewItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder

NewItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilderInternal instantiates a new ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder and sets the default values.

func (*ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) Delete

Delete removes a repository from an organization variable that isavailable to selected repositories. Organization variables that are available toselected repositories have their `visibility` field set to `selected`.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 `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. API method documentation

func (*ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) Put

Put adds a repository to an organization variable that is available to selected repositories.Organization variables that are available to selected repositories have their `visibility` field set to `selected`.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the `admin:org` scope to 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 (*ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removes a repository from an organization variable that isavailable to selected repositories. Organization variables that are available toselected repositories have their `visibility` field set to `selected`.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 `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation adds a repository to an organization variable that is available to selected repositories.Organization variables that are available to selected repositories have their `visibility` field set to `selected`.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the `admin:org` scope to 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 (*ItemActionsVariablesItemRepositoriesWithRepository_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 *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder when successful

type ItemActionsVariablesItemWithNamePatchRequestBody

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

func NewItemActionsVariablesItemWithNamePatchRequestBody

func NewItemActionsVariablesItemWithNamePatchRequestBody() *ItemActionsVariablesItemWithNamePatchRequestBody

NewItemActionsVariablesItemWithNamePatchRequestBody instantiates a new ItemActionsVariablesItemWithNamePatchRequestBody and sets the default values.

func (*ItemActionsVariablesItemWithNamePatchRequestBody) GetAdditionalData

func (m *ItemActionsVariablesItemWithNamePatchRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemActionsVariablesItemWithNamePatchRequestBody) GetFieldDeserializers

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

func (*ItemActionsVariablesItemWithNamePatchRequestBody) GetName

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

func (*ItemActionsVariablesItemWithNamePatchRequestBody) GetSelectedRepositoryIds

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

GetSelectedRepositoryIds gets the selected_repository_ids property value. An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`. returns a []int32 when successful

func (*ItemActionsVariablesItemWithNamePatchRequestBody) GetValue

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

func (*ItemActionsVariablesItemWithNamePatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsVariablesItemWithNamePatchRequestBody) SetAdditionalData

func (m *ItemActionsVariablesItemWithNamePatchRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemActionsVariablesItemWithNamePatchRequestBody) SetName

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

func (*ItemActionsVariablesItemWithNamePatchRequestBody) SetSelectedRepositoryIds

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

SetSelectedRepositoryIds sets the selected_repository_ids property value. An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`.

func (*ItemActionsVariablesItemWithNamePatchRequestBody) SetValue

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

type ItemActionsVariablesItemWithNamePatchRequestBodyable

type ItemActionsVariablesItemWithNamePatchRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetName() *string
	GetSelectedRepositoryIds() []int32
	GetValue() *string
	SetName(value *string)
	SetSelectedRepositoryIds(value []int32)
	SetValue(value *string)
}

type ItemActionsVariablesPostRequestBody

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

func NewItemActionsVariablesPostRequestBody

func NewItemActionsVariablesPostRequestBody() *ItemActionsVariablesPostRequestBody

NewItemActionsVariablesPostRequestBody instantiates a new ItemActionsVariablesPostRequestBody and sets the default values.

func (*ItemActionsVariablesPostRequestBody) GetAdditionalData

func (m *ItemActionsVariablesPostRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemActionsVariablesPostRequestBody) GetFieldDeserializers

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

func (*ItemActionsVariablesPostRequestBody) GetName

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

func (*ItemActionsVariablesPostRequestBody) GetSelectedRepositoryIds

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

GetSelectedRepositoryIds gets the selected_repository_ids property value. An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`. returns a []int32 when successful

func (*ItemActionsVariablesPostRequestBody) GetValue

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

func (*ItemActionsVariablesPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsVariablesPostRequestBody) SetAdditionalData

func (m *ItemActionsVariablesPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemActionsVariablesPostRequestBody) SetName

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

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

func (*ItemActionsVariablesPostRequestBody) SetSelectedRepositoryIds

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

SetSelectedRepositoryIds sets the selected_repository_ids property value. An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`.

func (*ItemActionsVariablesPostRequestBody) SetValue

func (m *ItemActionsVariablesPostRequestBody) SetValue(value *string)

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

type ItemActionsVariablesPostRequestBodyable

type ItemActionsVariablesPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetName() *string
	GetSelectedRepositoryIds() []int32
	GetValue() *string
	SetName(value *string)
	SetSelectedRepositoryIds(value []int32)
	SetValue(value *string)
}

type ItemActionsVariablesRequestBuilder

ItemActionsVariablesRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\variables

func NewItemActionsVariablesRequestBuilder

NewItemActionsVariablesRequestBuilder instantiates a new ItemActionsVariablesRequestBuilder and sets the default values.

func NewItemActionsVariablesRequestBuilderInternal

func NewItemActionsVariablesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsVariablesRequestBuilder

NewItemActionsVariablesRequestBuilderInternal instantiates a new ItemActionsVariablesRequestBuilder and sets the default values.

func (*ItemActionsVariablesRequestBuilder) ByName

ByName gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.actions.variables.item collection returns a *ItemActionsVariablesWithNameItemRequestBuilder when successful

func (*ItemActionsVariablesRequestBuilder) Get

Get lists all organization 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 `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a ItemActionsVariablesGetResponseable when successful API method documentation

func (*ItemActionsVariablesRequestBuilder) Post

Post creates an organization 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`admin:org` scope to 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 EmptyObjectable when successful API method documentation

func (*ItemActionsVariablesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all organization 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 `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsVariablesRequestBuilder) ToPostRequestInformation

ToPostRequestInformation creates an organization 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`admin:org` scope to 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 (*ItemActionsVariablesRequestBuilder) 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 *ItemActionsVariablesRequestBuilder when successful

type ItemActionsVariablesRequestBuilderGetQueryParameters

type ItemActionsVariablesRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemActionsVariablesRequestBuilderGetQueryParameters lists all organization 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 `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required.

type ItemActionsVariablesResponse

type ItemActionsVariablesResponse struct {
	ItemActionsVariablesGetResponse
}

ItemActionsVariablesResponse Deprecated: This class is obsolete. Use variablesGetResponse instead.

func NewItemActionsVariablesResponse

func NewItemActionsVariablesResponse() *ItemActionsVariablesResponse

NewItemActionsVariablesResponse instantiates a new ItemActionsVariablesResponse and sets the default values.

type ItemActionsVariablesResponseable

ItemActionsVariablesResponseable Deprecated: This class is obsolete. Use variablesGetResponse instead.

type ItemActionsVariablesWithNameItemRequestBuilder

type ItemActionsVariablesWithNameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsVariablesWithNameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\variables\{name}

func NewItemActionsVariablesWithNameItemRequestBuilder

NewItemActionsVariablesWithNameItemRequestBuilder instantiates a new ItemActionsVariablesWithNameItemRequestBuilder and sets the default values.

func NewItemActionsVariablesWithNameItemRequestBuilderInternal

func NewItemActionsVariablesWithNameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsVariablesWithNameItemRequestBuilder

NewItemActionsVariablesWithNameItemRequestBuilderInternal instantiates a new ItemActionsVariablesWithNameItemRequestBuilder and sets the default values.

func (*ItemActionsVariablesWithNameItemRequestBuilder) Delete

Delete deletes an organization 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`admin:org` scope to 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 (*ItemActionsVariablesWithNameItemRequestBuilder) Get

Get gets a specific variable in an organization.The authenticated user must have collaborator access to a repository to create, update, or read variables.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to 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 OrganizationActionsVariableable when successful API method documentation

func (*ItemActionsVariablesWithNameItemRequestBuilder) Patch

Patch updates an organization 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 `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. API method documentation

func (*ItemActionsVariablesWithNameItemRequestBuilder) Repositories

Repositories the repositories property returns a *ItemActionsVariablesItemRepositoriesRequestBuilder when successful

func (*ItemActionsVariablesWithNameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes an organization 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`admin:org` scope to 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 (*ItemActionsVariablesWithNameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a specific variable in an organization.The authenticated user must have collaborator access to a repository to create, update, or read variables.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to 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 (*ItemActionsVariablesWithNameItemRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation updates an organization 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 `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsVariablesWithNameItemRequestBuilder) 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 *ItemActionsVariablesWithNameItemRequestBuilder when successful

type ItemAttestationsItemWithSubject_digestGetResponse added in v0.0.18

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

func NewItemAttestationsItemWithSubject_digestGetResponse added in v0.0.18

func NewItemAttestationsItemWithSubject_digestGetResponse() *ItemAttestationsItemWithSubject_digestGetResponse

NewItemAttestationsItemWithSubject_digestGetResponse instantiates a new ItemAttestationsItemWithSubject_digestGetResponse and sets the default values.

func (*ItemAttestationsItemWithSubject_digestGetResponse) GetAdditionalData added in v0.0.18

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemAttestationsItemWithSubject_digestGetResponse) GetAttestations added in v0.0.18

GetAttestations gets the attestations property value. The attestations property returns a []ItemAttestationsItemWithSubject_digestGetResponse_attestationsable when successful

func (*ItemAttestationsItemWithSubject_digestGetResponse) GetFieldDeserializers added in v0.0.18

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

func (*ItemAttestationsItemWithSubject_digestGetResponse) Serialize added in v0.0.18

Serialize serializes information the current object

func (*ItemAttestationsItemWithSubject_digestGetResponse) SetAdditionalData added in v0.0.18

func (m *ItemAttestationsItemWithSubject_digestGetResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemAttestationsItemWithSubject_digestGetResponse) SetAttestations added in v0.0.18

SetAttestations sets the attestations property value. The attestations property

type ItemAttestationsItemWithSubject_digestGetResponse_attestations added in v0.0.18

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

func NewItemAttestationsItemWithSubject_digestGetResponse_attestations added in v0.0.18

func NewItemAttestationsItemWithSubject_digestGetResponse_attestations() *ItemAttestationsItemWithSubject_digestGetResponse_attestations

NewItemAttestationsItemWithSubject_digestGetResponse_attestations instantiates a new ItemAttestationsItemWithSubject_digestGetResponse_attestations and sets the default values.

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations) GetAdditionalData added in v0.0.18

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations) GetBundle added in v0.0.18

GetBundle gets the bundle property value. The attestation's Sigstore Bundle.Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information. returns a ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundleable when successful

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations) GetFieldDeserializers added in v0.0.18

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

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations) GetRepositoryId added in v0.0.18

GetRepositoryId gets the repository_id property value. The repository_id property returns a *int32 when successful

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations) Serialize added in v0.0.18

Serialize serializes information the current object

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations) SetAdditionalData added in v0.0.18

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations) SetBundle added in v0.0.18

SetBundle sets the bundle property value. The attestation's Sigstore Bundle.Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information.

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations) SetRepositoryId added in v0.0.18

SetRepositoryId sets the repository_id property value. The repository_id property

type ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle added in v0.0.18

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

ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle the attestation's Sigstore Bundle.Refer to the [Sigstore Bundle Specification](https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto) for more information.

func NewItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle added in v0.0.18

func NewItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle() *ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle

NewItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle instantiates a new ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle and sets the default values.

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle) GetAdditionalData added in v0.0.18

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle) GetDsseEnvelope added in v0.0.18

GetDsseEnvelope gets the dsseEnvelope property value. The dsseEnvelope property returns a ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle_dsseEnvelopeable when successful

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle) GetFieldDeserializers added in v0.0.18

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

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle) GetMediaType added in v0.0.18

GetMediaType gets the mediaType property value. The mediaType property returns a *string when successful

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle) GetVerificationMaterial added in v0.0.18

GetVerificationMaterial gets the verificationMaterial property value. The verificationMaterial property returns a ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle_verificationMaterialable when successful

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle) Serialize added in v0.0.18

Serialize serializes information the current object

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle) SetAdditionalData added in v0.0.18

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle) SetDsseEnvelope added in v0.0.18

SetDsseEnvelope sets the dsseEnvelope property value. The dsseEnvelope property

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle) SetMediaType added in v0.0.18

SetMediaType sets the mediaType property value. The mediaType property

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle) SetVerificationMaterial added in v0.0.18

SetVerificationMaterial sets the verificationMaterial property value. The verificationMaterial property

type ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle_dsseEnvelope added in v0.0.18

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

func NewItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle_dsseEnvelope added in v0.0.18

func NewItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle_dsseEnvelope() *ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle_dsseEnvelope

NewItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle_dsseEnvelope instantiates a new ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle_dsseEnvelope and sets the default values.

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle_dsseEnvelope) GetAdditionalData added in v0.0.18

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle_dsseEnvelope) GetFieldDeserializers added in v0.0.18

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

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle_dsseEnvelope) Serialize added in v0.0.18

Serialize serializes information the current object

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle_dsseEnvelope) SetAdditionalData added in v0.0.18

SetAdditionalData 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 ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle_verificationMaterial added in v0.0.18

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

func NewItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle_verificationMaterial added in v0.0.18

func NewItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle_verificationMaterial() *ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle_verificationMaterial

NewItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle_verificationMaterial instantiates a new ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle_verificationMaterial and sets the default values.

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle_verificationMaterial) GetAdditionalData added in v0.0.18

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle_verificationMaterial) GetFieldDeserializers added in v0.0.18

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

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle_verificationMaterial) Serialize added in v0.0.18

Serialize serializes information the current object

func (*ItemAttestationsItemWithSubject_digestGetResponse_attestations_bundle_verificationMaterial) SetAdditionalData added in v0.0.18

SetAdditionalData 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 ItemAttestationsRequestBuilder added in v0.0.18

ItemAttestationsRequestBuilder builds and executes requests for operations under \orgs\{org}\attestations

func NewItemAttestationsRequestBuilder added in v0.0.18

NewItemAttestationsRequestBuilder instantiates a new ItemAttestationsRequestBuilder and sets the default values.

func NewItemAttestationsRequestBuilderInternal added in v0.0.18

func NewItemAttestationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemAttestationsRequestBuilder

NewItemAttestationsRequestBuilderInternal instantiates a new ItemAttestationsRequestBuilder and sets the default values.

func (*ItemAttestationsRequestBuilder) BySubject_digest added in v0.0.18

BySubject_digest gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.attestations.item collection returns a *ItemAttestationsWithSubject_digestItemRequestBuilder when successful

type ItemAttestationsWithSubject_digestItemRequestBuilder added in v0.0.18

type ItemAttestationsWithSubject_digestItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemAttestationsWithSubject_digestItemRequestBuilder builds and executes requests for operations under \orgs\{org}\attestations\{subject_digest}

func NewItemAttestationsWithSubject_digestItemRequestBuilder added in v0.0.18

NewItemAttestationsWithSubject_digestItemRequestBuilder instantiates a new ItemAttestationsWithSubject_digestItemRequestBuilder and sets the default values.

func NewItemAttestationsWithSubject_digestItemRequestBuilderInternal added in v0.0.18

func NewItemAttestationsWithSubject_digestItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemAttestationsWithSubject_digestItemRequestBuilder

NewItemAttestationsWithSubject_digestItemRequestBuilderInternal instantiates a new ItemAttestationsWithSubject_digestItemRequestBuilder and sets the default values.

func (*ItemAttestationsWithSubject_digestItemRequestBuilder) Get added in v0.0.18

Get list a collection of artifact attestations with a given subject digest that are associated with repositories owned by an organization.The collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required.**Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). returns a ItemAttestationsItemWithSubject_digestGetResponseable when successful API method documentation

func (*ItemAttestationsWithSubject_digestItemRequestBuilder) ToGetRequestInformation added in v0.0.18

ToGetRequestInformation list a collection of artifact attestations with a given subject digest that are associated with repositories owned by an organization.The collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required.**Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds). returns a *RequestInformation when successful

func (*ItemAttestationsWithSubject_digestItemRequestBuilder) WithUrl added in v0.0.18

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

type ItemAttestationsWithSubject_digestItemRequestBuilderGetQueryParameters added in v0.0.18

type ItemAttestationsWithSubject_digestItemRequestBuilderGetQueryParameters struct {
	// A cursor, as given in the [Link header](https://docs.github.com/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/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/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/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Before *string `uriparametername:"before"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemAttestationsWithSubject_digestItemRequestBuilderGetQueryParameters list a collection of artifact attestations with a given subject digest that are associated with repositories owned by an organization.The collection of attestations returned by this endpoint is filtered according to the authenticated user's permissions; if the authenticated user cannot read a repository, the attestations associated with that repository will not be included in the response. In addition, when using a fine-grained access token the `attestations:read` permission is required.**Please note:** in order to offer meaningful security benefits, an attestation's signature and timestamps **must** be cryptographically verified, and the identity of the attestation signer **must** be validated. Attestations can be verified using the [GitHub CLI `attestation verify` command](https://cli.github.com/manual/gh_attestation_verify). For more information, see [our guide on how to use artifact attestations to establish a build's provenance](https://docs.github.com/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).

type ItemBlocksRequestBuilder

ItemBlocksRequestBuilder builds and executes requests for operations under \orgs\{org}\blocks

func NewItemBlocksRequestBuilder

NewItemBlocksRequestBuilder instantiates a new ItemBlocksRequestBuilder and sets the default values.

func NewItemBlocksRequestBuilderInternal

func NewItemBlocksRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemBlocksRequestBuilder

NewItemBlocksRequestBuilderInternal instantiates a new ItemBlocksRequestBuilder and sets the default values.

func (*ItemBlocksRequestBuilder) ByUsername

ByUsername gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.blocks.item collection returns a *ItemBlocksWithUsernameItemRequestBuilder when successful

func (*ItemBlocksRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list the users blocked by an organization. returns a *RequestInformation when successful

func (*ItemBlocksRequestBuilder) 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 *ItemBlocksRequestBuilder when successful

type ItemBlocksRequestBuilderGetQueryParameters

type ItemBlocksRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemBlocksRequestBuilderGetQueryParameters list the users blocked by an organization.

type ItemBlocksWithUsernameItemRequestBuilder

type ItemBlocksWithUsernameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemBlocksWithUsernameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\blocks\{username}

func NewItemBlocksWithUsernameItemRequestBuilder

NewItemBlocksWithUsernameItemRequestBuilder instantiates a new ItemBlocksWithUsernameItemRequestBuilder and sets the default values.

func NewItemBlocksWithUsernameItemRequestBuilderInternal

func NewItemBlocksWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemBlocksWithUsernameItemRequestBuilder

NewItemBlocksWithUsernameItemRequestBuilderInternal instantiates a new ItemBlocksWithUsernameItemRequestBuilder and sets the default values.

func (*ItemBlocksWithUsernameItemRequestBuilder) Delete

Delete unblocks the given user on behalf of the specified organization. API method documentation

func (*ItemBlocksWithUsernameItemRequestBuilder) Get

Get returns a 204 if the given user is blocked by the given organization. Returns a 404 if the organization is not blocking the user, or if the user account has been identified as spam by GitHub. returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemBlocksWithUsernameItemRequestBuilder) Put

Put blocks the given user on behalf of the specified organization and returns a 204. If the organization cannot block the given user a 422 is returned. returns a ValidationError error when the service returns a 422 status code API method documentation

func (*ItemBlocksWithUsernameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation unblocks the given user on behalf of the specified organization. returns a *RequestInformation when successful

func (*ItemBlocksWithUsernameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation returns a 204 if the given user is blocked by the given organization. Returns a 404 if the organization is not blocking the user, or if the user account has been identified as spam by GitHub. returns a *RequestInformation when successful

func (*ItemBlocksWithUsernameItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation blocks the given user on behalf of the specified organization and returns a 204. If the organization cannot block the given user a 422 is returned. returns a *RequestInformation when successful

func (*ItemBlocksWithUsernameItemRequestBuilder) 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 *ItemBlocksWithUsernameItemRequestBuilder when successful

type ItemCodeScanningAlertsRequestBuilder

type ItemCodeScanningAlertsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemCodeScanningAlertsRequestBuilder builds and executes requests for operations under \orgs\{org}\code-scanning\alerts

func NewItemCodeScanningAlertsRequestBuilder

NewItemCodeScanningAlertsRequestBuilder instantiates a new ItemCodeScanningAlertsRequestBuilder and sets the default values.

func NewItemCodeScanningAlertsRequestBuilderInternal

func NewItemCodeScanningAlertsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodeScanningAlertsRequestBuilder

NewItemCodeScanningAlertsRequestBuilderInternal instantiates a new ItemCodeScanningAlertsRequestBuilder and sets the default values.

func (*ItemCodeScanningAlertsRequestBuilder) Get

Get lists code scanning alerts for the default branch for all eligible repositories in an organization. Eligible repositories are repositories that are owned by organizations that you own or for which you are a security manager. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."The authenticated user must be an owner or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `security_events` or `repo`s cope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories. returns a []CodeScanningOrganizationAlertItemsable when successful 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 (*ItemCodeScanningAlertsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists code scanning alerts for the default branch for all eligible repositories in an organization. Eligible repositories are repositories that are owned by organizations that you own or for which you are a security manager. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."The authenticated user must be an owner or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `security_events` or `repo`s cope 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 (*ItemCodeScanningAlertsRequestBuilder) 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 *ItemCodeScanningAlertsRequestBuilder when successful

type ItemCodeScanningAlertsRequestBuilderGetQueryParameters

type ItemCodeScanningAlertsRequestBuilderGetQueryParameters struct {
	// A cursor, as given in the [Link header](https://docs.github.com/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/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/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/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Before *string `uriparametername:"before"`
	// The direction to sort the results by.
	Direction *iaeebf96a6843d7c20789a0ee17c57399b2ea1eb95bf0e1081de99038d40c50a8.GetDirectionQueryParameterType `uriparametername:"direction"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// If specified, only code scanning alerts with this severity will be returned.
	Severity *i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodeScanningAlertSeverity `uriparametername:"severity"`
	// The property by which to sort the results.
	Sort *iaeebf96a6843d7c20789a0ee17c57399b2ea1eb95bf0e1081de99038d40c50a8.GetSortQueryParameterType `uriparametername:"sort"`
	// If specified, only code scanning alerts with this state will be returned.
	State *i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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"`
}

ItemCodeScanningAlertsRequestBuilderGetQueryParameters lists code scanning alerts for the default branch for all eligible repositories in an organization. Eligible repositories are repositories that are owned by organizations that you own or for which you are a security manager. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."The authenticated user must be an owner or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `security_events` or `repo`s cope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.

type ItemCodeScanningRequestBuilder

ItemCodeScanningRequestBuilder builds and executes requests for operations under \orgs\{org}\code-scanning

func NewItemCodeScanningRequestBuilder

NewItemCodeScanningRequestBuilder instantiates a new ItemCodeScanningRequestBuilder and sets the default values.

func NewItemCodeScanningRequestBuilderInternal

func NewItemCodeScanningRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodeScanningRequestBuilder

NewItemCodeScanningRequestBuilderInternal instantiates a new ItemCodeScanningRequestBuilder and sets the default values.

func (*ItemCodeScanningRequestBuilder) Alerts

Alerts the alerts property returns a *ItemCodeScanningAlertsRequestBuilder when successful

type ItemCodeSecurityConfigurationsDefaultsRequestBuilder added in v0.0.17

type ItemCodeSecurityConfigurationsDefaultsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemCodeSecurityConfigurationsDefaultsRequestBuilder builds and executes requests for operations under \orgs\{org}\code-security\configurations\defaults

func NewItemCodeSecurityConfigurationsDefaultsRequestBuilder added in v0.0.17

NewItemCodeSecurityConfigurationsDefaultsRequestBuilder instantiates a new ItemCodeSecurityConfigurationsDefaultsRequestBuilder and sets the default values.

func NewItemCodeSecurityConfigurationsDefaultsRequestBuilderInternal added in v0.0.17

func NewItemCodeSecurityConfigurationsDefaultsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodeSecurityConfigurationsDefaultsRequestBuilder

NewItemCodeSecurityConfigurationsDefaultsRequestBuilderInternal instantiates a new ItemCodeSecurityConfigurationsDefaultsRequestBuilder and sets the default values.

func (*ItemCodeSecurityConfigurationsDefaultsRequestBuilder) Get added in v0.0.17

Get lists the default code security configurations for an organization.The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. returns a []CodeSecurityDefaultConfigurationsable 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 (*ItemCodeSecurityConfigurationsDefaultsRequestBuilder) ToGetRequestInformation added in v0.0.17

ToGetRequestInformation lists the default code security configurations for an organization.The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCodeSecurityConfigurationsDefaultsRequestBuilder) WithUrl added in v0.0.17

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

type ItemCodeSecurityConfigurationsItemAttachPostRequestBody added in v0.0.17

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

func NewItemCodeSecurityConfigurationsItemAttachPostRequestBody added in v0.0.17

func NewItemCodeSecurityConfigurationsItemAttachPostRequestBody() *ItemCodeSecurityConfigurationsItemAttachPostRequestBody

NewItemCodeSecurityConfigurationsItemAttachPostRequestBody instantiates a new ItemCodeSecurityConfigurationsItemAttachPostRequestBody and sets the default values.

func (*ItemCodeSecurityConfigurationsItemAttachPostRequestBody) GetFieldDeserializers added in v0.0.17

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

func (*ItemCodeSecurityConfigurationsItemAttachPostRequestBody) GetSelectedRepositoryIds added in v0.0.17

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

GetSelectedRepositoryIds gets the selected_repository_ids property value. An array of repository IDs to attach the configuration to. You can only provide a list of repository ids when the `scope` is set to `selected`. returns a []int32 when successful

func (*ItemCodeSecurityConfigurationsItemAttachPostRequestBody) Serialize added in v0.0.17

Serialize serializes information the current object

func (*ItemCodeSecurityConfigurationsItemAttachPostRequestBody) SetSelectedRepositoryIds added in v0.0.17

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

SetSelectedRepositoryIds sets the selected_repository_ids property value. An array of repository IDs to attach the configuration to. You can only provide a list of repository ids when the `scope` is set to `selected`.

type ItemCodeSecurityConfigurationsItemAttachPostRequestBodyable added in v0.0.17

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

type ItemCodeSecurityConfigurationsItemAttachPostResponse added in v0.0.17

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

func NewItemCodeSecurityConfigurationsItemAttachPostResponse added in v0.0.17

func NewItemCodeSecurityConfigurationsItemAttachPostResponse() *ItemCodeSecurityConfigurationsItemAttachPostResponse

NewItemCodeSecurityConfigurationsItemAttachPostResponse instantiates a new ItemCodeSecurityConfigurationsItemAttachPostResponse and sets the default values.

func (*ItemCodeSecurityConfigurationsItemAttachPostResponse) GetAdditionalData added in v0.0.17

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemCodeSecurityConfigurationsItemAttachPostResponse) GetFieldDeserializers added in v0.0.17

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

func (*ItemCodeSecurityConfigurationsItemAttachPostResponse) Serialize added in v0.0.17

Serialize serializes information the current object

func (*ItemCodeSecurityConfigurationsItemAttachPostResponse) SetAdditionalData added in v0.0.17

func (m *ItemCodeSecurityConfigurationsItemAttachPostResponse) SetAdditionalData(value map[string]any)

SetAdditionalData 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 ItemCodeSecurityConfigurationsItemAttachRequestBuilder added in v0.0.17

type ItemCodeSecurityConfigurationsItemAttachRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemCodeSecurityConfigurationsItemAttachRequestBuilder builds and executes requests for operations under \orgs\{org}\code-security\configurations\{configuration_id}\attach

func NewItemCodeSecurityConfigurationsItemAttachRequestBuilder added in v0.0.17

func NewItemCodeSecurityConfigurationsItemAttachRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodeSecurityConfigurationsItemAttachRequestBuilder

NewItemCodeSecurityConfigurationsItemAttachRequestBuilder instantiates a new ItemCodeSecurityConfigurationsItemAttachRequestBuilder and sets the default values.

func NewItemCodeSecurityConfigurationsItemAttachRequestBuilderInternal added in v0.0.17

func NewItemCodeSecurityConfigurationsItemAttachRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodeSecurityConfigurationsItemAttachRequestBuilder

NewItemCodeSecurityConfigurationsItemAttachRequestBuilderInternal instantiates a new ItemCodeSecurityConfigurationsItemAttachRequestBuilder and sets the default values.

func (*ItemCodeSecurityConfigurationsItemAttachRequestBuilder) Post added in v0.0.17

Post attach a code security configuration to a set of repositories. If the repositories specified are already attached to a configuration, they will be re-attached to the provided configuration.If insufficient GHAS licenses are available to attach the configuration to a repository, only free features will be enabled.The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. returns a ItemCodeSecurityConfigurationsItemAttachPostResponseable when successful API method documentation

func (*ItemCodeSecurityConfigurationsItemAttachRequestBuilder) ToPostRequestInformation added in v0.0.17

ToPostRequestInformation attach a code security configuration to a set of repositories. If the repositories specified are already attached to a configuration, they will be re-attached to the provided configuration.If insufficient GHAS licenses are available to attach the configuration to a repository, only free features will be enabled.The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCodeSecurityConfigurationsItemAttachRequestBuilder) WithUrl added in v0.0.17

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

type ItemCodeSecurityConfigurationsItemDefaultsPutRequestBody added in v0.0.17

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

func NewItemCodeSecurityConfigurationsItemDefaultsPutRequestBody added in v0.0.17

func NewItemCodeSecurityConfigurationsItemDefaultsPutRequestBody() *ItemCodeSecurityConfigurationsItemDefaultsPutRequestBody

NewItemCodeSecurityConfigurationsItemDefaultsPutRequestBody instantiates a new ItemCodeSecurityConfigurationsItemDefaultsPutRequestBody and sets the default values.

func (*ItemCodeSecurityConfigurationsItemDefaultsPutRequestBody) GetAdditionalData added in v0.0.17

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemCodeSecurityConfigurationsItemDefaultsPutRequestBody) GetFieldDeserializers added in v0.0.17

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

func (*ItemCodeSecurityConfigurationsItemDefaultsPutRequestBody) Serialize added in v0.0.17

Serialize serializes information the current object

func (*ItemCodeSecurityConfigurationsItemDefaultsPutRequestBody) SetAdditionalData added in v0.0.17

SetAdditionalData 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 ItemCodeSecurityConfigurationsItemDefaultsPutResponse added in v0.0.17

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

func NewItemCodeSecurityConfigurationsItemDefaultsPutResponse added in v0.0.17

func NewItemCodeSecurityConfigurationsItemDefaultsPutResponse() *ItemCodeSecurityConfigurationsItemDefaultsPutResponse

NewItemCodeSecurityConfigurationsItemDefaultsPutResponse instantiates a new ItemCodeSecurityConfigurationsItemDefaultsPutResponse and sets the default values.

func (*ItemCodeSecurityConfigurationsItemDefaultsPutResponse) GetAdditionalData added in v0.0.17

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemCodeSecurityConfigurationsItemDefaultsPutResponse) GetConfiguration added in v0.0.17

GetConfiguration gets the configuration property value. A code security configuration returns a CodeSecurityConfigurationable when successful

func (*ItemCodeSecurityConfigurationsItemDefaultsPutResponse) GetFieldDeserializers added in v0.0.17

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

func (*ItemCodeSecurityConfigurationsItemDefaultsPutResponse) Serialize added in v0.0.17

Serialize serializes information the current object

func (*ItemCodeSecurityConfigurationsItemDefaultsPutResponse) SetAdditionalData added in v0.0.17

func (m *ItemCodeSecurityConfigurationsItemDefaultsPutResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemCodeSecurityConfigurationsItemDefaultsPutResponse) SetConfiguration added in v0.0.17

SetConfiguration sets the configuration property value. A code security configuration

type ItemCodeSecurityConfigurationsItemDefaultsRequestBuilder added in v0.0.17

type ItemCodeSecurityConfigurationsItemDefaultsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemCodeSecurityConfigurationsItemDefaultsRequestBuilder builds and executes requests for operations under \orgs\{org}\code-security\configurations\{configuration_id}\defaults

func NewItemCodeSecurityConfigurationsItemDefaultsRequestBuilder added in v0.0.17

func NewItemCodeSecurityConfigurationsItemDefaultsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodeSecurityConfigurationsItemDefaultsRequestBuilder

NewItemCodeSecurityConfigurationsItemDefaultsRequestBuilder instantiates a new ItemCodeSecurityConfigurationsItemDefaultsRequestBuilder and sets the default values.

func NewItemCodeSecurityConfigurationsItemDefaultsRequestBuilderInternal added in v0.0.17

func NewItemCodeSecurityConfigurationsItemDefaultsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodeSecurityConfigurationsItemDefaultsRequestBuilder

NewItemCodeSecurityConfigurationsItemDefaultsRequestBuilderInternal instantiates a new ItemCodeSecurityConfigurationsItemDefaultsRequestBuilder and sets the default values.

func (*ItemCodeSecurityConfigurationsItemDefaultsRequestBuilder) Put added in v0.0.17

Put sets a code security configuration as a default to be applied to new repositories in your organization.This configuration will be applied to the matching repository type (all, none, public, private and internal) by default when they are created.The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. returns a ItemCodeSecurityConfigurationsItemDefaultsPutResponseable 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 (*ItemCodeSecurityConfigurationsItemDefaultsRequestBuilder) ToPutRequestInformation added in v0.0.17

ToPutRequestInformation sets a code security configuration as a default to be applied to new repositories in your organization.This configuration will be applied to the matching repository type (all, none, public, private and internal) by default when they are created.The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCodeSecurityConfigurationsItemDefaultsRequestBuilder) WithUrl added in v0.0.17

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

type ItemCodeSecurityConfigurationsItemRepositoriesRequestBuilder added in v0.0.17

type ItemCodeSecurityConfigurationsItemRepositoriesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemCodeSecurityConfigurationsItemRepositoriesRequestBuilder builds and executes requests for operations under \orgs\{org}\code-security\configurations\{configuration_id}\repositories

func NewItemCodeSecurityConfigurationsItemRepositoriesRequestBuilder added in v0.0.17

func NewItemCodeSecurityConfigurationsItemRepositoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodeSecurityConfigurationsItemRepositoriesRequestBuilder

NewItemCodeSecurityConfigurationsItemRepositoriesRequestBuilder instantiates a new ItemCodeSecurityConfigurationsItemRepositoriesRequestBuilder and sets the default values.

func NewItemCodeSecurityConfigurationsItemRepositoriesRequestBuilderInternal added in v0.0.17

func NewItemCodeSecurityConfigurationsItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodeSecurityConfigurationsItemRepositoriesRequestBuilder

NewItemCodeSecurityConfigurationsItemRepositoriesRequestBuilderInternal instantiates a new ItemCodeSecurityConfigurationsItemRepositoriesRequestBuilder and sets the default values.

func (*ItemCodeSecurityConfigurationsItemRepositoriesRequestBuilder) Get added in v0.0.17

Get lists the repositories associated with a code security configuration in an organization.The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. returns a []CodeSecurityConfigurationRepositoriesable 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 (*ItemCodeSecurityConfigurationsItemRepositoriesRequestBuilder) ToGetRequestInformation added in v0.0.17

ToGetRequestInformation lists the repositories associated with a code security configuration in an organization.The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCodeSecurityConfigurationsItemRepositoriesRequestBuilder) WithUrl added in v0.0.17

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

type ItemCodeSecurityConfigurationsItemRepositoriesRequestBuilderGetQueryParameters added in v0.0.17

type ItemCodeSecurityConfigurationsItemRepositoriesRequestBuilderGetQueryParameters struct {
	// A cursor, as given in the [Link header](https://docs.github.com/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/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/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/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Before *string `uriparametername:"before"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// A comma-separated list of statuses. If specified, only repositories with these attachment statuses will be returned.Can be: `all`, `attached`, `attaching`, `detached`, `enforced`, `failed`, `updating`
	Status *string `uriparametername:"status"`
}

ItemCodeSecurityConfigurationsItemRepositoriesRequestBuilderGetQueryParameters lists the repositories associated with a code security configuration in an organization.The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.

type ItemCodeSecurityConfigurationsItemWithConfiguration_PatchRequestBody added in v0.0.17

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

func NewItemCodeSecurityConfigurationsItemWithConfiguration_PatchRequestBody added in v0.0.17

func NewItemCodeSecurityConfigurationsItemWithConfiguration_PatchRequestBody() *ItemCodeSecurityConfigurationsItemWithConfiguration_PatchRequestBody

NewItemCodeSecurityConfigurationsItemWithConfiguration_PatchRequestBody instantiates a new ItemCodeSecurityConfigurationsItemWithConfiguration_PatchRequestBody and sets the default values.

func (*ItemCodeSecurityConfigurationsItemWithConfiguration_PatchRequestBody) GetDescription added in v0.0.17

GetDescription gets the description property value. A description of the code security configuration returns a *string when successful

func (*ItemCodeSecurityConfigurationsItemWithConfiguration_PatchRequestBody) GetFieldDeserializers added in v0.0.17

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

func (*ItemCodeSecurityConfigurationsItemWithConfiguration_PatchRequestBody) GetName added in v0.0.17

GetName gets the name property value. The name of the code security configuration. Must be unique within the organization. returns a *string when successful

func (*ItemCodeSecurityConfigurationsItemWithConfiguration_PatchRequestBody) Serialize added in v0.0.17

Serialize serializes information the current object

func (*ItemCodeSecurityConfigurationsItemWithConfiguration_PatchRequestBody) SetDescription added in v0.0.17

SetDescription sets the description property value. A description of the code security configuration

func (*ItemCodeSecurityConfigurationsItemWithConfiguration_PatchRequestBody) SetName added in v0.0.17

SetName sets the name property value. The name of the code security configuration. Must be unique within the organization.

type ItemCodeSecurityConfigurationsItemWithConfiguration_PatchRequestBodyable added in v0.0.17

type ItemCodeSecurityConfigurationsItemWithConfiguration_PatchRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetDescription() *string
	GetName() *string
	SetDescription(value *string)
	SetName(value *string)
}

type ItemCodeSecurityConfigurationsPostRequestBody added in v0.0.17

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

func NewItemCodeSecurityConfigurationsPostRequestBody added in v0.0.17

func NewItemCodeSecurityConfigurationsPostRequestBody() *ItemCodeSecurityConfigurationsPostRequestBody

NewItemCodeSecurityConfigurationsPostRequestBody instantiates a new ItemCodeSecurityConfigurationsPostRequestBody and sets the default values.

func (*ItemCodeSecurityConfigurationsPostRequestBody) GetDescription added in v0.0.17

GetDescription gets the description property value. A description of the code security configuration returns a *string when successful

func (*ItemCodeSecurityConfigurationsPostRequestBody) GetFieldDeserializers added in v0.0.17

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

func (*ItemCodeSecurityConfigurationsPostRequestBody) GetName added in v0.0.17

GetName gets the name property value. The name of the code security configuration. Must be unique within the organization. returns a *string when successful

func (*ItemCodeSecurityConfigurationsPostRequestBody) Serialize added in v0.0.17

Serialize serializes information the current object

func (*ItemCodeSecurityConfigurationsPostRequestBody) SetDescription added in v0.0.17

func (m *ItemCodeSecurityConfigurationsPostRequestBody) SetDescription(value *string)

SetDescription sets the description property value. A description of the code security configuration

func (*ItemCodeSecurityConfigurationsPostRequestBody) SetName added in v0.0.17

SetName sets the name property value. The name of the code security configuration. Must be unique within the organization.

type ItemCodeSecurityConfigurationsPostRequestBodyable added in v0.0.17

type ItemCodeSecurityConfigurationsPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetDescription() *string
	GetName() *string
	SetDescription(value *string)
	SetName(value *string)
}

type ItemCodeSecurityConfigurationsRequestBuilder added in v0.0.17

type ItemCodeSecurityConfigurationsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemCodeSecurityConfigurationsRequestBuilder builds and executes requests for operations under \orgs\{org}\code-security\configurations

func NewItemCodeSecurityConfigurationsRequestBuilder added in v0.0.17

NewItemCodeSecurityConfigurationsRequestBuilder instantiates a new ItemCodeSecurityConfigurationsRequestBuilder and sets the default values.

func NewItemCodeSecurityConfigurationsRequestBuilderInternal added in v0.0.17

func NewItemCodeSecurityConfigurationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodeSecurityConfigurationsRequestBuilder

NewItemCodeSecurityConfigurationsRequestBuilderInternal instantiates a new ItemCodeSecurityConfigurationsRequestBuilder and sets the default values.

func (*ItemCodeSecurityConfigurationsRequestBuilder) ByConfiguration_id added in v0.0.17

ByConfiguration_id gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.codeSecurity.configurations.item collection returns a *ItemCodeSecurityConfigurationsWithConfiguration_ItemRequestBuilder when successful

func (*ItemCodeSecurityConfigurationsRequestBuilder) Defaults added in v0.0.17

Defaults the defaults property returns a *ItemCodeSecurityConfigurationsDefaultsRequestBuilder when successful

func (*ItemCodeSecurityConfigurationsRequestBuilder) Get added in v0.0.17

Get lists all code security configurations available in an organization.The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. returns a []CodeSecurityConfigurationable 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 (*ItemCodeSecurityConfigurationsRequestBuilder) Post added in v0.0.17

Post creates a code security configuration in an organization.The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. returns a CodeSecurityConfigurationable when successful API method documentation

func (*ItemCodeSecurityConfigurationsRequestBuilder) ToGetRequestInformation added in v0.0.17

ToGetRequestInformation lists all code security configurations available in an organization.The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCodeSecurityConfigurationsRequestBuilder) ToPostRequestInformation added in v0.0.17

ToPostRequestInformation creates a code security configuration in an organization.The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCodeSecurityConfigurationsRequestBuilder) WithUrl added in v0.0.17

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

type ItemCodeSecurityConfigurationsRequestBuilderGetQueryParameters added in v0.0.17

type ItemCodeSecurityConfigurationsRequestBuilderGetQueryParameters struct {
	// A cursor, as given in the [Link header](https://docs.github.com/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/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/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/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Before *string `uriparametername:"before"`
	// 'The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."'
	Per_page *int32 `uriparametername:"per_page"`
	// The target type of the code security configuration
	Target_type *i52d196ba31fe242a3b1c122ebea75dc29b66835834cf12c73d3ed455433c35e8.GetTarget_typeQueryParameterType `uriparametername:"target_type"`
}

ItemCodeSecurityConfigurationsRequestBuilderGetQueryParameters lists all code security configurations available in an organization.The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.

type ItemCodeSecurityConfigurationsWithConfiguration_ItemRequestBuilder added in v0.0.17

type ItemCodeSecurityConfigurationsWithConfiguration_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemCodeSecurityConfigurationsWithConfiguration_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\code-security\configurations\{configuration_id}

func NewItemCodeSecurityConfigurationsWithConfiguration_ItemRequestBuilder added in v0.0.17

func NewItemCodeSecurityConfigurationsWithConfiguration_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodeSecurityConfigurationsWithConfiguration_ItemRequestBuilder

NewItemCodeSecurityConfigurationsWithConfiguration_ItemRequestBuilder instantiates a new ItemCodeSecurityConfigurationsWithConfiguration_ItemRequestBuilder and sets the default values.

func NewItemCodeSecurityConfigurationsWithConfiguration_ItemRequestBuilderInternal added in v0.0.17

func NewItemCodeSecurityConfigurationsWithConfiguration_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodeSecurityConfigurationsWithConfiguration_ItemRequestBuilder

NewItemCodeSecurityConfigurationsWithConfiguration_ItemRequestBuilderInternal instantiates a new ItemCodeSecurityConfigurationsWithConfiguration_ItemRequestBuilder and sets the default values.

func (*ItemCodeSecurityConfigurationsWithConfiguration_ItemRequestBuilder) Attach added in v0.0.17

Attach the attach property returns a *ItemCodeSecurityConfigurationsItemAttachRequestBuilder when successful

func (*ItemCodeSecurityConfigurationsWithConfiguration_ItemRequestBuilder) Defaults added in v0.0.17

Defaults the defaults property returns a *ItemCodeSecurityConfigurationsItemDefaultsRequestBuilder when successful

func (*ItemCodeSecurityConfigurationsWithConfiguration_ItemRequestBuilder) Delete added in v0.0.17

Delete deletes the desired code security configuration from an organization.Repositories attached to the configuration will retain their settings but will no longer be associated withthe configuration.The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` 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 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 (*ItemCodeSecurityConfigurationsWithConfiguration_ItemRequestBuilder) Get added in v0.0.17

Get gets a code security configuration available in an organization.The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. returns a CodeSecurityConfigurationable 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 (*ItemCodeSecurityConfigurationsWithConfiguration_ItemRequestBuilder) Patch added in v0.0.17

Patch updates a code security configuration in an organization.The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. returns a CodeSecurityConfigurationable when successful API method documentation

func (*ItemCodeSecurityConfigurationsWithConfiguration_ItemRequestBuilder) Repositories added in v0.0.17

Repositories the repositories property returns a *ItemCodeSecurityConfigurationsItemRepositoriesRequestBuilder when successful

func (*ItemCodeSecurityConfigurationsWithConfiguration_ItemRequestBuilder) ToDeleteRequestInformation added in v0.0.17

ToDeleteRequestInformation deletes the desired code security configuration from an organization.Repositories attached to the configuration will retain their settings but will no longer be associated withthe configuration.The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCodeSecurityConfigurationsWithConfiguration_ItemRequestBuilder) ToGetRequestInformation added in v0.0.17

ToGetRequestInformation gets a code security configuration available in an organization.The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCodeSecurityConfigurationsWithConfiguration_ItemRequestBuilder) ToPatchRequestInformation added in v0.0.17

ToPatchRequestInformation updates a code security configuration in an organization.The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCodeSecurityConfigurationsWithConfiguration_ItemRequestBuilder) WithUrl added in v0.0.17

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

type ItemCodeSecurityRequestBuilder added in v0.0.17

ItemCodeSecurityRequestBuilder builds and executes requests for operations under \orgs\{org}\code-security

func NewItemCodeSecurityRequestBuilder added in v0.0.17

NewItemCodeSecurityRequestBuilder instantiates a new ItemCodeSecurityRequestBuilder and sets the default values.

func NewItemCodeSecurityRequestBuilderInternal added in v0.0.17

func NewItemCodeSecurityRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodeSecurityRequestBuilder

NewItemCodeSecurityRequestBuilderInternal instantiates a new ItemCodeSecurityRequestBuilder and sets the default values.

func (*ItemCodeSecurityRequestBuilder) Configurations added in v0.0.17

Configurations the configurations property returns a *ItemCodeSecurityConfigurationsRequestBuilder when successful

type ItemCodespacesAccessPutRequestBody

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

func NewItemCodespacesAccessPutRequestBody

func NewItemCodespacesAccessPutRequestBody() *ItemCodespacesAccessPutRequestBody

NewItemCodespacesAccessPutRequestBody instantiates a new ItemCodespacesAccessPutRequestBody and sets the default values.

func (*ItemCodespacesAccessPutRequestBody) GetAdditionalData

func (m *ItemCodespacesAccessPutRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemCodespacesAccessPutRequestBody) GetFieldDeserializers

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

func (*ItemCodespacesAccessPutRequestBody) GetSelectedUsernames

func (m *ItemCodespacesAccessPutRequestBody) GetSelectedUsernames() []string

GetSelectedUsernames gets the selected_usernames property value. The usernames of the organization members who should have access to codespaces in the organization. Required when `visibility` is `selected_members`. The provided list of usernames will replace any existing value. returns a []string when successful

func (*ItemCodespacesAccessPutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemCodespacesAccessPutRequestBody) SetAdditionalData

func (m *ItemCodespacesAccessPutRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemCodespacesAccessPutRequestBody) SetSelectedUsernames

func (m *ItemCodespacesAccessPutRequestBody) SetSelectedUsernames(value []string)

SetSelectedUsernames sets the selected_usernames property value. The usernames of the organization members who should have access to codespaces in the organization. Required when `visibility` is `selected_members`. The provided list of usernames will replace any existing value.

type ItemCodespacesAccessRequestBuilder

ItemCodespacesAccessRequestBuilder builds and executes requests for operations under \orgs\{org}\codespaces\access

func NewItemCodespacesAccessRequestBuilder

NewItemCodespacesAccessRequestBuilder instantiates a new ItemCodespacesAccessRequestBuilder and sets the default values.

func NewItemCodespacesAccessRequestBuilderInternal

func NewItemCodespacesAccessRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesAccessRequestBuilder

NewItemCodespacesAccessRequestBuilderInternal instantiates a new ItemCodespacesAccessRequestBuilder and sets the default values.

func (*ItemCodespacesAccessRequestBuilder) Put

Put sets which users can access codespaces in an organization. This is synonymous with granting or revoking codespaces access permissions for users according to the visibility.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. Deprecated: returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemCodespacesAccessRequestBuilder) Selected_users

Selected_users the selected_users property returns a *ItemCodespacesAccessSelected_usersRequestBuilder when successful

func (*ItemCodespacesAccessRequestBuilder) ToPutRequestInformation

ToPutRequestInformation sets which users can access codespaces in an organization. This is synonymous with granting or revoking codespaces access permissions for users according to the visibility.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. Deprecated: returns a *RequestInformation when successful

func (*ItemCodespacesAccessRequestBuilder) 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 *ItemCodespacesAccessRequestBuilder when successful

type ItemCodespacesAccessSelected_usersDeleteRequestBody

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

func NewItemCodespacesAccessSelected_usersDeleteRequestBody

func NewItemCodespacesAccessSelected_usersDeleteRequestBody() *ItemCodespacesAccessSelected_usersDeleteRequestBody

NewItemCodespacesAccessSelected_usersDeleteRequestBody instantiates a new ItemCodespacesAccessSelected_usersDeleteRequestBody and sets the default values.

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

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

func (*ItemCodespacesAccessSelected_usersDeleteRequestBody) GetSelectedUsernames

func (m *ItemCodespacesAccessSelected_usersDeleteRequestBody) GetSelectedUsernames() []string

GetSelectedUsernames gets the selected_usernames property value. The usernames of the organization members whose codespaces should not be billed to the organization. returns a []string when successful

func (*ItemCodespacesAccessSelected_usersDeleteRequestBody) Serialize

Serialize serializes information the current object

func (*ItemCodespacesAccessSelected_usersDeleteRequestBody) SetAdditionalData

func (m *ItemCodespacesAccessSelected_usersDeleteRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemCodespacesAccessSelected_usersDeleteRequestBody) SetSelectedUsernames

func (m *ItemCodespacesAccessSelected_usersDeleteRequestBody) SetSelectedUsernames(value []string)

SetSelectedUsernames sets the selected_usernames property value. The usernames of the organization members whose codespaces should not be billed to the organization.

type ItemCodespacesAccessSelected_usersPostRequestBody

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

func NewItemCodespacesAccessSelected_usersPostRequestBody

func NewItemCodespacesAccessSelected_usersPostRequestBody() *ItemCodespacesAccessSelected_usersPostRequestBody

NewItemCodespacesAccessSelected_usersPostRequestBody instantiates a new ItemCodespacesAccessSelected_usersPostRequestBody and sets the default values.

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

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

func (*ItemCodespacesAccessSelected_usersPostRequestBody) GetSelectedUsernames

func (m *ItemCodespacesAccessSelected_usersPostRequestBody) GetSelectedUsernames() []string

GetSelectedUsernames gets the selected_usernames property value. The usernames of the organization members whose codespaces be billed to the organization. returns a []string when successful

func (*ItemCodespacesAccessSelected_usersPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemCodespacesAccessSelected_usersPostRequestBody) SetAdditionalData

func (m *ItemCodespacesAccessSelected_usersPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemCodespacesAccessSelected_usersPostRequestBody) SetSelectedUsernames

func (m *ItemCodespacesAccessSelected_usersPostRequestBody) SetSelectedUsernames(value []string)

SetSelectedUsernames sets the selected_usernames property value. The usernames of the organization members whose codespaces be billed to the organization.

type ItemCodespacesAccessSelected_usersRequestBuilder

type ItemCodespacesAccessSelected_usersRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemCodespacesAccessSelected_usersRequestBuilder builds and executes requests for operations under \orgs\{org}\codespaces\access\selected_users

func NewItemCodespacesAccessSelected_usersRequestBuilder

NewItemCodespacesAccessSelected_usersRequestBuilder instantiates a new ItemCodespacesAccessSelected_usersRequestBuilder and sets the default values.

func NewItemCodespacesAccessSelected_usersRequestBuilderInternal

func NewItemCodespacesAccessSelected_usersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesAccessSelected_usersRequestBuilder

NewItemCodespacesAccessSelected_usersRequestBuilderInternal instantiates a new ItemCodespacesAccessSelected_usersRequestBuilder and sets the default values.

func (*ItemCodespacesAccessSelected_usersRequestBuilder) Delete

Delete codespaces for the specified users will no longer be billed to the organization.To use this endpoint, the access settings for the organization must be set to `selected_members`.For information on how to change this setting, see "[Manage access control for organization codespaces](https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces)."OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. Deprecated: returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemCodespacesAccessSelected_usersRequestBuilder) Post

Post codespaces for the specified users will be billed to the organization.To use this endpoint, the access settings for the organization must be set to `selected_members`.For information on how to change this setting, see "[Manage access control for organization codespaces](https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces)."OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. Deprecated: returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemCodespacesAccessSelected_usersRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation codespaces for the specified users will no longer be billed to the organization.To use this endpoint, the access settings for the organization must be set to `selected_members`.For information on how to change this setting, see "[Manage access control for organization codespaces](https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces)."OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. Deprecated: returns a *RequestInformation when successful

func (*ItemCodespacesAccessSelected_usersRequestBuilder) ToPostRequestInformation

ToPostRequestInformation codespaces for the specified users will be billed to the organization.To use this endpoint, the access settings for the organization must be set to `selected_members`.For information on how to change this setting, see "[Manage access control for organization codespaces](https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces)."OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. Deprecated: returns a *RequestInformation when successful

func (*ItemCodespacesAccessSelected_usersRequestBuilder) 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 *ItemCodespacesAccessSelected_usersRequestBuilder when successful

type ItemCodespacesGetResponse

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

func NewItemCodespacesGetResponse

func NewItemCodespacesGetResponse() *ItemCodespacesGetResponse

NewItemCodespacesGetResponse instantiates a new ItemCodespacesGetResponse and sets the default values.

func (*ItemCodespacesGetResponse) GetAdditionalData

func (m *ItemCodespacesGetResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemCodespacesGetResponse) GetCodespaces

GetCodespaces gets the codespaces property value. The codespaces property returns a []Codespaceable when successful

func (*ItemCodespacesGetResponse) GetFieldDeserializers

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

func (*ItemCodespacesGetResponse) GetTotalCount

func (m *ItemCodespacesGetResponse) GetTotalCount() *int32

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

func (*ItemCodespacesGetResponse) Serialize

Serialize serializes information the current object

func (*ItemCodespacesGetResponse) SetAdditionalData

func (m *ItemCodespacesGetResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemCodespacesGetResponse) SetCodespaces

SetCodespaces sets the codespaces property value. The codespaces property

func (*ItemCodespacesGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemCodespacesRequestBuilder

ItemCodespacesRequestBuilder builds and executes requests for operations under \orgs\{org}\codespaces

func NewItemCodespacesRequestBuilder

NewItemCodespacesRequestBuilder instantiates a new ItemCodespacesRequestBuilder and sets the default values.

func NewItemCodespacesRequestBuilderInternal

func NewItemCodespacesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesRequestBuilder

NewItemCodespacesRequestBuilderInternal instantiates a new ItemCodespacesRequestBuilder and sets the default values.

func (*ItemCodespacesRequestBuilder) Access

Access the access property returns a *ItemCodespacesAccessRequestBuilder when successful

func (*ItemCodespacesRequestBuilder) Get

Get lists the codespaces associated to a specified organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a ItemCodespacesGetResponseable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemCodespacesRequestBuilder) Secrets

Secrets the secrets property returns a *ItemCodespacesSecretsRequestBuilder when successful

func (*ItemCodespacesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the codespaces associated to a specified organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCodespacesRequestBuilder) 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 *ItemCodespacesRequestBuilder when successful

type ItemCodespacesRequestBuilderGetQueryParameters

type ItemCodespacesRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemCodespacesRequestBuilderGetQueryParameters lists the codespaces associated to a specified organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.

type ItemCodespacesResponse

type ItemCodespacesResponse struct {
	ItemCodespacesGetResponse
}

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

func NewItemCodespacesResponse

func NewItemCodespacesResponse() *ItemCodespacesResponse

NewItemCodespacesResponse instantiates a new ItemCodespacesResponse and sets the default values.

type ItemCodespacesResponseable

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

type ItemCodespacesSecretsGetResponse

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

func NewItemCodespacesSecretsGetResponse

func NewItemCodespacesSecretsGetResponse() *ItemCodespacesSecretsGetResponse

NewItemCodespacesSecretsGetResponse instantiates a new ItemCodespacesSecretsGetResponse and sets the default values.

func (*ItemCodespacesSecretsGetResponse) GetAdditionalData

func (m *ItemCodespacesSecretsGetResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemCodespacesSecretsGetResponse) GetFieldDeserializers

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

func (*ItemCodespacesSecretsGetResponse) GetSecrets

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

func (*ItemCodespacesSecretsGetResponse) GetTotalCount

func (m *ItemCodespacesSecretsGetResponse) GetTotalCount() *int32

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

func (*ItemCodespacesSecretsGetResponse) Serialize

Serialize serializes information the current object

func (*ItemCodespacesSecretsGetResponse) SetAdditionalData

func (m *ItemCodespacesSecretsGetResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemCodespacesSecretsGetResponse) SetSecrets

SetSecrets sets the secrets property value. The secrets property

func (*ItemCodespacesSecretsGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemCodespacesSecretsItemRepositoriesGetResponse

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

func NewItemCodespacesSecretsItemRepositoriesGetResponse

func NewItemCodespacesSecretsItemRepositoriesGetResponse() *ItemCodespacesSecretsItemRepositoriesGetResponse

NewItemCodespacesSecretsItemRepositoriesGetResponse instantiates a new ItemCodespacesSecretsItemRepositoriesGetResponse and sets the default values.

func (*ItemCodespacesSecretsItemRepositoriesGetResponse) GetAdditionalData

func (m *ItemCodespacesSecretsItemRepositoriesGetResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemCodespacesSecretsItemRepositoriesGetResponse) GetFieldDeserializers

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

func (*ItemCodespacesSecretsItemRepositoriesGetResponse) GetRepositories

GetRepositories gets the repositories property value. The repositories property returns a []MinimalRepositoryable when successful

func (*ItemCodespacesSecretsItemRepositoriesGetResponse) GetTotalCount

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

func (*ItemCodespacesSecretsItemRepositoriesGetResponse) Serialize

Serialize serializes information the current object

func (*ItemCodespacesSecretsItemRepositoriesGetResponse) SetAdditionalData

func (m *ItemCodespacesSecretsItemRepositoriesGetResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemCodespacesSecretsItemRepositoriesGetResponse) SetRepositories

SetRepositories sets the repositories property value. The repositories property

func (*ItemCodespacesSecretsItemRepositoriesGetResponse) SetTotalCount

SetTotalCount sets the total_count property value. The total_count property

type ItemCodespacesSecretsItemRepositoriesPutRequestBody

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

func NewItemCodespacesSecretsItemRepositoriesPutRequestBody

func NewItemCodespacesSecretsItemRepositoriesPutRequestBody() *ItemCodespacesSecretsItemRepositoriesPutRequestBody

NewItemCodespacesSecretsItemRepositoriesPutRequestBody instantiates a new ItemCodespacesSecretsItemRepositoriesPutRequestBody and sets the default values.

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

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

func (*ItemCodespacesSecretsItemRepositoriesPutRequestBody) GetSelectedRepositoryIds

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

GetSelectedRepositoryIds gets the selected_repository_ids property value. An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Set selected repositories for an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret) endpoints. returns a []int32 when successful

func (*ItemCodespacesSecretsItemRepositoriesPutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemCodespacesSecretsItemRepositoriesPutRequestBody) SetAdditionalData

func (m *ItemCodespacesSecretsItemRepositoriesPutRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemCodespacesSecretsItemRepositoriesPutRequestBody) SetSelectedRepositoryIds

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

SetSelectedRepositoryIds sets the selected_repository_ids property value. An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Set selected repositories for an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret) endpoints.

type ItemCodespacesSecretsItemRepositoriesPutRequestBodyable

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

type ItemCodespacesSecretsItemRepositoriesRequestBuilder

type ItemCodespacesSecretsItemRepositoriesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemCodespacesSecretsItemRepositoriesRequestBuilder builds and executes requests for operations under \orgs\{org}\codespaces\secrets\{secret_name}\repositories

func NewItemCodespacesSecretsItemRepositoriesRequestBuilder

NewItemCodespacesSecretsItemRepositoriesRequestBuilder instantiates a new ItemCodespacesSecretsItemRepositoriesRequestBuilder and sets the default values.

func NewItemCodespacesSecretsItemRepositoriesRequestBuilderInternal

func NewItemCodespacesSecretsItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesSecretsItemRepositoriesRequestBuilder

NewItemCodespacesSecretsItemRepositoriesRequestBuilderInternal instantiates a new ItemCodespacesSecretsItemRepositoriesRequestBuilder and sets the default values.

func (*ItemCodespacesSecretsItemRepositoriesRequestBuilder) ByRepository_id

ByRepository_id gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.codespaces.secrets.item.repositories.item collection returns a *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder when successful

func (*ItemCodespacesSecretsItemRepositoriesRequestBuilder) Get

Get lists all repositories that have been selected when the `visibility`for repository access to a secret is set to `selected`.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a ItemCodespacesSecretsItemRepositoriesGetResponseable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemCodespacesSecretsItemRepositoriesRequestBuilder) Put

Put replaces all repositories for an organization development environment secret when the `visibility`for repository access is set to `selected`. The visibility is set when you [Createor update an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret).OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemCodespacesSecretsItemRepositoriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all repositories that have been selected when the `visibility`for repository access to a secret is set to `selected`.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCodespacesSecretsItemRepositoriesRequestBuilder) ToPutRequestInformation

ToPutRequestInformation replaces all repositories for an organization development environment secret when the `visibility`for repository access is set to `selected`. The visibility is set when you [Createor update an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret).OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCodespacesSecretsItemRepositoriesRequestBuilder) 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 *ItemCodespacesSecretsItemRepositoriesRequestBuilder when successful

type ItemCodespacesSecretsItemRepositoriesRequestBuilderGetQueryParameters

type ItemCodespacesSecretsItemRepositoriesRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemCodespacesSecretsItemRepositoriesRequestBuilderGetQueryParameters lists all repositories that have been selected when the `visibility`for repository access to a secret is set to `selected`.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.

type ItemCodespacesSecretsItemRepositoriesResponse

type ItemCodespacesSecretsItemRepositoriesResponse struct {
	ItemCodespacesSecretsItemRepositoriesGetResponse
}

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

func NewItemCodespacesSecretsItemRepositoriesResponse

func NewItemCodespacesSecretsItemRepositoriesResponse() *ItemCodespacesSecretsItemRepositoriesResponse

NewItemCodespacesSecretsItemRepositoriesResponse instantiates a new ItemCodespacesSecretsItemRepositoriesResponse and sets the default values.

type ItemCodespacesSecretsItemRepositoriesResponseable

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

type ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder

type ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\codespaces\secrets\{secret_name}\repositories\{repository_id}

func NewItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder

func NewItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder

NewItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder instantiates a new ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder and sets the default values.

func NewItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal

func NewItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder

NewItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal instantiates a new ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder and sets the default values.

func (*ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Delete

Delete removes a repository from an organization development environment secret when the `visibility`for repository access is set to `selected`. The visibility is set when you [Createor update an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret).OAuth app tokens and personal access tokens (classic) need the `admin:org` 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 (*ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Put

Put adds a repository to an organization development environment secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret).OAuth app tokens and personal access tokens (classic) need the `admin:org` 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 (*ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removes a repository from an organization development environment secret when the `visibility`for repository access is set to `selected`. The visibility is set when you [Createor update an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret).OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation adds a repository to an organization development environment secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret).OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCodespacesSecretsItemRepositoriesWithRepository_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 *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder when successful

type ItemCodespacesSecretsItemWithSecret_namePutRequestBody

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

func NewItemCodespacesSecretsItemWithSecret_namePutRequestBody

func NewItemCodespacesSecretsItemWithSecret_namePutRequestBody() *ItemCodespacesSecretsItemWithSecret_namePutRequestBody

NewItemCodespacesSecretsItemWithSecret_namePutRequestBody instantiates a new ItemCodespacesSecretsItemWithSecret_namePutRequestBody and sets the default values.

func (*ItemCodespacesSecretsItemWithSecret_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 (*ItemCodespacesSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue

GetEncryptedValue gets the encrypted_value property value. The 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 organization public key](https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key) endpoint. returns a *string when successful

func (*ItemCodespacesSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers

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

func (*ItemCodespacesSecretsItemWithSecret_namePutRequestBody) GetKeyId

GetKeyId gets the key_id property value. The ID of the key you used to encrypt the secret. returns a *string when successful

func (*ItemCodespacesSecretsItemWithSecret_namePutRequestBody) GetSelectedRepositoryIds

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

GetSelectedRepositoryIds gets the selected_repository_ids property value. An array of repository IDs that can access the organization secret. You can only provide a list of repository IDs when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret) endpoints. returns a []int32 when successful

func (*ItemCodespacesSecretsItemWithSecret_namePutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemCodespacesSecretsItemWithSecret_namePutRequestBody) SetAdditionalData

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

SetEncryptedValue sets the encrypted_value property value. The 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 organization public key](https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key) endpoint.

func (*ItemCodespacesSecretsItemWithSecret_namePutRequestBody) SetKeyId

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

func (*ItemCodespacesSecretsItemWithSecret_namePutRequestBody) SetSelectedRepositoryIds

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

SetSelectedRepositoryIds sets the selected_repository_ids property value. An array of repository IDs that can access the organization secret. You can only provide a list of repository IDs when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret) endpoints.

type ItemCodespacesSecretsItemWithSecret_namePutRequestBodyable

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

type ItemCodespacesSecretsPublicKeyRequestBuilder

type ItemCodespacesSecretsPublicKeyRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemCodespacesSecretsPublicKeyRequestBuilder builds and executes requests for operations under \orgs\{org}\codespaces\secrets\public-key

func NewItemCodespacesSecretsPublicKeyRequestBuilder

NewItemCodespacesSecretsPublicKeyRequestBuilder instantiates a new ItemCodespacesSecretsPublicKeyRequestBuilder and sets the default values.

func NewItemCodespacesSecretsPublicKeyRequestBuilderInternal

func NewItemCodespacesSecretsPublicKeyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesSecretsPublicKeyRequestBuilder

NewItemCodespacesSecretsPublicKeyRequestBuilderInternal instantiates a new ItemCodespacesSecretsPublicKeyRequestBuilder and sets the default values.

func (*ItemCodespacesSecretsPublicKeyRequestBuilder) Get

Get gets a public key for an organization, which is required in order to encrypt secrets. You need to encrypt the value of a secret before you can create or update secrets.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a CodespacesPublicKeyable when successful API method documentation

func (*ItemCodespacesSecretsPublicKeyRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a public key for an organization, which is required in order to encrypt secrets. You need to encrypt the value of a secret before you can create or update secrets.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCodespacesSecretsPublicKeyRequestBuilder) 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 *ItemCodespacesSecretsPublicKeyRequestBuilder when successful

type ItemCodespacesSecretsRequestBuilder

ItemCodespacesSecretsRequestBuilder builds and executes requests for operations under \orgs\{org}\codespaces\secrets

func NewItemCodespacesSecretsRequestBuilder

NewItemCodespacesSecretsRequestBuilder instantiates a new ItemCodespacesSecretsRequestBuilder and sets the default values.

func NewItemCodespacesSecretsRequestBuilderInternal

func NewItemCodespacesSecretsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesSecretsRequestBuilder

NewItemCodespacesSecretsRequestBuilderInternal instantiates a new ItemCodespacesSecretsRequestBuilder and sets the default values.

func (*ItemCodespacesSecretsRequestBuilder) BySecret_name

BySecret_name gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.codespaces.secrets.item collection returns a *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder when successful

func (*ItemCodespacesSecretsRequestBuilder) Get

Get lists all Codespaces development environment secrets available at the organization-level without revealing their encryptedvalues.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a ItemCodespacesSecretsGetResponseable when successful API method documentation

func (*ItemCodespacesSecretsRequestBuilder) PublicKey

PublicKey the publicKey property returns a *ItemCodespacesSecretsPublicKeyRequestBuilder when successful

func (*ItemCodespacesSecretsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all Codespaces development environment secrets available at the organization-level without revealing their encryptedvalues.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCodespacesSecretsRequestBuilder) 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 *ItemCodespacesSecretsRequestBuilder when successful

type ItemCodespacesSecretsRequestBuilderGetQueryParameters

type ItemCodespacesSecretsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemCodespacesSecretsRequestBuilderGetQueryParameters lists all Codespaces development environment secrets available at the organization-level without revealing their encryptedvalues.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.

type ItemCodespacesSecretsResponse

type ItemCodespacesSecretsResponse struct {
	ItemCodespacesSecretsGetResponse
}

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

func NewItemCodespacesSecretsResponse

func NewItemCodespacesSecretsResponse() *ItemCodespacesSecretsResponse

NewItemCodespacesSecretsResponse instantiates a new ItemCodespacesSecretsResponse and sets the default values.

type ItemCodespacesSecretsResponseable

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

type ItemCodespacesSecretsWithSecret_nameItemRequestBuilder

type ItemCodespacesSecretsWithSecret_nameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemCodespacesSecretsWithSecret_nameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\codespaces\secrets\{secret_name}

func NewItemCodespacesSecretsWithSecret_nameItemRequestBuilder

func NewItemCodespacesSecretsWithSecret_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder

NewItemCodespacesSecretsWithSecret_nameItemRequestBuilder instantiates a new ItemCodespacesSecretsWithSecret_nameItemRequestBuilder and sets the default values.

func NewItemCodespacesSecretsWithSecret_nameItemRequestBuilderInternal

func NewItemCodespacesSecretsWithSecret_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder

NewItemCodespacesSecretsWithSecret_nameItemRequestBuilderInternal instantiates a new ItemCodespacesSecretsWithSecret_nameItemRequestBuilder and sets the default values.

func (*ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) Delete

Delete deletes an organization development environment secret using the secret name.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) Get

Get gets an organization development environment secret without revealing its encrypted value.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a CodespacesOrgSecretable when successful API method documentation

func (*ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) Put

Put creates or updates an organization development 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/rest/guides/encrypting-secrets-for-the-rest-api)."OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a EmptyObjectable when successful returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation

func (*ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) Repositories

Repositories the repositories property returns a *ItemCodespacesSecretsItemRepositoriesRequestBuilder when successful

func (*ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes an organization development environment secret using the secret name.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets an organization development environment secret without revealing its encrypted value.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation creates or updates an organization development 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/rest/guides/encrypting-secrets-for-the-rest-api)."OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCodespacesSecretsWithSecret_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 *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder when successful

type ItemCopilotBillingRequestBuilder

ItemCopilotBillingRequestBuilder builds and executes requests for operations under \orgs\{org}\copilot\billing

func NewItemCopilotBillingRequestBuilder

NewItemCopilotBillingRequestBuilder instantiates a new ItemCopilotBillingRequestBuilder and sets the default values.

func NewItemCopilotBillingRequestBuilderInternal

func NewItemCopilotBillingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCopilotBillingRequestBuilder

NewItemCopilotBillingRequestBuilderInternal instantiates a new ItemCopilotBillingRequestBuilder and sets the default values.

func (*ItemCopilotBillingRequestBuilder) Get

Get **Note**: This endpoint is in beta and is subject to change.Gets information about an organization's Copilot subscription, including seat breakdownand feature policies. To configure these settings, go to your organization's settings on GitHub.com.For more information, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-copilot-business-in-your-organization)".Only organization owners can view details about the organization's Copilot Business or Copilot Enterprise subscription.OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. returns a CopilotOrganizationDetailsable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemCopilotBillingRequestBuilder) Seats

Seats the seats property returns a *ItemCopilotBillingSeatsRequestBuilder when successful

func (*ItemCopilotBillingRequestBuilder) Selected_teams

Selected_teams the selected_teams property returns a *ItemCopilotBillingSelected_teamsRequestBuilder when successful

func (*ItemCopilotBillingRequestBuilder) Selected_users

Selected_users the selected_users property returns a *ItemCopilotBillingSelected_usersRequestBuilder when successful

func (*ItemCopilotBillingRequestBuilder) ToGetRequestInformation

ToGetRequestInformation **Note**: This endpoint is in beta and is subject to change.Gets information about an organization's Copilot subscription, including seat breakdownand feature policies. To configure these settings, go to your organization's settings on GitHub.com.For more information, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-copilot-business-in-your-organization)".Only organization owners can view details about the organization's Copilot Business or Copilot Enterprise subscription.OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. returns a *RequestInformation when successful

func (*ItemCopilotBillingRequestBuilder) 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 *ItemCopilotBillingRequestBuilder when successful

type ItemCopilotBillingSeatsGetResponse

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

func NewItemCopilotBillingSeatsGetResponse

func NewItemCopilotBillingSeatsGetResponse() *ItemCopilotBillingSeatsGetResponse

NewItemCopilotBillingSeatsGetResponse instantiates a new ItemCopilotBillingSeatsGetResponse and sets the default values.

func (*ItemCopilotBillingSeatsGetResponse) GetAdditionalData

func (m *ItemCopilotBillingSeatsGetResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemCopilotBillingSeatsGetResponse) GetFieldDeserializers

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

func (*ItemCopilotBillingSeatsGetResponse) GetSeats

GetSeats gets the seats property value. The seats property returns a []CopilotSeatDetailsable when successful

func (*ItemCopilotBillingSeatsGetResponse) GetTotalSeats

func (m *ItemCopilotBillingSeatsGetResponse) GetTotalSeats() *int32

GetTotalSeats gets the total_seats property value. Total number of Copilot seats for the organization currently being billed. returns a *int32 when successful

func (*ItemCopilotBillingSeatsGetResponse) Serialize

Serialize serializes information the current object

func (*ItemCopilotBillingSeatsGetResponse) SetAdditionalData

func (m *ItemCopilotBillingSeatsGetResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemCopilotBillingSeatsGetResponse) SetSeats

SetSeats sets the seats property value. The seats property

func (*ItemCopilotBillingSeatsGetResponse) SetTotalSeats

func (m *ItemCopilotBillingSeatsGetResponse) SetTotalSeats(value *int32)

SetTotalSeats sets the total_seats property value. Total number of Copilot seats for the organization currently being billed.

type ItemCopilotBillingSeatsRequestBuilder

type ItemCopilotBillingSeatsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemCopilotBillingSeatsRequestBuilder builds and executes requests for operations under \orgs\{org}\copilot\billing\seats

func NewItemCopilotBillingSeatsRequestBuilder

NewItemCopilotBillingSeatsRequestBuilder instantiates a new ItemCopilotBillingSeatsRequestBuilder and sets the default values.

func NewItemCopilotBillingSeatsRequestBuilderInternal

func NewItemCopilotBillingSeatsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCopilotBillingSeatsRequestBuilder

NewItemCopilotBillingSeatsRequestBuilderInternal instantiates a new ItemCopilotBillingSeatsRequestBuilder and sets the default values.

func (*ItemCopilotBillingSeatsRequestBuilder) Get

Get **Note**: This endpoint is in beta and is subject to change.Lists all active Copilot seats for an organization with a Copilot Business or Copilot Enterprise subscription.Only organization owners can view assigned seats.OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. returns a ItemCopilotBillingSeatsGetResponseable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemCopilotBillingSeatsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation **Note**: This endpoint is in beta and is subject to change.Lists all active Copilot seats for an organization with a Copilot Business or Copilot Enterprise subscription.Only organization owners can view assigned seats.OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. returns a *RequestInformation when successful

func (*ItemCopilotBillingSeatsRequestBuilder) 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 *ItemCopilotBillingSeatsRequestBuilder when successful

type ItemCopilotBillingSeatsRequestBuilderGetQueryParameters

type ItemCopilotBillingSeatsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemCopilotBillingSeatsRequestBuilderGetQueryParameters **Note**: This endpoint is in beta and is subject to change.Lists all active Copilot seats for an organization with a Copilot Business or Copilot Enterprise subscription.Only organization owners can view assigned seats.OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint.

type ItemCopilotBillingSeatsResponse

type ItemCopilotBillingSeatsResponse struct {
	ItemCopilotBillingSeatsGetResponse
}

ItemCopilotBillingSeatsResponse Deprecated: This class is obsolete. Use seatsGetResponse instead.

func NewItemCopilotBillingSeatsResponse

func NewItemCopilotBillingSeatsResponse() *ItemCopilotBillingSeatsResponse

NewItemCopilotBillingSeatsResponse instantiates a new ItemCopilotBillingSeatsResponse and sets the default values.

type ItemCopilotBillingSeatsResponseable

ItemCopilotBillingSeatsResponseable Deprecated: This class is obsolete. Use seatsGetResponse instead.

type ItemCopilotBillingSelected_teamsDeleteRequestBody

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

func NewItemCopilotBillingSelected_teamsDeleteRequestBody

func NewItemCopilotBillingSelected_teamsDeleteRequestBody() *ItemCopilotBillingSelected_teamsDeleteRequestBody

NewItemCopilotBillingSelected_teamsDeleteRequestBody instantiates a new ItemCopilotBillingSelected_teamsDeleteRequestBody and sets the default values.

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

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

func (*ItemCopilotBillingSelected_teamsDeleteRequestBody) GetSelectedTeams

GetSelectedTeams gets the selected_teams property value. The names of teams from which to revoke access to GitHub Copilot. returns a []string when successful

func (*ItemCopilotBillingSelected_teamsDeleteRequestBody) Serialize

Serialize serializes information the current object

func (*ItemCopilotBillingSelected_teamsDeleteRequestBody) SetAdditionalData

func (m *ItemCopilotBillingSelected_teamsDeleteRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemCopilotBillingSelected_teamsDeleteRequestBody) SetSelectedTeams

func (m *ItemCopilotBillingSelected_teamsDeleteRequestBody) SetSelectedTeams(value []string)

SetSelectedTeams sets the selected_teams property value. The names of teams from which to revoke access to GitHub Copilot.

type ItemCopilotBillingSelected_teamsDeleteResponse

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

ItemCopilotBillingSelected_teamsDeleteResponse the total number of seat assignments cancelled.

func NewItemCopilotBillingSelected_teamsDeleteResponse

func NewItemCopilotBillingSelected_teamsDeleteResponse() *ItemCopilotBillingSelected_teamsDeleteResponse

NewItemCopilotBillingSelected_teamsDeleteResponse instantiates a new ItemCopilotBillingSelected_teamsDeleteResponse and sets the default values.

func (*ItemCopilotBillingSelected_teamsDeleteResponse) GetAdditionalData

func (m *ItemCopilotBillingSelected_teamsDeleteResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemCopilotBillingSelected_teamsDeleteResponse) GetFieldDeserializers

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

func (*ItemCopilotBillingSelected_teamsDeleteResponse) GetSeatsCancelled

func (m *ItemCopilotBillingSelected_teamsDeleteResponse) GetSeatsCancelled() *int32

GetSeatsCancelled gets the seats_cancelled property value. The seats_cancelled property returns a *int32 when successful

func (*ItemCopilotBillingSelected_teamsDeleteResponse) Serialize

Serialize serializes information the current object

func (*ItemCopilotBillingSelected_teamsDeleteResponse) SetAdditionalData

func (m *ItemCopilotBillingSelected_teamsDeleteResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemCopilotBillingSelected_teamsDeleteResponse) SetSeatsCancelled

func (m *ItemCopilotBillingSelected_teamsDeleteResponse) SetSeatsCancelled(value *int32)

SetSeatsCancelled sets the seats_cancelled property value. The seats_cancelled property

type ItemCopilotBillingSelected_teamsPostRequestBody

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

func NewItemCopilotBillingSelected_teamsPostRequestBody

func NewItemCopilotBillingSelected_teamsPostRequestBody() *ItemCopilotBillingSelected_teamsPostRequestBody

NewItemCopilotBillingSelected_teamsPostRequestBody instantiates a new ItemCopilotBillingSelected_teamsPostRequestBody and sets the default values.

func (*ItemCopilotBillingSelected_teamsPostRequestBody) GetAdditionalData

func (m *ItemCopilotBillingSelected_teamsPostRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemCopilotBillingSelected_teamsPostRequestBody) GetFieldDeserializers

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

func (*ItemCopilotBillingSelected_teamsPostRequestBody) GetSelectedTeams

GetSelectedTeams gets the selected_teams property value. List of team names within the organization to which to grant access to GitHub Copilot. returns a []string when successful

func (*ItemCopilotBillingSelected_teamsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemCopilotBillingSelected_teamsPostRequestBody) SetAdditionalData

func (m *ItemCopilotBillingSelected_teamsPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemCopilotBillingSelected_teamsPostRequestBody) SetSelectedTeams

func (m *ItemCopilotBillingSelected_teamsPostRequestBody) SetSelectedTeams(value []string)

SetSelectedTeams sets the selected_teams property value. List of team names within the organization to which to grant access to GitHub Copilot.

type ItemCopilotBillingSelected_teamsPostResponse

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

ItemCopilotBillingSelected_teamsPostResponse the total number of seat assignments created.

func NewItemCopilotBillingSelected_teamsPostResponse

func NewItemCopilotBillingSelected_teamsPostResponse() *ItemCopilotBillingSelected_teamsPostResponse

NewItemCopilotBillingSelected_teamsPostResponse instantiates a new ItemCopilotBillingSelected_teamsPostResponse and sets the default values.

func (*ItemCopilotBillingSelected_teamsPostResponse) GetAdditionalData

func (m *ItemCopilotBillingSelected_teamsPostResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemCopilotBillingSelected_teamsPostResponse) GetFieldDeserializers

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

func (*ItemCopilotBillingSelected_teamsPostResponse) GetSeatsCreated

GetSeatsCreated gets the seats_created property value. The seats_created property returns a *int32 when successful

func (*ItemCopilotBillingSelected_teamsPostResponse) Serialize

Serialize serializes information the current object

func (*ItemCopilotBillingSelected_teamsPostResponse) SetAdditionalData

func (m *ItemCopilotBillingSelected_teamsPostResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemCopilotBillingSelected_teamsPostResponse) SetSeatsCreated

func (m *ItemCopilotBillingSelected_teamsPostResponse) SetSeatsCreated(value *int32)

SetSeatsCreated sets the seats_created property value. The seats_created property

type ItemCopilotBillingSelected_teamsRequestBuilder

type ItemCopilotBillingSelected_teamsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemCopilotBillingSelected_teamsRequestBuilder builds and executes requests for operations under \orgs\{org}\copilot\billing\selected_teams

func NewItemCopilotBillingSelected_teamsRequestBuilder

NewItemCopilotBillingSelected_teamsRequestBuilder instantiates a new ItemCopilotBillingSelected_teamsRequestBuilder and sets the default values.

func NewItemCopilotBillingSelected_teamsRequestBuilderInternal

func NewItemCopilotBillingSelected_teamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCopilotBillingSelected_teamsRequestBuilder

NewItemCopilotBillingSelected_teamsRequestBuilderInternal instantiates a new ItemCopilotBillingSelected_teamsRequestBuilder and sets the default values.

func (*ItemCopilotBillingSelected_teamsRequestBuilder) Delete

Delete **Note**: This endpoint is in beta and is subject to change.Cancels the Copilot seat assignment for all members of each team specified.This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".Only organization owners can cancel Copilot seats for their organization members.OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. returns a ItemCopilotBillingSelected_teamsDeleteResponseable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemCopilotBillingSelected_teamsRequestBuilder) Post

Post **Note**: This endpoint is in beta and is subject to change.Purchases a GitHub Copilot seat for all users within each specified team.The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".Only organization owners can add Copilot seats for their organization members.In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. returns a ItemCopilotBillingSelected_teamsPostResponseable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemCopilotBillingSelected_teamsRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation **Note**: This endpoint is in beta and is subject to change.Cancels the Copilot seat assignment for all members of each team specified.This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".Only organization owners can cancel Copilot seats for their organization members.OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. returns a *RequestInformation when successful

func (*ItemCopilotBillingSelected_teamsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation **Note**: This endpoint is in beta and is subject to change.Purchases a GitHub Copilot seat for all users within each specified team.The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".Only organization owners can add Copilot seats for their organization members.In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. returns a *RequestInformation when successful

func (*ItemCopilotBillingSelected_teamsRequestBuilder) 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 *ItemCopilotBillingSelected_teamsRequestBuilder when successful

type ItemCopilotBillingSelected_teamsResponse

type ItemCopilotBillingSelected_teamsResponse struct {
	ItemCopilotBillingSelected_teamsPostResponse
}

ItemCopilotBillingSelected_teamsResponse the total number of seat assignments created. Deprecated: This class is obsolete. Use selected_teamsPostResponse instead.

func NewItemCopilotBillingSelected_teamsResponse

func NewItemCopilotBillingSelected_teamsResponse() *ItemCopilotBillingSelected_teamsResponse

NewItemCopilotBillingSelected_teamsResponse instantiates a new ItemCopilotBillingSelected_teamsResponse and sets the default values.

type ItemCopilotBillingSelected_teamsResponseable

ItemCopilotBillingSelected_teamsResponseable Deprecated: This class is obsolete. Use selected_teamsPostResponse instead.

type ItemCopilotBillingSelected_usersDeleteRequestBody

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

func NewItemCopilotBillingSelected_usersDeleteRequestBody

func NewItemCopilotBillingSelected_usersDeleteRequestBody() *ItemCopilotBillingSelected_usersDeleteRequestBody

NewItemCopilotBillingSelected_usersDeleteRequestBody instantiates a new ItemCopilotBillingSelected_usersDeleteRequestBody and sets the default values.

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

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

func (*ItemCopilotBillingSelected_usersDeleteRequestBody) GetSelectedUsernames

func (m *ItemCopilotBillingSelected_usersDeleteRequestBody) GetSelectedUsernames() []string

GetSelectedUsernames gets the selected_usernames property value. The usernames of the organization members for which to revoke access to GitHub Copilot. returns a []string when successful

func (*ItemCopilotBillingSelected_usersDeleteRequestBody) Serialize

Serialize serializes information the current object

func (*ItemCopilotBillingSelected_usersDeleteRequestBody) SetAdditionalData

func (m *ItemCopilotBillingSelected_usersDeleteRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemCopilotBillingSelected_usersDeleteRequestBody) SetSelectedUsernames

func (m *ItemCopilotBillingSelected_usersDeleteRequestBody) SetSelectedUsernames(value []string)

SetSelectedUsernames sets the selected_usernames property value. The usernames of the organization members for which to revoke access to GitHub Copilot.

type ItemCopilotBillingSelected_usersDeleteResponse

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

ItemCopilotBillingSelected_usersDeleteResponse the total number of seat assignments cancelled.

func NewItemCopilotBillingSelected_usersDeleteResponse

func NewItemCopilotBillingSelected_usersDeleteResponse() *ItemCopilotBillingSelected_usersDeleteResponse

NewItemCopilotBillingSelected_usersDeleteResponse instantiates a new ItemCopilotBillingSelected_usersDeleteResponse and sets the default values.

func (*ItemCopilotBillingSelected_usersDeleteResponse) GetAdditionalData

func (m *ItemCopilotBillingSelected_usersDeleteResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemCopilotBillingSelected_usersDeleteResponse) GetFieldDeserializers

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

func (*ItemCopilotBillingSelected_usersDeleteResponse) GetSeatsCancelled

func (m *ItemCopilotBillingSelected_usersDeleteResponse) GetSeatsCancelled() *int32

GetSeatsCancelled gets the seats_cancelled property value. The seats_cancelled property returns a *int32 when successful

func (*ItemCopilotBillingSelected_usersDeleteResponse) Serialize

Serialize serializes information the current object

func (*ItemCopilotBillingSelected_usersDeleteResponse) SetAdditionalData

func (m *ItemCopilotBillingSelected_usersDeleteResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemCopilotBillingSelected_usersDeleteResponse) SetSeatsCancelled

func (m *ItemCopilotBillingSelected_usersDeleteResponse) SetSeatsCancelled(value *int32)

SetSeatsCancelled sets the seats_cancelled property value. The seats_cancelled property

type ItemCopilotBillingSelected_usersPostRequestBody

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

func NewItemCopilotBillingSelected_usersPostRequestBody

func NewItemCopilotBillingSelected_usersPostRequestBody() *ItemCopilotBillingSelected_usersPostRequestBody

NewItemCopilotBillingSelected_usersPostRequestBody instantiates a new ItemCopilotBillingSelected_usersPostRequestBody and sets the default values.

func (*ItemCopilotBillingSelected_usersPostRequestBody) GetAdditionalData

func (m *ItemCopilotBillingSelected_usersPostRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemCopilotBillingSelected_usersPostRequestBody) GetFieldDeserializers

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

func (*ItemCopilotBillingSelected_usersPostRequestBody) GetSelectedUsernames

func (m *ItemCopilotBillingSelected_usersPostRequestBody) GetSelectedUsernames() []string

GetSelectedUsernames gets the selected_usernames property value. The usernames of the organization members to be granted access to GitHub Copilot. returns a []string when successful

func (*ItemCopilotBillingSelected_usersPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemCopilotBillingSelected_usersPostRequestBody) SetAdditionalData

func (m *ItemCopilotBillingSelected_usersPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemCopilotBillingSelected_usersPostRequestBody) SetSelectedUsernames

func (m *ItemCopilotBillingSelected_usersPostRequestBody) SetSelectedUsernames(value []string)

SetSelectedUsernames sets the selected_usernames property value. The usernames of the organization members to be granted access to GitHub Copilot.

type ItemCopilotBillingSelected_usersPostResponse

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

ItemCopilotBillingSelected_usersPostResponse the total number of seat assignments created.

func NewItemCopilotBillingSelected_usersPostResponse

func NewItemCopilotBillingSelected_usersPostResponse() *ItemCopilotBillingSelected_usersPostResponse

NewItemCopilotBillingSelected_usersPostResponse instantiates a new ItemCopilotBillingSelected_usersPostResponse and sets the default values.

func (*ItemCopilotBillingSelected_usersPostResponse) GetAdditionalData

func (m *ItemCopilotBillingSelected_usersPostResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemCopilotBillingSelected_usersPostResponse) GetFieldDeserializers

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

func (*ItemCopilotBillingSelected_usersPostResponse) GetSeatsCreated

GetSeatsCreated gets the seats_created property value. The seats_created property returns a *int32 when successful

func (*ItemCopilotBillingSelected_usersPostResponse) Serialize

Serialize serializes information the current object

func (*ItemCopilotBillingSelected_usersPostResponse) SetAdditionalData

func (m *ItemCopilotBillingSelected_usersPostResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemCopilotBillingSelected_usersPostResponse) SetSeatsCreated

func (m *ItemCopilotBillingSelected_usersPostResponse) SetSeatsCreated(value *int32)

SetSeatsCreated sets the seats_created property value. The seats_created property

type ItemCopilotBillingSelected_usersRequestBuilder

type ItemCopilotBillingSelected_usersRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemCopilotBillingSelected_usersRequestBuilder builds and executes requests for operations under \orgs\{org}\copilot\billing\selected_users

func NewItemCopilotBillingSelected_usersRequestBuilder

NewItemCopilotBillingSelected_usersRequestBuilder instantiates a new ItemCopilotBillingSelected_usersRequestBuilder and sets the default values.

func NewItemCopilotBillingSelected_usersRequestBuilderInternal

func NewItemCopilotBillingSelected_usersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCopilotBillingSelected_usersRequestBuilder

NewItemCopilotBillingSelected_usersRequestBuilderInternal instantiates a new ItemCopilotBillingSelected_usersRequestBuilder and sets the default values.

func (*ItemCopilotBillingSelected_usersRequestBuilder) Delete

Delete **Note**: This endpoint is in beta and is subject to change.Cancels the Copilot seat assignment for each user specified.This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".Only organization owners can cancel Copilot seats for their organization members.OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. returns a ItemCopilotBillingSelected_usersDeleteResponseable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemCopilotBillingSelected_usersRequestBuilder) Post

Post **Note**: This endpoint is in beta and is subject to change.Purchases a GitHub Copilot seat for each user specified.The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".Only organization owners can add Copilot seats for their organization members.In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. returns a ItemCopilotBillingSelected_usersPostResponseable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemCopilotBillingSelected_usersRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation **Note**: This endpoint is in beta and is subject to change.Cancels the Copilot seat assignment for each user specified.This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot/managing-access-for-copilot-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".Only organization owners can cancel Copilot seats for their organization members.OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. returns a *RequestInformation when successful

func (*ItemCopilotBillingSelected_usersRequestBuilder) ToPostRequestInformation

ToPostRequestInformation **Note**: This endpoint is in beta and is subject to change.Purchases a GitHub Copilot seat for each user specified.The organization will be billed accordingly. For more information about Copilot pricing, see "[Pricing for GitHub Copilot](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#about-billing-for-github-copilot)".Only organization owners can add Copilot seats for their organization members.In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.For more information about setting up a Copilot subscription, see "[Setting up a Copilot subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise)".For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-policies-for-github-copilot-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. returns a *RequestInformation when successful

func (*ItemCopilotBillingSelected_usersRequestBuilder) 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 *ItemCopilotBillingSelected_usersRequestBuilder when successful

type ItemCopilotBillingSelected_usersResponse

type ItemCopilotBillingSelected_usersResponse struct {
	ItemCopilotBillingSelected_usersPostResponse
}

ItemCopilotBillingSelected_usersResponse the total number of seat assignments created. Deprecated: This class is obsolete. Use selected_usersPostResponse instead.

func NewItemCopilotBillingSelected_usersResponse

func NewItemCopilotBillingSelected_usersResponse() *ItemCopilotBillingSelected_usersResponse

NewItemCopilotBillingSelected_usersResponse instantiates a new ItemCopilotBillingSelected_usersResponse and sets the default values.

type ItemCopilotBillingSelected_usersResponseable

ItemCopilotBillingSelected_usersResponseable Deprecated: This class is obsolete. Use selected_usersPostResponse instead.

type ItemCopilotRequestBuilder

ItemCopilotRequestBuilder builds and executes requests for operations under \orgs\{org}\copilot

func NewItemCopilotRequestBuilder

NewItemCopilotRequestBuilder instantiates a new ItemCopilotRequestBuilder and sets the default values.

func NewItemCopilotRequestBuilderInternal

func NewItemCopilotRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCopilotRequestBuilder

NewItemCopilotRequestBuilderInternal instantiates a new ItemCopilotRequestBuilder and sets the default values.

func (*ItemCopilotRequestBuilder) Billing

Billing the billing property returns a *ItemCopilotBillingRequestBuilder when successful

func (*ItemCopilotRequestBuilder) Usage added in v0.0.12

Usage the usage property returns a *ItemCopilotUsageRequestBuilder when successful

type ItemCopilotUsageRequestBuilder added in v0.0.12

ItemCopilotUsageRequestBuilder builds and executes requests for operations under \orgs\{org}\copilot\usage

func NewItemCopilotUsageRequestBuilder added in v0.0.12

NewItemCopilotUsageRequestBuilder instantiates a new ItemCopilotUsageRequestBuilder and sets the default values.

func NewItemCopilotUsageRequestBuilderInternal added in v0.0.12

func NewItemCopilotUsageRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCopilotUsageRequestBuilder

NewItemCopilotUsageRequestBuilderInternal instantiates a new ItemCopilotUsageRequestBuilder and sets the default values.

func (*ItemCopilotUsageRequestBuilder) Get added in v0.0.12

Get **Note**: This endpoint is in beta and is subject to change.You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDEacross an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.See the response schema tab for detailed metrics definitions.The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,they must have telemetry enabled in their IDE.Organization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics.OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. returns a []CopilotUsageMetricsable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemCopilotUsageRequestBuilder) ToGetRequestInformation added in v0.0.12

ToGetRequestInformation **Note**: This endpoint is in beta and is subject to change.You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDEacross an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.See the response schema tab for detailed metrics definitions.The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,they must have telemetry enabled in their IDE.Organization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics.OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint. returns a *RequestInformation when successful

func (*ItemCopilotUsageRequestBuilder) WithUrl added in v0.0.12

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

type ItemCopilotUsageRequestBuilderGetQueryParameters added in v0.0.12

type ItemCopilotUsageRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of days of metrics to display per page (max 28). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.
	Since *string `uriparametername:"since"`
	// Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.
	Until *string `uriparametername:"until"`
}

ItemCopilotUsageRequestBuilderGetQueryParameters **Note**: This endpoint is in beta and is subject to change.You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDEacross an organization, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.See the response schema tab for detailed metrics definitions.The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,they must have telemetry enabled in their IDE.Organization owners, and owners and billing managers of the parent enterprise, can view Copilot usage metrics.OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot`, `read:org`, or `read:enterprise` scopes to use this endpoint.

type ItemDependabotAlertsRequestBuilder

ItemDependabotAlertsRequestBuilder builds and executes requests for operations under \orgs\{org}\dependabot\alerts

func NewItemDependabotAlertsRequestBuilder

NewItemDependabotAlertsRequestBuilder instantiates a new ItemDependabotAlertsRequestBuilder and sets the default values.

func NewItemDependabotAlertsRequestBuilderInternal

func NewItemDependabotAlertsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotAlertsRequestBuilder

NewItemDependabotAlertsRequestBuilderInternal instantiates a new ItemDependabotAlertsRequestBuilder and sets the default values.

func (*ItemDependabotAlertsRequestBuilder) Get

Get lists Dependabot alerts for an organization.The authenticated user must be an owner or security manager for the organization to use this endpoint.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 []DependabotAlertWithRepositoryable 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 (*ItemDependabotAlertsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists Dependabot alerts for an organization.The authenticated user must be an owner or security manager for the organization to use this endpoint.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 (*ItemDependabotAlertsRequestBuilder) 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 *ItemDependabotAlertsRequestBuilder when successful

type ItemDependabotAlertsRequestBuilderGetQueryParameters

type ItemDependabotAlertsRequestBuilderGetQueryParameters struct {
	// A cursor, as given in the [Link header](https://docs.github.com/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/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/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/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Before *string `uriparametername:"before"`
	// The direction to sort the results by.
	Direction *id5ed4dfa872423f58318ec5274226649a680208c924c0fa4b6e180a4e9175a51.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 package names. If specified, only alerts for these packages will be returned.
	Package *string `uriparametername:"package"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// The scope of the vulnerable dependency. If specified, only alerts with this scope will be returned.
	Scope *id5ed4dfa872423f58318ec5274226649a680208c924c0fa4b6e180a4e9175a51.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 *id5ed4dfa872423f58318ec5274226649a680208c924c0fa4b6e180a4e9175a51.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"`
}

ItemDependabotAlertsRequestBuilderGetQueryParameters lists Dependabot alerts for an organization.The authenticated user must be an owner or security manager for the organization to use this endpoint.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 ItemDependabotRequestBuilder

ItemDependabotRequestBuilder builds and executes requests for operations under \orgs\{org}\dependabot

func NewItemDependabotRequestBuilder

NewItemDependabotRequestBuilder instantiates a new ItemDependabotRequestBuilder and sets the default values.

func NewItemDependabotRequestBuilderInternal

func NewItemDependabotRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotRequestBuilder

NewItemDependabotRequestBuilderInternal instantiates a new ItemDependabotRequestBuilder and sets the default values.

func (*ItemDependabotRequestBuilder) Alerts

Alerts the alerts property returns a *ItemDependabotAlertsRequestBuilder when successful

func (*ItemDependabotRequestBuilder) Secrets

Secrets the secrets property returns a *ItemDependabotSecretsRequestBuilder when successful

type ItemDependabotSecretsGetResponse

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

func NewItemDependabotSecretsGetResponse

func NewItemDependabotSecretsGetResponse() *ItemDependabotSecretsGetResponse

NewItemDependabotSecretsGetResponse instantiates a new ItemDependabotSecretsGetResponse and sets the default values.

func (*ItemDependabotSecretsGetResponse) GetAdditionalData

func (m *ItemDependabotSecretsGetResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemDependabotSecretsGetResponse) GetFieldDeserializers

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

func (*ItemDependabotSecretsGetResponse) GetSecrets

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

func (*ItemDependabotSecretsGetResponse) GetTotalCount

func (m *ItemDependabotSecretsGetResponse) GetTotalCount() *int32

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

func (*ItemDependabotSecretsGetResponse) Serialize

Serialize serializes information the current object

func (*ItemDependabotSecretsGetResponse) SetAdditionalData

func (m *ItemDependabotSecretsGetResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemDependabotSecretsGetResponse) SetSecrets

SetSecrets sets the secrets property value. The secrets property

func (*ItemDependabotSecretsGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemDependabotSecretsItemRepositoriesGetResponse

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

func NewItemDependabotSecretsItemRepositoriesGetResponse

func NewItemDependabotSecretsItemRepositoriesGetResponse() *ItemDependabotSecretsItemRepositoriesGetResponse

NewItemDependabotSecretsItemRepositoriesGetResponse instantiates a new ItemDependabotSecretsItemRepositoriesGetResponse and sets the default values.

func (*ItemDependabotSecretsItemRepositoriesGetResponse) GetAdditionalData

func (m *ItemDependabotSecretsItemRepositoriesGetResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemDependabotSecretsItemRepositoriesGetResponse) GetFieldDeserializers

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

func (*ItemDependabotSecretsItemRepositoriesGetResponse) GetRepositories

GetRepositories gets the repositories property value. The repositories property returns a []MinimalRepositoryable when successful

func (*ItemDependabotSecretsItemRepositoriesGetResponse) GetTotalCount

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

func (*ItemDependabotSecretsItemRepositoriesGetResponse) Serialize

Serialize serializes information the current object

func (*ItemDependabotSecretsItemRepositoriesGetResponse) SetAdditionalData

func (m *ItemDependabotSecretsItemRepositoriesGetResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemDependabotSecretsItemRepositoriesGetResponse) SetRepositories

SetRepositories sets the repositories property value. The repositories property

func (*ItemDependabotSecretsItemRepositoriesGetResponse) SetTotalCount

SetTotalCount sets the total_count property value. The total_count property

type ItemDependabotSecretsItemRepositoriesPutRequestBody

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

func NewItemDependabotSecretsItemRepositoriesPutRequestBody

func NewItemDependabotSecretsItemRepositoriesPutRequestBody() *ItemDependabotSecretsItemRepositoriesPutRequestBody

NewItemDependabotSecretsItemRepositoriesPutRequestBody instantiates a new ItemDependabotSecretsItemRepositoriesPutRequestBody and sets the default values.

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

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

func (*ItemDependabotSecretsItemRepositoriesPutRequestBody) GetSelectedRepositoryIds

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

GetSelectedRepositoryIds gets the selected_repository_ids property value. An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. returns a []int32 when successful

func (*ItemDependabotSecretsItemRepositoriesPutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemDependabotSecretsItemRepositoriesPutRequestBody) SetAdditionalData

func (m *ItemDependabotSecretsItemRepositoriesPutRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemDependabotSecretsItemRepositoriesPutRequestBody) SetSelectedRepositoryIds

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

SetSelectedRepositoryIds sets the selected_repository_ids property value. An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.

type ItemDependabotSecretsItemRepositoriesPutRequestBodyable

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

type ItemDependabotSecretsItemRepositoriesRequestBuilder

type ItemDependabotSecretsItemRepositoriesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemDependabotSecretsItemRepositoriesRequestBuilder builds and executes requests for operations under \orgs\{org}\dependabot\secrets\{secret_name}\repositories

func NewItemDependabotSecretsItemRepositoriesRequestBuilder

NewItemDependabotSecretsItemRepositoriesRequestBuilder instantiates a new ItemDependabotSecretsItemRepositoriesRequestBuilder and sets the default values.

func NewItemDependabotSecretsItemRepositoriesRequestBuilderInternal

func NewItemDependabotSecretsItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsItemRepositoriesRequestBuilder

NewItemDependabotSecretsItemRepositoriesRequestBuilderInternal instantiates a new ItemDependabotSecretsItemRepositoriesRequestBuilder and sets the default values.

func (*ItemDependabotSecretsItemRepositoriesRequestBuilder) ByRepository_id

ByRepository_id gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.dependabot.secrets.item.repositories.item collection returns a *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder when successful

func (*ItemDependabotSecretsItemRepositoriesRequestBuilder) Get

Get lists all repositories that have been selected when the `visibility`for repository access to a secret is set to `selected`.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a ItemDependabotSecretsItemRepositoriesGetResponseable when successful API method documentation

func (*ItemDependabotSecretsItemRepositoriesRequestBuilder) Put

Put replaces all repositories for an organization secret when the `visibility`for repository access is set to `selected`. The visibility is set when you [Createor update an organization secret](https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret).OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemDependabotSecretsItemRepositoriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all repositories that have been selected when the `visibility`for repository access to a secret is set to `selected`.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemDependabotSecretsItemRepositoriesRequestBuilder) ToPutRequestInformation

ToPutRequestInformation replaces all repositories for an organization secret when the `visibility`for repository access is set to `selected`. The visibility is set when you [Createor update an organization secret](https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret).OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemDependabotSecretsItemRepositoriesRequestBuilder) 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 *ItemDependabotSecretsItemRepositoriesRequestBuilder when successful

type ItemDependabotSecretsItemRepositoriesRequestBuilderGetQueryParameters

type ItemDependabotSecretsItemRepositoriesRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemDependabotSecretsItemRepositoriesRequestBuilderGetQueryParameters lists all repositories that have been selected when the `visibility`for repository access to a secret is set to `selected`.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.

type ItemDependabotSecretsItemRepositoriesResponse

type ItemDependabotSecretsItemRepositoriesResponse struct {
	ItemDependabotSecretsItemRepositoriesGetResponse
}

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

func NewItemDependabotSecretsItemRepositoriesResponse

func NewItemDependabotSecretsItemRepositoriesResponse() *ItemDependabotSecretsItemRepositoriesResponse

NewItemDependabotSecretsItemRepositoriesResponse instantiates a new ItemDependabotSecretsItemRepositoriesResponse and sets the default values.

type ItemDependabotSecretsItemRepositoriesResponseable

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

type ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder

type ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\dependabot\secrets\{secret_name}\repositories\{repository_id}

func NewItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder

func NewItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder

NewItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder instantiates a new ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder and sets the default values.

func NewItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal

func NewItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder

NewItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal instantiates a new ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder and sets the default values.

func (*ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Delete

Delete removes a repository from an organization secret when the `visibility`for repository access is set to `selected`. The visibility is set when you [Createor update an organization secret](https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret).OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Put

Put adds a repository to an organization secret when the `visibility` forrepository access is set to `selected`. The visibility is set when you [Create orupdate an organization secret](https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret).OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removes a repository from an organization secret when the `visibility`for repository access is set to `selected`. The visibility is set when you [Createor update an organization secret](https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret).OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation adds a repository to an organization secret when the `visibility` forrepository access is set to `selected`. The visibility is set when you [Create orupdate an organization secret](https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret).OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemDependabotSecretsItemRepositoriesWithRepository_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 *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder when successful

type ItemDependabotSecretsItemWithSecret_namePutRequestBody

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

func NewItemDependabotSecretsItemWithSecret_namePutRequestBody

func NewItemDependabotSecretsItemWithSecret_namePutRequestBody() *ItemDependabotSecretsItemWithSecret_namePutRequestBody

NewItemDependabotSecretsItemWithSecret_namePutRequestBody instantiates a new ItemDependabotSecretsItemWithSecret_namePutRequestBody and sets the default values.

func (*ItemDependabotSecretsItemWithSecret_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 (*ItemDependabotSecretsItemWithSecret_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 organization public key](https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key) endpoint. returns a *string when successful

func (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers

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

func (*ItemDependabotSecretsItemWithSecret_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 (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetSelectedRepositoryIds

func (m *ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetSelectedRepositoryIds() []string

GetSelectedRepositoryIds gets the selected_repository_ids property value. An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. returns a []string when successful

func (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) SetAdditionalData

func (m *ItemDependabotSecretsItemWithSecret_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 (*ItemDependabotSecretsItemWithSecret_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 organization public key](https://docs.github.com/rest/dependabot/secrets#get-an-organization-public-key) endpoint.

func (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) SetKeyId

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

func (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) SetSelectedRepositoryIds

func (m *ItemDependabotSecretsItemWithSecret_namePutRequestBody) SetSelectedRepositoryIds(value []string)

SetSelectedRepositoryIds sets the selected_repository_ids property value. An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.

type ItemDependabotSecretsItemWithSecret_namePutRequestBodyable

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

type ItemDependabotSecretsPublicKeyRequestBuilder

type ItemDependabotSecretsPublicKeyRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemDependabotSecretsPublicKeyRequestBuilder builds and executes requests for operations under \orgs\{org}\dependabot\secrets\public-key

func NewItemDependabotSecretsPublicKeyRequestBuilder

NewItemDependabotSecretsPublicKeyRequestBuilder instantiates a new ItemDependabotSecretsPublicKeyRequestBuilder and sets the default values.

func NewItemDependabotSecretsPublicKeyRequestBuilderInternal

func NewItemDependabotSecretsPublicKeyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsPublicKeyRequestBuilder

NewItemDependabotSecretsPublicKeyRequestBuilderInternal instantiates a new ItemDependabotSecretsPublicKeyRequestBuilder and sets the default values.

func (*ItemDependabotSecretsPublicKeyRequestBuilder) Get

Get gets your public key, which you need to encrypt secrets. You need toencrypt a secret before you can create or update secrets.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a DependabotPublicKeyable when successful API method documentation

func (*ItemDependabotSecretsPublicKeyRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets your public key, which you need to encrypt secrets. You need toencrypt a secret before you can create or update secrets.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemDependabotSecretsPublicKeyRequestBuilder) 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 *ItemDependabotSecretsPublicKeyRequestBuilder when successful

type ItemDependabotSecretsRequestBuilder

ItemDependabotSecretsRequestBuilder builds and executes requests for operations under \orgs\{org}\dependabot\secrets

func NewItemDependabotSecretsRequestBuilder

NewItemDependabotSecretsRequestBuilder instantiates a new ItemDependabotSecretsRequestBuilder and sets the default values.

func NewItemDependabotSecretsRequestBuilderInternal

func NewItemDependabotSecretsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsRequestBuilder

NewItemDependabotSecretsRequestBuilderInternal instantiates a new ItemDependabotSecretsRequestBuilder and sets the default values.

func (*ItemDependabotSecretsRequestBuilder) BySecret_name

BySecret_name gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.dependabot.secrets.item collection returns a *ItemDependabotSecretsWithSecret_nameItemRequestBuilder when successful

func (*ItemDependabotSecretsRequestBuilder) Get

Get lists all secrets available in an organization without revealing theirencrypted values.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a ItemDependabotSecretsGetResponseable when successful API method documentation

func (*ItemDependabotSecretsRequestBuilder) PublicKey

PublicKey the publicKey property returns a *ItemDependabotSecretsPublicKeyRequestBuilder when successful

func (*ItemDependabotSecretsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all secrets available in an organization without revealing theirencrypted values.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemDependabotSecretsRequestBuilder) 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 *ItemDependabotSecretsRequestBuilder when successful

type ItemDependabotSecretsRequestBuilderGetQueryParameters

type ItemDependabotSecretsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemDependabotSecretsRequestBuilderGetQueryParameters lists all secrets available in an organization without revealing theirencrypted values.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.

type ItemDependabotSecretsResponse

type ItemDependabotSecretsResponse struct {
	ItemDependabotSecretsGetResponse
}

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

func NewItemDependabotSecretsResponse

func NewItemDependabotSecretsResponse() *ItemDependabotSecretsResponse

NewItemDependabotSecretsResponse instantiates a new ItemDependabotSecretsResponse and sets the default values.

type ItemDependabotSecretsResponseable

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

type ItemDependabotSecretsWithSecret_nameItemRequestBuilder

type ItemDependabotSecretsWithSecret_nameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemDependabotSecretsWithSecret_nameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\dependabot\secrets\{secret_name}

func NewItemDependabotSecretsWithSecret_nameItemRequestBuilder

func NewItemDependabotSecretsWithSecret_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsWithSecret_nameItemRequestBuilder

NewItemDependabotSecretsWithSecret_nameItemRequestBuilder instantiates a new ItemDependabotSecretsWithSecret_nameItemRequestBuilder and sets the default values.

func NewItemDependabotSecretsWithSecret_nameItemRequestBuilderInternal

func NewItemDependabotSecretsWithSecret_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsWithSecret_nameItemRequestBuilder

NewItemDependabotSecretsWithSecret_nameItemRequestBuilderInternal instantiates a new ItemDependabotSecretsWithSecret_nameItemRequestBuilder and sets the default values.

func (*ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Delete

Delete deletes a secret in an organization using the secret name.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Get

Get gets a single organization secret without revealing its encrypted value.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a OrganizationDependabotSecretable when successful API method documentation

func (*ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Put

Put creates or updates an organization 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/rest/guides/encrypting-secrets-for-the-rest-api)."OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a EmptyObjectable when successful API method documentation

func (*ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Repositories

Repositories the repositories property returns a *ItemDependabotSecretsItemRepositoriesRequestBuilder when successful

func (*ItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a secret in an organization using the secret name.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a single organization secret without revealing its encrypted value.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation creates or updates an organization 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/rest/guides/encrypting-secrets-for-the-rest-api)."OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemDependabotSecretsWithSecret_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 *ItemDependabotSecretsWithSecret_nameItemRequestBuilder when successful

type ItemDockerConflictsRequestBuilder

ItemDockerConflictsRequestBuilder builds and executes requests for operations under \orgs\{org}\docker\conflicts

func NewItemDockerConflictsRequestBuilder

NewItemDockerConflictsRequestBuilder instantiates a new ItemDockerConflictsRequestBuilder and sets the default values.

func NewItemDockerConflictsRequestBuilderInternal

func NewItemDockerConflictsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDockerConflictsRequestBuilder

NewItemDockerConflictsRequestBuilderInternal instantiates a new ItemDockerConflictsRequestBuilder and sets the default values.

func (*ItemDockerConflictsRequestBuilder) Get

Get lists all packages that are in a specific organization, are readable by the requesting user, and that encountered a conflict during a Docker migration.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. returns a []PackageEscapedable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code API method documentation

func (*ItemDockerConflictsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all packages that are in a specific organization, are readable by the requesting user, and that encountered a conflict during a Docker migration.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemDockerConflictsRequestBuilder) 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 *ItemDockerConflictsRequestBuilder when successful

type ItemDockerRequestBuilder

ItemDockerRequestBuilder builds and executes requests for operations under \orgs\{org}\docker

func NewItemDockerRequestBuilder

NewItemDockerRequestBuilder instantiates a new ItemDockerRequestBuilder and sets the default values.

func NewItemDockerRequestBuilderInternal

func NewItemDockerRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDockerRequestBuilder

NewItemDockerRequestBuilderInternal instantiates a new ItemDockerRequestBuilder and sets the default values.

func (*ItemDockerRequestBuilder) Conflicts

Conflicts the conflicts property returns a *ItemDockerConflictsRequestBuilder when successful

type ItemEventsRequestBuilder

ItemEventsRequestBuilder builds and executes requests for operations under \orgs\{org}\events

func NewItemEventsRequestBuilder

NewItemEventsRequestBuilder instantiates a new ItemEventsRequestBuilder and sets the default values.

func NewItemEventsRequestBuilderInternal

func NewItemEventsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEventsRequestBuilder

NewItemEventsRequestBuilderInternal instantiates a new ItemEventsRequestBuilder and sets the default values.

func (*ItemEventsRequestBuilder) 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 *ItemEventsRequestBuilder when successful

type ItemEventsRequestBuilderGetQueryParameters

type ItemEventsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemEventsRequestBuilderGetQueryParameters list public organization events

type ItemFailed_invitationsRequestBuilder

type ItemFailed_invitationsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemFailed_invitationsRequestBuilder builds and executes requests for operations under \orgs\{org}\failed_invitations

func NewItemFailed_invitationsRequestBuilder

NewItemFailed_invitationsRequestBuilder instantiates a new ItemFailed_invitationsRequestBuilder and sets the default values.

func NewItemFailed_invitationsRequestBuilderInternal

func NewItemFailed_invitationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemFailed_invitationsRequestBuilder

NewItemFailed_invitationsRequestBuilderInternal instantiates a new ItemFailed_invitationsRequestBuilder and sets the default values.

func (*ItemFailed_invitationsRequestBuilder) Get

Get the return hash contains `failed_at` and `failed_reason` fields which represent the time at which the invitation failed and the reason for the failure. returns a []OrganizationInvitationable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemFailed_invitationsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation the return hash contains `failed_at` and `failed_reason` fields which represent the time at which the invitation failed and the reason for the failure. returns a *RequestInformation when successful

func (*ItemFailed_invitationsRequestBuilder) 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 *ItemFailed_invitationsRequestBuilder when successful

type ItemFailed_invitationsRequestBuilderGetQueryParameters

type ItemFailed_invitationsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemFailed_invitationsRequestBuilderGetQueryParameters the return hash contains `failed_at` and `failed_reason` fields which represent the time at which the invitation failed and the reason for the failure.

type ItemHooksItemConfigPatchRequestBody

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

func NewItemHooksItemConfigPatchRequestBody

func NewItemHooksItemConfigPatchRequestBody() *ItemHooksItemConfigPatchRequestBody

NewItemHooksItemConfigPatchRequestBody instantiates a new ItemHooksItemConfigPatchRequestBody and sets the default values.

func (*ItemHooksItemConfigPatchRequestBody) GetAdditionalData

func (m *ItemHooksItemConfigPatchRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemHooksItemConfigPatchRequestBody) GetContentType

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

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

func (*ItemHooksItemConfigPatchRequestBody) GetInsecureSsl

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

func (*ItemHooksItemConfigPatchRequestBody) 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/webhooks/event-payloads/#delivery-headers). returns a *string when successful

func (*ItemHooksItemConfigPatchRequestBody) GetUrl

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

func (*ItemHooksItemConfigPatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemHooksItemConfigPatchRequestBody) SetAdditionalData

func (m *ItemHooksItemConfigPatchRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemHooksItemConfigPatchRequestBody) SetContentType

func (m *ItemHooksItemConfigPatchRequestBody) 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 (*ItemHooksItemConfigPatchRequestBody) SetInsecureSsl

SetInsecureSsl sets the insecure_ssl property value. The insecure_ssl property

func (*ItemHooksItemConfigPatchRequestBody) SetSecret

func (m *ItemHooksItemConfigPatchRequestBody) 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/webhooks/event-payloads/#delivery-headers).

func (*ItemHooksItemConfigPatchRequestBody) SetUrl

func (m *ItemHooksItemConfigPatchRequestBody) SetUrl(value *string)

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

type ItemHooksItemConfigRequestBuilder

ItemHooksItemConfigRequestBuilder builds and executes requests for operations under \orgs\{org}\hooks\{hook_id}\config

func NewItemHooksItemConfigRequestBuilder

NewItemHooksItemConfigRequestBuilder instantiates a new ItemHooksItemConfigRequestBuilder and sets the default values.

func NewItemHooksItemConfigRequestBuilderInternal

func NewItemHooksItemConfigRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksItemConfigRequestBuilder

NewItemHooksItemConfigRequestBuilderInternal instantiates a new ItemHooksItemConfigRequestBuilder and sets the default values.

func (*ItemHooksItemConfigRequestBuilder) Get

Get returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use "[Get an organization webhook ](/rest/orgs/webhooks#get-an-organization-webhook)."You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a WebhookConfigable when successful API method documentation

func (*ItemHooksItemConfigRequestBuilder) Patch

Patch updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use "[Update an organization webhook ](/rest/orgs/webhooks#update-an-organization-webhook)."You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a WebhookConfigable when successful API method documentation

func (*ItemHooksItemConfigRequestBuilder) ToGetRequestInformation

ToGetRequestInformation returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use "[Get an organization webhook ](/rest/orgs/webhooks#get-an-organization-webhook)."You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a *RequestInformation when successful

func (*ItemHooksItemConfigRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use "[Update an organization webhook ](/rest/orgs/webhooks#update-an-organization-webhook)."You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a *RequestInformation when successful

func (*ItemHooksItemConfigRequestBuilder) 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 *ItemHooksItemConfigRequestBuilder when successful

type ItemHooksItemDeliveriesItemAttemptsPostResponse

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

func NewItemHooksItemDeliveriesItemAttemptsPostResponse

func NewItemHooksItemDeliveriesItemAttemptsPostResponse() *ItemHooksItemDeliveriesItemAttemptsPostResponse

NewItemHooksItemDeliveriesItemAttemptsPostResponse instantiates a new ItemHooksItemDeliveriesItemAttemptsPostResponse and sets the default values.

func (*ItemHooksItemDeliveriesItemAttemptsPostResponse) GetAdditionalData

func (m *ItemHooksItemDeliveriesItemAttemptsPostResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemHooksItemDeliveriesItemAttemptsPostResponse) GetFieldDeserializers

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

func (*ItemHooksItemDeliveriesItemAttemptsPostResponse) Serialize

Serialize serializes information the current object

func (*ItemHooksItemDeliveriesItemAttemptsPostResponse) SetAdditionalData

func (m *ItemHooksItemDeliveriesItemAttemptsPostResponse) SetAdditionalData(value map[string]any)

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

type ItemHooksItemDeliveriesItemAttemptsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemHooksItemDeliveriesItemAttemptsRequestBuilder builds and executes requests for operations under \orgs\{org}\hooks\{hook_id}\deliveries\{delivery_id}\attempts

func NewItemHooksItemDeliveriesItemAttemptsRequestBuilder

NewItemHooksItemDeliveriesItemAttemptsRequestBuilder instantiates a new ItemHooksItemDeliveriesItemAttemptsRequestBuilder and sets the default values.

func NewItemHooksItemDeliveriesItemAttemptsRequestBuilderInternal

func NewItemHooksItemDeliveriesItemAttemptsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksItemDeliveriesItemAttemptsRequestBuilder

NewItemHooksItemDeliveriesItemAttemptsRequestBuilderInternal instantiates a new ItemHooksItemDeliveriesItemAttemptsRequestBuilder and sets the default values.

func (*ItemHooksItemDeliveriesItemAttemptsRequestBuilder) Post

Post redeliver a delivery for a webhook configured in an organization.You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a ItemHooksItemDeliveriesItemAttemptsPostResponseable 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 (*ItemHooksItemDeliveriesItemAttemptsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation redeliver a delivery for a webhook configured in an organization.You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a *RequestInformation when successful

func (*ItemHooksItemDeliveriesItemAttemptsRequestBuilder) 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 *ItemHooksItemDeliveriesItemAttemptsRequestBuilder when successful

type ItemHooksItemDeliveriesItemAttemptsResponse

type ItemHooksItemDeliveriesItemAttemptsResponse struct {
	ItemHooksItemDeliveriesItemAttemptsPostResponse
}

ItemHooksItemDeliveriesItemAttemptsResponse Deprecated: This class is obsolete. Use attemptsPostResponse instead.

func NewItemHooksItemDeliveriesItemAttemptsResponse

func NewItemHooksItemDeliveriesItemAttemptsResponse() *ItemHooksItemDeliveriesItemAttemptsResponse

NewItemHooksItemDeliveriesItemAttemptsResponse instantiates a new ItemHooksItemDeliveriesItemAttemptsResponse and sets the default values.

type ItemHooksItemDeliveriesItemAttemptsResponseable

ItemHooksItemDeliveriesItemAttemptsResponseable Deprecated: This class is obsolete. Use attemptsPostResponse instead.

type ItemHooksItemDeliveriesRequestBuilder

type ItemHooksItemDeliveriesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemHooksItemDeliveriesRequestBuilder builds and executes requests for operations under \orgs\{org}\hooks\{hook_id}\deliveries

func NewItemHooksItemDeliveriesRequestBuilder

NewItemHooksItemDeliveriesRequestBuilder instantiates a new ItemHooksItemDeliveriesRequestBuilder and sets the default values.

func NewItemHooksItemDeliveriesRequestBuilderInternal

func NewItemHooksItemDeliveriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksItemDeliveriesRequestBuilder

NewItemHooksItemDeliveriesRequestBuilderInternal instantiates a new ItemHooksItemDeliveriesRequestBuilder and sets the default values.

func (*ItemHooksItemDeliveriesRequestBuilder) ByDelivery_id

ByDelivery_id gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.hooks.item.deliveries.item collection returns a *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder when successful

func (*ItemHooksItemDeliveriesRequestBuilder) Get

Get returns a list of webhook deliveries for a webhook configured in an organization.You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. 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 (*ItemHooksItemDeliveriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation returns a list of webhook deliveries for a webhook configured in an organization.You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a *RequestInformation when successful

func (*ItemHooksItemDeliveriesRequestBuilder) 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 *ItemHooksItemDeliveriesRequestBuilder when successful

type ItemHooksItemDeliveriesRequestBuilderGetQueryParameters

type ItemHooksItemDeliveriesRequestBuilderGetQueryParameters 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/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page   *int32 `uriparametername:"per_page"`
	Redelivery *bool  `uriparametername:"redelivery"`
}

ItemHooksItemDeliveriesRequestBuilderGetQueryParameters returns a list of webhook deliveries for a webhook configured in an organization.You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.

type ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder

type ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\hooks\{hook_id}\deliveries\{delivery_id}

func NewItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder

func NewItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder

NewItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder instantiates a new ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder and sets the default values.

func NewItemHooksItemDeliveriesWithDelivery_ItemRequestBuilderInternal

func NewItemHooksItemDeliveriesWithDelivery_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder

NewItemHooksItemDeliveriesWithDelivery_ItemRequestBuilderInternal instantiates a new ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder and sets the default values.

func (*ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) Attempts

Attempts the attempts property returns a *ItemHooksItemDeliveriesItemAttemptsRequestBuilder when successful

func (*ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) Get

Get returns a delivery for a webhook configured in an organization.You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. 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 (*ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation returns a delivery for a webhook configured in an organization.You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a *RequestInformation when successful

func (*ItemHooksItemDeliveriesWithDelivery_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 *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder when successful

type ItemHooksItemPingsRequestBuilder

ItemHooksItemPingsRequestBuilder builds and executes requests for operations under \orgs\{org}\hooks\{hook_id}\pings

func NewItemHooksItemPingsRequestBuilder

NewItemHooksItemPingsRequestBuilder instantiates a new ItemHooksItemPingsRequestBuilder and sets the default values.

func NewItemHooksItemPingsRequestBuilderInternal

func NewItemHooksItemPingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksItemPingsRequestBuilder

NewItemHooksItemPingsRequestBuilderInternal instantiates a new ItemHooksItemPingsRequestBuilder and sets the default values.

func (*ItemHooksItemPingsRequestBuilder) Post

Post this will trigger a [ping event](https://docs.github.com/webhooks/#ping-event)to be sent to the hook.You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemHooksItemPingsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation this will trigger a [ping event](https://docs.github.com/webhooks/#ping-event)to be sent to the hook.You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a *RequestInformation when successful

func (*ItemHooksItemPingsRequestBuilder) 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 *ItemHooksItemPingsRequestBuilder when successful

type ItemHooksItemWithHook_PatchRequestBody

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

func NewItemHooksItemWithHook_PatchRequestBody

func NewItemHooksItemWithHook_PatchRequestBody() *ItemHooksItemWithHook_PatchRequestBody

NewItemHooksItemWithHook_PatchRequestBody instantiates a new ItemHooksItemWithHook_PatchRequestBody and sets the default values.

func (*ItemHooksItemWithHook_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 (*ItemHooksItemWithHook_PatchRequestBody) GetAdditionalData

func (m *ItemHooksItemWithHook_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 (*ItemHooksItemWithHook_PatchRequestBody) GetConfig

GetConfig gets the config property value. Key/value pairs to provide settings for this webhook. returns a ItemHooksItemWithHook_PatchRequestBody_configable when successful

func (*ItemHooksItemWithHook_PatchRequestBody) GetEvents

GetEvents gets the events property value. Determines what [events](https://docs.github.com/webhooks/event-payloads) the hook is triggered for. returns a []string when successful

func (*ItemHooksItemWithHook_PatchRequestBody) GetFieldDeserializers

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

func (*ItemHooksItemWithHook_PatchRequestBody) GetName

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

func (*ItemHooksItemWithHook_PatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemHooksItemWithHook_PatchRequestBody) SetActive

func (m *ItemHooksItemWithHook_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 (*ItemHooksItemWithHook_PatchRequestBody) SetAdditionalData

func (m *ItemHooksItemWithHook_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 (*ItemHooksItemWithHook_PatchRequestBody) SetConfig

SetConfig sets the config property value. Key/value pairs to provide settings for this webhook.

func (*ItemHooksItemWithHook_PatchRequestBody) SetEvents

func (m *ItemHooksItemWithHook_PatchRequestBody) SetEvents(value []string)

SetEvents sets the events property value. Determines what [events](https://docs.github.com/webhooks/event-payloads) the hook is triggered for.

func (*ItemHooksItemWithHook_PatchRequestBody) SetName

SetName sets the name property value. The name property

type ItemHooksItemWithHook_PatchRequestBody_config

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

ItemHooksItemWithHook_PatchRequestBody_config key/value pairs to provide settings for this webhook.

func NewItemHooksItemWithHook_PatchRequestBody_config

func NewItemHooksItemWithHook_PatchRequestBody_config() *ItemHooksItemWithHook_PatchRequestBody_config

NewItemHooksItemWithHook_PatchRequestBody_config instantiates a new ItemHooksItemWithHook_PatchRequestBody_config and sets the default values.

func (*ItemHooksItemWithHook_PatchRequestBody_config) GetAdditionalData

func (m *ItemHooksItemWithHook_PatchRequestBody_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 (*ItemHooksItemWithHook_PatchRequestBody_config) GetContentType

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 (*ItemHooksItemWithHook_PatchRequestBody_config) GetFieldDeserializers

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

func (*ItemHooksItemWithHook_PatchRequestBody_config) GetInsecureSsl

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

func (*ItemHooksItemWithHook_PatchRequestBody_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/webhooks/event-payloads/#delivery-headers). returns a *string when successful

func (*ItemHooksItemWithHook_PatchRequestBody_config) GetUrl

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

func (*ItemHooksItemWithHook_PatchRequestBody_config) Serialize

Serialize serializes information the current object

func (*ItemHooksItemWithHook_PatchRequestBody_config) SetAdditionalData

func (m *ItemHooksItemWithHook_PatchRequestBody_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 (*ItemHooksItemWithHook_PatchRequestBody_config) SetContentType

func (m *ItemHooksItemWithHook_PatchRequestBody_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 (*ItemHooksItemWithHook_PatchRequestBody_config) SetInsecureSsl

SetInsecureSsl sets the insecure_ssl property value. The insecure_ssl property

func (*ItemHooksItemWithHook_PatchRequestBody_config) SetSecret

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/webhooks/event-payloads/#delivery-headers).

func (*ItemHooksItemWithHook_PatchRequestBody_config) SetUrl

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

type ItemHooksPostRequestBody

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

func NewItemHooksPostRequestBody

func NewItemHooksPostRequestBody() *ItemHooksPostRequestBody

NewItemHooksPostRequestBody instantiates a new ItemHooksPostRequestBody and sets the default values.

func (*ItemHooksPostRequestBody) GetActive

func (m *ItemHooksPostRequestBody) 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 (*ItemHooksPostRequestBody) GetAdditionalData

func (m *ItemHooksPostRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemHooksPostRequestBody) GetConfig

GetConfig gets the config property value. Key/value pairs to provide settings for this webhook. returns a ItemHooksPostRequestBody_configable when successful

func (*ItemHooksPostRequestBody) GetEvents

func (m *ItemHooksPostRequestBody) GetEvents() []string

GetEvents gets the events property value. Determines what [events](https://docs.github.com/webhooks/event-payloads) the hook is triggered for. Set to `["*"]` to receive all possible events. returns a []string when successful

func (*ItemHooksPostRequestBody) GetFieldDeserializers

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

func (*ItemHooksPostRequestBody) GetName

func (m *ItemHooksPostRequestBody) GetName() *string

GetName gets the name property value. Must be passed as "web". returns a *string when successful

func (*ItemHooksPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemHooksPostRequestBody) SetActive

func (m *ItemHooksPostRequestBody) 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 (*ItemHooksPostRequestBody) SetAdditionalData

func (m *ItemHooksPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemHooksPostRequestBody) SetConfig

SetConfig sets the config property value. Key/value pairs to provide settings for this webhook.

func (*ItemHooksPostRequestBody) SetEvents

func (m *ItemHooksPostRequestBody) SetEvents(value []string)

SetEvents sets the events property value. Determines what [events](https://docs.github.com/webhooks/event-payloads) the hook is triggered for. Set to `["*"]` to receive all possible events.

func (*ItemHooksPostRequestBody) SetName

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

SetName sets the name property value. Must be passed as "web".

type ItemHooksPostRequestBody_config

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

ItemHooksPostRequestBody_config key/value pairs to provide settings for this webhook.

func NewItemHooksPostRequestBody_config

func NewItemHooksPostRequestBody_config() *ItemHooksPostRequestBody_config

NewItemHooksPostRequestBody_config instantiates a new ItemHooksPostRequestBody_config and sets the default values.

func (*ItemHooksPostRequestBody_config) GetAdditionalData

func (m *ItemHooksPostRequestBody_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 (*ItemHooksPostRequestBody_config) GetContentType

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

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

func (*ItemHooksPostRequestBody_config) GetInsecureSsl

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

func (*ItemHooksPostRequestBody_config) GetPassword

func (m *ItemHooksPostRequestBody_config) GetPassword() *string

GetPassword gets the password property value. The password property returns a *string when successful

func (*ItemHooksPostRequestBody_config) GetSecret

func (m *ItemHooksPostRequestBody_config) GetSecret() *string

GetSecret gets the secret property value. If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/webhooks/event-payloads/#delivery-headers). returns a *string when successful

func (*ItemHooksPostRequestBody_config) GetUrl

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

func (*ItemHooksPostRequestBody_config) GetUsername

func (m *ItemHooksPostRequestBody_config) GetUsername() *string

GetUsername gets the username property value. The username property returns a *string when successful

func (*ItemHooksPostRequestBody_config) Serialize

Serialize serializes information the current object

func (*ItemHooksPostRequestBody_config) SetAdditionalData

func (m *ItemHooksPostRequestBody_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 (*ItemHooksPostRequestBody_config) SetContentType

func (m *ItemHooksPostRequestBody_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 (*ItemHooksPostRequestBody_config) SetInsecureSsl

SetInsecureSsl sets the insecure_ssl property value. The insecure_ssl property

func (*ItemHooksPostRequestBody_config) SetPassword

func (m *ItemHooksPostRequestBody_config) SetPassword(value *string)

SetPassword sets the password property value. The password property

func (*ItemHooksPostRequestBody_config) SetSecret

func (m *ItemHooksPostRequestBody_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/webhooks/event-payloads/#delivery-headers).

func (*ItemHooksPostRequestBody_config) SetUrl

func (m *ItemHooksPostRequestBody_config) SetUrl(value *string)

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

func (*ItemHooksPostRequestBody_config) SetUsername

func (m *ItemHooksPostRequestBody_config) SetUsername(value *string)

SetUsername sets the username property value. The username property

type ItemHooksRequestBuilder

ItemHooksRequestBuilder builds and executes requests for operations under \orgs\{org}\hooks

func NewItemHooksRequestBuilder

NewItemHooksRequestBuilder instantiates a new ItemHooksRequestBuilder and sets the default values.

func NewItemHooksRequestBuilderInternal

func NewItemHooksRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksRequestBuilder

NewItemHooksRequestBuilderInternal instantiates a new ItemHooksRequestBuilder and sets the default values.

func (*ItemHooksRequestBuilder) ByHook_id

ByHook_id gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.hooks.item collection returns a *ItemHooksWithHook_ItemRequestBuilder when successful

func (*ItemHooksRequestBuilder) Get

Get you must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a []OrgHookable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemHooksRequestBuilder) Post

Post create a hook that posts payloads in JSON format.You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, oredit webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a OrgHookable 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 (*ItemHooksRequestBuilder) ToGetRequestInformation

ToGetRequestInformation you must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a *RequestInformation when successful

func (*ItemHooksRequestBuilder) ToPostRequestInformation

ToPostRequestInformation create a hook that posts payloads in JSON format.You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, oredit webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a *RequestInformation when successful

func (*ItemHooksRequestBuilder) 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 *ItemHooksRequestBuilder when successful

type ItemHooksRequestBuilderGetQueryParameters

type ItemHooksRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemHooksRequestBuilderGetQueryParameters you must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.

type ItemHooksWithHook_ItemRequestBuilder

type ItemHooksWithHook_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemHooksWithHook_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\hooks\{hook_id}

func NewItemHooksWithHook_ItemRequestBuilder

NewItemHooksWithHook_ItemRequestBuilder instantiates a new ItemHooksWithHook_ItemRequestBuilder and sets the default values.

func NewItemHooksWithHook_ItemRequestBuilderInternal

func NewItemHooksWithHook_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksWithHook_ItemRequestBuilder

NewItemHooksWithHook_ItemRequestBuilderInternal instantiates a new ItemHooksWithHook_ItemRequestBuilder and sets the default values.

func (*ItemHooksWithHook_ItemRequestBuilder) Config

Config the config property returns a *ItemHooksItemConfigRequestBuilder when successful

func (*ItemHooksWithHook_ItemRequestBuilder) Delete

Delete you must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemHooksWithHook_ItemRequestBuilder) Deliveries

Deliveries the deliveries property returns a *ItemHooksItemDeliveriesRequestBuilder when successful

func (*ItemHooksWithHook_ItemRequestBuilder) Get

Get returns a webhook configured in an organization. To get only the webhook`config` properties, see "[Get a webhook configuration for an organization](/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization).You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a OrgHookable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemHooksWithHook_ItemRequestBuilder) Patch

Patch updates a webhook configured in an organization. When you update a webhook,the `secret` will be overwritten. If you previously had a `secret` set, you mustprovide the same `secret` or set a new `secret` or the secret will be removed. Ifyou are only updating individual webhook `config` properties, use "[Update a webhookconfiguration for an organization](/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization)".You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a OrgHookable 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 (*ItemHooksWithHook_ItemRequestBuilder) Pings

Pings the pings property returns a *ItemHooksItemPingsRequestBuilder when successful

func (*ItemHooksWithHook_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation you must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a *RequestInformation when successful

func (*ItemHooksWithHook_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation returns a webhook configured in an organization. To get only the webhook`config` properties, see "[Get a webhook configuration for an organization](/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization).You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a *RequestInformation when successful

func (*ItemHooksWithHook_ItemRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation updates a webhook configured in an organization. When you update a webhook,the `secret` will be overwritten. If you previously had a `secret` set, you mustprovide the same `secret` or set a new `secret` or the secret will be removed. Ifyou are only updating individual webhook `config` properties, use "[Update a webhookconfiguration for an organization](/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization)".You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a *RequestInformation when successful

func (*ItemHooksWithHook_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 *ItemHooksWithHook_ItemRequestBuilder when successful

type ItemInstallationRequestBuilder

ItemInstallationRequestBuilder builds and executes requests for operations under \orgs\{org}\installation

func NewItemInstallationRequestBuilder

NewItemInstallationRequestBuilder instantiates a new ItemInstallationRequestBuilder and sets the default values.

func NewItemInstallationRequestBuilderInternal

func NewItemInstallationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInstallationRequestBuilder

NewItemInstallationRequestBuilderInternal instantiates a new ItemInstallationRequestBuilder and sets the default values.

func (*ItemInstallationRequestBuilder) ToGetRequestInformation

ToGetRequestInformation enables an authenticated GitHub App to find the organization's installation information.You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. returns a *RequestInformation when successful

func (*ItemInstallationRequestBuilder) 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 *ItemInstallationRequestBuilder when successful

type ItemInstallationsGetResponse

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

func NewItemInstallationsGetResponse

func NewItemInstallationsGetResponse() *ItemInstallationsGetResponse

NewItemInstallationsGetResponse instantiates a new ItemInstallationsGetResponse and sets the default values.

func (*ItemInstallationsGetResponse) GetAdditionalData

func (m *ItemInstallationsGetResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemInstallationsGetResponse) GetFieldDeserializers

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

func (*ItemInstallationsGetResponse) GetInstallations

GetInstallations gets the installations property value. The installations property returns a []Installationable when successful

func (*ItemInstallationsGetResponse) GetTotalCount

func (m *ItemInstallationsGetResponse) GetTotalCount() *int32

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

func (*ItemInstallationsGetResponse) Serialize

Serialize serializes information the current object

func (*ItemInstallationsGetResponse) SetAdditionalData

func (m *ItemInstallationsGetResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemInstallationsGetResponse) SetInstallations

SetInstallations sets the installations property value. The installations property

func (*ItemInstallationsGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemInstallationsRequestBuilder

ItemInstallationsRequestBuilder builds and executes requests for operations under \orgs\{org}\installations

func NewItemInstallationsRequestBuilder

NewItemInstallationsRequestBuilder instantiates a new ItemInstallationsRequestBuilder and sets the default values.

func NewItemInstallationsRequestBuilderInternal

func NewItemInstallationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInstallationsRequestBuilder

NewItemInstallationsRequestBuilderInternal instantiates a new ItemInstallationsRequestBuilder and sets the default values.

func (*ItemInstallationsRequestBuilder) Get

Get lists all GitHub Apps in an organization. The installation count includesall GitHub Apps installed on repositories in the organization.The authenticated user must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:read` scope to use this endpoint. returns a ItemInstallationsGetResponseable when successful API method documentation

func (*ItemInstallationsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all GitHub Apps in an organization. The installation count includesall GitHub Apps installed on repositories in the organization.The authenticated user must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:read` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemInstallationsRequestBuilder) 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 *ItemInstallationsRequestBuilder when successful

type ItemInstallationsRequestBuilderGetQueryParameters

type ItemInstallationsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemInstallationsRequestBuilderGetQueryParameters lists all GitHub Apps in an organization. The installation count includesall GitHub Apps installed on repositories in the organization.The authenticated user must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:read` scope to use this endpoint.

type ItemInstallationsResponse

type ItemInstallationsResponse struct {
	ItemInstallationsGetResponse
}

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

func NewItemInstallationsResponse

func NewItemInstallationsResponse() *ItemInstallationsResponse

NewItemInstallationsResponse instantiates a new ItemInstallationsResponse and sets the default values.

type ItemInstallationsResponseable

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

type ItemInteractionLimitsGetResponseMember1

type ItemInteractionLimitsGetResponseMember1 struct {
}

ItemInteractionLimitsGetResponseMember1

func NewItemInteractionLimitsGetResponseMember1

func NewItemInteractionLimitsGetResponseMember1() *ItemInteractionLimitsGetResponseMember1

NewItemInteractionLimitsGetResponseMember1 instantiates a new ItemInteractionLimitsGetResponseMember1 and sets the default values.

func (*ItemInteractionLimitsGetResponseMember1) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemInteractionLimitsGetResponseMember1) Serialize

Serialize serializes information the current object

type ItemInteractionLimitsGetResponseMember1able

type ItemInteractionLimitsGetResponseMember1able interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
}

ItemInteractionLimitsGetResponseMember1able

type ItemInteractionLimitsRequestBuilder

ItemInteractionLimitsRequestBuilder builds and executes requests for operations under \orgs\{org}\interaction-limits

func NewItemInteractionLimitsRequestBuilder

NewItemInteractionLimitsRequestBuilder instantiates a new ItemInteractionLimitsRequestBuilder and sets the default values.

func NewItemInteractionLimitsRequestBuilderInternal

func NewItemInteractionLimitsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInteractionLimitsRequestBuilder

NewItemInteractionLimitsRequestBuilderInternal instantiates a new ItemInteractionLimitsRequestBuilder and sets the default values.

func (*ItemInteractionLimitsRequestBuilder) Delete

Delete removes all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions. API method documentation

func (*ItemInteractionLimitsRequestBuilder) Get

Get shows which type of GitHub user can interact with this organization and when the restriction expires. If there is no restrictions, you will see an empty response. returns a InteractionLimitResponseable when successful API method documentation

func (*ItemInteractionLimitsRequestBuilder) Put

Put temporarily restricts interactions to a certain type of GitHub user in any public repository in the given organization. You must be an organization owner to set these restrictions. Setting the interaction limit at the organization level will overwrite any interaction limits that are set for individual repositories owned by the organization. returns a InteractionLimitResponseable when successful returns a ValidationError error when the service returns a 422 status code API method documentation

func (*ItemInteractionLimitsRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removes all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions. returns a *RequestInformation when successful

func (*ItemInteractionLimitsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation shows which type of GitHub user can interact with this organization and when the restriction expires. If there is no restrictions, you will see an empty response. returns a *RequestInformation when successful

func (*ItemInteractionLimitsRequestBuilder) ToPutRequestInformation

ToPutRequestInformation temporarily restricts interactions to a certain type of GitHub user in any public repository in the given organization. You must be an organization owner to set these restrictions. Setting the interaction limit at the organization level will overwrite any interaction limits that are set for individual repositories owned by the organization. returns a *RequestInformation when successful

func (*ItemInteractionLimitsRequestBuilder) 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 *ItemInteractionLimitsRequestBuilder when successful

type ItemInvitationsItemTeamsRequestBuilder

type ItemInvitationsItemTeamsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemInvitationsItemTeamsRequestBuilder builds and executes requests for operations under \orgs\{org}\invitations\{invitation_id}\teams

func NewItemInvitationsItemTeamsRequestBuilder

NewItemInvitationsItemTeamsRequestBuilder instantiates a new ItemInvitationsItemTeamsRequestBuilder and sets the default values.

func NewItemInvitationsItemTeamsRequestBuilderInternal

func NewItemInvitationsItemTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInvitationsItemTeamsRequestBuilder

NewItemInvitationsItemTeamsRequestBuilderInternal instantiates a new ItemInvitationsItemTeamsRequestBuilder and sets the default values.

func (*ItemInvitationsItemTeamsRequestBuilder) Get

Get list all teams associated with an invitation. In order to see invitations in an organization, the authenticated user must be an organization owner. returns a []Teamable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemInvitationsItemTeamsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all teams associated with an invitation. In order to see invitations in an organization, the authenticated user must be an organization owner. returns a *RequestInformation when successful

func (*ItemInvitationsItemTeamsRequestBuilder) 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 *ItemInvitationsItemTeamsRequestBuilder when successful

type ItemInvitationsItemTeamsRequestBuilderGetQueryParameters

type ItemInvitationsItemTeamsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemInvitationsItemTeamsRequestBuilderGetQueryParameters list all teams associated with an invitation. In order to see invitations in an organization, the authenticated user must be an organization owner.

type ItemInvitationsPostRequestBody

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

func NewItemInvitationsPostRequestBody

func NewItemInvitationsPostRequestBody() *ItemInvitationsPostRequestBody

NewItemInvitationsPostRequestBody instantiates a new ItemInvitationsPostRequestBody and sets the default values.

func (*ItemInvitationsPostRequestBody) GetAdditionalData

func (m *ItemInvitationsPostRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemInvitationsPostRequestBody) GetEmail

func (m *ItemInvitationsPostRequestBody) GetEmail() *string

GetEmail gets the email property value. **Required unless you provide `invitee_id`**. Email address of the person you are inviting, which can be an existing GitHub user. returns a *string when successful

func (*ItemInvitationsPostRequestBody) GetFieldDeserializers

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

func (*ItemInvitationsPostRequestBody) GetInviteeId

func (m *ItemInvitationsPostRequestBody) GetInviteeId() *int32

GetInviteeId gets the invitee_id property value. **Required unless you provide `email`**. GitHub user ID for the person you are inviting. returns a *int32 when successful

func (*ItemInvitationsPostRequestBody) GetTeamIds

func (m *ItemInvitationsPostRequestBody) GetTeamIds() []int32

GetTeamIds gets the team_ids property value. Specify IDs for the teams you want to invite new members to. returns a []int32 when successful

func (*ItemInvitationsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemInvitationsPostRequestBody) SetAdditionalData

func (m *ItemInvitationsPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemInvitationsPostRequestBody) SetEmail

func (m *ItemInvitationsPostRequestBody) SetEmail(value *string)

SetEmail sets the email property value. **Required unless you provide `invitee_id`**. Email address of the person you are inviting, which can be an existing GitHub user.

func (*ItemInvitationsPostRequestBody) SetInviteeId

func (m *ItemInvitationsPostRequestBody) SetInviteeId(value *int32)

SetInviteeId sets the invitee_id property value. **Required unless you provide `email`**. GitHub user ID for the person you are inviting.

func (*ItemInvitationsPostRequestBody) SetTeamIds

func (m *ItemInvitationsPostRequestBody) SetTeamIds(value []int32)

SetTeamIds sets the team_ids property value. Specify IDs for the teams you want to invite new members to.

type ItemInvitationsPostRequestBodyable

type ItemInvitationsPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetEmail() *string
	GetInviteeId() *int32
	GetTeamIds() []int32
	SetEmail(value *string)
	SetInviteeId(value *int32)
	SetTeamIds(value []int32)
}

type ItemInvitationsRequestBuilder

ItemInvitationsRequestBuilder builds and executes requests for operations under \orgs\{org}\invitations

func NewItemInvitationsRequestBuilder

NewItemInvitationsRequestBuilder instantiates a new ItemInvitationsRequestBuilder and sets the default values.

func NewItemInvitationsRequestBuilderInternal

func NewItemInvitationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInvitationsRequestBuilder

NewItemInvitationsRequestBuilderInternal instantiates a new ItemInvitationsRequestBuilder and sets the default values.

func (*ItemInvitationsRequestBuilder) ByInvitation_id

ByInvitation_id gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.invitations.item collection returns a *ItemInvitationsWithInvitation_ItemRequestBuilder when successful

func (*ItemInvitationsRequestBuilder) Get

Get the return hash contains a `role` field which refers to the OrganizationInvitation role and will be one of the following values: `direct_member`, `admin`,`billing_manager`, or `hiring_manager`. If the invitee is not a GitHubmember, the `login` field in the return hash will be `null`. returns a []OrganizationInvitationable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemInvitationsRequestBuilder) Post

Post invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.This endpoint triggers [notifications](https://docs.github.com/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/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/rest/guides/best-practices-for-using-the-rest-api)." returns a OrganizationInvitationable 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 (*ItemInvitationsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation the return hash contains a `role` field which refers to the OrganizationInvitation role and will be one of the following values: `direct_member`, `admin`,`billing_manager`, or `hiring_manager`. If the invitee is not a GitHubmember, the `login` field in the return hash will be `null`. returns a *RequestInformation when successful

func (*ItemInvitationsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.This endpoint triggers [notifications](https://docs.github.com/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/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/rest/guides/best-practices-for-using-the-rest-api)." returns a *RequestInformation when successful

func (*ItemInvitationsRequestBuilder) 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 *ItemInvitationsRequestBuilder when successful

type ItemInvitationsRequestBuilderGetQueryParameters

type ItemInvitationsRequestBuilderGetQueryParameters struct {
	// Filter invitations by their invitation source.
	Invitation_source *i2378633937c404127ad778eb05effbea7eb08f994ef028254c5d6c9a80ce3266.GetInvitation_sourceQueryParameterType `uriparametername:"invitation_source"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// Filter invitations by their member role.
	Role *i2378633937c404127ad778eb05effbea7eb08f994ef028254c5d6c9a80ce3266.GetRoleQueryParameterType `uriparametername:"role"`
}

ItemInvitationsRequestBuilderGetQueryParameters the return hash contains a `role` field which refers to the OrganizationInvitation role and will be one of the following values: `direct_member`, `admin`,`billing_manager`, or `hiring_manager`. If the invitee is not a GitHubmember, the `login` field in the return hash will be `null`.

type ItemInvitationsWithInvitation_ItemRequestBuilder

type ItemInvitationsWithInvitation_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemInvitationsWithInvitation_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\invitations\{invitation_id}

func NewItemInvitationsWithInvitation_ItemRequestBuilder

NewItemInvitationsWithInvitation_ItemRequestBuilder instantiates a new ItemInvitationsWithInvitation_ItemRequestBuilder and sets the default values.

func NewItemInvitationsWithInvitation_ItemRequestBuilderInternal

func NewItemInvitationsWithInvitation_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInvitationsWithInvitation_ItemRequestBuilder

NewItemInvitationsWithInvitation_ItemRequestBuilderInternal instantiates a new ItemInvitationsWithInvitation_ItemRequestBuilder and sets the default values.

func (*ItemInvitationsWithInvitation_ItemRequestBuilder) Delete

Delete cancel an organization invitation. In order to cancel an organization invitation, the authenticated user must be an organization owner.This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). 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 (*ItemInvitationsWithInvitation_ItemRequestBuilder) Teams

Teams the teams property returns a *ItemInvitationsItemTeamsRequestBuilder when successful

func (*ItemInvitationsWithInvitation_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation cancel an organization invitation. In order to cancel an organization invitation, the authenticated user must be an organization owner.This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). returns a *RequestInformation when successful

func (*ItemInvitationsWithInvitation_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 *ItemInvitationsWithInvitation_ItemRequestBuilder when successful

type ItemIssuesRequestBuilder

ItemIssuesRequestBuilder builds and executes requests for operations under \orgs\{org}\issues

func NewItemIssuesRequestBuilder

NewItemIssuesRequestBuilder instantiates a new ItemIssuesRequestBuilder and sets the default values.

func NewItemIssuesRequestBuilderInternal

func NewItemIssuesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemIssuesRequestBuilder

NewItemIssuesRequestBuilderInternal instantiates a new ItemIssuesRequestBuilder and sets the default values.

func (*ItemIssuesRequestBuilder) Get

Get list issues in an organization assigned to the authenticated user.**Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For thisreason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests bythe `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pullrequest id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a []Issueable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemIssuesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list issues in an organization assigned to the authenticated user.**Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For thisreason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests bythe `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pullrequest id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a *RequestInformation when successful

func (*ItemIssuesRequestBuilder) 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 *ItemIssuesRequestBuilder when successful

type ItemIssuesRequestBuilderGetQueryParameters

type ItemIssuesRequestBuilderGetQueryParameters struct {
	// The direction to sort the results by.
	Direction *i5fc0bd3a41c40893d6db047c6304f8cbbf6705145bc486be813627a94bd7e2b3.GetDirectionQueryParameterType `uriparametername:"direction"`
	// Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means issues mentioning you. `subscribed` means issues you're subscribed to updates for. `all` or `repos` means all issues you can see, regardless of participation or creation.
	Filter *i5fc0bd3a41c40893d6db047c6304f8cbbf6705145bc486be813627a94bd7e2b3.GetFilterQueryParameterType `uriparametername:"filter"`
	// A list of comma separated label names. Example: `bug,ui,@high`
	Labels *string `uriparametername:"labels"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
	Since *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"since"`
	// What to sort results by.
	Sort *i5fc0bd3a41c40893d6db047c6304f8cbbf6705145bc486be813627a94bd7e2b3.GetSortQueryParameterType `uriparametername:"sort"`
	// Indicates the state of the issues to return.
	State *i5fc0bd3a41c40893d6db047c6304f8cbbf6705145bc486be813627a94bd7e2b3.GetStateQueryParameterType `uriparametername:"state"`
}

ItemIssuesRequestBuilderGetQueryParameters list issues in an organization assigned to the authenticated user.**Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For thisreason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests bythe `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pullrequest id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.

type ItemItemItemWithEnablementPostRequestBody

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

func NewItemItemItemWithEnablementPostRequestBody

func NewItemItemItemWithEnablementPostRequestBody() *ItemItemItemWithEnablementPostRequestBody

NewItemItemItemWithEnablementPostRequestBody instantiates a new ItemItemItemWithEnablementPostRequestBody and sets the default values.

func (*ItemItemItemWithEnablementPostRequestBody) GetAdditionalData

func (m *ItemItemItemWithEnablementPostRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemItemItemWithEnablementPostRequestBody) GetFieldDeserializers

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

func (*ItemItemItemWithEnablementPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemItemItemWithEnablementPostRequestBody) SetAdditionalData

func (m *ItemItemItemWithEnablementPostRequestBody) SetAdditionalData(value map[string]any)

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

type ItemItemWithEnablementItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemItemWithEnablementItemRequestBuilder builds and executes requests for operations under \orgs\{org}\{security_product}\{enablement}

func NewItemItemWithEnablementItemRequestBuilder

NewItemItemWithEnablementItemRequestBuilder instantiates a new ItemItemWithEnablementItemRequestBuilder and sets the default values.

func NewItemItemWithEnablementItemRequestBuilderInternal

func NewItemItemWithEnablementItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemWithEnablementItemRequestBuilder

NewItemItemWithEnablementItemRequestBuilderInternal instantiates a new ItemItemWithEnablementItemRequestBuilder and sets the default values.

func (*ItemItemWithEnablementItemRequestBuilder) Post

Post enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. API method documentation

func (*ItemItemWithEnablementItemRequestBuilder) ToPostRequestInformation

ToPostRequestInformation enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemItemWithEnablementItemRequestBuilder) 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 *ItemItemWithEnablementItemRequestBuilder when successful

type ItemMembersItemCodespacesGetResponse

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

func NewItemMembersItemCodespacesGetResponse

func NewItemMembersItemCodespacesGetResponse() *ItemMembersItemCodespacesGetResponse

NewItemMembersItemCodespacesGetResponse instantiates a new ItemMembersItemCodespacesGetResponse and sets the default values.

func (*ItemMembersItemCodespacesGetResponse) GetAdditionalData

func (m *ItemMembersItemCodespacesGetResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemMembersItemCodespacesGetResponse) GetCodespaces

GetCodespaces gets the codespaces property value. The codespaces property returns a []Codespaceable when successful

func (*ItemMembersItemCodespacesGetResponse) GetFieldDeserializers

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

func (*ItemMembersItemCodespacesGetResponse) GetTotalCount

func (m *ItemMembersItemCodespacesGetResponse) GetTotalCount() *int32

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

func (*ItemMembersItemCodespacesGetResponse) Serialize

Serialize serializes information the current object

func (*ItemMembersItemCodespacesGetResponse) SetAdditionalData

func (m *ItemMembersItemCodespacesGetResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemMembersItemCodespacesGetResponse) SetCodespaces

SetCodespaces sets the codespaces property value. The codespaces property

func (*ItemMembersItemCodespacesGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemMembersItemCodespacesItemStopRequestBuilder

type ItemMembersItemCodespacesItemStopRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemMembersItemCodespacesItemStopRequestBuilder builds and executes requests for operations under \orgs\{org}\members\{username}\codespaces\{codespace_name}\stop

func NewItemMembersItemCodespacesItemStopRequestBuilder

NewItemMembersItemCodespacesItemStopRequestBuilder instantiates a new ItemMembersItemCodespacesItemStopRequestBuilder and sets the default values.

func NewItemMembersItemCodespacesItemStopRequestBuilderInternal

func NewItemMembersItemCodespacesItemStopRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersItemCodespacesItemStopRequestBuilder

NewItemMembersItemCodespacesItemStopRequestBuilderInternal instantiates a new ItemMembersItemCodespacesItemStopRequestBuilder and sets the default values.

func (*ItemMembersItemCodespacesItemStopRequestBuilder) Post

Post stops a user's codespace.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a Codespaceable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemMembersItemCodespacesItemStopRequestBuilder) ToPostRequestInformation

ToPostRequestInformation stops a user's codespace.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemMembersItemCodespacesItemStopRequestBuilder) 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 *ItemMembersItemCodespacesItemStopRequestBuilder when successful

type ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse

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

func NewItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse

func NewItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse() *ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse

NewItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse instantiates a new ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse and sets the default values.

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

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

func (*ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse) Serialize

Serialize serializes information the current object

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

type ItemMembersItemCodespacesItemWithCodespace_nameResponse struct {
	ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse
}

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

func NewItemMembersItemCodespacesItemWithCodespace_nameResponse

func NewItemMembersItemCodespacesItemWithCodespace_nameResponse() *ItemMembersItemCodespacesItemWithCodespace_nameResponse

NewItemMembersItemCodespacesItemWithCodespace_nameResponse instantiates a new ItemMembersItemCodespacesItemWithCodespace_nameResponse and sets the default values.

type ItemMembersItemCodespacesItemWithCodespace_nameResponseable

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

type ItemMembersItemCodespacesRequestBuilder

type ItemMembersItemCodespacesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemMembersItemCodespacesRequestBuilder builds and executes requests for operations under \orgs\{org}\members\{username}\codespaces

func NewItemMembersItemCodespacesRequestBuilder

NewItemMembersItemCodespacesRequestBuilder instantiates a new ItemMembersItemCodespacesRequestBuilder and sets the default values.

func NewItemMembersItemCodespacesRequestBuilderInternal

func NewItemMembersItemCodespacesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersItemCodespacesRequestBuilder

NewItemMembersItemCodespacesRequestBuilderInternal instantiates a new ItemMembersItemCodespacesRequestBuilder and sets the default values.

func (*ItemMembersItemCodespacesRequestBuilder) ByCodespace_name

ByCodespace_name gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.members.item.codespaces.item collection returns a *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder when successful

func (*ItemMembersItemCodespacesRequestBuilder) Get

Get lists the codespaces that a member of an organization has for repositories in that organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a ItemMembersItemCodespacesGetResponseable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemMembersItemCodespacesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the codespaces that a member of an organization has for repositories in that organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemMembersItemCodespacesRequestBuilder) 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 *ItemMembersItemCodespacesRequestBuilder when successful

type ItemMembersItemCodespacesRequestBuilderGetQueryParameters

type ItemMembersItemCodespacesRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemMembersItemCodespacesRequestBuilderGetQueryParameters lists the codespaces that a member of an organization has for repositories in that organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.

type ItemMembersItemCodespacesResponse

type ItemMembersItemCodespacesResponse struct {
	ItemMembersItemCodespacesGetResponse
}

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

func NewItemMembersItemCodespacesResponse

func NewItemMembersItemCodespacesResponse() *ItemMembersItemCodespacesResponse

NewItemMembersItemCodespacesResponse instantiates a new ItemMembersItemCodespacesResponse and sets the default values.

type ItemMembersItemCodespacesResponseable

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

type ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder

type ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\members\{username}\codespaces\{codespace_name}

func NewItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder

func NewItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder

NewItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder instantiates a new ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder and sets the default values.

func NewItemMembersItemCodespacesWithCodespace_nameItemRequestBuilderInternal

func NewItemMembersItemCodespacesWithCodespace_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder

NewItemMembersItemCodespacesWithCodespace_nameItemRequestBuilderInternal instantiates a new ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder and sets the default values.

func (*ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder) Delete

Delete deletes a user's codespace.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponseable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder) Stop

Stop the stop property returns a *ItemMembersItemCodespacesItemStopRequestBuilder when successful

func (*ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a user's codespace.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemMembersItemCodespacesWithCodespace_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 *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder when successful

type ItemMembersItemCopilotRequestBuilder

type ItemMembersItemCopilotRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemMembersItemCopilotRequestBuilder builds and executes requests for operations under \orgs\{org}\members\{username}\copilot

func NewItemMembersItemCopilotRequestBuilder

NewItemMembersItemCopilotRequestBuilder instantiates a new ItemMembersItemCopilotRequestBuilder and sets the default values.

func NewItemMembersItemCopilotRequestBuilderInternal

func NewItemMembersItemCopilotRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersItemCopilotRequestBuilder

NewItemMembersItemCopilotRequestBuilderInternal instantiates a new ItemMembersItemCopilotRequestBuilder and sets the default values.

func (*ItemMembersItemCopilotRequestBuilder) Get

Get **Note**: This endpoint is in beta and is subject to change.Gets the GitHub Copilot seat assignment details for a member of an organization who currently has access to GitHub Copilot.Only organization owners can view Copilot seat assignment details for members of their organization.OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. returns a CopilotSeatDetailsable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemMembersItemCopilotRequestBuilder) ToGetRequestInformation

ToGetRequestInformation **Note**: This endpoint is in beta and is subject to change.Gets the GitHub Copilot seat assignment details for a member of an organization who currently has access to GitHub Copilot.Only organization owners can view Copilot seat assignment details for members of their organization.OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:org` scopes to use this endpoint. returns a *RequestInformation when successful

func (*ItemMembersItemCopilotRequestBuilder) 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 *ItemMembersItemCopilotRequestBuilder when successful

type ItemMembersRequestBuilder

ItemMembersRequestBuilder builds and executes requests for operations under \orgs\{org}\members

func NewItemMembersRequestBuilder

NewItemMembersRequestBuilder instantiates a new ItemMembersRequestBuilder and sets the default values.

func NewItemMembersRequestBuilderInternal

func NewItemMembersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersRequestBuilder

NewItemMembersRequestBuilderInternal instantiates a new ItemMembersRequestBuilder and sets the default values.

func (*ItemMembersRequestBuilder) ByUsername

ByUsername gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.members.item collection returns a *ItemMembersWithUsernameItemRequestBuilder when successful

func (*ItemMembersRequestBuilder) Get

Get list all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned. returns a []SimpleUserable when successful returns a ValidationError error when the service returns a 422 status code API method documentation

func (*ItemMembersRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned. returns a *RequestInformation when successful

func (*ItemMembersRequestBuilder) 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 *ItemMembersRequestBuilder when successful

type ItemMembersRequestBuilderGetQueryParameters

type ItemMembersRequestBuilderGetQueryParameters struct {
	// Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) enabled will be returned. This options is only available for organization owners.
	Filter *id17450d82944fa531d7f154d669a8b6ce833b49a25250377061627d436cc43a6.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/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// Filter members returned by their role.
	Role *id17450d82944fa531d7f154d669a8b6ce833b49a25250377061627d436cc43a6.GetRoleQueryParameterType `uriparametername:"role"`
}

ItemMembersRequestBuilderGetQueryParameters list all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.

type ItemMembersWithUsernameItemRequestBuilder

type ItemMembersWithUsernameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemMembersWithUsernameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\members\{username}

func NewItemMembersWithUsernameItemRequestBuilder

NewItemMembersWithUsernameItemRequestBuilder instantiates a new ItemMembersWithUsernameItemRequestBuilder and sets the default values.

func NewItemMembersWithUsernameItemRequestBuilderInternal

func NewItemMembersWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersWithUsernameItemRequestBuilder

NewItemMembersWithUsernameItemRequestBuilderInternal instantiates a new ItemMembersWithUsernameItemRequestBuilder and sets the default values.

func (*ItemMembersWithUsernameItemRequestBuilder) Codespaces

Codespaces the codespaces property returns a *ItemMembersItemCodespacesRequestBuilder when successful

func (*ItemMembersWithUsernameItemRequestBuilder) Copilot

Copilot the copilot property returns a *ItemMembersItemCopilotRequestBuilder when successful

func (*ItemMembersWithUsernameItemRequestBuilder) Delete

Delete removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories. returns a BasicError error when the service returns a 403 status code API method documentation

func (*ItemMembersWithUsernameItemRequestBuilder) Get

Get check if a user is, publicly or privately, a member of the organization. API method documentation

func (*ItemMembersWithUsernameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories. returns a *RequestInformation when successful

func (*ItemMembersWithUsernameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation check if a user is, publicly or privately, a member of the organization. returns a *RequestInformation when successful

func (*ItemMembersWithUsernameItemRequestBuilder) 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 *ItemMembersWithUsernameItemRequestBuilder when successful

type ItemMembershipsItemWithUsernamePutRequestBody

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

func NewItemMembershipsItemWithUsernamePutRequestBody

func NewItemMembershipsItemWithUsernamePutRequestBody() *ItemMembershipsItemWithUsernamePutRequestBody

NewItemMembershipsItemWithUsernamePutRequestBody instantiates a new ItemMembershipsItemWithUsernamePutRequestBody and sets the default values.

func (*ItemMembershipsItemWithUsernamePutRequestBody) GetAdditionalData

func (m *ItemMembershipsItemWithUsernamePutRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemMembershipsItemWithUsernamePutRequestBody) GetFieldDeserializers

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

func (*ItemMembershipsItemWithUsernamePutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemMembershipsItemWithUsernamePutRequestBody) SetAdditionalData

func (m *ItemMembershipsItemWithUsernamePutRequestBody) SetAdditionalData(value map[string]any)

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

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

func NewItemMembershipsRequestBuilder

NewItemMembershipsRequestBuilder instantiates a new ItemMembershipsRequestBuilder and sets the default values.

func NewItemMembershipsRequestBuilderInternal

func NewItemMembershipsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembershipsRequestBuilder

NewItemMembershipsRequestBuilderInternal instantiates a new ItemMembershipsRequestBuilder and sets the default values.

func (*ItemMembershipsRequestBuilder) ByUsername

ByUsername gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.memberships.item collection returns a *ItemMembershipsWithUsernameItemRequestBuilder when successful

type ItemMembershipsWithUsernameItemRequestBuilder

type ItemMembershipsWithUsernameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemMembershipsWithUsernameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\memberships\{username}

func NewItemMembershipsWithUsernameItemRequestBuilder

NewItemMembershipsWithUsernameItemRequestBuilder instantiates a new ItemMembershipsWithUsernameItemRequestBuilder and sets the default values.

func NewItemMembershipsWithUsernameItemRequestBuilderInternal

func NewItemMembershipsWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembershipsWithUsernameItemRequestBuilder

NewItemMembershipsWithUsernameItemRequestBuilderInternal instantiates a new ItemMembershipsWithUsernameItemRequestBuilder and sets the default values.

func (*ItemMembershipsWithUsernameItemRequestBuilder) Delete

Delete in order to remove a user's membership with an organization, the authenticated user must be an organization owner.If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases. 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 (*ItemMembershipsWithUsernameItemRequestBuilder) Get

Get in order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status. returns a OrgMembershipable when successful returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemMembershipsWithUsernameItemRequestBuilder) Put

Put only authenticated organization owners can add a member to the organization or update the member's role.* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation. * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.**Rate limits**To prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. returns a OrgMembershipable 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 (*ItemMembershipsWithUsernameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation in order to remove a user's membership with an organization, the authenticated user must be an organization owner.If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases. returns a *RequestInformation when successful

func (*ItemMembershipsWithUsernameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation in order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status. returns a *RequestInformation when successful

func (*ItemMembershipsWithUsernameItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation only authenticated organization owners can add a member to the organization or update the member's role.* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation. * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.**Rate limits**To prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. returns a *RequestInformation when successful

func (*ItemMembershipsWithUsernameItemRequestBuilder) 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 *ItemMembershipsWithUsernameItemRequestBuilder when successful

type ItemMigrationsItemArchiveRequestBuilder

type ItemMigrationsItemArchiveRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemMigrationsItemArchiveRequestBuilder builds and executes requests for operations under \orgs\{org}\migrations\{migration_id}\archive

func NewItemMigrationsItemArchiveRequestBuilder

NewItemMigrationsItemArchiveRequestBuilder instantiates a new ItemMigrationsItemArchiveRequestBuilder and sets the default values.

func NewItemMigrationsItemArchiveRequestBuilderInternal

func NewItemMigrationsItemArchiveRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsItemArchiveRequestBuilder

NewItemMigrationsItemArchiveRequestBuilderInternal instantiates a new ItemMigrationsItemArchiveRequestBuilder and sets the default values.

func (*ItemMigrationsItemArchiveRequestBuilder) Delete

Delete deletes a previous migration archive. Migration archives are automatically deleted after seven days. returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemMigrationsItemArchiveRequestBuilder) Get

Get fetches the URL to a migration archive. returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemMigrationsItemArchiveRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a previous migration archive. Migration archives are automatically deleted after seven days. returns a *RequestInformation when successful

func (*ItemMigrationsItemArchiveRequestBuilder) ToGetRequestInformation

ToGetRequestInformation fetches the URL to a migration archive. returns a *RequestInformation when successful

func (*ItemMigrationsItemArchiveRequestBuilder) 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 *ItemMigrationsItemArchiveRequestBuilder when successful

type ItemMigrationsItemReposItemLockRequestBuilder

type ItemMigrationsItemReposItemLockRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemMigrationsItemReposItemLockRequestBuilder builds and executes requests for operations under \orgs\{org}\migrations\{migration_id}\repos\{repo_name}\lock

func NewItemMigrationsItemReposItemLockRequestBuilder

NewItemMigrationsItemReposItemLockRequestBuilder instantiates a new ItemMigrationsItemReposItemLockRequestBuilder and sets the default values.

func NewItemMigrationsItemReposItemLockRequestBuilderInternal

func NewItemMigrationsItemReposItemLockRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsItemReposItemLockRequestBuilder

NewItemMigrationsItemReposItemLockRequestBuilderInternal instantiates a new ItemMigrationsItemReposItemLockRequestBuilder and sets the default values.

func (*ItemMigrationsItemReposItemLockRequestBuilder) Delete

Delete unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/rest/repos/repos#delete-a-repository) when the migration is complete and you no longer need the source data. returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemMigrationsItemReposItemLockRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/rest/repos/repos#delete-a-repository) when the migration is complete and you no longer need the source data. returns a *RequestInformation when successful

func (*ItemMigrationsItemReposItemLockRequestBuilder) 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 *ItemMigrationsItemReposItemLockRequestBuilder when successful

type ItemMigrationsItemReposRequestBuilder

type ItemMigrationsItemReposRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemMigrationsItemReposRequestBuilder builds and executes requests for operations under \orgs\{org}\migrations\{migration_id}\repos

func NewItemMigrationsItemReposRequestBuilder

NewItemMigrationsItemReposRequestBuilder instantiates a new ItemMigrationsItemReposRequestBuilder and sets the default values.

func NewItemMigrationsItemReposRequestBuilderInternal

func NewItemMigrationsItemReposRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsItemReposRequestBuilder

NewItemMigrationsItemReposRequestBuilderInternal instantiates a new ItemMigrationsItemReposRequestBuilder and sets the default values.

func (*ItemMigrationsItemReposRequestBuilder) ByRepo_name

ByRepo_name gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.migrations.item.repos.item collection returns a *ItemMigrationsItemReposWithRepo_nameItemRequestBuilder when successful

type ItemMigrationsItemReposWithRepo_nameItemRequestBuilder

type ItemMigrationsItemReposWithRepo_nameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemMigrationsItemReposWithRepo_nameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\migrations\{migration_id}\repos\{repo_name}

func NewItemMigrationsItemReposWithRepo_nameItemRequestBuilder

func NewItemMigrationsItemReposWithRepo_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsItemReposWithRepo_nameItemRequestBuilder

NewItemMigrationsItemReposWithRepo_nameItemRequestBuilder instantiates a new ItemMigrationsItemReposWithRepo_nameItemRequestBuilder and sets the default values.

func NewItemMigrationsItemReposWithRepo_nameItemRequestBuilderInternal

func NewItemMigrationsItemReposWithRepo_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsItemReposWithRepo_nameItemRequestBuilder

NewItemMigrationsItemReposWithRepo_nameItemRequestBuilderInternal instantiates a new ItemMigrationsItemReposWithRepo_nameItemRequestBuilder and sets the default values.

func (*ItemMigrationsItemReposWithRepo_nameItemRequestBuilder) Lock

Lock the lock property returns a *ItemMigrationsItemReposItemLockRequestBuilder when successful

type ItemMigrationsItemRepositoriesRequestBuilder

type ItemMigrationsItemRepositoriesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemMigrationsItemRepositoriesRequestBuilder builds and executes requests for operations under \orgs\{org}\migrations\{migration_id}\repositories

func NewItemMigrationsItemRepositoriesRequestBuilder

NewItemMigrationsItemRepositoriesRequestBuilder instantiates a new ItemMigrationsItemRepositoriesRequestBuilder and sets the default values.

func NewItemMigrationsItemRepositoriesRequestBuilderInternal

func NewItemMigrationsItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsItemRepositoriesRequestBuilder

NewItemMigrationsItemRepositoriesRequestBuilderInternal instantiates a new ItemMigrationsItemRepositoriesRequestBuilder and sets the default values.

func (*ItemMigrationsItemRepositoriesRequestBuilder) Get

Get list all the repositories for this organization migration. returns a []MinimalRepositoryable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemMigrationsItemRepositoriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all the repositories for this organization migration. returns a *RequestInformation when successful

func (*ItemMigrationsItemRepositoriesRequestBuilder) 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 *ItemMigrationsItemRepositoriesRequestBuilder when successful

type ItemMigrationsItemRepositoriesRequestBuilderGetQueryParameters

type ItemMigrationsItemRepositoriesRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemMigrationsItemRepositoriesRequestBuilderGetQueryParameters list all the repositories for this organization migration.

type ItemMigrationsPostRequestBody

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

func NewItemMigrationsPostRequestBody

func NewItemMigrationsPostRequestBody() *ItemMigrationsPostRequestBody

NewItemMigrationsPostRequestBody instantiates a new ItemMigrationsPostRequestBody and sets the default values.

func (*ItemMigrationsPostRequestBody) GetAdditionalData

func (m *ItemMigrationsPostRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemMigrationsPostRequestBody) GetExcludeAttachments

func (m *ItemMigrationsPostRequestBody) GetExcludeAttachments() *bool

GetExcludeAttachments gets the exclude_attachments property value. Indicates whether attachments should be excluded from the migration (to reduce migration archive file size). returns a *bool when successful

func (*ItemMigrationsPostRequestBody) GetExcludeGitData

func (m *ItemMigrationsPostRequestBody) GetExcludeGitData() *bool

GetExcludeGitData gets the exclude_git_data property value. Indicates whether the repository git data should be excluded from the migration. returns a *bool when successful

func (*ItemMigrationsPostRequestBody) GetExcludeMetadata

func (m *ItemMigrationsPostRequestBody) GetExcludeMetadata() *bool

GetExcludeMetadata gets the exclude_metadata property value. Indicates whether metadata should be excluded and only git source should be included for the migration. returns a *bool when successful

func (*ItemMigrationsPostRequestBody) GetExcludeOwnerProjects

func (m *ItemMigrationsPostRequestBody) GetExcludeOwnerProjects() *bool

GetExcludeOwnerProjects gets the exclude_owner_projects property value. Indicates whether projects owned by the organization or users should be excluded. from the migration. returns a *bool when successful

func (*ItemMigrationsPostRequestBody) GetExcludeReleases

func (m *ItemMigrationsPostRequestBody) GetExcludeReleases() *bool

GetExcludeReleases gets the exclude_releases property value. Indicates whether releases should be excluded from the migration (to reduce migration archive file size). returns a *bool when successful

func (*ItemMigrationsPostRequestBody) GetFieldDeserializers

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

func (*ItemMigrationsPostRequestBody) GetLockRepositories

func (m *ItemMigrationsPostRequestBody) GetLockRepositories() *bool

GetLockRepositories gets the lock_repositories property value. Indicates whether repositories should be locked (to prevent manipulation) while migrating data. returns a *bool when successful

func (*ItemMigrationsPostRequestBody) GetOrgMetadataOnly

func (m *ItemMigrationsPostRequestBody) GetOrgMetadataOnly() *bool

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

func (*ItemMigrationsPostRequestBody) GetRepositories

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

GetRepositories gets the repositories property value. A list of arrays indicating which repositories should be migrated. returns a []string when successful

func (*ItemMigrationsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemMigrationsPostRequestBody) SetAdditionalData

func (m *ItemMigrationsPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemMigrationsPostRequestBody) SetExcludeAttachments

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

SetExcludeAttachments sets the exclude_attachments property value. Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).

func (*ItemMigrationsPostRequestBody) SetExcludeGitData

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

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

func (*ItemMigrationsPostRequestBody) SetExcludeMetadata

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

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

func (*ItemMigrationsPostRequestBody) SetExcludeOwnerProjects

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

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

func (*ItemMigrationsPostRequestBody) SetExcludeReleases

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

SetExcludeReleases sets the exclude_releases property value. Indicates whether releases should be excluded from the migration (to reduce migration archive file size).

func (*ItemMigrationsPostRequestBody) SetLockRepositories

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

SetLockRepositories sets the lock_repositories property value. Indicates whether repositories should be locked (to prevent manipulation) while migrating data.

func (*ItemMigrationsPostRequestBody) SetOrgMetadataOnly

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

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

func (*ItemMigrationsPostRequestBody) SetRepositories

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

SetRepositories sets the repositories property value. A list of arrays indicating which repositories should be migrated.

type ItemMigrationsPostRequestBodyable

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

type ItemMigrationsRequestBuilder

ItemMigrationsRequestBuilder builds and executes requests for operations under \orgs\{org}\migrations

func NewItemMigrationsRequestBuilder

NewItemMigrationsRequestBuilder instantiates a new ItemMigrationsRequestBuilder and sets the default values.

func NewItemMigrationsRequestBuilderInternal

func NewItemMigrationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsRequestBuilder

NewItemMigrationsRequestBuilderInternal instantiates a new ItemMigrationsRequestBuilder and sets the default values.

func (*ItemMigrationsRequestBuilder) ByMigration_id

ByMigration_id gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.migrations.item collection returns a *ItemMigrationsWithMigration_ItemRequestBuilder when successful

func (*ItemMigrationsRequestBuilder) Get

Get lists the most recent migrations, including both exports (which can be started through the REST API) and imports (which cannot be started using the REST API).A list of `repositories` is only returned for export migrations. returns a []Migrationable when successful API method documentation

func (*ItemMigrationsRequestBuilder) Post

Post initiates the generation of a migration archive. returns a Migrationable 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 (*ItemMigrationsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the most recent migrations, including both exports (which can be started through the REST API) and imports (which cannot be started using the REST API).A list of `repositories` is only returned for export migrations. returns a *RequestInformation when successful

func (*ItemMigrationsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation initiates the generation of a migration archive. returns a *RequestInformation when successful

func (*ItemMigrationsRequestBuilder) 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 *ItemMigrationsRequestBuilder when successful

type ItemMigrationsRequestBuilderGetQueryParameters

type ItemMigrationsRequestBuilderGetQueryParameters struct {
	// Exclude attributes from the API response to improve performance
	Exclude []i010f80164593e67edac379301caa66f6c3b0369d2d666ed5683626e52e3f25fb.GetExcludeQueryParameterType `uriparametername:"exclude"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemMigrationsRequestBuilderGetQueryParameters lists the most recent migrations, including both exports (which can be started through the REST API) and imports (which cannot be started using the REST API).A list of `repositories` is only returned for export migrations.

type ItemMigrationsWithMigration_ItemRequestBuilder

type ItemMigrationsWithMigration_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemMigrationsWithMigration_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\migrations\{migration_id}

func NewItemMigrationsWithMigration_ItemRequestBuilder

NewItemMigrationsWithMigration_ItemRequestBuilder instantiates a new ItemMigrationsWithMigration_ItemRequestBuilder and sets the default values.

func NewItemMigrationsWithMigration_ItemRequestBuilderInternal

func NewItemMigrationsWithMigration_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsWithMigration_ItemRequestBuilder

NewItemMigrationsWithMigration_ItemRequestBuilderInternal instantiates a new ItemMigrationsWithMigration_ItemRequestBuilder and sets the default values.

func (*ItemMigrationsWithMigration_ItemRequestBuilder) Archive

Archive the archive property returns a *ItemMigrationsItemArchiveRequestBuilder when successful

func (*ItemMigrationsWithMigration_ItemRequestBuilder) Get

Get fetches the status of a migration.The `state` of a migration can be one of the following values:* `pending`, which means the migration hasn't started yet.* `exporting`, which means the migration is in progress.* `exported`, which means the migration finished successfully.* `failed`, which means the migration failed. returns a Migrationable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemMigrationsWithMigration_ItemRequestBuilder) Repos

Repos the repos property returns a *ItemMigrationsItemReposRequestBuilder when successful

func (*ItemMigrationsWithMigration_ItemRequestBuilder) Repositories

Repositories the repositories property returns a *ItemMigrationsItemRepositoriesRequestBuilder when successful

func (*ItemMigrationsWithMigration_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation fetches the status of a migration.The `state` of a migration can be one of the following values:* `pending`, which means the migration hasn't started yet.* `exporting`, which means the migration is in progress.* `exported`, which means the migration finished successfully.* `failed`, which means the migration failed. returns a *RequestInformation when successful

func (*ItemMigrationsWithMigration_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 *ItemMigrationsWithMigration_ItemRequestBuilder when successful

type ItemMigrationsWithMigration_ItemRequestBuilderGetQueryParameters

type ItemMigrationsWithMigration_ItemRequestBuilderGetQueryParameters struct {
	// Exclude attributes from the API response to improve performance
	Exclude []i399c3da064b81c83d30565b554a09039c3bc9dc0590affc1306cb54f75cd8e0d.GetExcludeQueryParameterType `uriparametername:"exclude"`
}

ItemMigrationsWithMigration_ItemRequestBuilderGetQueryParameters fetches the status of a migration.The `state` of a migration can be one of the following values:* `pending`, which means the migration hasn't started yet.* `exporting`, which means the migration is in progress.* `exported`, which means the migration finished successfully.* `failed`, which means the migration failed.

type ItemOrganizationFineGrainedPermissionsRequestBuilder

type ItemOrganizationFineGrainedPermissionsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemOrganizationFineGrainedPermissionsRequestBuilder builds and executes requests for operations under \orgs\{org}\organization-fine-grained-permissions

func NewItemOrganizationFineGrainedPermissionsRequestBuilder

NewItemOrganizationFineGrainedPermissionsRequestBuilder instantiates a new ItemOrganizationFineGrainedPermissionsRequestBuilder and sets the default values.

func NewItemOrganizationFineGrainedPermissionsRequestBuilderInternal

func NewItemOrganizationFineGrainedPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationFineGrainedPermissionsRequestBuilder

NewItemOrganizationFineGrainedPermissionsRequestBuilderInternal instantiates a new ItemOrganizationFineGrainedPermissionsRequestBuilder and sets the default values.

func (*ItemOrganizationFineGrainedPermissionsRequestBuilder) Get

Get lists the fine-grained permissions that can be used in custom organization roles for an organization. For more information, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."To list the fine-grained permissions that can be used in custom repository roles for an organization, see "[List repository fine-grained permissions for an organization](https://docs.github.com/rest/orgs/organization-roles#list-repository-fine-grained-permissions-for-an-organization)."To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a []OrganizationFineGrainedPermissionable 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 (*ItemOrganizationFineGrainedPermissionsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the fine-grained permissions that can be used in custom organization roles for an organization. For more information, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."To list the fine-grained permissions that can be used in custom repository roles for an organization, see "[List repository fine-grained permissions for an organization](https://docs.github.com/rest/orgs/organization-roles#list-repository-fine-grained-permissions-for-an-organization)."To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemOrganizationFineGrainedPermissionsRequestBuilder) 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 *ItemOrganizationFineGrainedPermissionsRequestBuilder when successful

type ItemOrganizationRolesGetResponse

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

func NewItemOrganizationRolesGetResponse

func NewItemOrganizationRolesGetResponse() *ItemOrganizationRolesGetResponse

NewItemOrganizationRolesGetResponse instantiates a new ItemOrganizationRolesGetResponse and sets the default values.

func (*ItemOrganizationRolesGetResponse) GetAdditionalData

func (m *ItemOrganizationRolesGetResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemOrganizationRolesGetResponse) GetFieldDeserializers

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

func (*ItemOrganizationRolesGetResponse) GetRoles

GetRoles gets the roles property value. The list of organization roles available to the organization. returns a []OrganizationRoleable when successful

func (*ItemOrganizationRolesGetResponse) GetTotalCount

func (m *ItemOrganizationRolesGetResponse) GetTotalCount() *int32

GetTotalCount gets the total_count property value. The total number of organization roles available to the organization. returns a *int32 when successful

func (*ItemOrganizationRolesGetResponse) Serialize

Serialize serializes information the current object

func (*ItemOrganizationRolesGetResponse) SetAdditionalData

func (m *ItemOrganizationRolesGetResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemOrganizationRolesGetResponse) SetRoles

SetRoles sets the roles property value. The list of organization roles available to the organization.

func (*ItemOrganizationRolesGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total number of organization roles available to the organization.

type ItemOrganizationRolesItemTeamsRequestBuilder

type ItemOrganizationRolesItemTeamsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemOrganizationRolesItemTeamsRequestBuilder builds and executes requests for operations under \orgs\{org}\organization-roles\{role_id}\teams

func NewItemOrganizationRolesItemTeamsRequestBuilder

NewItemOrganizationRolesItemTeamsRequestBuilder instantiates a new ItemOrganizationRolesItemTeamsRequestBuilder and sets the default values.

func NewItemOrganizationRolesItemTeamsRequestBuilderInternal

func NewItemOrganizationRolesItemTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesItemTeamsRequestBuilder

NewItemOrganizationRolesItemTeamsRequestBuilderInternal instantiates a new ItemOrganizationRolesItemTeamsRequestBuilder and sets the default values.

func (*ItemOrganizationRolesItemTeamsRequestBuilder) Get

Get lists the teams that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."To use this endpoint, you must be an administrator for the organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a []TeamRoleAssignmentable when successful API method documentation

func (*ItemOrganizationRolesItemTeamsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the teams that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."To use this endpoint, you must be an administrator for the organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemOrganizationRolesItemTeamsRequestBuilder) 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 *ItemOrganizationRolesItemTeamsRequestBuilder when successful

type ItemOrganizationRolesItemTeamsRequestBuilderGetQueryParameters

type ItemOrganizationRolesItemTeamsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemOrganizationRolesItemTeamsRequestBuilderGetQueryParameters lists the teams that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."To use this endpoint, you must be an administrator for the organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.

type ItemOrganizationRolesItemUsersRequestBuilder

type ItemOrganizationRolesItemUsersRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemOrganizationRolesItemUsersRequestBuilder builds and executes requests for operations under \orgs\{org}\organization-roles\{role_id}\users

func NewItemOrganizationRolesItemUsersRequestBuilder

NewItemOrganizationRolesItemUsersRequestBuilder instantiates a new ItemOrganizationRolesItemUsersRequestBuilder and sets the default values.

func NewItemOrganizationRolesItemUsersRequestBuilderInternal

func NewItemOrganizationRolesItemUsersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesItemUsersRequestBuilder

NewItemOrganizationRolesItemUsersRequestBuilderInternal instantiates a new ItemOrganizationRolesItemUsersRequestBuilder and sets the default values.

func (*ItemOrganizationRolesItemUsersRequestBuilder) Get

Get lists organization members that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."To use this endpoint, you must be an administrator for the organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a []UserRoleAssignmentable when successful API method documentation

func (*ItemOrganizationRolesItemUsersRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists organization members that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."To use this endpoint, you must be an administrator for the organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemOrganizationRolesItemUsersRequestBuilder) 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 *ItemOrganizationRolesItemUsersRequestBuilder when successful

type ItemOrganizationRolesItemUsersRequestBuilderGetQueryParameters

type ItemOrganizationRolesItemUsersRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemOrganizationRolesItemUsersRequestBuilderGetQueryParameters lists organization members that are assigned to an organization role. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."To use this endpoint, you must be an administrator for the organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.

type ItemOrganizationRolesItemWithRole_PatchRequestBody

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

func NewItemOrganizationRolesItemWithRole_PatchRequestBody

func NewItemOrganizationRolesItemWithRole_PatchRequestBody() *ItemOrganizationRolesItemWithRole_PatchRequestBody

NewItemOrganizationRolesItemWithRole_PatchRequestBody instantiates a new ItemOrganizationRolesItemWithRole_PatchRequestBody and sets the default values.

func (*ItemOrganizationRolesItemWithRole_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 (*ItemOrganizationRolesItemWithRole_PatchRequestBody) GetDescription

GetDescription gets the description property value. A short description about the intended usage of this role or what permissions it grants. returns a *string when successful

func (*ItemOrganizationRolesItemWithRole_PatchRequestBody) GetFieldDeserializers

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

func (*ItemOrganizationRolesItemWithRole_PatchRequestBody) GetName

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

func (*ItemOrganizationRolesItemWithRole_PatchRequestBody) GetPermissions

GetPermissions gets the permissions property value. A list of additional permissions included in this role. returns a []string when successful

func (*ItemOrganizationRolesItemWithRole_PatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemOrganizationRolesItemWithRole_PatchRequestBody) SetAdditionalData

func (m *ItemOrganizationRolesItemWithRole_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 (*ItemOrganizationRolesItemWithRole_PatchRequestBody) SetDescription

SetDescription sets the description property value. A short description about the intended usage of this role or what permissions it grants.

func (*ItemOrganizationRolesItemWithRole_PatchRequestBody) SetName

SetName sets the name property value. The name of the custom role.

func (*ItemOrganizationRolesItemWithRole_PatchRequestBody) SetPermissions

SetPermissions sets the permissions property value. A list of additional permissions included in this role.

type ItemOrganizationRolesItemWithRole_PatchRequestBodyable

type ItemOrganizationRolesItemWithRole_PatchRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetDescription() *string
	GetName() *string
	GetPermissions() []string
	SetDescription(value *string)
	SetName(value *string)
	SetPermissions(value []string)
}

type ItemOrganizationRolesPostRequestBody

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

func NewItemOrganizationRolesPostRequestBody

func NewItemOrganizationRolesPostRequestBody() *ItemOrganizationRolesPostRequestBody

NewItemOrganizationRolesPostRequestBody instantiates a new ItemOrganizationRolesPostRequestBody and sets the default values.

func (*ItemOrganizationRolesPostRequestBody) GetAdditionalData

func (m *ItemOrganizationRolesPostRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemOrganizationRolesPostRequestBody) GetDescription

func (m *ItemOrganizationRolesPostRequestBody) GetDescription() *string

GetDescription gets the description property value. A short description about the intended usage of this role or what permissions it grants. returns a *string when successful

func (*ItemOrganizationRolesPostRequestBody) GetFieldDeserializers

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

func (*ItemOrganizationRolesPostRequestBody) GetName

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

func (*ItemOrganizationRolesPostRequestBody) GetPermissions

func (m *ItemOrganizationRolesPostRequestBody) GetPermissions() []string

GetPermissions gets the permissions property value. A list of additional permissions included in this role. returns a []string when successful

func (*ItemOrganizationRolesPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemOrganizationRolesPostRequestBody) SetAdditionalData

func (m *ItemOrganizationRolesPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemOrganizationRolesPostRequestBody) SetDescription

func (m *ItemOrganizationRolesPostRequestBody) SetDescription(value *string)

SetDescription sets the description property value. A short description about the intended usage of this role or what permissions it grants.

func (*ItemOrganizationRolesPostRequestBody) SetName

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

SetName sets the name property value. The name of the custom role.

func (*ItemOrganizationRolesPostRequestBody) SetPermissions

func (m *ItemOrganizationRolesPostRequestBody) SetPermissions(value []string)

SetPermissions sets the permissions property value. A list of additional permissions included in this role.

type ItemOrganizationRolesPostRequestBodyable

type ItemOrganizationRolesPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetDescription() *string
	GetName() *string
	GetPermissions() []string
	SetDescription(value *string)
	SetName(value *string)
	SetPermissions(value []string)
}

type ItemOrganizationRolesRequestBuilder

ItemOrganizationRolesRequestBuilder builds and executes requests for operations under \orgs\{org}\organization-roles

func NewItemOrganizationRolesRequestBuilder

NewItemOrganizationRolesRequestBuilder instantiates a new ItemOrganizationRolesRequestBuilder and sets the default values.

func NewItemOrganizationRolesRequestBuilderInternal

func NewItemOrganizationRolesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesRequestBuilder

NewItemOrganizationRolesRequestBuilderInternal instantiates a new ItemOrganizationRolesRequestBuilder and sets the default values.

func (*ItemOrganizationRolesRequestBuilder) ByRole_id

ByRole_id gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.organizationRoles.item collection returns a *ItemOrganizationRolesWithRole_ItemRequestBuilder when successful

func (*ItemOrganizationRolesRequestBuilder) Get

Get lists the organization roles available in this organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a ItemOrganizationRolesGetResponseable 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 (*ItemOrganizationRolesRequestBuilder) Post

Post creates a custom organization role that can be assigned to users and teams, granting them specific permissions over the organization. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a OrganizationRoleable 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 (*ItemOrganizationRolesRequestBuilder) Teams

Teams the teams property returns a *ItemOrganizationRolesTeamsRequestBuilder when successful

func (*ItemOrganizationRolesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the organization roles available in this organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemOrganizationRolesRequestBuilder) ToPostRequestInformation

ToPostRequestInformation creates a custom organization role that can be assigned to users and teams, granting them specific permissions over the organization. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemOrganizationRolesRequestBuilder) Users

Users the users property returns a *ItemOrganizationRolesUsersRequestBuilder when successful

func (*ItemOrganizationRolesRequestBuilder) 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 *ItemOrganizationRolesRequestBuilder when successful

type ItemOrganizationRolesResponse

type ItemOrganizationRolesResponse struct {
	ItemOrganizationRolesGetResponse
}

ItemOrganizationRolesResponse Deprecated: This class is obsolete. Use organizationRolesGetResponse instead.

func NewItemOrganizationRolesResponse

func NewItemOrganizationRolesResponse() *ItemOrganizationRolesResponse

NewItemOrganizationRolesResponse instantiates a new ItemOrganizationRolesResponse and sets the default values.

type ItemOrganizationRolesResponseable

ItemOrganizationRolesResponseable Deprecated: This class is obsolete. Use organizationRolesGetResponse instead.

type ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder

type ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\organization-roles\teams\{team_slug}\{role_id}

func NewItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder

func NewItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder

NewItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder instantiates a new ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder and sets the default values.

func NewItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilderInternal

func NewItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder

NewItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilderInternal instantiates a new ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder and sets the default values.

func (*ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder) Delete

Delete removes an organization role from a team. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."The authenticated user must be an administrator for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder) Put

Put assigns an organization role to a team in an organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."The authenticated user must be an administrator for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removes an organization role from a team. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."The authenticated user must be an administrator for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation assigns an organization role to a team in an organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."The authenticated user must be an administrator for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemOrganizationRolesTeamsItemWithRole_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 *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder when successful

type ItemOrganizationRolesTeamsRequestBuilder

type ItemOrganizationRolesTeamsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemOrganizationRolesTeamsRequestBuilder builds and executes requests for operations under \orgs\{org}\organization-roles\teams

func NewItemOrganizationRolesTeamsRequestBuilder

NewItemOrganizationRolesTeamsRequestBuilder instantiates a new ItemOrganizationRolesTeamsRequestBuilder and sets the default values.

func NewItemOrganizationRolesTeamsRequestBuilderInternal

func NewItemOrganizationRolesTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesTeamsRequestBuilder

NewItemOrganizationRolesTeamsRequestBuilderInternal instantiates a new ItemOrganizationRolesTeamsRequestBuilder and sets the default values.

func (*ItemOrganizationRolesTeamsRequestBuilder) ByTeam_slug

ByTeam_slug gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.organizationRoles.teams.item collection returns a *ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder when successful

type ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder

type ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder builds and executes requests for operations under \orgs\{org}\organization-roles\teams\{team_slug}

func NewItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder

func NewItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder

NewItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder instantiates a new ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder and sets the default values.

func NewItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilderInternal

func NewItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder

NewItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilderInternal instantiates a new ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder and sets the default values.

func (*ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder) ByRole_id

ByRole_id gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.organizationRoles.teams.item.item collection returns a *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder when successful

func (*ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder) Delete

Delete removes all assigned organization roles from a team. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."The authenticated user must be an administrator for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removes all assigned organization roles from a team. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."The authenticated user must be an administrator for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder) 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 *ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder when successful

type ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder

type ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\organization-roles\users\{username}\{role_id}

func NewItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder

func NewItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder

NewItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder instantiates a new ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder and sets the default values.

func NewItemOrganizationRolesUsersItemWithRole_ItemRequestBuilderInternal

func NewItemOrganizationRolesUsersItemWithRole_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder

NewItemOrganizationRolesUsersItemWithRole_ItemRequestBuilderInternal instantiates a new ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder and sets the default values.

func (*ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder) Delete

Delete remove an organization role from a user. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."The authenticated user must be an administrator for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder) Put

Put assigns an organization role to a member of an organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."The authenticated user must be an administrator for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation remove an organization role from a user. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."The authenticated user must be an administrator for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation assigns an organization role to a member of an organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."The authenticated user must be an administrator for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemOrganizationRolesUsersItemWithRole_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 *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder when successful

type ItemOrganizationRolesUsersRequestBuilder

type ItemOrganizationRolesUsersRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemOrganizationRolesUsersRequestBuilder builds and executes requests for operations under \orgs\{org}\organization-roles\users

func NewItemOrganizationRolesUsersRequestBuilder

NewItemOrganizationRolesUsersRequestBuilder instantiates a new ItemOrganizationRolesUsersRequestBuilder and sets the default values.

func NewItemOrganizationRolesUsersRequestBuilderInternal

func NewItemOrganizationRolesUsersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesUsersRequestBuilder

NewItemOrganizationRolesUsersRequestBuilderInternal instantiates a new ItemOrganizationRolesUsersRequestBuilder and sets the default values.

func (*ItemOrganizationRolesUsersRequestBuilder) ByUsername

ByUsername gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.organizationRoles.users.item collection returns a *ItemOrganizationRolesUsersWithUsernameItemRequestBuilder when successful

type ItemOrganizationRolesUsersWithUsernameItemRequestBuilder

type ItemOrganizationRolesUsersWithUsernameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemOrganizationRolesUsersWithUsernameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\organization-roles\users\{username}

func NewItemOrganizationRolesUsersWithUsernameItemRequestBuilder

func NewItemOrganizationRolesUsersWithUsernameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesUsersWithUsernameItemRequestBuilder

NewItemOrganizationRolesUsersWithUsernameItemRequestBuilder instantiates a new ItemOrganizationRolesUsersWithUsernameItemRequestBuilder and sets the default values.

func NewItemOrganizationRolesUsersWithUsernameItemRequestBuilderInternal

func NewItemOrganizationRolesUsersWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesUsersWithUsernameItemRequestBuilder

NewItemOrganizationRolesUsersWithUsernameItemRequestBuilderInternal instantiates a new ItemOrganizationRolesUsersWithUsernameItemRequestBuilder and sets the default values.

func (*ItemOrganizationRolesUsersWithUsernameItemRequestBuilder) ByRole_id

ByRole_id gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.organizationRoles.users.item.item collection returns a *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder when successful

func (*ItemOrganizationRolesUsersWithUsernameItemRequestBuilder) Delete

Delete revokes all assigned organization roles from a user. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."The authenticated user must be an administrator for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemOrganizationRolesUsersWithUsernameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation revokes all assigned organization roles from a user. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."The authenticated user must be an administrator for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemOrganizationRolesUsersWithUsernameItemRequestBuilder) 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 *ItemOrganizationRolesUsersWithUsernameItemRequestBuilder when successful

type ItemOrganizationRolesWithRole_ItemRequestBuilder

type ItemOrganizationRolesWithRole_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemOrganizationRolesWithRole_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\organization-roles\{role_id}

func NewItemOrganizationRolesWithRole_ItemRequestBuilder

NewItemOrganizationRolesWithRole_ItemRequestBuilder instantiates a new ItemOrganizationRolesWithRole_ItemRequestBuilder and sets the default values.

func NewItemOrganizationRolesWithRole_ItemRequestBuilderInternal

func NewItemOrganizationRolesWithRole_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesWithRole_ItemRequestBuilder

NewItemOrganizationRolesWithRole_ItemRequestBuilderInternal instantiates a new ItemOrganizationRolesWithRole_ItemRequestBuilder and sets the default values.

func (*ItemOrganizationRolesWithRole_ItemRequestBuilder) Delete

Delete deletes a custom organization role. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemOrganizationRolesWithRole_ItemRequestBuilder) Get

Get gets an organization role that is available to this organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a OrganizationRoleable 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 (*ItemOrganizationRolesWithRole_ItemRequestBuilder) Patch

Patch updates an existing custom organization role. Permission changes will apply to all assignees. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a OrganizationRoleable 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 (*ItemOrganizationRolesWithRole_ItemRequestBuilder) Teams

Teams the teams property returns a *ItemOrganizationRolesItemTeamsRequestBuilder when successful

func (*ItemOrganizationRolesWithRole_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a custom organization role. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemOrganizationRolesWithRole_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets an organization role that is available to this organization. For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemOrganizationRolesWithRole_ItemRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation updates an existing custom organization role. Permission changes will apply to all assignees. For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemOrganizationRolesWithRole_ItemRequestBuilder) Users

Users the users property returns a *ItemOrganizationRolesItemUsersRequestBuilder when successful

func (*ItemOrganizationRolesWithRole_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 *ItemOrganizationRolesWithRole_ItemRequestBuilder when successful

type ItemOutside_collaboratorsItemWithUsername422Error

type ItemOutside_collaboratorsItemWithUsername422Error struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ApiError
	// contains filtered or unexported fields
}

func NewItemOutside_collaboratorsItemWithUsername422Error

func NewItemOutside_collaboratorsItemWithUsername422Error() *ItemOutside_collaboratorsItemWithUsername422Error

NewItemOutside_collaboratorsItemWithUsername422Error instantiates a new ItemOutside_collaboratorsItemWithUsername422Error and sets the default values.

func (*ItemOutside_collaboratorsItemWithUsername422Error) Error

Error the primary error message. returns a string when successful

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

GetDocumentationUrl gets the documentation_url property value. The documentation_url property returns a *string when successful

func (*ItemOutside_collaboratorsItemWithUsername422Error) GetFieldDeserializers

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

func (*ItemOutside_collaboratorsItemWithUsername422Error) GetMessage

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

func (*ItemOutside_collaboratorsItemWithUsername422Error) Serialize

Serialize serializes information the current object

func (*ItemOutside_collaboratorsItemWithUsername422Error) SetAdditionalData

func (m *ItemOutside_collaboratorsItemWithUsername422Error) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemOutside_collaboratorsItemWithUsername422Error) SetDocumentationUrl

func (m *ItemOutside_collaboratorsItemWithUsername422Error) SetDocumentationUrl(value *string)

SetDocumentationUrl sets the documentation_url property value. The documentation_url property

func (*ItemOutside_collaboratorsItemWithUsername422Error) SetMessage

SetMessage sets the message property value. The message property

type ItemOutside_collaboratorsItemWithUsername422Errorable

type ItemOutside_collaboratorsItemWithUsername422Errorable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetDocumentationUrl() *string
	GetMessage() *string
	SetDocumentationUrl(value *string)
	SetMessage(value *string)
}

type ItemOutside_collaboratorsItemWithUsernamePutRequestBody

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

func NewItemOutside_collaboratorsItemWithUsernamePutRequestBody

func NewItemOutside_collaboratorsItemWithUsernamePutRequestBody() *ItemOutside_collaboratorsItemWithUsernamePutRequestBody

NewItemOutside_collaboratorsItemWithUsernamePutRequestBody instantiates a new ItemOutside_collaboratorsItemWithUsernamePutRequestBody and sets the default values.

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

GetAsync gets the async property value. When set to `true`, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued. returns a *bool when successful

func (*ItemOutside_collaboratorsItemWithUsernamePutRequestBody) GetFieldDeserializers

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

func (*ItemOutside_collaboratorsItemWithUsernamePutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemOutside_collaboratorsItemWithUsernamePutRequestBody) SetAdditionalData

func (m *ItemOutside_collaboratorsItemWithUsernamePutRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemOutside_collaboratorsItemWithUsernamePutRequestBody) SetAsync

SetAsync sets the async property value. When set to `true`, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.

type ItemOutside_collaboratorsItemWithUsernamePutResponse

type ItemOutside_collaboratorsItemWithUsernamePutResponse struct {
}

func NewItemOutside_collaboratorsItemWithUsernamePutResponse

func NewItemOutside_collaboratorsItemWithUsernamePutResponse() *ItemOutside_collaboratorsItemWithUsernamePutResponse

NewItemOutside_collaboratorsItemWithUsernamePutResponse instantiates a new ItemOutside_collaboratorsItemWithUsernamePutResponse and sets the default values.

func (*ItemOutside_collaboratorsItemWithUsernamePutResponse) GetFieldDeserializers

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

func (*ItemOutside_collaboratorsItemWithUsernamePutResponse) Serialize

Serialize serializes information the current object

type ItemOutside_collaboratorsItemWithUsernameResponse

type ItemOutside_collaboratorsItemWithUsernameResponse struct {
	ItemOutside_collaboratorsItemWithUsernamePutResponse
}

ItemOutside_collaboratorsItemWithUsernameResponse Deprecated: This class is obsolete. Use WithUsernamePutResponse instead.

func NewItemOutside_collaboratorsItemWithUsernameResponse

func NewItemOutside_collaboratorsItemWithUsernameResponse() *ItemOutside_collaboratorsItemWithUsernameResponse

NewItemOutside_collaboratorsItemWithUsernameResponse instantiates a new ItemOutside_collaboratorsItemWithUsernameResponse and sets the default values.

type ItemOutside_collaboratorsItemWithUsernameResponseable

ItemOutside_collaboratorsItemWithUsernameResponseable Deprecated: This class is obsolete. Use WithUsernamePutResponse instead.

type ItemOutside_collaboratorsRequestBuilder

type ItemOutside_collaboratorsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemOutside_collaboratorsRequestBuilder builds and executes requests for operations under \orgs\{org}\outside_collaborators

func NewItemOutside_collaboratorsRequestBuilder

NewItemOutside_collaboratorsRequestBuilder instantiates a new ItemOutside_collaboratorsRequestBuilder and sets the default values.

func NewItemOutside_collaboratorsRequestBuilderInternal

func NewItemOutside_collaboratorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOutside_collaboratorsRequestBuilder

NewItemOutside_collaboratorsRequestBuilderInternal instantiates a new ItemOutside_collaboratorsRequestBuilder and sets the default values.

func (*ItemOutside_collaboratorsRequestBuilder) ByUsername

ByUsername gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.outside_collaborators.item collection returns a *ItemOutside_collaboratorsWithUsernameItemRequestBuilder when successful

func (*ItemOutside_collaboratorsRequestBuilder) Get

Get list all users who are outside collaborators of an organization. returns a []SimpleUserable when successful API method documentation

func (*ItemOutside_collaboratorsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all users who are outside collaborators of an organization. returns a *RequestInformation when successful

func (*ItemOutside_collaboratorsRequestBuilder) 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 *ItemOutside_collaboratorsRequestBuilder when successful

type ItemOutside_collaboratorsRequestBuilderGetQueryParameters

type ItemOutside_collaboratorsRequestBuilderGetQueryParameters struct {
	// Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) enabled will be returned.
	Filter *if595b4d15d1c00ac6fbf03ef6c7dd96d7dbb91167133353a2db35acca910c87d.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/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemOutside_collaboratorsRequestBuilderGetQueryParameters list all users who are outside collaborators of an organization.

type ItemOutside_collaboratorsWithUsernameItemRequestBuilder

type ItemOutside_collaboratorsWithUsernameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemOutside_collaboratorsWithUsernameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\outside_collaborators\{username}

func NewItemOutside_collaboratorsWithUsernameItemRequestBuilder

func NewItemOutside_collaboratorsWithUsernameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOutside_collaboratorsWithUsernameItemRequestBuilder

NewItemOutside_collaboratorsWithUsernameItemRequestBuilder instantiates a new ItemOutside_collaboratorsWithUsernameItemRequestBuilder and sets the default values.

func NewItemOutside_collaboratorsWithUsernameItemRequestBuilderInternal

func NewItemOutside_collaboratorsWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOutside_collaboratorsWithUsernameItemRequestBuilder

NewItemOutside_collaboratorsWithUsernameItemRequestBuilderInternal instantiates a new ItemOutside_collaboratorsWithUsernameItemRequestBuilder and sets the default values.

func (*ItemOutside_collaboratorsWithUsernameItemRequestBuilder) Delete

Delete removing a user from this list will remove them from all the organization's repositories. returns a ItemOutside_collaboratorsItemWithUsername422Error error when the service returns a 422 status code API method documentation

func (*ItemOutside_collaboratorsWithUsernameItemRequestBuilder) Put

Put when an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see "[Converting an organization member to an outside collaborator](https://docs.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)". Converting an organization member to an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)." returns a ItemOutside_collaboratorsItemWithUsernamePutResponseable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemOutside_collaboratorsWithUsernameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removing a user from this list will remove them from all the organization's repositories. returns a *RequestInformation when successful

func (*ItemOutside_collaboratorsWithUsernameItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation when an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see "[Converting an organization member to an outside collaborator](https://docs.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)". Converting an organization member to an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)." returns a *RequestInformation when successful

func (*ItemOutside_collaboratorsWithUsernameItemRequestBuilder) 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 *ItemOutside_collaboratorsWithUsernameItemRequestBuilder when successful

type ItemPackagesItemItemRestoreRequestBuilder

type ItemPackagesItemItemRestoreRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPackagesItemItemRestoreRequestBuilder builds and executes requests for operations under \orgs\{org}\packages\{package_type}\{package_name}\restore

func NewItemPackagesItemItemRestoreRequestBuilder

NewItemPackagesItemItemRestoreRequestBuilder instantiates a new ItemPackagesItemItemRestoreRequestBuilder and sets the default values.

func NewItemPackagesItemItemRestoreRequestBuilderInternal

func NewItemPackagesItemItemRestoreRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemRestoreRequestBuilder

NewItemPackagesItemItemRestoreRequestBuilderInternal instantiates a new ItemPackagesItemItemRestoreRequestBuilder and sets the default values.

func (*ItemPackagesItemItemRestoreRequestBuilder) Post

Post restores an entire package in an organization.You can restore a deleted package under the following conditions: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemPackagesItemItemRestoreRequestBuilder) ToPostRequestInformation

ToPostRequestInformation restores an entire package in an organization.You can restore a deleted package under the following conditions: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful

func (*ItemPackagesItemItemRestoreRequestBuilder) 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 *ItemPackagesItemItemRestoreRequestBuilder when successful

type ItemPackagesItemItemRestoreRequestBuilderPostQueryParameters

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

ItemPackagesItemItemRestoreRequestBuilderPostQueryParameters restores an entire package in an organization.You can restore a deleted package under the following conditions: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."

type ItemPackagesItemItemVersionsItemRestoreRequestBuilder

type ItemPackagesItemItemVersionsItemRestoreRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPackagesItemItemVersionsItemRestoreRequestBuilder builds and executes requests for operations under \orgs\{org}\packages\{package_type}\{package_name}\versions\{package_version_id}\restore

func NewItemPackagesItemItemVersionsItemRestoreRequestBuilder

func NewItemPackagesItemItemVersionsItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsItemRestoreRequestBuilder

NewItemPackagesItemItemVersionsItemRestoreRequestBuilder instantiates a new ItemPackagesItemItemVersionsItemRestoreRequestBuilder and sets the default values.

func NewItemPackagesItemItemVersionsItemRestoreRequestBuilderInternal

func NewItemPackagesItemItemVersionsItemRestoreRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsItemRestoreRequestBuilder

NewItemPackagesItemItemVersionsItemRestoreRequestBuilderInternal instantiates a new ItemPackagesItemItemVersionsItemRestoreRequestBuilder and sets the default values.

func (*ItemPackagesItemItemVersionsItemRestoreRequestBuilder) Post

Post restores a specific package version in an organization.You can restore a deleted package under the following conditions: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemPackagesItemItemVersionsItemRestoreRequestBuilder) ToPostRequestInformation

ToPostRequestInformation restores a specific package version in an organization.You can restore a deleted package under the following conditions: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."OAuth app tokens and personal access tokens (classic) need the `read:packages` and `write:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful

func (*ItemPackagesItemItemVersionsItemRestoreRequestBuilder) 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 *ItemPackagesItemItemVersionsItemRestoreRequestBuilder when successful

type ItemPackagesItemItemVersionsRequestBuilder

type ItemPackagesItemItemVersionsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPackagesItemItemVersionsRequestBuilder builds and executes requests for operations under \orgs\{org}\packages\{package_type}\{package_name}\versions

func NewItemPackagesItemItemVersionsRequestBuilder

NewItemPackagesItemItemVersionsRequestBuilder instantiates a new ItemPackagesItemItemVersionsRequestBuilder and sets the default values.

func NewItemPackagesItemItemVersionsRequestBuilderInternal

func NewItemPackagesItemItemVersionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsRequestBuilder

NewItemPackagesItemItemVersionsRequestBuilderInternal instantiates a new ItemPackagesItemItemVersionsRequestBuilder and sets the default values.

func (*ItemPackagesItemItemVersionsRequestBuilder) ByPackage_version_id

ByPackage_version_id gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.packages.item.item.versions.item collection returns a *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder when successful

func (*ItemPackagesItemItemVersionsRequestBuilder) Get

Get lists package versions for a package owned by an organization.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a []PackageVersionable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemPackagesItemItemVersionsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists package versions for a package owned by an organization.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful

func (*ItemPackagesItemItemVersionsRequestBuilder) 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 *ItemPackagesItemItemVersionsRequestBuilder when successful

type ItemPackagesItemItemVersionsRequestBuilderGetQueryParameters

type ItemPackagesItemItemVersionsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// The state of the package, either active or deleted.
	State *i9a34b8e68f433e2618d3e623e60543e9c60f8c189bf5031f9180afed55466b3f.GetStateQueryParameterType `uriparametername:"state"`
}

ItemPackagesItemItemVersionsRequestBuilderGetQueryParameters lists package versions for a package owned by an organization.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."

type ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder

type ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\packages\{package_type}\{package_name}\versions\{package_version_id}

func NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder

func NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder

NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder instantiates a new ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder and sets the default values.

func NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderInternal

func NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder

NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderInternal instantiates a new ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder and sets the default values.

func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Delete

Delete deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Get

Get gets a specific package version in an organization.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a PackageVersionable when successful API method documentation

func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Restore

Restore the restore property returns a *ItemPackagesItemItemVersionsItemRestoreRequestBuilder when successful

func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful

func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a specific package version in an organization.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful

func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) WithUrl

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

type ItemPackagesItemWithPackage_nameItemRequestBuilder

type ItemPackagesItemWithPackage_nameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPackagesItemWithPackage_nameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\packages\{package_type}\{package_name}

func NewItemPackagesItemWithPackage_nameItemRequestBuilder

NewItemPackagesItemWithPackage_nameItemRequestBuilder instantiates a new ItemPackagesItemWithPackage_nameItemRequestBuilder and sets the default values.

func NewItemPackagesItemWithPackage_nameItemRequestBuilderInternal

func NewItemPackagesItemWithPackage_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemWithPackage_nameItemRequestBuilder

NewItemPackagesItemWithPackage_nameItemRequestBuilderInternal instantiates a new ItemPackagesItemWithPackage_nameItemRequestBuilder and sets the default values.

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Delete

Delete deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Get

Get gets a specific package in an organization.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a PackageEscapedable when successful API method documentation

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Restore

Restore the restore property returns a *ItemPackagesItemItemRestoreRequestBuilder when successful

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."OAuth app tokens and personal access tokens (classic) need the `read:packages` and `delete:packages` scopes to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a specific package in an organization.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Versions

Versions the versions property returns a *ItemPackagesItemItemVersionsRequestBuilder when successful

func (*ItemPackagesItemWithPackage_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 *ItemPackagesItemWithPackage_nameItemRequestBuilder when successful

type ItemPackagesRequestBuilder

ItemPackagesRequestBuilder builds and executes requests for operations under \orgs\{org}\packages

func NewItemPackagesRequestBuilder

NewItemPackagesRequestBuilder instantiates a new ItemPackagesRequestBuilder and sets the default values.

func NewItemPackagesRequestBuilderInternal

func NewItemPackagesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesRequestBuilder

NewItemPackagesRequestBuilderInternal instantiates a new ItemPackagesRequestBuilder and sets the default values.

func (*ItemPackagesRequestBuilder) ByPackage_type

ByPackage_type gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.packages.item collection returns a *ItemPackagesWithPackage_typeItemRequestBuilder when successful

func (*ItemPackagesRequestBuilder) Get

Get lists packages in an organization readable by the user.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a []PackageEscapedable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code API method documentation

func (*ItemPackagesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists packages in an organization readable by the user.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful

func (*ItemPackagesRequestBuilder) 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 *ItemPackagesRequestBuilder when successful

type ItemPackagesRequestBuilderGetQueryParameters

type ItemPackagesRequestBuilderGetQueryParameters struct {
	// The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry.
	Package_type *i54a313bac026cb0feec5bbef0f57abc11427cc4e5752056265b05087fd0d9089.GetPackage_typeQueryParameterType `uriparametername:"package_type"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// The selected visibility of the packages.  This parameter is optional and only filters an existing result set.The `internal` visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems `internal` is synonymous with `private`.For the list of GitHub Packages registries that support granular permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
	Visibility *i54a313bac026cb0feec5bbef0f57abc11427cc4e5752056265b05087fd0d9089.GetVisibilityQueryParameterType `uriparametername:"visibility"`
}

ItemPackagesRequestBuilderGetQueryParameters lists packages in an organization readable by the user.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."

type ItemPackagesWithPackage_typeItemRequestBuilder

type ItemPackagesWithPackage_typeItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPackagesWithPackage_typeItemRequestBuilder builds and executes requests for operations under \orgs\{org}\packages\{package_type}

func NewItemPackagesWithPackage_typeItemRequestBuilder

NewItemPackagesWithPackage_typeItemRequestBuilder instantiates a new ItemPackagesWithPackage_typeItemRequestBuilder and sets the default values.

func NewItemPackagesWithPackage_typeItemRequestBuilderInternal

func NewItemPackagesWithPackage_typeItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesWithPackage_typeItemRequestBuilder

NewItemPackagesWithPackage_typeItemRequestBuilderInternal instantiates a new ItemPackagesWithPackage_typeItemRequestBuilder and sets the default values.

func (*ItemPackagesWithPackage_typeItemRequestBuilder) ByPackage_name

ByPackage_name gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.packages.item.item collection returns a *ItemPackagesItemWithPackage_nameItemRequestBuilder when successful

type ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder

type ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder builds and executes requests for operations under \orgs\{org}\personal-access-token-requests\{pat_request_id}\repositories

func NewItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder

func NewItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder

NewItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder instantiates a new ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder and sets the default values.

func NewItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderInternal

func NewItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder

NewItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderInternal instantiates a new ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder and sets the default values.

func (*ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder) Get

Get lists the repositories a fine-grained personal access token request is requesting access to.Only GitHub Apps can use this endpoint. returns a []MinimalRepositoryable 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 500 status code API method documentation

func (*ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the repositories a fine-grained personal access token request is requesting access to.Only GitHub Apps can use this endpoint. returns a *RequestInformation when successful

func (*ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder) 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 *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder when successful

type ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderGetQueryParameters

type ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderGetQueryParameters lists the repositories a fine-grained personal access token request is requesting access to.Only GitHub Apps can use this endpoint.

type ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody

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

func NewItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody

func NewItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody() *ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody

NewItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody instantiates a new ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody and sets the default values.

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

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

func (*ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) GetReason

GetReason gets the reason property value. Reason for approving or denying the request. Max 1024 characters. returns a *string when successful

func (*ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) Serialize

Serialize serializes information the current object

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

SetReason sets the reason property value. Reason for approving or denying the request. Max 1024 characters.

type ItemPersonalAccessTokenRequestsPostRequestBody

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

func NewItemPersonalAccessTokenRequestsPostRequestBody

func NewItemPersonalAccessTokenRequestsPostRequestBody() *ItemPersonalAccessTokenRequestsPostRequestBody

NewItemPersonalAccessTokenRequestsPostRequestBody instantiates a new ItemPersonalAccessTokenRequestsPostRequestBody and sets the default values.

func (*ItemPersonalAccessTokenRequestsPostRequestBody) GetAdditionalData

func (m *ItemPersonalAccessTokenRequestsPostRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemPersonalAccessTokenRequestsPostRequestBody) GetFieldDeserializers

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

func (*ItemPersonalAccessTokenRequestsPostRequestBody) GetPatRequestIds

func (m *ItemPersonalAccessTokenRequestsPostRequestBody) GetPatRequestIds() []int32

GetPatRequestIds gets the pat_request_ids property value. Unique identifiers of the requests for access via fine-grained personal access token. Must be formed of between 1 and 100 `pat_request_id` values. returns a []int32 when successful

func (*ItemPersonalAccessTokenRequestsPostRequestBody) GetReason

GetReason gets the reason property value. Reason for approving or denying the requests. Max 1024 characters. returns a *string when successful

func (*ItemPersonalAccessTokenRequestsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemPersonalAccessTokenRequestsPostRequestBody) SetAdditionalData

func (m *ItemPersonalAccessTokenRequestsPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemPersonalAccessTokenRequestsPostRequestBody) SetPatRequestIds

func (m *ItemPersonalAccessTokenRequestsPostRequestBody) SetPatRequestIds(value []int32)

SetPatRequestIds sets the pat_request_ids property value. Unique identifiers of the requests for access via fine-grained personal access token. Must be formed of between 1 and 100 `pat_request_id` values.

func (*ItemPersonalAccessTokenRequestsPostRequestBody) SetReason

SetReason sets the reason property value. Reason for approving or denying the requests. Max 1024 characters.

type ItemPersonalAccessTokenRequestsPostRequestBodyable

type ItemPersonalAccessTokenRequestsPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetPatRequestIds() []int32
	GetReason() *string
	SetPatRequestIds(value []int32)
	SetReason(value *string)
}

type ItemPersonalAccessTokenRequestsPostResponse

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

func NewItemPersonalAccessTokenRequestsPostResponse

func NewItemPersonalAccessTokenRequestsPostResponse() *ItemPersonalAccessTokenRequestsPostResponse

NewItemPersonalAccessTokenRequestsPostResponse instantiates a new ItemPersonalAccessTokenRequestsPostResponse and sets the default values.

func (*ItemPersonalAccessTokenRequestsPostResponse) GetAdditionalData

func (m *ItemPersonalAccessTokenRequestsPostResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemPersonalAccessTokenRequestsPostResponse) GetFieldDeserializers

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

func (*ItemPersonalAccessTokenRequestsPostResponse) Serialize

Serialize serializes information the current object

func (*ItemPersonalAccessTokenRequestsPostResponse) SetAdditionalData

func (m *ItemPersonalAccessTokenRequestsPostResponse) SetAdditionalData(value map[string]any)

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

type ItemPersonalAccessTokenRequestsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPersonalAccessTokenRequestsRequestBuilder builds and executes requests for operations under \orgs\{org}\personal-access-token-requests

func NewItemPersonalAccessTokenRequestsRequestBuilder

NewItemPersonalAccessTokenRequestsRequestBuilder instantiates a new ItemPersonalAccessTokenRequestsRequestBuilder and sets the default values.

func NewItemPersonalAccessTokenRequestsRequestBuilderInternal

func NewItemPersonalAccessTokenRequestsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokenRequestsRequestBuilder

NewItemPersonalAccessTokenRequestsRequestBuilderInternal instantiates a new ItemPersonalAccessTokenRequestsRequestBuilder and sets the default values.

func (*ItemPersonalAccessTokenRequestsRequestBuilder) ByPat_request_id

ByPat_request_id gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.personalAccessTokenRequests.item collection returns a *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder when successful

func (*ItemPersonalAccessTokenRequestsRequestBuilder) Get

Get lists requests from organization members to access organization resources with a fine-grained personal access token.Only GitHub Apps can use this endpoint. returns a []OrganizationProgrammaticAccessGrantRequestable 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 returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemPersonalAccessTokenRequestsRequestBuilder) Post

Post approves or denies multiple pending requests to access organization resources via a fine-grained personal access token.Only GitHub Apps can use this endpoint. returns a ItemPersonalAccessTokenRequestsPostResponseable 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 returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemPersonalAccessTokenRequestsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists requests from organization members to access organization resources with a fine-grained personal access token.Only GitHub Apps can use this endpoint. returns a *RequestInformation when successful

func (*ItemPersonalAccessTokenRequestsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation approves or denies multiple pending requests to access organization resources via a fine-grained personal access token.Only GitHub Apps can use this endpoint. returns a *RequestInformation when successful

func (*ItemPersonalAccessTokenRequestsRequestBuilder) 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 *ItemPersonalAccessTokenRequestsRequestBuilder when successful

type ItemPersonalAccessTokenRequestsRequestBuilderGetQueryParameters

type ItemPersonalAccessTokenRequestsRequestBuilderGetQueryParameters struct {
	// The direction to sort the results by.
	Direction *if40f6bba016cf7cc8e1dd7375501cb9368628a1bf123e37f5946192c743664a2.GetDirectionQueryParameterType `uriparametername:"direction"`
	// Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
	Last_used_after *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"last_used_after"`
	// Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
	Last_used_before *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"last_used_before"`
	// A list of owner usernames to use to filter the results.
	Owner []string `uriparametername:"owner"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// The permission to use to filter the results.
	Permission *string `uriparametername:"permission"`
	// The name of the repository to use to filter the results.
	Repository *string `uriparametername:"repository"`
	// The property by which to sort the results.
	Sort *if40f6bba016cf7cc8e1dd7375501cb9368628a1bf123e37f5946192c743664a2.GetSortQueryParameterType `uriparametername:"sort"`
}

ItemPersonalAccessTokenRequestsRequestBuilderGetQueryParameters lists requests from organization members to access organization resources with a fine-grained personal access token.Only GitHub Apps can use this endpoint.

type ItemPersonalAccessTokenRequestsResponse

type ItemPersonalAccessTokenRequestsResponse struct {
	ItemPersonalAccessTokenRequestsPostResponse
}

ItemPersonalAccessTokenRequestsResponse Deprecated: This class is obsolete. Use personalAccessTokenRequestsPostResponse instead.

func NewItemPersonalAccessTokenRequestsResponse

func NewItemPersonalAccessTokenRequestsResponse() *ItemPersonalAccessTokenRequestsResponse

NewItemPersonalAccessTokenRequestsResponse instantiates a new ItemPersonalAccessTokenRequestsResponse and sets the default values.

type ItemPersonalAccessTokenRequestsResponseable

ItemPersonalAccessTokenRequestsResponseable Deprecated: This class is obsolete. Use personalAccessTokenRequestsPostResponse instead.

type ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder

type ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\personal-access-token-requests\{pat_request_id}

func NewItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder

func NewItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder

NewItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder instantiates a new ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder and sets the default values.

func NewItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilderInternal

func NewItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder

NewItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilderInternal instantiates a new ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder and sets the default values.

func (*ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder) Post

Post approves or denies a pending request to access organization resources via a fine-grained personal access token.Only GitHub Apps can use this endpoint. returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder) Repositories

Repositories the repositories property returns a *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder when successful

func (*ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder) ToPostRequestInformation

ToPostRequestInformation approves or denies a pending request to access organization resources via a fine-grained personal access token.Only GitHub Apps can use this endpoint. returns a *RequestInformation when successful

func (*ItemPersonalAccessTokenRequestsWithPat_request_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 *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder when successful

type ItemPersonalAccessTokensItemRepositoriesRequestBuilder

type ItemPersonalAccessTokensItemRepositoriesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPersonalAccessTokensItemRepositoriesRequestBuilder builds and executes requests for operations under \orgs\{org}\personal-access-tokens\{pat_id}\repositories

func NewItemPersonalAccessTokensItemRepositoriesRequestBuilder

func NewItemPersonalAccessTokensItemRepositoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokensItemRepositoriesRequestBuilder

NewItemPersonalAccessTokensItemRepositoriesRequestBuilder instantiates a new ItemPersonalAccessTokensItemRepositoriesRequestBuilder and sets the default values.

func NewItemPersonalAccessTokensItemRepositoriesRequestBuilderInternal

func NewItemPersonalAccessTokensItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokensItemRepositoriesRequestBuilder

NewItemPersonalAccessTokensItemRepositoriesRequestBuilderInternal instantiates a new ItemPersonalAccessTokensItemRepositoriesRequestBuilder and sets the default values.

func (*ItemPersonalAccessTokensItemRepositoriesRequestBuilder) Get

Get lists the repositories a fine-grained personal access token has access to.Only GitHub Apps can use this endpoint. returns a []MinimalRepositoryable 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 500 status code API method documentation

func (*ItemPersonalAccessTokensItemRepositoriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the repositories a fine-grained personal access token has access to.Only GitHub Apps can use this endpoint. returns a *RequestInformation when successful

func (*ItemPersonalAccessTokensItemRepositoriesRequestBuilder) 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 *ItemPersonalAccessTokensItemRepositoriesRequestBuilder when successful

type ItemPersonalAccessTokensItemRepositoriesRequestBuilderGetQueryParameters

type ItemPersonalAccessTokensItemRepositoriesRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemPersonalAccessTokensItemRepositoriesRequestBuilderGetQueryParameters lists the repositories a fine-grained personal access token has access to.Only GitHub Apps can use this endpoint.

type ItemPersonalAccessTokensItemWithPat_PostRequestBody

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

func NewItemPersonalAccessTokensItemWithPat_PostRequestBody

func NewItemPersonalAccessTokensItemWithPat_PostRequestBody() *ItemPersonalAccessTokensItemWithPat_PostRequestBody

NewItemPersonalAccessTokensItemWithPat_PostRequestBody instantiates a new ItemPersonalAccessTokensItemWithPat_PostRequestBody and sets the default values.

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

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

func (*ItemPersonalAccessTokensItemWithPat_PostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemPersonalAccessTokensItemWithPat_PostRequestBody) SetAdditionalData

func (m *ItemPersonalAccessTokensItemWithPat_PostRequestBody) SetAdditionalData(value map[string]any)

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

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

func NewItemPersonalAccessTokensPostRequestBody

func NewItemPersonalAccessTokensPostRequestBody() *ItemPersonalAccessTokensPostRequestBody

NewItemPersonalAccessTokensPostRequestBody instantiates a new ItemPersonalAccessTokensPostRequestBody and sets the default values.

func (*ItemPersonalAccessTokensPostRequestBody) GetAdditionalData

func (m *ItemPersonalAccessTokensPostRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemPersonalAccessTokensPostRequestBody) GetFieldDeserializers

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

func (*ItemPersonalAccessTokensPostRequestBody) GetPatIds

GetPatIds gets the pat_ids property value. The IDs of the fine-grained personal access tokens. returns a []int32 when successful

func (*ItemPersonalAccessTokensPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemPersonalAccessTokensPostRequestBody) SetAdditionalData

func (m *ItemPersonalAccessTokensPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemPersonalAccessTokensPostRequestBody) SetPatIds

func (m *ItemPersonalAccessTokensPostRequestBody) SetPatIds(value []int32)

SetPatIds sets the pat_ids property value. The IDs of the fine-grained personal access tokens.

type ItemPersonalAccessTokensPostResponse

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

func NewItemPersonalAccessTokensPostResponse

func NewItemPersonalAccessTokensPostResponse() *ItemPersonalAccessTokensPostResponse

NewItemPersonalAccessTokensPostResponse instantiates a new ItemPersonalAccessTokensPostResponse and sets the default values.

func (*ItemPersonalAccessTokensPostResponse) GetAdditionalData

func (m *ItemPersonalAccessTokensPostResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemPersonalAccessTokensPostResponse) GetFieldDeserializers

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

func (*ItemPersonalAccessTokensPostResponse) Serialize

Serialize serializes information the current object

func (*ItemPersonalAccessTokensPostResponse) SetAdditionalData

func (m *ItemPersonalAccessTokensPostResponse) SetAdditionalData(value map[string]any)

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

type ItemPersonalAccessTokensRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPersonalAccessTokensRequestBuilder builds and executes requests for operations under \orgs\{org}\personal-access-tokens

func NewItemPersonalAccessTokensRequestBuilder

NewItemPersonalAccessTokensRequestBuilder instantiates a new ItemPersonalAccessTokensRequestBuilder and sets the default values.

func NewItemPersonalAccessTokensRequestBuilderInternal

func NewItemPersonalAccessTokensRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokensRequestBuilder

NewItemPersonalAccessTokensRequestBuilderInternal instantiates a new ItemPersonalAccessTokensRequestBuilder and sets the default values.

func (*ItemPersonalAccessTokensRequestBuilder) ByPat_id

ByPat_id gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.personalAccessTokens.item collection returns a *ItemPersonalAccessTokensWithPat_ItemRequestBuilder when successful

func (*ItemPersonalAccessTokensRequestBuilder) Get

Get lists approved fine-grained personal access tokens owned by organization members that can access organization resources.Only GitHub Apps can use this endpoint. returns a []OrganizationProgrammaticAccessGrantable 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 returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemPersonalAccessTokensRequestBuilder) Post

Post updates the access organization members have to organization resources via fine-grained personal access tokens. Limited to revoking a token's existing access.Only GitHub Apps can use this endpoint. returns a ItemPersonalAccessTokensPostResponseable 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 returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemPersonalAccessTokensRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists approved fine-grained personal access tokens owned by organization members that can access organization resources.Only GitHub Apps can use this endpoint. returns a *RequestInformation when successful

func (*ItemPersonalAccessTokensRequestBuilder) ToPostRequestInformation

ToPostRequestInformation updates the access organization members have to organization resources via fine-grained personal access tokens. Limited to revoking a token's existing access.Only GitHub Apps can use this endpoint. returns a *RequestInformation when successful

func (*ItemPersonalAccessTokensRequestBuilder) 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 *ItemPersonalAccessTokensRequestBuilder when successful

type ItemPersonalAccessTokensRequestBuilderGetQueryParameters

type ItemPersonalAccessTokensRequestBuilderGetQueryParameters struct {
	// The direction to sort the results by.
	Direction *i3106aaea777cbd2e189aa9c11fbc93d90c3c7272c21ca15937589998ee7e5a2e.GetDirectionQueryParameterType `uriparametername:"direction"`
	// Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
	Last_used_after *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"last_used_after"`
	// Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.
	Last_used_before *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"last_used_before"`
	// A list of owner usernames to use to filter the results.
	Owner []string `uriparametername:"owner"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// The permission to use to filter the results.
	Permission *string `uriparametername:"permission"`
	// The name of the repository to use to filter the results.
	Repository *string `uriparametername:"repository"`
	// The property by which to sort the results.
	Sort *i3106aaea777cbd2e189aa9c11fbc93d90c3c7272c21ca15937589998ee7e5a2e.GetSortQueryParameterType `uriparametername:"sort"`
}

ItemPersonalAccessTokensRequestBuilderGetQueryParameters lists approved fine-grained personal access tokens owned by organization members that can access organization resources.Only GitHub Apps can use this endpoint.

type ItemPersonalAccessTokensResponse

type ItemPersonalAccessTokensResponse struct {
	ItemPersonalAccessTokensPostResponse
}

ItemPersonalAccessTokensResponse Deprecated: This class is obsolete. Use personalAccessTokensPostResponse instead.

func NewItemPersonalAccessTokensResponse

func NewItemPersonalAccessTokensResponse() *ItemPersonalAccessTokensResponse

NewItemPersonalAccessTokensResponse instantiates a new ItemPersonalAccessTokensResponse and sets the default values.

type ItemPersonalAccessTokensResponseable

ItemPersonalAccessTokensResponseable Deprecated: This class is obsolete. Use personalAccessTokensPostResponse instead.

type ItemPersonalAccessTokensWithPat_ItemRequestBuilder

type ItemPersonalAccessTokensWithPat_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPersonalAccessTokensWithPat_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\personal-access-tokens\{pat_id}

func NewItemPersonalAccessTokensWithPat_ItemRequestBuilder

NewItemPersonalAccessTokensWithPat_ItemRequestBuilder instantiates a new ItemPersonalAccessTokensWithPat_ItemRequestBuilder and sets the default values.

func NewItemPersonalAccessTokensWithPat_ItemRequestBuilderInternal

func NewItemPersonalAccessTokensWithPat_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokensWithPat_ItemRequestBuilder

NewItemPersonalAccessTokensWithPat_ItemRequestBuilderInternal instantiates a new ItemPersonalAccessTokensWithPat_ItemRequestBuilder and sets the default values.

func (*ItemPersonalAccessTokensWithPat_ItemRequestBuilder) Post

Post updates the access an organization member has to organization resources via a fine-grained personal access token. Limited to revoking the token's existing access. Limited to revoking a token's existing access.Only GitHub Apps can use this endpoint. returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemPersonalAccessTokensWithPat_ItemRequestBuilder) Repositories

Repositories the repositories property returns a *ItemPersonalAccessTokensItemRepositoriesRequestBuilder when successful

func (*ItemPersonalAccessTokensWithPat_ItemRequestBuilder) ToPostRequestInformation

ToPostRequestInformation updates the access an organization member has to organization resources via a fine-grained personal access token. Limited to revoking the token's existing access. Limited to revoking a token's existing access.Only GitHub Apps can use this endpoint. returns a *RequestInformation when successful

func (*ItemPersonalAccessTokensWithPat_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 *ItemPersonalAccessTokensWithPat_ItemRequestBuilder when successful

type ItemProjectsPostRequestBody

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

func NewItemProjectsPostRequestBody

func NewItemProjectsPostRequestBody() *ItemProjectsPostRequestBody

NewItemProjectsPostRequestBody instantiates a new ItemProjectsPostRequestBody and sets the default values.

func (*ItemProjectsPostRequestBody) GetAdditionalData

func (m *ItemProjectsPostRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemProjectsPostRequestBody) GetBody

func (m *ItemProjectsPostRequestBody) GetBody() *string

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

func (*ItemProjectsPostRequestBody) GetFieldDeserializers

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

func (*ItemProjectsPostRequestBody) GetName

func (m *ItemProjectsPostRequestBody) GetName() *string

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

func (*ItemProjectsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemProjectsPostRequestBody) SetAdditionalData

func (m *ItemProjectsPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemProjectsPostRequestBody) SetBody

func (m *ItemProjectsPostRequestBody) SetBody(value *string)

SetBody sets the body property value. The description of the project.

func (*ItemProjectsPostRequestBody) SetName

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

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

type ItemProjectsRequestBuilder

ItemProjectsRequestBuilder builds and executes requests for operations under \orgs\{org}\projects

func NewItemProjectsRequestBuilder

NewItemProjectsRequestBuilder instantiates a new ItemProjectsRequestBuilder and sets the default values.

func NewItemProjectsRequestBuilderInternal

func NewItemProjectsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemProjectsRequestBuilder

NewItemProjectsRequestBuilderInternal instantiates a new ItemProjectsRequestBuilder and sets the default values.

func (*ItemProjectsRequestBuilder) Get

Get lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. 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 ValidationErrorSimple error when the service returns a 422 status code API method documentation

func (*ItemProjectsRequestBuilder) Post

Post creates an organization project board. Returns a `410 Gone` status if projects are disabled in the organization or if the organization 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 (*ItemProjectsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. 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 (*ItemProjectsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation creates an organization project board. Returns a `410 Gone` status if projects are disabled in the organization or if the organization 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 (*ItemProjectsRequestBuilder) 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 *ItemProjectsRequestBuilder when successful

type ItemProjectsRequestBuilderGetQueryParameters

type ItemProjectsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// Indicates the state of the projects to return.
	State *icb2cc83b1b9fe3e8152a337766c164dfb2e1940a90971ea8c545383bf9d4719b.GetStateQueryParameterType `uriparametername:"state"`
}

ItemProjectsRequestBuilderGetQueryParameters lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.

type ItemPropertiesRequestBuilder

ItemPropertiesRequestBuilder builds and executes requests for operations under \orgs\{org}\properties

func NewItemPropertiesRequestBuilder

NewItemPropertiesRequestBuilder instantiates a new ItemPropertiesRequestBuilder and sets the default values.

func NewItemPropertiesRequestBuilderInternal

func NewItemPropertiesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPropertiesRequestBuilder

NewItemPropertiesRequestBuilderInternal instantiates a new ItemPropertiesRequestBuilder and sets the default values.

func (*ItemPropertiesRequestBuilder) Schema

Schema the schema property returns a *ItemPropertiesSchemaRequestBuilder when successful

func (*ItemPropertiesRequestBuilder) Values

Values the values property returns a *ItemPropertiesValuesRequestBuilder when successful

type ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody

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

func NewItemPropertiesSchemaItemWithCustom_property_namePutRequestBody

func NewItemPropertiesSchemaItemWithCustom_property_namePutRequestBody() *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody

NewItemPropertiesSchemaItemWithCustom_property_namePutRequestBody instantiates a new ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody and sets the default values.

func (*ItemPropertiesSchemaItemWithCustom_property_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 (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetAllowedValues

GetAllowedValues gets the allowed_values property value. An ordered list of the allowed values of the property.The property can have up to 200 allowed values. returns a []string when successful

func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetDefaultValue

GetDefaultValue gets the default_value property value. Default value of the property returns a ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_valueable when successful

func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetDescription

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

func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetFieldDeserializers

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

func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetRequired

GetRequired gets the required property value. Whether the property is required. returns a *bool when successful

func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemPropertiesSchemaItemWithCustom_property_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 (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) SetAllowedValues

SetAllowedValues sets the allowed_values property value. An ordered list of the allowed values of the property.The property can have up to 200 allowed values.

func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) SetDefaultValue

SetDefaultValue sets the default_value property value. Default value of the property

func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) SetDescription

SetDescription sets the description property value. Short description of the property

func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) SetRequired

SetRequired sets the required property value. Whether the property is required.

type ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value added in v0.0.11

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

ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value composed type wrapper for classes string

func NewItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value added in v0.0.11

func NewItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value() *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value

NewItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value instantiates a new ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value and sets the default values.

func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value) GetFieldDeserializers added in v0.0.11

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

func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value) GetIsComposedType added in v0.0.11

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

func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value) GetString added in v0.0.11

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

func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value) Serialize added in v0.0.11

Serialize serializes information the current object

func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value) SetString added in v0.0.11

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

type ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_valueable added in v0.0.11

type ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_valueable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetString() *string
	SetString(value *string)
}

type ItemPropertiesSchemaPatchRequestBody

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

func NewItemPropertiesSchemaPatchRequestBody

func NewItemPropertiesSchemaPatchRequestBody() *ItemPropertiesSchemaPatchRequestBody

NewItemPropertiesSchemaPatchRequestBody instantiates a new ItemPropertiesSchemaPatchRequestBody and sets the default values.

func (*ItemPropertiesSchemaPatchRequestBody) GetAdditionalData

func (m *ItemPropertiesSchemaPatchRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemPropertiesSchemaPatchRequestBody) GetFieldDeserializers

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

func (*ItemPropertiesSchemaPatchRequestBody) GetProperties

GetProperties gets the properties property value. The array of custom properties to create or update. returns a []OrgCustomPropertyable when successful

func (*ItemPropertiesSchemaPatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemPropertiesSchemaPatchRequestBody) SetAdditionalData

func (m *ItemPropertiesSchemaPatchRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemPropertiesSchemaPatchRequestBody) SetProperties

SetProperties sets the properties property value. The array of custom properties to create or update.

type ItemPropertiesSchemaRequestBuilder

ItemPropertiesSchemaRequestBuilder builds and executes requests for operations under \orgs\{org}\properties\schema

func NewItemPropertiesSchemaRequestBuilder

NewItemPropertiesSchemaRequestBuilder instantiates a new ItemPropertiesSchemaRequestBuilder and sets the default values.

func NewItemPropertiesSchemaRequestBuilderInternal

func NewItemPropertiesSchemaRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPropertiesSchemaRequestBuilder

NewItemPropertiesSchemaRequestBuilderInternal instantiates a new ItemPropertiesSchemaRequestBuilder and sets the default values.

func (*ItemPropertiesSchemaRequestBuilder) ByCustom_property_name

ByCustom_property_name gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.properties.schema.item collection returns a *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder when successful

func (*ItemPropertiesSchemaRequestBuilder) Get

Get gets all custom properties defined for an organization.Organization members can read these properties. returns a []OrgCustomPropertyable 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 (*ItemPropertiesSchemaRequestBuilder) Patch

Patch creates new or updates existing custom properties defined for an organization in a batch.To use this endpoint, the authenticated user must be one of: - An administrator for the organization. - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. returns a []OrgCustomPropertyable 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 (*ItemPropertiesSchemaRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets all custom properties defined for an organization.Organization members can read these properties. returns a *RequestInformation when successful

func (*ItemPropertiesSchemaRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation creates new or updates existing custom properties defined for an organization in a batch.To use this endpoint, the authenticated user must be one of: - An administrator for the organization. - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. returns a *RequestInformation when successful

func (*ItemPropertiesSchemaRequestBuilder) 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 *ItemPropertiesSchemaRequestBuilder when successful

type ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder

type ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\properties\schema\{custom_property_name}

func NewItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder

func NewItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder

NewItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder instantiates a new ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder and sets the default values.

func NewItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderInternal

func NewItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder

NewItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderInternal instantiates a new ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder and sets the default values.

func (*ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) Delete

Delete removes a custom property that is defined for an organization.To use this endpoint, the authenticated user must be one of: - An administrator for the organization. - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. 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 (*ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) Get

Get gets a custom property that is defined for an organization.Organization members can read these properties. returns a OrgCustomPropertyable 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 (*ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) Put

Put creates a new or updates an existing custom property that is defined for an organization.To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. returns a OrgCustomPropertyable 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 (*ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removes a custom property that is defined for an organization.To use this endpoint, the authenticated user must be one of: - An administrator for the organization. - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. returns a *RequestInformation when successful

func (*ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a custom property that is defined for an organization.Organization members can read these properties. returns a *RequestInformation when successful

func (*ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation creates a new or updates an existing custom property that is defined for an organization.To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. returns a *RequestInformation when successful

func (*ItemPropertiesSchemaWithCustom_property_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 *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder when successful

type ItemPropertiesValuesPatchRequestBody

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

func NewItemPropertiesValuesPatchRequestBody

func NewItemPropertiesValuesPatchRequestBody() *ItemPropertiesValuesPatchRequestBody

NewItemPropertiesValuesPatchRequestBody instantiates a new ItemPropertiesValuesPatchRequestBody and sets the default values.

func (*ItemPropertiesValuesPatchRequestBody) GetAdditionalData

func (m *ItemPropertiesValuesPatchRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemPropertiesValuesPatchRequestBody) GetFieldDeserializers

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

func (*ItemPropertiesValuesPatchRequestBody) GetProperties

GetProperties gets the properties property value. List of custom property names and associated values to apply to the repositories. returns a []CustomPropertyValueable when successful

func (*ItemPropertiesValuesPatchRequestBody) GetRepositoryNames

func (m *ItemPropertiesValuesPatchRequestBody) GetRepositoryNames() []string

GetRepositoryNames gets the repository_names property value. The names of repositories that the custom property values will be applied to. returns a []string when successful

func (*ItemPropertiesValuesPatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemPropertiesValuesPatchRequestBody) SetAdditionalData

func (m *ItemPropertiesValuesPatchRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemPropertiesValuesPatchRequestBody) SetProperties

SetProperties sets the properties property value. List of custom property names and associated values to apply to the repositories.

func (*ItemPropertiesValuesPatchRequestBody) SetRepositoryNames

func (m *ItemPropertiesValuesPatchRequestBody) SetRepositoryNames(value []string)

SetRepositoryNames sets the repository_names property value. The names of repositories that the custom property values will be applied to.

type ItemPropertiesValuesRequestBuilder

ItemPropertiesValuesRequestBuilder builds and executes requests for operations under \orgs\{org}\properties\values

func NewItemPropertiesValuesRequestBuilder

NewItemPropertiesValuesRequestBuilder instantiates a new ItemPropertiesValuesRequestBuilder and sets the default values.

func NewItemPropertiesValuesRequestBuilderInternal

func NewItemPropertiesValuesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPropertiesValuesRequestBuilder

NewItemPropertiesValuesRequestBuilderInternal instantiates a new ItemPropertiesValuesRequestBuilder and sets the default values.

func (*ItemPropertiesValuesRequestBuilder) Get

Get lists organization repositories with all of their custom property values.Organization members can read these properties. returns a []OrgRepoCustomPropertyValuesable 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 (*ItemPropertiesValuesRequestBuilder) Patch

Patch create new or update existing custom property values for repositories in a batch that belong to an organization.Each target repository will have its custom property values updated to match the values provided in the request.A maximum of 30 repositories can be updated in a single request.Using a value of `null` for a custom property will remove or 'unset' the property value from the repository.To use this endpoint, the authenticated user must be one of: - An administrator for the organization. - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_values_editor` in the organization. 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 (*ItemPropertiesValuesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists organization repositories with all of their custom property values.Organization members can read these properties. returns a *RequestInformation when successful

func (*ItemPropertiesValuesRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation create new or update existing custom property values for repositories in a batch that belong to an organization.Each target repository will have its custom property values updated to match the values provided in the request.A maximum of 30 repositories can be updated in a single request.Using a value of `null` for a custom property will remove or 'unset' the property value from the repository.To use this endpoint, the authenticated user must be one of: - An administrator for the organization. - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_values_editor` in the organization. returns a *RequestInformation when successful

func (*ItemPropertiesValuesRequestBuilder) 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 *ItemPropertiesValuesRequestBuilder when successful

type ItemPropertiesValuesRequestBuilderGetQueryParameters

type ItemPropertiesValuesRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// Finds repositories in the organization with a query containing one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as the web interface for GitHub. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/rest/search/search#constructing-a-search-query). See "[Searching for repositories](https://docs.github.com/articles/searching-for-repositories/)" for a detailed list of qualifiers.
	Repository_query *string `uriparametername:"repository_query"`
}

ItemPropertiesValuesRequestBuilderGetQueryParameters lists organization repositories with all of their custom property values.Organization members can read these properties.

type ItemPublic_membersRequestBuilder

ItemPublic_membersRequestBuilder builds and executes requests for operations under \orgs\{org}\public_members

func NewItemPublic_membersRequestBuilder

NewItemPublic_membersRequestBuilder instantiates a new ItemPublic_membersRequestBuilder and sets the default values.

func NewItemPublic_membersRequestBuilderInternal

func NewItemPublic_membersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPublic_membersRequestBuilder

NewItemPublic_membersRequestBuilderInternal instantiates a new ItemPublic_membersRequestBuilder and sets the default values.

func (*ItemPublic_membersRequestBuilder) ByUsername

ByUsername gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.public_members.item collection returns a *ItemPublic_membersWithUsernameItemRequestBuilder when successful

func (*ItemPublic_membersRequestBuilder) Get

Get members of an organization can choose to have their membership publicized or not. returns a []SimpleUserable when successful API method documentation

func (*ItemPublic_membersRequestBuilder) ToGetRequestInformation

ToGetRequestInformation members of an organization can choose to have their membership publicized or not. returns a *RequestInformation when successful

func (*ItemPublic_membersRequestBuilder) 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 *ItemPublic_membersRequestBuilder when successful

type ItemPublic_membersRequestBuilderGetQueryParameters

type ItemPublic_membersRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemPublic_membersRequestBuilderGetQueryParameters members of an organization can choose to have their membership publicized or not.

type ItemPublic_membersWithUsernameItemRequestBuilder

type ItemPublic_membersWithUsernameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPublic_membersWithUsernameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\public_members\{username}

func NewItemPublic_membersWithUsernameItemRequestBuilder

NewItemPublic_membersWithUsernameItemRequestBuilder instantiates a new ItemPublic_membersWithUsernameItemRequestBuilder and sets the default values.

func NewItemPublic_membersWithUsernameItemRequestBuilderInternal

func NewItemPublic_membersWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPublic_membersWithUsernameItemRequestBuilder

NewItemPublic_membersWithUsernameItemRequestBuilderInternal instantiates a new ItemPublic_membersWithUsernameItemRequestBuilder and sets the default values.

func (*ItemPublic_membersWithUsernameItemRequestBuilder) Delete

Delete removes the public membership for the authenticated user from the specified organization, unless public visibility is enforced by default. API method documentation

func (*ItemPublic_membersWithUsernameItemRequestBuilder) Get

Get check if the provided user is a public member of the organization. API method documentation

func (*ItemPublic_membersWithUsernameItemRequestBuilder) Put

Put the user can publicize their own membership. (A user cannot publicize the membership for another user.)Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." returns a BasicError error when the service returns a 403 status code API method documentation

func (*ItemPublic_membersWithUsernameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removes the public membership for the authenticated user from the specified organization, unless public visibility is enforced by default. returns a *RequestInformation when successful

func (*ItemPublic_membersWithUsernameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation check if the provided user is a public member of the organization. returns a *RequestInformation when successful

func (*ItemPublic_membersWithUsernameItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation the user can publicize their own membership. (A user cannot publicize the membership for another user.)Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/rest/guides/getting-started-with-the-rest-api#http-method)." returns a *RequestInformation when successful

func (*ItemPublic_membersWithUsernameItemRequestBuilder) 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 *ItemPublic_membersWithUsernameItemRequestBuilder when successful

type ItemReposPostRequestBody

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

func NewItemReposPostRequestBody

func NewItemReposPostRequestBody() *ItemReposPostRequestBody

NewItemReposPostRequestBody instantiates a new ItemReposPostRequestBody and sets the default values.

func (*ItemReposPostRequestBody) GetAdditionalData

func (m *ItemReposPostRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemReposPostRequestBody) GetAllowAutoMerge

func (m *ItemReposPostRequestBody) GetAllowAutoMerge() *bool

GetAllowAutoMerge gets the allow_auto_merge property value. Either `true` to allow auto-merge on pull requests, or `false` to disallow auto-merge. returns a *bool when successful

func (*ItemReposPostRequestBody) GetAllowMergeCommit

func (m *ItemReposPostRequestBody) 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 (*ItemReposPostRequestBody) GetAllowRebaseMerge

func (m *ItemReposPostRequestBody) 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 (*ItemReposPostRequestBody) GetAllowSquashMerge

func (m *ItemReposPostRequestBody) 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 (*ItemReposPostRequestBody) GetAutoInit

func (m *ItemReposPostRequestBody) GetAutoInit() *bool

GetAutoInit gets the auto_init property value. Pass `true` to create an initial commit with empty README. returns a *bool when successful

func (*ItemReposPostRequestBody) GetCustomProperties

GetCustomProperties gets the custom_properties property value. The custom properties for the new repository. The keys are the custom property names, and the values are the corresponding custom property values. returns a ItemReposPostRequestBody_custom_propertiesable when successful

func (*ItemReposPostRequestBody) GetDeleteBranchOnMerge

func (m *ItemReposPostRequestBody) 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. **The authenticated user must be an organization owner to set this property to `true`.** returns a *bool when successful

func (*ItemReposPostRequestBody) GetDescription

func (m *ItemReposPostRequestBody) GetDescription() *string

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

func (*ItemReposPostRequestBody) GetFieldDeserializers

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

func (*ItemReposPostRequestBody) GetGitignoreTemplate

func (m *ItemReposPostRequestBody) GetGitignoreTemplate() *string

GetGitignoreTemplate gets the gitignore_template property value. Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, "Haskell". returns a *string when successful

func (*ItemReposPostRequestBody) GetHasDownloads

func (m *ItemReposPostRequestBody) GetHasDownloads() *bool

GetHasDownloads gets the has_downloads property value. Whether downloads are enabled. returns a *bool when successful

func (*ItemReposPostRequestBody) GetHasIssues

func (m *ItemReposPostRequestBody) 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 (*ItemReposPostRequestBody) GetHasProjects

func (m *ItemReposPostRequestBody) 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 (*ItemReposPostRequestBody) GetHasWiki

func (m *ItemReposPostRequestBody) 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 (*ItemReposPostRequestBody) GetHomepage

func (m *ItemReposPostRequestBody) GetHomepage() *string

GetHomepage gets the homepage property value. A URL with more information about the repository. returns a *string when successful

func (*ItemReposPostRequestBody) GetIsTemplate

func (m *ItemReposPostRequestBody) 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 (*ItemReposPostRequestBody) GetLicenseTemplate

func (m *ItemReposPostRequestBody) GetLicenseTemplate() *string

GetLicenseTemplate gets the license_template property value. Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://docs.github.com/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, "mit" or "mpl-2.0". returns a *string when successful

func (*ItemReposPostRequestBody) GetName

func (m *ItemReposPostRequestBody) GetName() *string

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

func (*ItemReposPostRequestBody) GetPrivate

func (m *ItemReposPostRequestBody) GetPrivate() *bool

GetPrivate gets the private property value. Whether the repository is private. returns a *bool when successful

func (*ItemReposPostRequestBody) GetTeamId

func (m *ItemReposPostRequestBody) GetTeamId() *int32

GetTeamId gets the team_id property value. The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization. returns a *int32 when successful

func (*ItemReposPostRequestBody) GetUseSquashPrTitleAsDefault

func (m *ItemReposPostRequestBody) 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 (*ItemReposPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemReposPostRequestBody) SetAdditionalData

func (m *ItemReposPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemReposPostRequestBody) SetAllowAutoMerge

func (m *ItemReposPostRequestBody) SetAllowAutoMerge(value *bool)

SetAllowAutoMerge sets the allow_auto_merge property value. Either `true` to allow auto-merge on pull requests, or `false` to disallow auto-merge.

func (*ItemReposPostRequestBody) SetAllowMergeCommit

func (m *ItemReposPostRequestBody) 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 (*ItemReposPostRequestBody) SetAllowRebaseMerge

func (m *ItemReposPostRequestBody) 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 (*ItemReposPostRequestBody) SetAllowSquashMerge

func (m *ItemReposPostRequestBody) 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 (*ItemReposPostRequestBody) SetAutoInit

func (m *ItemReposPostRequestBody) SetAutoInit(value *bool)

SetAutoInit sets the auto_init property value. Pass `true` to create an initial commit with empty README.

func (*ItemReposPostRequestBody) SetCustomProperties

SetCustomProperties sets the custom_properties property value. The custom properties for the new repository. The keys are the custom property names, and the values are the corresponding custom property values.

func (*ItemReposPostRequestBody) SetDeleteBranchOnMerge

func (m *ItemReposPostRequestBody) 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. **The authenticated user must be an organization owner to set this property to `true`.**

func (*ItemReposPostRequestBody) SetDescription

func (m *ItemReposPostRequestBody) SetDescription(value *string)

SetDescription sets the description property value. A short description of the repository.

func (*ItemReposPostRequestBody) SetGitignoreTemplate

func (m *ItemReposPostRequestBody) SetGitignoreTemplate(value *string)

SetGitignoreTemplate sets the gitignore_template property value. Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, "Haskell".

func (*ItemReposPostRequestBody) SetHasDownloads

func (m *ItemReposPostRequestBody) SetHasDownloads(value *bool)

SetHasDownloads sets the has_downloads property value. Whether downloads are enabled.

func (*ItemReposPostRequestBody) SetHasIssues

func (m *ItemReposPostRequestBody) SetHasIssues(value *bool)

SetHasIssues sets the has_issues property value. Either `true` to enable issues for this repository or `false` to disable them.

func (*ItemReposPostRequestBody) SetHasProjects

func (m *ItemReposPostRequestBody) 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 (*ItemReposPostRequestBody) SetHasWiki

func (m *ItemReposPostRequestBody) 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 (*ItemReposPostRequestBody) SetHomepage

func (m *ItemReposPostRequestBody) SetHomepage(value *string)

SetHomepage sets the homepage property value. A URL with more information about the repository.

func (*ItemReposPostRequestBody) SetIsTemplate

func (m *ItemReposPostRequestBody) 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 (*ItemReposPostRequestBody) SetLicenseTemplate

func (m *ItemReposPostRequestBody) SetLicenseTemplate(value *string)

SetLicenseTemplate sets the license_template property value. Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://docs.github.com/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, "mit" or "mpl-2.0".

func (*ItemReposPostRequestBody) SetName

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

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

func (*ItemReposPostRequestBody) SetPrivate

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

SetPrivate sets the private property value. Whether the repository is private.

func (*ItemReposPostRequestBody) SetTeamId

func (m *ItemReposPostRequestBody) SetTeamId(value *int32)

SetTeamId sets the team_id property value. The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization.

func (*ItemReposPostRequestBody) SetUseSquashPrTitleAsDefault

func (m *ItemReposPostRequestBody) 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:

type ItemReposPostRequestBody_custom_properties

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

ItemReposPostRequestBody_custom_properties the custom properties for the new repository. The keys are the custom property names, and the values are the corresponding custom property values.

func NewItemReposPostRequestBody_custom_properties

func NewItemReposPostRequestBody_custom_properties() *ItemReposPostRequestBody_custom_properties

NewItemReposPostRequestBody_custom_properties instantiates a new ItemReposPostRequestBody_custom_properties and sets the default values.

func (*ItemReposPostRequestBody_custom_properties) GetAdditionalData

func (m *ItemReposPostRequestBody_custom_properties) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemReposPostRequestBody_custom_properties) GetFieldDeserializers

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

func (*ItemReposPostRequestBody_custom_properties) Serialize

Serialize serializes information the current object

func (*ItemReposPostRequestBody_custom_properties) SetAdditionalData

func (m *ItemReposPostRequestBody_custom_properties) SetAdditionalData(value map[string]any)

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

type ItemReposPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetAllowAutoMerge() *bool
	GetAllowMergeCommit() *bool
	GetAllowRebaseMerge() *bool
	GetAllowSquashMerge() *bool
	GetAutoInit() *bool
	GetCustomProperties() ItemReposPostRequestBody_custom_propertiesable
	GetDeleteBranchOnMerge() *bool
	GetDescription() *string
	GetGitignoreTemplate() *string
	GetHasDownloads() *bool
	GetHasIssues() *bool
	GetHasProjects() *bool
	GetHasWiki() *bool
	GetHomepage() *string
	GetIsTemplate() *bool
	GetLicenseTemplate() *string
	GetName() *string
	GetPrivate() *bool
	GetTeamId() *int32
	GetUseSquashPrTitleAsDefault() *bool
	SetAllowAutoMerge(value *bool)
	SetAllowMergeCommit(value *bool)
	SetAllowRebaseMerge(value *bool)
	SetAllowSquashMerge(value *bool)
	SetAutoInit(value *bool)
	SetCustomProperties(value ItemReposPostRequestBody_custom_propertiesable)
	SetDeleteBranchOnMerge(value *bool)
	SetDescription(value *string)
	SetGitignoreTemplate(value *string)
	SetHasDownloads(value *bool)
	SetHasIssues(value *bool)
	SetHasProjects(value *bool)
	SetHasWiki(value *bool)
	SetHomepage(value *string)
	SetIsTemplate(value *bool)
	SetLicenseTemplate(value *string)
	SetName(value *string)
	SetPrivate(value *bool)
	SetTeamId(value *int32)
	SetUseSquashPrTitleAsDefault(value *bool)
}

type ItemReposRequestBuilder

ItemReposRequestBuilder builds and executes requests for operations under \orgs\{org}\repos

func NewItemReposRequestBuilder

NewItemReposRequestBuilder instantiates a new ItemReposRequestBuilder and sets the default values.

func NewItemReposRequestBuilderInternal

func NewItemReposRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemReposRequestBuilder

NewItemReposRequestBuilderInternal instantiates a new ItemReposRequestBuilder and sets the default values.

func (*ItemReposRequestBuilder) Get

Get lists repositories for the specified organization.**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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." returns a []MinimalRepositoryable when successful API method documentation

func (*ItemReposRequestBuilder) Post

Post creates a new repository in the specified organization. The authenticated user must be a member of the organization.OAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to create a public repository, and `repo` scope to create a private repository. returns a FullRepositoryable when successful returns a BasicError error when the service returns a 403 status code returns a ValidationError error when the service returns a 422 status code API method documentation

func (*ItemReposRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists repositories for the specified organization.**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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." returns a *RequestInformation when successful

func (*ItemReposRequestBuilder) ToPostRequestInformation

ToPostRequestInformation creates a new repository in the specified organization. The authenticated user must be a member of the organization.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 (*ItemReposRequestBuilder) 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 *ItemReposRequestBuilder when successful

type ItemReposRequestBuilderGetQueryParameters

type ItemReposRequestBuilderGetQueryParameters struct {
	// The order to sort by. Default: `asc` when using `full_name`, otherwise `desc`.
	Direction *i5b3d7c73dda6fbaf3ff58c44b2aabc5d033977f32b78e1754114a1419fe1467c.GetDirectionQueryParameterType `uriparametername:"direction"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// The property to sort the results by.
	Sort *i5b3d7c73dda6fbaf3ff58c44b2aabc5d033977f32b78e1754114a1419fe1467c.GetSortQueryParameterType `uriparametername:"sort"`
	// Specifies the types of repositories you want returned.
	Type *i5b3d7c73dda6fbaf3ff58c44b2aabc5d033977f32b78e1754114a1419fe1467c.GetTypeQueryParameterType `uriparametername:"type"`
}

ItemReposRequestBuilderGetQueryParameters lists repositories for the specified organization.**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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."

type ItemRulesetsItemWithRuleset_PutRequestBody

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

func NewItemRulesetsItemWithRuleset_PutRequestBody

func NewItemRulesetsItemWithRuleset_PutRequestBody() *ItemRulesetsItemWithRuleset_PutRequestBody

NewItemRulesetsItemWithRuleset_PutRequestBody instantiates a new ItemRulesetsItemWithRuleset_PutRequestBody and sets the default values.

func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetAdditionalData

func (m *ItemRulesetsItemWithRuleset_PutRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetBypassActors

GetBypassActors gets the bypass_actors property value. The actors that can bypass the rules in this ruleset returns a []RepositoryRulesetBypassActorable when successful

func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetConditions

GetConditions gets the conditions property value. Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. returns a OrgRulesetConditionsable when successful

func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetEnforcement

GetEnforcement gets the enforcement property value. The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). returns a *RepositoryRuleEnforcement when successful

func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetFieldDeserializers

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

func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetName

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

func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetRules

GetRules gets the rules property value. An array of rules within the ruleset. returns a []RepositoryRuleable when successful

func (*ItemRulesetsItemWithRuleset_PutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemRulesetsItemWithRuleset_PutRequestBody) SetAdditionalData

func (m *ItemRulesetsItemWithRuleset_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 (*ItemRulesetsItemWithRuleset_PutRequestBody) SetBypassActors

SetBypassActors sets the bypass_actors property value. The actors that can bypass the rules in this ruleset

func (*ItemRulesetsItemWithRuleset_PutRequestBody) SetConditions

SetConditions sets the conditions property value. Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties.

func (*ItemRulesetsItemWithRuleset_PutRequestBody) SetEnforcement

SetEnforcement sets the enforcement property value. The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise).

func (*ItemRulesetsItemWithRuleset_PutRequestBody) SetName

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

func (*ItemRulesetsItemWithRuleset_PutRequestBody) SetRules

SetRules sets the rules property value. An array of rules within the ruleset.

type ItemRulesetsPostRequestBody

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

func NewItemRulesetsPostRequestBody

func NewItemRulesetsPostRequestBody() *ItemRulesetsPostRequestBody

NewItemRulesetsPostRequestBody instantiates a new ItemRulesetsPostRequestBody and sets the default values.

func (*ItemRulesetsPostRequestBody) GetAdditionalData

func (m *ItemRulesetsPostRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemRulesetsPostRequestBody) GetBypassActors

GetBypassActors gets the bypass_actors property value. The actors that can bypass the rules in this ruleset returns a []RepositoryRulesetBypassActorable when successful

func (*ItemRulesetsPostRequestBody) GetConditions

GetConditions gets the conditions property value. Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. returns a OrgRulesetConditionsable when successful

func (*ItemRulesetsPostRequestBody) GetEnforcement

GetEnforcement gets the enforcement property value. The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise). returns a *RepositoryRuleEnforcement when successful

func (*ItemRulesetsPostRequestBody) GetFieldDeserializers

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

func (*ItemRulesetsPostRequestBody) GetName

func (m *ItemRulesetsPostRequestBody) GetName() *string

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

func (*ItemRulesetsPostRequestBody) GetRules

GetRules gets the rules property value. An array of rules within the ruleset. returns a []RepositoryRuleable when successful

func (*ItemRulesetsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemRulesetsPostRequestBody) SetAdditionalData

func (m *ItemRulesetsPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemRulesetsPostRequestBody) SetBypassActors

SetBypassActors sets the bypass_actors property value. The actors that can bypass the rules in this ruleset

func (*ItemRulesetsPostRequestBody) SetConditions

SetConditions sets the conditions property value. Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties.

func (*ItemRulesetsPostRequestBody) SetEnforcement

SetEnforcement sets the enforcement property value. The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page (`evaluate` is only available with GitHub Enterprise).

func (*ItemRulesetsPostRequestBody) SetName

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

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

func (*ItemRulesetsPostRequestBody) SetRules

SetRules sets the rules property value. An array of rules within the ruleset.

type ItemRulesetsRequestBuilder

ItemRulesetsRequestBuilder builds and executes requests for operations under \orgs\{org}\rulesets

func NewItemRulesetsRequestBuilder

NewItemRulesetsRequestBuilder instantiates a new ItemRulesetsRequestBuilder and sets the default values.

func NewItemRulesetsRequestBuilderInternal

func NewItemRulesetsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRulesetsRequestBuilder

NewItemRulesetsRequestBuilderInternal instantiates a new ItemRulesetsRequestBuilder and sets the default values.

func (*ItemRulesetsRequestBuilder) ByRuleset_id

ByRuleset_id gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.rulesets.item collection returns a *ItemRulesetsWithRuleset_ItemRequestBuilder when successful

func (*ItemRulesetsRequestBuilder) Get

Get get all the repository rulesets for an organization. returns a []RepositoryRulesetable 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 API method documentation

func (*ItemRulesetsRequestBuilder) Post

Post create a repository ruleset for an organization. returns a RepositoryRulesetable 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 API method documentation

func (*ItemRulesetsRequestBuilder) RuleSuites

RuleSuites the ruleSuites property returns a *ItemRulesetsRuleSuitesRequestBuilder when successful

func (*ItemRulesetsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation get all the repository rulesets for an organization. returns a *RequestInformation when successful

func (*ItemRulesetsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation create a repository ruleset for an organization. returns a *RequestInformation when successful

func (*ItemRulesetsRequestBuilder) 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 *ItemRulesetsRequestBuilder when successful

type ItemRulesetsRequestBuilderGetQueryParameters

type ItemRulesetsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemRulesetsRequestBuilderGetQueryParameters get all the repository rulesets for an organization.

type ItemRulesetsRuleSuitesRequestBuilder

type ItemRulesetsRuleSuitesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemRulesetsRuleSuitesRequestBuilder builds and executes requests for operations under \orgs\{org}\rulesets\rule-suites

func NewItemRulesetsRuleSuitesRequestBuilder

NewItemRulesetsRuleSuitesRequestBuilder instantiates a new ItemRulesetsRuleSuitesRequestBuilder and sets the default values.

func NewItemRulesetsRuleSuitesRequestBuilderInternal

func NewItemRulesetsRuleSuitesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRulesetsRuleSuitesRequestBuilder

NewItemRulesetsRuleSuitesRequestBuilderInternal instantiates a new ItemRulesetsRuleSuitesRequestBuilder and sets the default values.

func (*ItemRulesetsRuleSuitesRequestBuilder) ByRule_suite_id

ByRule_suite_id gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.rulesets.ruleSuites.item collection returns a *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder when successful

func (*ItemRulesetsRuleSuitesRequestBuilder) Get

Get lists suites of rule evaluations at the organization level.For more information, see "[Managing rulesets for repositories in your organization](https://docs.github.com/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets)." returns a []RuleSuitesable 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 API method documentation

func (*ItemRulesetsRuleSuitesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists suites of rule evaluations at the organization level.For more information, see "[Managing rulesets for repositories in your organization](https://docs.github.com/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets)." returns a *RequestInformation when successful

func (*ItemRulesetsRuleSuitesRequestBuilder) 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 *ItemRulesetsRuleSuitesRequestBuilder when successful

type ItemRulesetsRuleSuitesRequestBuilderGetQueryParameters

type ItemRulesetsRuleSuitesRequestBuilderGetQueryParameters struct {
	// The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned.
	Actor_name *string `uriparametername:"actor_name"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// The name of the repository to filter on. When specified, only rule evaluations from this repository will be returned.
	Repository_name *int32 `uriparametername:"repository_name"`
	// The rule results to filter on. When specified, only suites with this result will be returned.
	Rule_suite_result *ice77a9476603b5b5bdcf7933e87c368075e96312df44ed011cd574d7f2e817b9.GetRule_suite_resultQueryParameterType `uriparametername:"rule_suite_result"`
	// The time period to filter by.For example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours).
	Time_period *ice77a9476603b5b5bdcf7933e87c368075e96312df44ed011cd574d7f2e817b9.GetTime_periodQueryParameterType `uriparametername:"time_period"`
}

ItemRulesetsRuleSuitesRequestBuilderGetQueryParameters lists suites of rule evaluations at the organization level.For more information, see "[Managing rulesets for repositories in your organization](https://docs.github.com/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets)."

type ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder

type ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\rulesets\rule-suites\{rule_suite_id}

func NewItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder

func NewItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder

NewItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder instantiates a new ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder and sets the default values.

func NewItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilderInternal

func NewItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder

NewItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilderInternal instantiates a new ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder and sets the default values.

func (*ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder) Get

Get gets information about a suite of rule evaluations from within an organization.For more information, see "[Managing rulesets for repositories in your organization](https://docs.github.com/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets)." returns a RuleSuiteable 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 API method documentation

func (*ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets information about a suite of rule evaluations from within an organization.For more information, see "[Managing rulesets for repositories in your organization](https://docs.github.com/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets)." returns a *RequestInformation when successful

func (*ItemRulesetsRuleSuitesWithRule_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 *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder when successful

type ItemRulesetsWithRuleset_ItemRequestBuilder

type ItemRulesetsWithRuleset_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemRulesetsWithRuleset_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\rulesets\{ruleset_id}

func NewItemRulesetsWithRuleset_ItemRequestBuilder

NewItemRulesetsWithRuleset_ItemRequestBuilder instantiates a new ItemRulesetsWithRuleset_ItemRequestBuilder and sets the default values.

func NewItemRulesetsWithRuleset_ItemRequestBuilderInternal

func NewItemRulesetsWithRuleset_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRulesetsWithRuleset_ItemRequestBuilder

NewItemRulesetsWithRuleset_ItemRequestBuilderInternal instantiates a new ItemRulesetsWithRuleset_ItemRequestBuilder and sets the default values.

func (*ItemRulesetsWithRuleset_ItemRequestBuilder) Delete

Delete delete a ruleset for an organization. returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemRulesetsWithRuleset_ItemRequestBuilder) Get

Get get a repository ruleset for an organization. returns a RepositoryRulesetable 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 API method documentation

func (*ItemRulesetsWithRuleset_ItemRequestBuilder) Put

Put update a ruleset for an organization. returns a RepositoryRulesetable 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 API method documentation

func (*ItemRulesetsWithRuleset_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation delete a ruleset for an organization. returns a *RequestInformation when successful

func (*ItemRulesetsWithRuleset_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation get a repository ruleset for an organization. returns a *RequestInformation when successful

func (*ItemRulesetsWithRuleset_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 *ItemRulesetsWithRuleset_ItemRequestBuilder when successful

type ItemSecretScanningAlertsRequestBuilder

type ItemSecretScanningAlertsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemSecretScanningAlertsRequestBuilder builds and executes requests for operations under \orgs\{org}\secret-scanning\alerts

func NewItemSecretScanningAlertsRequestBuilder

NewItemSecretScanningAlertsRequestBuilder instantiates a new ItemSecretScanningAlertsRequestBuilder and sets the default values.

func NewItemSecretScanningAlertsRequestBuilderInternal

func NewItemSecretScanningAlertsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecretScanningAlertsRequestBuilder

NewItemSecretScanningAlertsRequestBuilderInternal instantiates a new ItemSecretScanningAlertsRequestBuilder and sets the default values.

func (*ItemSecretScanningAlertsRequestBuilder) Get

Get lists secret scanning alerts for eligible repositories in an organization, from newest to oldest.The authenticated user must be an administrator or security manager for the organization 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 []OrganizationSecretScanningAlertable when successful 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 (*ItemSecretScanningAlertsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists secret scanning alerts for eligible repositories in an organization, from newest to oldest.The authenticated user must be an administrator or security manager for the organization 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 (*ItemSecretScanningAlertsRequestBuilder) 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 *ItemSecretScanningAlertsRequestBuilder when successful

type ItemSecretScanningAlertsRequestBuilderGetQueryParameters

type ItemSecretScanningAlertsRequestBuilderGetQueryParameters struct {
	// A cursor, as given in the [Link header](https://docs.github.com/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/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 *i6bfc00bdb302bcd8be4fd093f881ba8f86d967800ec976c34a78d452c1f335d5.GetDirectionQueryParameterType `uriparametername:"direction"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// 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 "[Secret scanning patterns](https://docs.github.com/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)"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 *i6bfc00bdb302bcd8be4fd093f881ba8f86d967800ec976c34a78d452c1f335d5.GetSortQueryParameterType `uriparametername:"sort"`
	// Set to `open` or `resolved` to only list secret scanning alerts in a specific state.
	State *i6bfc00bdb302bcd8be4fd093f881ba8f86d967800ec976c34a78d452c1f335d5.GetStateQueryParameterType `uriparametername:"state"`
	// A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`.
	Validity *string `uriparametername:"validity"`
}

ItemSecretScanningAlertsRequestBuilderGetQueryParameters lists secret scanning alerts for eligible repositories in an organization, from newest to oldest.The authenticated user must be an administrator or security manager for the organization 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 ItemSecretScanningRequestBuilder

ItemSecretScanningRequestBuilder builds and executes requests for operations under \orgs\{org}\secret-scanning

func NewItemSecretScanningRequestBuilder

NewItemSecretScanningRequestBuilder instantiates a new ItemSecretScanningRequestBuilder and sets the default values.

func NewItemSecretScanningRequestBuilderInternal

func NewItemSecretScanningRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecretScanningRequestBuilder

NewItemSecretScanningRequestBuilderInternal instantiates a new ItemSecretScanningRequestBuilder and sets the default values.

func (*ItemSecretScanningRequestBuilder) Alerts

Alerts the alerts property returns a *ItemSecretScanningAlertsRequestBuilder when successful

type ItemSecurityAdvisoriesRequestBuilder

type ItemSecurityAdvisoriesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemSecurityAdvisoriesRequestBuilder builds and executes requests for operations under \orgs\{org}\security-advisories

func NewItemSecurityAdvisoriesRequestBuilder

NewItemSecurityAdvisoriesRequestBuilder instantiates a new ItemSecurityAdvisoriesRequestBuilder and sets the default values.

func NewItemSecurityAdvisoriesRequestBuilderInternal

func NewItemSecurityAdvisoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecurityAdvisoriesRequestBuilder

NewItemSecurityAdvisoriesRequestBuilderInternal instantiates a new ItemSecurityAdvisoriesRequestBuilder and sets the default values.

func (*ItemSecurityAdvisoriesRequestBuilder) Get

Get lists repository security advisories for an organization.The authenticated user must be an owner or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` or `repository_advisories:write` scope to use this endpoint. returns a []RepositoryAdvisoryable 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 (*ItemSecurityAdvisoriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists repository security advisories for an organization.The authenticated user must be an owner or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` or `repository_advisories:write` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemSecurityAdvisoriesRequestBuilder) 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 *ItemSecurityAdvisoriesRequestBuilder when successful

type ItemSecurityAdvisoriesRequestBuilderGetQueryParameters

type ItemSecurityAdvisoriesRequestBuilderGetQueryParameters struct {
	// A cursor, as given in the [Link header](https://docs.github.com/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/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/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/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Before *string `uriparametername:"before"`
	// The direction to sort the results by.
	Direction *i73af498fc508ab66c6d7b9e1987fbbf6febbe066a7dc653ccf219a9638b2bc60.GetDirectionQueryParameterType `uriparametername:"direction"`
	// The number of advisories to return per page. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// The property to sort the results by.
	Sort *i73af498fc508ab66c6d7b9e1987fbbf6febbe066a7dc653ccf219a9638b2bc60.GetSortQueryParameterType `uriparametername:"sort"`
	// Filter by the state of the repository advisories. Only advisories of this state will be returned.
	State *i73af498fc508ab66c6d7b9e1987fbbf6febbe066a7dc653ccf219a9638b2bc60.GetStateQueryParameterType `uriparametername:"state"`
}

ItemSecurityAdvisoriesRequestBuilderGetQueryParameters lists repository security advisories for an organization.The authenticated user must be an owner or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` or `repository_advisories:write` scope to use this endpoint.

type ItemSecurityManagersRequestBuilder

ItemSecurityManagersRequestBuilder builds and executes requests for operations under \orgs\{org}\security-managers

func NewItemSecurityManagersRequestBuilder

NewItemSecurityManagersRequestBuilder instantiates a new ItemSecurityManagersRequestBuilder and sets the default values.

func NewItemSecurityManagersRequestBuilderInternal

func NewItemSecurityManagersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecurityManagersRequestBuilder

NewItemSecurityManagersRequestBuilderInternal instantiates a new ItemSecurityManagersRequestBuilder and sets the default values.

func (*ItemSecurityManagersRequestBuilder) Get

Get lists teams that are security managers for an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. returns a []TeamSimpleable when successful API method documentation

func (*ItemSecurityManagersRequestBuilder) Teams

Teams the teams property returns a *ItemSecurityManagersTeamsRequestBuilder when successful

func (*ItemSecurityManagersRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists teams that are security managers for an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemSecurityManagersRequestBuilder) 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 *ItemSecurityManagersRequestBuilder when successful

type ItemSecurityManagersTeamsRequestBuilder

type ItemSecurityManagersTeamsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemSecurityManagersTeamsRequestBuilder builds and executes requests for operations under \orgs\{org}\security-managers\teams

func NewItemSecurityManagersTeamsRequestBuilder

NewItemSecurityManagersTeamsRequestBuilder instantiates a new ItemSecurityManagersTeamsRequestBuilder and sets the default values.

func NewItemSecurityManagersTeamsRequestBuilderInternal

func NewItemSecurityManagersTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecurityManagersTeamsRequestBuilder

NewItemSecurityManagersTeamsRequestBuilderInternal instantiates a new ItemSecurityManagersTeamsRequestBuilder and sets the default values.

func (*ItemSecurityManagersTeamsRequestBuilder) ByTeam_slug

ByTeam_slug gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.securityManagers.teams.item collection returns a *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder when successful

type ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder

type ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder builds and executes requests for operations under \orgs\{org}\security-managers\teams\{team_slug}

func NewItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder

func NewItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder

NewItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder instantiates a new ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder and sets the default values.

func NewItemSecurityManagersTeamsWithTeam_slugItemRequestBuilderInternal

func NewItemSecurityManagersTeamsWithTeam_slugItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder

NewItemSecurityManagersTeamsWithTeam_slugItemRequestBuilderInternal instantiates a new ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder and sets the default values.

func (*ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) Delete

Delete removes the security manager role from a team for an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) team from an organization."The authenticated user must be an administrator for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) Put

Put adds a team as a security manager for an organization. For more information, see "[Managing security for an organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) for an organization."The authenticated user must be an administrator for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. API method documentation

func (*ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removes the security manager role from a team for an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) team from an organization."The authenticated user must be an administrator for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation adds a team as a security manager for an organization. For more information, see "[Managing security for an organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) for an organization."The authenticated user must be an administrator for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) 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 *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder when successful

type ItemSettingsBillingActionsRequestBuilder

type ItemSettingsBillingActionsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemSettingsBillingActionsRequestBuilder builds and executes requests for operations under \orgs\{org}\settings\billing\actions

func NewItemSettingsBillingActionsRequestBuilder

NewItemSettingsBillingActionsRequestBuilder instantiates a new ItemSettingsBillingActionsRequestBuilder and sets the default values.

func NewItemSettingsBillingActionsRequestBuilderInternal

func NewItemSettingsBillingActionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingActionsRequestBuilder

NewItemSettingsBillingActionsRequestBuilderInternal instantiates a new ItemSettingsBillingActionsRequestBuilder and sets the default values.

func (*ItemSettingsBillingActionsRequestBuilder) Get

Get gets the summary of the free and paid GitHub Actions minutes used.Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. returns a ActionsBillingUsageable when successful API method documentation

func (*ItemSettingsBillingActionsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets the summary of the free and paid GitHub Actions minutes used.Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemSettingsBillingActionsRequestBuilder) 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 *ItemSettingsBillingActionsRequestBuilder when successful

type ItemSettingsBillingPackagesRequestBuilder

type ItemSettingsBillingPackagesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemSettingsBillingPackagesRequestBuilder builds and executes requests for operations under \orgs\{org}\settings\billing\packages

func NewItemSettingsBillingPackagesRequestBuilder

NewItemSettingsBillingPackagesRequestBuilder instantiates a new ItemSettingsBillingPackagesRequestBuilder and sets the default values.

func NewItemSettingsBillingPackagesRequestBuilderInternal

func NewItemSettingsBillingPackagesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingPackagesRequestBuilder

NewItemSettingsBillingPackagesRequestBuilderInternal instantiates a new ItemSettingsBillingPackagesRequestBuilder and sets the default values.

func (*ItemSettingsBillingPackagesRequestBuilder) Get

Get gets the free and paid storage used for GitHub Packages in gigabytes.Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. returns a PackagesBillingUsageable when successful API method documentation

func (*ItemSettingsBillingPackagesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets the free and paid storage used for GitHub Packages in gigabytes.Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemSettingsBillingPackagesRequestBuilder) 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 *ItemSettingsBillingPackagesRequestBuilder when successful

type ItemSettingsBillingRequestBuilder

ItemSettingsBillingRequestBuilder builds and executes requests for operations under \orgs\{org}\settings\billing

func NewItemSettingsBillingRequestBuilder

NewItemSettingsBillingRequestBuilder instantiates a new ItemSettingsBillingRequestBuilder and sets the default values.

func NewItemSettingsBillingRequestBuilderInternal

func NewItemSettingsBillingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingRequestBuilder

NewItemSettingsBillingRequestBuilderInternal instantiates a new ItemSettingsBillingRequestBuilder and sets the default values.

func (*ItemSettingsBillingRequestBuilder) Actions

Actions the actions property returns a *ItemSettingsBillingActionsRequestBuilder when successful

func (*ItemSettingsBillingRequestBuilder) Packages

Packages the packages property returns a *ItemSettingsBillingPackagesRequestBuilder when successful

func (*ItemSettingsBillingRequestBuilder) SharedStorage

SharedStorage the sharedStorage property returns a *ItemSettingsBillingSharedStorageRequestBuilder when successful

type ItemSettingsBillingSharedStorageRequestBuilder

type ItemSettingsBillingSharedStorageRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemSettingsBillingSharedStorageRequestBuilder builds and executes requests for operations under \orgs\{org}\settings\billing\shared-storage

func NewItemSettingsBillingSharedStorageRequestBuilder

NewItemSettingsBillingSharedStorageRequestBuilder instantiates a new ItemSettingsBillingSharedStorageRequestBuilder and sets the default values.

func NewItemSettingsBillingSharedStorageRequestBuilderInternal

func NewItemSettingsBillingSharedStorageRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingSharedStorageRequestBuilder

NewItemSettingsBillingSharedStorageRequestBuilderInternal instantiates a new ItemSettingsBillingSharedStorageRequestBuilder and sets the default values.

func (*ItemSettingsBillingSharedStorageRequestBuilder) Get

Get gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. returns a CombinedBillingUsageable when successful API method documentation

func (*ItemSettingsBillingSharedStorageRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemSettingsBillingSharedStorageRequestBuilder) 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 *ItemSettingsBillingSharedStorageRequestBuilder when successful

type ItemSettingsRequestBuilder

ItemSettingsRequestBuilder builds and executes requests for operations under \orgs\{org}\settings

func NewItemSettingsRequestBuilder

NewItemSettingsRequestBuilder instantiates a new ItemSettingsRequestBuilder and sets the default values.

func NewItemSettingsRequestBuilderInternal

func NewItemSettingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsRequestBuilder

NewItemSettingsRequestBuilderInternal instantiates a new ItemSettingsRequestBuilder and sets the default values.

func (*ItemSettingsRequestBuilder) Billing

Billing the billing property returns a *ItemSettingsBillingRequestBuilder when successful

type ItemTeamItemCopilotRequestBuilder added in v0.0.12

ItemTeamItemCopilotRequestBuilder builds and executes requests for operations under \orgs\{org}\team\{team_slug}\copilot

func NewItemTeamItemCopilotRequestBuilder added in v0.0.12

NewItemTeamItemCopilotRequestBuilder instantiates a new ItemTeamItemCopilotRequestBuilder and sets the default values.

func NewItemTeamItemCopilotRequestBuilderInternal added in v0.0.12

func NewItemTeamItemCopilotRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamItemCopilotRequestBuilder

NewItemTeamItemCopilotRequestBuilderInternal instantiates a new ItemTeamItemCopilotRequestBuilder and sets the default values.

func (*ItemTeamItemCopilotRequestBuilder) Usage added in v0.0.12

Usage the usage property returns a *ItemTeamItemCopilotUsageRequestBuilder when successful

type ItemTeamItemCopilotUsageRequestBuilder added in v0.0.12

type ItemTeamItemCopilotUsageRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamItemCopilotUsageRequestBuilder builds and executes requests for operations under \orgs\{org}\team\{team_slug}\copilot\usage

func NewItemTeamItemCopilotUsageRequestBuilder added in v0.0.12

NewItemTeamItemCopilotUsageRequestBuilder instantiates a new ItemTeamItemCopilotUsageRequestBuilder and sets the default values.

func NewItemTeamItemCopilotUsageRequestBuilderInternal added in v0.0.12

func NewItemTeamItemCopilotUsageRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamItemCopilotUsageRequestBuilder

NewItemTeamItemCopilotUsageRequestBuilderInternal instantiates a new ItemTeamItemCopilotUsageRequestBuilder and sets the default values.

func (*ItemTeamItemCopilotUsageRequestBuilder) Get added in v0.0.12

Get **Note**: This endpoint is in beta and is subject to change.You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDEfor users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.See the response schema tab for detailed metrics definitions.The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,they must have telemetry enabled in their IDE.**Note**: This endpoint will only return results for a given day if the team had five or more members on that day.Copilot Business or Copilot Enterprise organization owners for the organization that contains this team,and owners and billing managers of their parent enterprises, can view Copilot usage metrics for a team.OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:org`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. returns a []CopilotUsageMetricsable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemTeamItemCopilotUsageRequestBuilder) ToGetRequestInformation added in v0.0.12

ToGetRequestInformation **Note**: This endpoint is in beta and is subject to change.You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDEfor users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.See the response schema tab for detailed metrics definitions.The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,they must have telemetry enabled in their IDE.**Note**: This endpoint will only return results for a given day if the team had five or more members on that day.Copilot Business or Copilot Enterprise organization owners for the organization that contains this team,and owners and billing managers of their parent enterprises, can view Copilot usage metrics for a team.OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:org`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamItemCopilotUsageRequestBuilder) WithUrl added in v0.0.12

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

type ItemTeamItemCopilotUsageRequestBuilderGetQueryParameters added in v0.0.12

type ItemTeamItemCopilotUsageRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of days of metrics to display per page (max 28). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). Maximum value is 28 days ago.
	Since *string `uriparametername:"since"`
	// Show usage metrics until this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`) and should not preceed the `since` date if it is passed.
	Until *string `uriparametername:"until"`
}

ItemTeamItemCopilotUsageRequestBuilderGetQueryParameters **Note**: This endpoint is in beta and is subject to change.You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDEfor users within a team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.See the response schema tab for detailed metrics definitions.The response contains metrics for the prior 28 days. Usage metrics are processed once per day for the previous day,and the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,they must have telemetry enabled in their IDE.**Note**: This endpoint will only return results for a given day if the team had five or more members on that day.Copilot Business or Copilot Enterprise organization owners for the organization that contains this team,and owners and billing managers of their parent enterprises, can view Copilot usage metrics for a team.OAuth app tokens and personal access tokens (classic) need the `copilot`, `manage_billing:copilot`, `admin:org`, `admin:enterprise`, or `manage_billing:enterprise` scope to use this endpoint.

type ItemTeamRequestBuilder added in v0.0.12

ItemTeamRequestBuilder builds and executes requests for operations under \orgs\{org}\team

func NewItemTeamRequestBuilder added in v0.0.12

NewItemTeamRequestBuilder instantiates a new ItemTeamRequestBuilder and sets the default values.

func NewItemTeamRequestBuilderInternal added in v0.0.12

func NewItemTeamRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamRequestBuilder

NewItemTeamRequestBuilderInternal instantiates a new ItemTeamRequestBuilder and sets the default values.

func (*ItemTeamRequestBuilder) ByTeam_slug added in v0.0.12

ByTeam_slug gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.team.item collection returns a *ItemTeamWithTeam_slugItemRequestBuilder when successful

type ItemTeamWithTeam_slugItemRequestBuilder added in v0.0.12

type ItemTeamWithTeam_slugItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamWithTeam_slugItemRequestBuilder builds and executes requests for operations under \orgs\{org}\team\{team_slug}

func NewItemTeamWithTeam_slugItemRequestBuilder added in v0.0.12

NewItemTeamWithTeam_slugItemRequestBuilder instantiates a new ItemTeamWithTeam_slugItemRequestBuilder and sets the default values.

func NewItemTeamWithTeam_slugItemRequestBuilderInternal added in v0.0.12

func NewItemTeamWithTeam_slugItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamWithTeam_slugItemRequestBuilder

NewItemTeamWithTeam_slugItemRequestBuilderInternal instantiates a new ItemTeamWithTeam_slugItemRequestBuilder and sets the default values.

func (*ItemTeamWithTeam_slugItemRequestBuilder) Copilot added in v0.0.12

Copilot the copilot property returns a *ItemTeamItemCopilotRequestBuilder when successful

type ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody

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

func NewItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody

func NewItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody() *ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody

NewItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody instantiates a new ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody and sets the default values.

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

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

func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody) Serialize

Serialize serializes information the current object

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

type ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\discussions\{discussion_number}\comments\{comment_number}\reactions

func NewItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder

func NewItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder

NewItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder instantiates a new ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder and sets the default values.

func NewItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderInternal

func NewItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder

NewItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderInternal instantiates a new ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder and sets the default values.

func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) ByReaction_id

ByReaction_id gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.teams.item.discussions.item.comments.item.reactions.item collection returns a *ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder when successful

func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) Get

Get list the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. returns a []Reactionable when successful API method documentation

func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) Post

Post create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a Reactionable when successful API method documentation

func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) 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 *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder when successful

type ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderGetQueryParameters

type ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderGetQueryParameters struct {
	// Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment.
	Content *iefa3e26ef1cc3fba04de58ff0a613f870c857a429121fb15edb32bc7c39e1c53.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/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderGetQueryParameters list the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.

type ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder

type ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\discussions\{discussion_number}\comments\{comment_number}\reactions\{reaction_id}

func NewItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder

func NewItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder

NewItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder instantiates a new ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder and sets the default values.

func NewItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilderInternal

func NewItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder

NewItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilderInternal instantiates a new ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder and sets the default values.

func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder) Delete

Delete **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.Delete a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. API method documentation

func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.Delete a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment).OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_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 *ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder when successful

type ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody

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

func NewItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody

func NewItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody() *ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody

NewItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody instantiates a new ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody and sets the default values.

func (*ItemTeamsItemDiscussionsItemCommentsItemWithComment_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 (*ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetBody

GetBody gets the body property value. The discussion comment's body text. returns a *string when successful

func (*ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetFieldDeserializers

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

func (*ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemTeamsItemDiscussionsItemCommentsItemWithComment_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 (*ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) SetBody

SetBody sets the body property value. The discussion comment's body text.

type ItemTeamsItemDiscussionsItemCommentsPostRequestBody

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

func NewItemTeamsItemDiscussionsItemCommentsPostRequestBody

func NewItemTeamsItemDiscussionsItemCommentsPostRequestBody() *ItemTeamsItemDiscussionsItemCommentsPostRequestBody

NewItemTeamsItemDiscussionsItemCommentsPostRequestBody instantiates a new ItemTeamsItemDiscussionsItemCommentsPostRequestBody and sets the default values.

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

GetBody gets the body property value. The discussion comment's body text. returns a *string when successful

func (*ItemTeamsItemDiscussionsItemCommentsPostRequestBody) GetFieldDeserializers

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

func (*ItemTeamsItemDiscussionsItemCommentsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemTeamsItemDiscussionsItemCommentsPostRequestBody) SetAdditionalData

func (m *ItemTeamsItemDiscussionsItemCommentsPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemTeamsItemDiscussionsItemCommentsPostRequestBody) SetBody

SetBody sets the body property value. The discussion comment's body text.

type ItemTeamsItemDiscussionsItemCommentsRequestBuilder

type ItemTeamsItemDiscussionsItemCommentsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemDiscussionsItemCommentsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\discussions\{discussion_number}\comments

func NewItemTeamsItemDiscussionsItemCommentsRequestBuilder

NewItemTeamsItemDiscussionsItemCommentsRequestBuilder instantiates a new ItemTeamsItemDiscussionsItemCommentsRequestBuilder and sets the default values.

func NewItemTeamsItemDiscussionsItemCommentsRequestBuilderInternal

func NewItemTeamsItemDiscussionsItemCommentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsRequestBuilder

NewItemTeamsItemDiscussionsItemCommentsRequestBuilderInternal instantiates a new ItemTeamsItemDiscussionsItemCommentsRequestBuilder and sets the default values.

func (*ItemTeamsItemDiscussionsItemCommentsRequestBuilder) ByComment_number

ByComment_number gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.teams.item.discussions.item.comments.item collection returns a *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder when successful

func (*ItemTeamsItemDiscussionsItemCommentsRequestBuilder) Get

Get list all comments on a team discussion.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. returns a []TeamDiscussionCommentable when successful API method documentation

func (*ItemTeamsItemDiscussionsItemCommentsRequestBuilder) Post

Post creates a new comment on a team discussion.This endpoint triggers [notifications](https://docs.github.com/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/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/rest/guides/best-practices-for-using-the-rest-api)."**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a TeamDiscussionCommentable when successful API method documentation

func (*ItemTeamsItemDiscussionsItemCommentsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all comments on a team discussion.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsItemCommentsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation creates a new comment on a team discussion.This endpoint triggers [notifications](https://docs.github.com/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/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/rest/guides/best-practices-for-using-the-rest-api)."**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsItemCommentsRequestBuilder) 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 *ItemTeamsItemDiscussionsItemCommentsRequestBuilder when successful

type ItemTeamsItemDiscussionsItemCommentsRequestBuilderGetQueryParameters

type ItemTeamsItemDiscussionsItemCommentsRequestBuilderGetQueryParameters struct {
	// The direction to sort the results by.
	Direction *iae5ab5524c281dee4a3db19e9729c3a76291b14b0954b0f842181a85dd4a965e.GetDirectionQueryParameterType `uriparametername:"direction"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemTeamsItemDiscussionsItemCommentsRequestBuilderGetQueryParameters list all comments on a team discussion.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.

type ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder

type ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\discussions\{discussion_number}\comments\{comment_number}

func NewItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder

func NewItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder

NewItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder instantiates a new ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder and sets the default values.

func NewItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderInternal

func NewItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder

NewItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderInternal instantiates a new ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder and sets the default values.

func (*ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Delete

Delete deletes a comment on a team discussion.**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. API method documentation

func (*ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Get

Get get a specific comment on a team discussion.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. returns a TeamDiscussionCommentable when successful API method documentation

func (*ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Patch

Patch edits the body text of a discussion comment.**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a TeamDiscussionCommentable when successful API method documentation

func (*ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Reactions

Reactions the reactions property returns a *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder when successful

func (*ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a comment on a team discussion.**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation get a specific comment on a team discussion.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation edits the body text of a discussion comment.**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsItemCommentsWithComment_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 *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder when successful

type ItemTeamsItemDiscussionsItemReactionsPostRequestBody

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

func NewItemTeamsItemDiscussionsItemReactionsPostRequestBody

func NewItemTeamsItemDiscussionsItemReactionsPostRequestBody() *ItemTeamsItemDiscussionsItemReactionsPostRequestBody

NewItemTeamsItemDiscussionsItemReactionsPostRequestBody instantiates a new ItemTeamsItemDiscussionsItemReactionsPostRequestBody and sets the default values.

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

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

func (*ItemTeamsItemDiscussionsItemReactionsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemTeamsItemDiscussionsItemReactionsPostRequestBody) SetAdditionalData

func (m *ItemTeamsItemDiscussionsItemReactionsPostRequestBody) SetAdditionalData(value map[string]any)

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

type ItemTeamsItemDiscussionsItemReactionsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemDiscussionsItemReactionsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\discussions\{discussion_number}\reactions

func NewItemTeamsItemDiscussionsItemReactionsRequestBuilder

NewItemTeamsItemDiscussionsItemReactionsRequestBuilder instantiates a new ItemTeamsItemDiscussionsItemReactionsRequestBuilder and sets the default values.

func NewItemTeamsItemDiscussionsItemReactionsRequestBuilderInternal

func NewItemTeamsItemDiscussionsItemReactionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemReactionsRequestBuilder

NewItemTeamsItemDiscussionsItemReactionsRequestBuilderInternal instantiates a new ItemTeamsItemDiscussionsItemReactionsRequestBuilder and sets the default values.

func (*ItemTeamsItemDiscussionsItemReactionsRequestBuilder) ByReaction_id

ByReaction_id gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.teams.item.discussions.item.reactions.item collection returns a *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder when successful

func (*ItemTeamsItemDiscussionsItemReactionsRequestBuilder) Get

Get list the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. returns a []Reactionable when successful API method documentation

func (*ItemTeamsItemDiscussionsItemReactionsRequestBuilder) Post

Post create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).A response with an HTTP `200` status means that you already added the reaction type to this team discussion.**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a Reactionable when successful API method documentation

func (*ItemTeamsItemDiscussionsItemReactionsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsItemReactionsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).A response with an HTTP `200` status means that you already added the reaction type to this team discussion.**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsItemReactionsRequestBuilder) 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 *ItemTeamsItemDiscussionsItemReactionsRequestBuilder when successful

type ItemTeamsItemDiscussionsItemReactionsRequestBuilderGetQueryParameters

type ItemTeamsItemDiscussionsItemReactionsRequestBuilderGetQueryParameters struct {
	// Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion.
	Content *iac6fb0a635617f45786d5b56686ceb8e83ee12551475679c06c4ed9039ff1a3f.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/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemTeamsItemDiscussionsItemReactionsRequestBuilderGetQueryParameters list the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.

type ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder

type ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\discussions\{discussion_number}\reactions\{reaction_id}

func NewItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder

func NewItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder

NewItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder instantiates a new ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder and sets the default values.

func NewItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilderInternal

func NewItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder

NewItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilderInternal instantiates a new ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder and sets the default values.

func (*ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder) Delete

Delete **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.Delete a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. API method documentation

func (*ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation **Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.Delete a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion).OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsItemReactionsWithReaction_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 *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder when successful

type ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody

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

func NewItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody

func NewItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody() *ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody

NewItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody instantiates a new ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody and sets the default values.

func (*ItemTeamsItemDiscussionsItemWithDiscussion_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 (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetBody

GetBody gets the body property value. The discussion post's body text. returns a *string when successful

func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetFieldDeserializers

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

func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetTitle

GetTitle gets the title property value. The discussion post's title. returns a *string when successful

func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemTeamsItemDiscussionsItemWithDiscussion_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 (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) SetBody

SetBody sets the body property value. The discussion post's body text.

func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) SetTitle

SetTitle sets the title property value. The discussion post's title.

type ItemTeamsItemDiscussionsPostRequestBody

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

func NewItemTeamsItemDiscussionsPostRequestBody

func NewItemTeamsItemDiscussionsPostRequestBody() *ItemTeamsItemDiscussionsPostRequestBody

NewItemTeamsItemDiscussionsPostRequestBody instantiates a new ItemTeamsItemDiscussionsPostRequestBody and sets the default values.

func (*ItemTeamsItemDiscussionsPostRequestBody) GetAdditionalData

func (m *ItemTeamsItemDiscussionsPostRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemTeamsItemDiscussionsPostRequestBody) GetBody

GetBody gets the body property value. The discussion post's body text. returns a *string when successful

func (*ItemTeamsItemDiscussionsPostRequestBody) GetFieldDeserializers

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

func (*ItemTeamsItemDiscussionsPostRequestBody) GetPrivate

GetPrivate gets the private property value. Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post. returns a *bool when successful

func (*ItemTeamsItemDiscussionsPostRequestBody) GetTitle

GetTitle gets the title property value. The discussion post's title. returns a *string when successful

func (*ItemTeamsItemDiscussionsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemTeamsItemDiscussionsPostRequestBody) SetAdditionalData

func (m *ItemTeamsItemDiscussionsPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemTeamsItemDiscussionsPostRequestBody) SetBody

SetBody sets the body property value. The discussion post's body text.

func (*ItemTeamsItemDiscussionsPostRequestBody) SetPrivate

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

SetPrivate sets the private property value. Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post.

func (*ItemTeamsItemDiscussionsPostRequestBody) SetTitle

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

SetTitle sets the title property value. The discussion post's title.

type ItemTeamsItemDiscussionsPostRequestBodyable

type ItemTeamsItemDiscussionsPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetBody() *string
	GetPrivate() *bool
	GetTitle() *string
	SetBody(value *string)
	SetPrivate(value *bool)
	SetTitle(value *string)
}

type ItemTeamsItemDiscussionsRequestBuilder

type ItemTeamsItemDiscussionsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemDiscussionsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\discussions

func NewItemTeamsItemDiscussionsRequestBuilder

NewItemTeamsItemDiscussionsRequestBuilder instantiates a new ItemTeamsItemDiscussionsRequestBuilder and sets the default values.

func NewItemTeamsItemDiscussionsRequestBuilderInternal

func NewItemTeamsItemDiscussionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsRequestBuilder

NewItemTeamsItemDiscussionsRequestBuilderInternal instantiates a new ItemTeamsItemDiscussionsRequestBuilder and sets the default values.

func (*ItemTeamsItemDiscussionsRequestBuilder) ByDiscussion_number

ByDiscussion_number gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.teams.item.discussions.item collection returns a *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder when successful

func (*ItemTeamsItemDiscussionsRequestBuilder) Get

Get list all discussions on a team's page.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. returns a []TeamDiscussionable when successful API method documentation

func (*ItemTeamsItemDiscussionsRequestBuilder) Post

Post creates a new discussion post on a team's page.This endpoint triggers [notifications](https://docs.github.com/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/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/rest/guides/best-practices-for-using-the-rest-api)."**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a TeamDiscussionable when successful API method documentation

func (*ItemTeamsItemDiscussionsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all discussions on a team's page.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation creates a new discussion post on a team's page.This endpoint triggers [notifications](https://docs.github.com/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/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/rest/guides/best-practices-for-using-the-rest-api)."**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsRequestBuilder) 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 *ItemTeamsItemDiscussionsRequestBuilder when successful

type ItemTeamsItemDiscussionsRequestBuilderGetQueryParameters

type ItemTeamsItemDiscussionsRequestBuilderGetQueryParameters struct {
	// The direction to sort the results by.
	Direction *i32f937b11a61715fd997bf78349df960035ffb33236a68f6136f39076fe893c2.GetDirectionQueryParameterType `uriparametername:"direction"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// Pinned discussions only filter
	Pinned *string `uriparametername:"pinned"`
}

ItemTeamsItemDiscussionsRequestBuilderGetQueryParameters list all discussions on a team's page.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.

type ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder

type ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\discussions\{discussion_number}

func NewItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder

func NewItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder

NewItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder instantiates a new ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder and sets the default values.

func NewItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderInternal

func NewItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder

NewItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderInternal instantiates a new ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder and sets the default values.

func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Comments

Comments the comments property returns a *ItemTeamsItemDiscussionsItemCommentsRequestBuilder when successful

func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Delete

Delete delete a discussion from a team's page.**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. API method documentation

func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Get

Get get a specific discussion on a team's page.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. returns a TeamDiscussionable when successful API method documentation

func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Patch

Patch edits the title and body text of a discussion post. Only the parameters you provide are updated.**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a TeamDiscussionable when successful API method documentation

func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Reactions

Reactions the reactions property returns a *ItemTeamsItemDiscussionsItemReactionsRequestBuilder when successful

func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation delete a discussion from a team's page.**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation get a specific discussion on a team's page.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation edits the title and body text of a discussion post. Only the parameters you provide are updated.**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsWithDiscussion_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 *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder when successful

type ItemTeamsItemInvitationsRequestBuilder

type ItemTeamsItemInvitationsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemInvitationsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\invitations

func NewItemTeamsItemInvitationsRequestBuilder

NewItemTeamsItemInvitationsRequestBuilder instantiates a new ItemTeamsItemInvitationsRequestBuilder and sets the default values.

func NewItemTeamsItemInvitationsRequestBuilderInternal

func NewItemTeamsItemInvitationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemInvitationsRequestBuilder

NewItemTeamsItemInvitationsRequestBuilderInternal instantiates a new ItemTeamsItemInvitationsRequestBuilder and sets the default values.

func (*ItemTeamsItemInvitationsRequestBuilder) Get

Get the return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`. returns a []OrganizationInvitationable when successful API method documentation

func (*ItemTeamsItemInvitationsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation the return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`. returns a *RequestInformation when successful

func (*ItemTeamsItemInvitationsRequestBuilder) 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 *ItemTeamsItemInvitationsRequestBuilder when successful

type ItemTeamsItemInvitationsRequestBuilderGetQueryParameters

type ItemTeamsItemInvitationsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemTeamsItemInvitationsRequestBuilderGetQueryParameters the return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`.

type ItemTeamsItemMembersRequestBuilder

ItemTeamsItemMembersRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\members

func NewItemTeamsItemMembersRequestBuilder

NewItemTeamsItemMembersRequestBuilder instantiates a new ItemTeamsItemMembersRequestBuilder and sets the default values.

func NewItemTeamsItemMembersRequestBuilderInternal

func NewItemTeamsItemMembersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemMembersRequestBuilder

NewItemTeamsItemMembersRequestBuilderInternal instantiates a new ItemTeamsItemMembersRequestBuilder and sets the default values.

func (*ItemTeamsItemMembersRequestBuilder) Get

Get team members will include the members of child teams.To list members in a team, the team must be visible to the authenticated user. returns a []SimpleUserable when successful API method documentation

func (*ItemTeamsItemMembersRequestBuilder) ToGetRequestInformation

ToGetRequestInformation team members will include the members of child teams.To list members in a team, the team must be visible to the authenticated user. returns a *RequestInformation when successful

func (*ItemTeamsItemMembersRequestBuilder) 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 *ItemTeamsItemMembersRequestBuilder when successful

type ItemTeamsItemMembersRequestBuilderGetQueryParameters

type ItemTeamsItemMembersRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// Filters members returned by their role in the team.
	Role *i0dd1a76c81fc0773dd62fbda88dd3b1f98759b2b5b38b48e0269538d619f6668.GetRoleQueryParameterType `uriparametername:"role"`
}

ItemTeamsItemMembersRequestBuilderGetQueryParameters team members will include the members of child teams.To list members in a team, the team must be visible to the authenticated user.

type ItemTeamsItemMembershipsItemWithUsernamePutRequestBody

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

func NewItemTeamsItemMembershipsItemWithUsernamePutRequestBody

func NewItemTeamsItemMembershipsItemWithUsernamePutRequestBody() *ItemTeamsItemMembershipsItemWithUsernamePutRequestBody

NewItemTeamsItemMembershipsItemWithUsernamePutRequestBody instantiates a new ItemTeamsItemMembershipsItemWithUsernamePutRequestBody and sets the default values.

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

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

func (*ItemTeamsItemMembershipsItemWithUsernamePutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemTeamsItemMembershipsItemWithUsernamePutRequestBody) SetAdditionalData

func (m *ItemTeamsItemMembershipsItemWithUsernamePutRequestBody) SetAdditionalData(value map[string]any)

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

type ItemTeamsItemMembershipsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemMembershipsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\memberships

func NewItemTeamsItemMembershipsRequestBuilder

NewItemTeamsItemMembershipsRequestBuilder instantiates a new ItemTeamsItemMembershipsRequestBuilder and sets the default values.

func NewItemTeamsItemMembershipsRequestBuilderInternal

func NewItemTeamsItemMembershipsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemMembershipsRequestBuilder

NewItemTeamsItemMembershipsRequestBuilderInternal instantiates a new ItemTeamsItemMembershipsRequestBuilder and sets the default values.

func (*ItemTeamsItemMembershipsRequestBuilder) ByUsername

ByUsername gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.teams.item.memberships.item collection returns a *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder when successful

type ItemTeamsItemMembershipsWithUsernameItemRequestBuilder

type ItemTeamsItemMembershipsWithUsernameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemMembershipsWithUsernameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\memberships\{username}

func NewItemTeamsItemMembershipsWithUsernameItemRequestBuilder

func NewItemTeamsItemMembershipsWithUsernameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder

NewItemTeamsItemMembershipsWithUsernameItemRequestBuilder instantiates a new ItemTeamsItemMembershipsWithUsernameItemRequestBuilder and sets the default values.

func NewItemTeamsItemMembershipsWithUsernameItemRequestBuilderInternal

func NewItemTeamsItemMembershipsWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder

NewItemTeamsItemMembershipsWithUsernameItemRequestBuilderInternal instantiates a new ItemTeamsItemMembershipsWithUsernameItemRequestBuilder and sets the default values.

func (*ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) Delete

Delete to remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. API method documentation

func (*ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) Get

Get team members will include the members of child teams.To get a user's membership with a team, the team must be visible to the authenticated user.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.**Note:**The response contains the `state` of the membership and the member's `role`.The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/teams/teams#create-a-team). returns a TeamMembershipable when successful API method documentation

func (*ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) Put

Put adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team.If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. returns a TeamMembershipable when successful API method documentation

func (*ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation to remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. returns a *RequestInformation when successful

func (*ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation team members will include the members of child teams.To get a user's membership with a team, the team must be visible to the authenticated user.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.**Note:**The response contains the `state` of the membership and the member's `role`.The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/rest/teams/teams#create-a-team). returns a *RequestInformation when successful

func (*ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team.If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. returns a *RequestInformation when successful

func (*ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) 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 *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder when successful

type ItemTeamsItemProjectsItemWithProject_403Error

type ItemTeamsItemProjectsItemWithProject_403Error struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ApiError
	// contains filtered or unexported fields
}

func NewItemTeamsItemProjectsItemWithProject_403Error

func NewItemTeamsItemProjectsItemWithProject_403Error() *ItemTeamsItemProjectsItemWithProject_403Error

NewItemTeamsItemProjectsItemWithProject_403Error instantiates a new ItemTeamsItemProjectsItemWithProject_403Error and sets the default values.

func (*ItemTeamsItemProjectsItemWithProject_403Error) Error

Error the primary error message. returns a string when successful

func (*ItemTeamsItemProjectsItemWithProject_403Error) GetAdditionalData

func (m *ItemTeamsItemProjectsItemWithProject_403Error) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemTeamsItemProjectsItemWithProject_403Error) GetDocumentationUrl

func (m *ItemTeamsItemProjectsItemWithProject_403Error) GetDocumentationUrl() *string

GetDocumentationUrl gets the documentation_url property value. The documentation_url property returns a *string when successful

func (*ItemTeamsItemProjectsItemWithProject_403Error) GetFieldDeserializers

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

func (*ItemTeamsItemProjectsItemWithProject_403Error) GetMessage

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

func (*ItemTeamsItemProjectsItemWithProject_403Error) Serialize

Serialize serializes information the current object

func (*ItemTeamsItemProjectsItemWithProject_403Error) SetAdditionalData

func (m *ItemTeamsItemProjectsItemWithProject_403Error) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemTeamsItemProjectsItemWithProject_403Error) SetDocumentationUrl

func (m *ItemTeamsItemProjectsItemWithProject_403Error) SetDocumentationUrl(value *string)

SetDocumentationUrl sets the documentation_url property value. The documentation_url property

func (*ItemTeamsItemProjectsItemWithProject_403Error) SetMessage

SetMessage sets the message property value. The message property

type ItemTeamsItemProjectsItemWithProject_403Errorable

type ItemTeamsItemProjectsItemWithProject_403Errorable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetDocumentationUrl() *string
	GetMessage() *string
	SetDocumentationUrl(value *string)
	SetMessage(value *string)
}

type ItemTeamsItemProjectsItemWithProject_PutRequestBody

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

func NewItemTeamsItemProjectsItemWithProject_PutRequestBody

func NewItemTeamsItemProjectsItemWithProject_PutRequestBody() *ItemTeamsItemProjectsItemWithProject_PutRequestBody

NewItemTeamsItemProjectsItemWithProject_PutRequestBody instantiates a new ItemTeamsItemProjectsItemWithProject_PutRequestBody and sets the default values.

func (*ItemTeamsItemProjectsItemWithProject_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 (*ItemTeamsItemProjectsItemWithProject_PutRequestBody) GetFieldDeserializers

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

func (*ItemTeamsItemProjectsItemWithProject_PutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemTeamsItemProjectsItemWithProject_PutRequestBody) SetAdditionalData

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

type ItemTeamsItemProjectsRequestBuilder

ItemTeamsItemProjectsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\projects

func NewItemTeamsItemProjectsRequestBuilder

NewItemTeamsItemProjectsRequestBuilder instantiates a new ItemTeamsItemProjectsRequestBuilder and sets the default values.

func NewItemTeamsItemProjectsRequestBuilderInternal

func NewItemTeamsItemProjectsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemProjectsRequestBuilder

NewItemTeamsItemProjectsRequestBuilderInternal instantiates a new ItemTeamsItemProjectsRequestBuilder and sets the default values.

func (*ItemTeamsItemProjectsRequestBuilder) ByProject_id

ByProject_id gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.teams.item.projects.item collection returns a *ItemTeamsItemProjectsWithProject_ItemRequestBuilder when successful

func (*ItemTeamsItemProjectsRequestBuilder) Get

Get lists the organization projects for a team.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. returns a []TeamProjectable when successful API method documentation

func (*ItemTeamsItemProjectsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the organization projects for a team.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. returns a *RequestInformation when successful

func (*ItemTeamsItemProjectsRequestBuilder) 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 *ItemTeamsItemProjectsRequestBuilder when successful

type ItemTeamsItemProjectsRequestBuilderGetQueryParameters

type ItemTeamsItemProjectsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemTeamsItemProjectsRequestBuilderGetQueryParameters lists the organization projects for a team.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.

type ItemTeamsItemProjectsWithProject_ItemRequestBuilder

type ItemTeamsItemProjectsWithProject_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemProjectsWithProject_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\projects\{project_id}

func NewItemTeamsItemProjectsWithProject_ItemRequestBuilder

NewItemTeamsItemProjectsWithProject_ItemRequestBuilder instantiates a new ItemTeamsItemProjectsWithProject_ItemRequestBuilder and sets the default values.

func NewItemTeamsItemProjectsWithProject_ItemRequestBuilderInternal

func NewItemTeamsItemProjectsWithProject_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemProjectsWithProject_ItemRequestBuilder

NewItemTeamsItemProjectsWithProject_ItemRequestBuilderInternal instantiates a new ItemTeamsItemProjectsWithProject_ItemRequestBuilder and sets the default values.

func (*ItemTeamsItemProjectsWithProject_ItemRequestBuilder) Delete

Delete removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. API method documentation

func (*ItemTeamsItemProjectsWithProject_ItemRequestBuilder) Get

Get checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. returns a TeamProjectable when successful API method documentation

func (*ItemTeamsItemProjectsWithProject_ItemRequestBuilder) Put

Put adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. returns a ItemTeamsItemProjectsItemWithProject_403Error error when the service returns a 403 status code API method documentation

func (*ItemTeamsItemProjectsWithProject_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. returns a *RequestInformation when successful

func (*ItemTeamsItemProjectsWithProject_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. returns a *RequestInformation when successful

func (*ItemTeamsItemProjectsWithProject_ItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. returns a *RequestInformation when successful

func (*ItemTeamsItemProjectsWithProject_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 *ItemTeamsItemProjectsWithProject_ItemRequestBuilder when successful

type ItemTeamsItemReposItemItemWithRepoPutRequestBody

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

func NewItemTeamsItemReposItemItemWithRepoPutRequestBody

func NewItemTeamsItemReposItemItemWithRepoPutRequestBody() *ItemTeamsItemReposItemItemWithRepoPutRequestBody

NewItemTeamsItemReposItemItemWithRepoPutRequestBody instantiates a new ItemTeamsItemReposItemItemWithRepoPutRequestBody and sets the default values.

func (*ItemTeamsItemReposItemItemWithRepoPutRequestBody) GetAdditionalData

func (m *ItemTeamsItemReposItemItemWithRepoPutRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemTeamsItemReposItemItemWithRepoPutRequestBody) GetFieldDeserializers

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

func (*ItemTeamsItemReposItemItemWithRepoPutRequestBody) GetPermission

GetPermission gets the permission property value. The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository. returns a *string when successful

func (*ItemTeamsItemReposItemItemWithRepoPutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemTeamsItemReposItemItemWithRepoPutRequestBody) SetAdditionalData

func (m *ItemTeamsItemReposItemItemWithRepoPutRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemTeamsItemReposItemItemWithRepoPutRequestBody) SetPermission

SetPermission sets the permission property value. The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository.

type ItemTeamsItemReposItemWithRepoItemRequestBuilder

type ItemTeamsItemReposItemWithRepoItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemReposItemWithRepoItemRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\repos\{owner}\{repo}

func NewItemTeamsItemReposItemWithRepoItemRequestBuilder

NewItemTeamsItemReposItemWithRepoItemRequestBuilder instantiates a new ItemTeamsItemReposItemWithRepoItemRequestBuilder and sets the default values.

func NewItemTeamsItemReposItemWithRepoItemRequestBuilderInternal

func NewItemTeamsItemReposItemWithRepoItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemReposItemWithRepoItemRequestBuilder

NewItemTeamsItemReposItemWithRepoItemRequestBuilderInternal instantiates a new ItemTeamsItemReposItemWithRepoItemRequestBuilder and sets the default values.

func (*ItemTeamsItemReposItemWithRepoItemRequestBuilder) Delete

Delete if the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. API method documentation

func (*ItemTeamsItemReposItemWithRepoItemRequestBuilder) Get

Get checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `application/vnd.github.v3.repository+json` accept header.If a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.If the repository is private, you must have at least `read` permission for that repository, and your token must have the `repo` or `admin:org` scope. Otherwise, you will receive a `404 Not Found` response status.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. returns a TeamRepositoryable when successful API method documentation

func (*ItemTeamsItemReposItemWithRepoItemRequestBuilder) Put

Put to add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. 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/rest/guides/getting-started-with-the-rest-api#http-method)."**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.For more information about the permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". API method documentation

func (*ItemTeamsItemReposItemWithRepoItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation if the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. returns a *RequestInformation when successful

func (*ItemTeamsItemReposItemWithRepoItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `application/vnd.github.v3.repository+json` accept header.If a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.If the repository is private, you must have at least `read` permission for that repository, and your token must have the `repo` or `admin:org` scope. Otherwise, you will receive a `404 Not Found` response status.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. returns a *RequestInformation when successful

func (*ItemTeamsItemReposItemWithRepoItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation to add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. 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/rest/guides/getting-started-with-the-rest-api#http-method)."**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.For more information about the permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". returns a *RequestInformation when successful

func (*ItemTeamsItemReposItemWithRepoItemRequestBuilder) 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 *ItemTeamsItemReposItemWithRepoItemRequestBuilder when successful

type ItemTeamsItemReposRequestBuilder

ItemTeamsItemReposRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\repos

func NewItemTeamsItemReposRequestBuilder

NewItemTeamsItemReposRequestBuilder instantiates a new ItemTeamsItemReposRequestBuilder and sets the default values.

func NewItemTeamsItemReposRequestBuilderInternal

func NewItemTeamsItemReposRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemReposRequestBuilder

NewItemTeamsItemReposRequestBuilderInternal instantiates a new ItemTeamsItemReposRequestBuilder and sets the default values.

func (*ItemTeamsItemReposRequestBuilder) ByOwner

ByOwner gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.teams.item.repos.item collection returns a *ItemTeamsItemReposWithOwnerItemRequestBuilder when successful

func (*ItemTeamsItemReposRequestBuilder) Get

Get lists a team's repositories visible to the authenticated user.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. returns a []MinimalRepositoryable when successful API method documentation

func (*ItemTeamsItemReposRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists a team's repositories visible to the authenticated user.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. returns a *RequestInformation when successful

func (*ItemTeamsItemReposRequestBuilder) 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 *ItemTeamsItemReposRequestBuilder when successful

type ItemTeamsItemReposRequestBuilderGetQueryParameters

type ItemTeamsItemReposRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemTeamsItemReposRequestBuilderGetQueryParameters lists a team's repositories visible to the authenticated user.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.

type ItemTeamsItemReposWithOwnerItemRequestBuilder

type ItemTeamsItemReposWithOwnerItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemReposWithOwnerItemRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\repos\{owner}

func NewItemTeamsItemReposWithOwnerItemRequestBuilder

NewItemTeamsItemReposWithOwnerItemRequestBuilder instantiates a new ItemTeamsItemReposWithOwnerItemRequestBuilder and sets the default values.

func NewItemTeamsItemReposWithOwnerItemRequestBuilderInternal

func NewItemTeamsItemReposWithOwnerItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemReposWithOwnerItemRequestBuilder

NewItemTeamsItemReposWithOwnerItemRequestBuilderInternal instantiates a new ItemTeamsItemReposWithOwnerItemRequestBuilder and sets the default values.

func (*ItemTeamsItemReposWithOwnerItemRequestBuilder) ByRepo

ByRepo gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.teams.item.repos.item.item collection returns a *ItemTeamsItemReposItemWithRepoItemRequestBuilder when successful

type ItemTeamsItemTeamsRequestBuilder

ItemTeamsItemTeamsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\teams

func NewItemTeamsItemTeamsRequestBuilder

NewItemTeamsItemTeamsRequestBuilder instantiates a new ItemTeamsItemTeamsRequestBuilder and sets the default values.

func NewItemTeamsItemTeamsRequestBuilderInternal

func NewItemTeamsItemTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemTeamsRequestBuilder

NewItemTeamsItemTeamsRequestBuilderInternal instantiates a new ItemTeamsItemTeamsRequestBuilder and sets the default values.

func (*ItemTeamsItemTeamsRequestBuilder) Get

Get lists the child teams of the team specified by `{team_slug}`.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. returns a []Teamable when successful API method documentation

func (*ItemTeamsItemTeamsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the child teams of the team specified by `{team_slug}`.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. returns a *RequestInformation when successful

func (*ItemTeamsItemTeamsRequestBuilder) 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 *ItemTeamsItemTeamsRequestBuilder when successful

type ItemTeamsItemTeamsRequestBuilderGetQueryParameters

type ItemTeamsItemTeamsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemTeamsItemTeamsRequestBuilderGetQueryParameters lists the child teams of the team specified by `{team_slug}`.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.

type ItemTeamsItemWithTeam_slugPatchRequestBody

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

func NewItemTeamsItemWithTeam_slugPatchRequestBody

func NewItemTeamsItemWithTeam_slugPatchRequestBody() *ItemTeamsItemWithTeam_slugPatchRequestBody

NewItemTeamsItemWithTeam_slugPatchRequestBody instantiates a new ItemTeamsItemWithTeam_slugPatchRequestBody and sets the default values.

func (*ItemTeamsItemWithTeam_slugPatchRequestBody) GetAdditionalData

func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemTeamsItemWithTeam_slugPatchRequestBody) GetDescription

GetDescription gets the description property value. The description of the team. returns a *string when successful

func (*ItemTeamsItemWithTeam_slugPatchRequestBody) GetFieldDeserializers

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

func (*ItemTeamsItemWithTeam_slugPatchRequestBody) GetName

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

func (*ItemTeamsItemWithTeam_slugPatchRequestBody) GetParentTeamId

func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) GetParentTeamId() *int32

GetParentTeamId gets the parent_team_id property value. The ID of a team to set as the parent team. returns a *int32 when successful

func (*ItemTeamsItemWithTeam_slugPatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemTeamsItemWithTeam_slugPatchRequestBody) SetAdditionalData

func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemTeamsItemWithTeam_slugPatchRequestBody) SetDescription

func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) SetDescription(value *string)

SetDescription sets the description property value. The description of the team.

func (*ItemTeamsItemWithTeam_slugPatchRequestBody) SetName

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

func (*ItemTeamsItemWithTeam_slugPatchRequestBody) SetParentTeamId

func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) SetParentTeamId(value *int32)

SetParentTeamId sets the parent_team_id property value. The ID of a team to set as the parent team.

type ItemTeamsItemWithTeam_slugPatchRequestBodyable

type ItemTeamsItemWithTeam_slugPatchRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetDescription() *string
	GetName() *string
	GetParentTeamId() *int32
	SetDescription(value *string)
	SetName(value *string)
	SetParentTeamId(value *int32)
}

type ItemTeamsPostRequestBody

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

func NewItemTeamsPostRequestBody

func NewItemTeamsPostRequestBody() *ItemTeamsPostRequestBody

NewItemTeamsPostRequestBody instantiates a new ItemTeamsPostRequestBody and sets the default values.

func (*ItemTeamsPostRequestBody) GetAdditionalData

func (m *ItemTeamsPostRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemTeamsPostRequestBody) GetDescription

func (m *ItemTeamsPostRequestBody) GetDescription() *string

GetDescription gets the description property value. The description of the team. returns a *string when successful

func (*ItemTeamsPostRequestBody) GetFieldDeserializers

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

func (*ItemTeamsPostRequestBody) GetMaintainers

func (m *ItemTeamsPostRequestBody) GetMaintainers() []string

GetMaintainers gets the maintainers property value. List GitHub IDs for organization members who will become team maintainers. returns a []string when successful

func (*ItemTeamsPostRequestBody) GetName

func (m *ItemTeamsPostRequestBody) GetName() *string

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

func (*ItemTeamsPostRequestBody) GetParentTeamId

func (m *ItemTeamsPostRequestBody) GetParentTeamId() *int32

GetParentTeamId gets the parent_team_id property value. The ID of a team to set as the parent team. returns a *int32 when successful

func (*ItemTeamsPostRequestBody) GetRepoNames

func (m *ItemTeamsPostRequestBody) GetRepoNames() []string

GetRepoNames gets the repo_names property value. The full name (e.g., "organization-name/repository-name") of repositories to add the team to. returns a []string when successful

func (*ItemTeamsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemTeamsPostRequestBody) SetAdditionalData

func (m *ItemTeamsPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemTeamsPostRequestBody) SetDescription

func (m *ItemTeamsPostRequestBody) SetDescription(value *string)

SetDescription sets the description property value. The description of the team.

func (*ItemTeamsPostRequestBody) SetMaintainers

func (m *ItemTeamsPostRequestBody) SetMaintainers(value []string)

SetMaintainers sets the maintainers property value. List GitHub IDs for organization members who will become team maintainers.

func (*ItemTeamsPostRequestBody) SetName

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

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

func (*ItemTeamsPostRequestBody) SetParentTeamId

func (m *ItemTeamsPostRequestBody) SetParentTeamId(value *int32)

SetParentTeamId sets the parent_team_id property value. The ID of a team to set as the parent team.

func (*ItemTeamsPostRequestBody) SetRepoNames

func (m *ItemTeamsPostRequestBody) SetRepoNames(value []string)

SetRepoNames sets the repo_names property value. The full name (e.g., "organization-name/repository-name") of repositories to add the team to.

type ItemTeamsPostRequestBodyable

type ItemTeamsPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetDescription() *string
	GetMaintainers() []string
	GetName() *string
	GetParentTeamId() *int32
	GetRepoNames() []string
	SetDescription(value *string)
	SetMaintainers(value []string)
	SetName(value *string)
	SetParentTeamId(value *int32)
	SetRepoNames(value []string)
}

type ItemTeamsRequestBuilder

ItemTeamsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams

func NewItemTeamsRequestBuilder

NewItemTeamsRequestBuilder instantiates a new ItemTeamsRequestBuilder and sets the default values.

func NewItemTeamsRequestBuilderInternal

func NewItemTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsRequestBuilder

NewItemTeamsRequestBuilderInternal instantiates a new ItemTeamsRequestBuilder and sets the default values.

func (*ItemTeamsRequestBuilder) ByTeam_slug

ByTeam_slug gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.teams.item collection returns a *ItemTeamsWithTeam_slugItemRequestBuilder when successful

func (*ItemTeamsRequestBuilder) Get

Get lists all teams in an organization that are visible to the authenticated user. returns a []Teamable when successful returns a BasicError error when the service returns a 403 status code API method documentation

func (*ItemTeamsRequestBuilder) Post

Post to create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see "[Setting team creation permissions](https://docs.github.com/articles/setting-team-creation-permissions-in-your-organization)."When you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see "[About teams](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/about-teams)". returns a TeamFullable 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 (*ItemTeamsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all teams in an organization that are visible to the authenticated user. returns a *RequestInformation when successful

func (*ItemTeamsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation to create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see "[Setting team creation permissions](https://docs.github.com/articles/setting-team-creation-permissions-in-your-organization)."When you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see "[About teams](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/about-teams)". returns a *RequestInformation when successful

func (*ItemTeamsRequestBuilder) 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 *ItemTeamsRequestBuilder when successful

type ItemTeamsRequestBuilderGetQueryParameters

type ItemTeamsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemTeamsRequestBuilderGetQueryParameters lists all teams in an organization that are visible to the authenticated user.

type ItemTeamsWithTeam_slugItemRequestBuilder

type ItemTeamsWithTeam_slugItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsWithTeam_slugItemRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}

func NewItemTeamsWithTeam_slugItemRequestBuilder

NewItemTeamsWithTeam_slugItemRequestBuilder instantiates a new ItemTeamsWithTeam_slugItemRequestBuilder and sets the default values.

func NewItemTeamsWithTeam_slugItemRequestBuilderInternal

func NewItemTeamsWithTeam_slugItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsWithTeam_slugItemRequestBuilder

NewItemTeamsWithTeam_slugItemRequestBuilderInternal instantiates a new ItemTeamsWithTeam_slugItemRequestBuilder and sets the default values.

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Delete

Delete to delete a team, the authenticated user must be an organization owner or team maintainer.If you are an organization owner, deleting a parent team will delete all of its child teams as well.**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. API method documentation

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Discussions

Discussions the discussions property returns a *ItemTeamsItemDiscussionsRequestBuilder when successful

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Get

Get gets a team using the team's `slug`. To create the `slug`, GitHub replaces special characters in the `name` string, changes all words to lowercase, and replaces spaces with a `-` separator. For example, `"My TEam Näme"` would become `my-team-name`.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. returns a TeamFullable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Invitations

Invitations the invitations property returns a *ItemTeamsItemInvitationsRequestBuilder when successful

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Members

Members the members property returns a *ItemTeamsItemMembersRequestBuilder when successful

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Memberships

Memberships the memberships property returns a *ItemTeamsItemMembershipsRequestBuilder when successful

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Patch

Patch to edit a team, the authenticated user must either be an organization owner or a team maintainer.**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. returns a TeamFullable when successful returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Projects

Projects the projects property returns a *ItemTeamsItemProjectsRequestBuilder when successful

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Repos

Repos the repos property returns a *ItemTeamsItemReposRequestBuilder when successful

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Teams

Teams the teams property returns a *ItemTeamsItemTeamsRequestBuilder when successful

func (*ItemTeamsWithTeam_slugItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation to delete a team, the authenticated user must be an organization owner or team maintainer.If you are an organization owner, deleting a parent team will delete all of its child teams as well.**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. returns a *RequestInformation when successful

func (*ItemTeamsWithTeam_slugItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a team using the team's `slug`. To create the `slug`, GitHub replaces special characters in the `name` string, changes all words to lowercase, and replaces spaces with a `-` separator. For example, `"My TEam Näme"` would become `my-team-name`.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. returns a *RequestInformation when successful

func (*ItemTeamsWithTeam_slugItemRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation to edit a team, the authenticated user must either be an organization owner or a team maintainer.**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. returns a *RequestInformation when successful

func (*ItemTeamsWithTeam_slugItemRequestBuilder) 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 *ItemTeamsWithTeam_slugItemRequestBuilder when successful

type ItemWithOrgDeleteResponse

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

func NewItemWithOrgDeleteResponse

func NewItemWithOrgDeleteResponse() *ItemWithOrgDeleteResponse

NewItemWithOrgDeleteResponse instantiates a new ItemWithOrgDeleteResponse and sets the default values.

func (*ItemWithOrgDeleteResponse) GetAdditionalData

func (m *ItemWithOrgDeleteResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemWithOrgDeleteResponse) GetFieldDeserializers

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

func (*ItemWithOrgDeleteResponse) Serialize

Serialize serializes information the current object

func (*ItemWithOrgDeleteResponse) SetAdditionalData

func (m *ItemWithOrgDeleteResponse) SetAdditionalData(value map[string]any)

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

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

func NewItemWithOrgPatchRequestBody

func NewItemWithOrgPatchRequestBody() *ItemWithOrgPatchRequestBody

NewItemWithOrgPatchRequestBody instantiates a new ItemWithOrgPatchRequestBody and sets the default values.

func (*ItemWithOrgPatchRequestBody) GetAdditionalData

func (m *ItemWithOrgPatchRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemWithOrgPatchRequestBody) GetAdvancedSecurityEnabledForNewRepositories

func (m *ItemWithOrgPatchRequestBody) GetAdvancedSecurityEnabledForNewRepositories() *bool

GetAdvancedSecurityEnabledForNewRepositories gets the advanced_security_enabled_for_new_repositories property value. Whether GitHub Advanced Security is automatically enabled for new repositories.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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetBillingEmail

func (m *ItemWithOrgPatchRequestBody) GetBillingEmail() *string

GetBillingEmail gets the billing_email property value. Billing email address. This address is not publicized. returns a *string when successful

func (*ItemWithOrgPatchRequestBody) GetBlog

func (m *ItemWithOrgPatchRequestBody) GetBlog() *string

GetBlog gets the blog property value. The blog property returns a *string when successful

func (*ItemWithOrgPatchRequestBody) GetCompany

func (m *ItemWithOrgPatchRequestBody) GetCompany() *string

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

func (*ItemWithOrgPatchRequestBody) GetDependabotAlertsEnabledForNewRepositories

func (m *ItemWithOrgPatchRequestBody) GetDependabotAlertsEnabledForNewRepositories() *bool

GetDependabotAlertsEnabledForNewRepositories gets the dependabot_alerts_enabled_for_new_repositories property value. Whether Dependabot alerts is automatically enabled for new repositories.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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetDependabotSecurityUpdatesEnabledForNewRepositories

func (m *ItemWithOrgPatchRequestBody) GetDependabotSecurityUpdatesEnabledForNewRepositories() *bool

GetDependabotSecurityUpdatesEnabledForNewRepositories gets the dependabot_security_updates_enabled_for_new_repositories property value. Whether Dependabot security updates is automatically enabled for new repositories.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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetDependencyGraphEnabledForNewRepositories

func (m *ItemWithOrgPatchRequestBody) GetDependencyGraphEnabledForNewRepositories() *bool

GetDependencyGraphEnabledForNewRepositories gets the dependency_graph_enabled_for_new_repositories property value. Whether dependency graph is automatically enabled for new repositories.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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetDescription

func (m *ItemWithOrgPatchRequestBody) GetDescription() *string

GetDescription gets the description property value. The description of the company. The maximum size is 160 characters. returns a *string when successful

func (*ItemWithOrgPatchRequestBody) GetEmail

func (m *ItemWithOrgPatchRequestBody) GetEmail() *string

GetEmail gets the email property value. The publicly visible email address. returns a *string when successful

func (*ItemWithOrgPatchRequestBody) GetFieldDeserializers

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

func (*ItemWithOrgPatchRequestBody) GetHasOrganizationProjects

func (m *ItemWithOrgPatchRequestBody) GetHasOrganizationProjects() *bool

GetHasOrganizationProjects gets the has_organization_projects property value. Whether an organization can use organization projects. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetHasRepositoryProjects

func (m *ItemWithOrgPatchRequestBody) GetHasRepositoryProjects() *bool

GetHasRepositoryProjects gets the has_repository_projects property value. Whether repositories that belong to the organization can use repository projects. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetLocation

func (m *ItemWithOrgPatchRequestBody) GetLocation() *string

GetLocation gets the location property value. The location. returns a *string when successful

func (*ItemWithOrgPatchRequestBody) GetMembersCanCreateInternalRepositories

func (m *ItemWithOrgPatchRequestBody) GetMembersCanCreateInternalRepositories() *bool

GetMembersCanCreateInternalRepositories gets the members_can_create_internal_repositories property value. Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetMembersCanCreatePages

func (m *ItemWithOrgPatchRequestBody) GetMembersCanCreatePages() *bool

GetMembersCanCreatePages gets the members_can_create_pages property value. Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetMembersCanCreatePrivatePages

func (m *ItemWithOrgPatchRequestBody) GetMembersCanCreatePrivatePages() *bool

GetMembersCanCreatePrivatePages gets the members_can_create_private_pages property value. Whether organization members can create private GitHub Pages sites. Existing published sites will not be impacted. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetMembersCanCreatePrivateRepositories

func (m *ItemWithOrgPatchRequestBody) GetMembersCanCreatePrivateRepositories() *bool

GetMembersCanCreatePrivateRepositories gets the members_can_create_private_repositories property value. Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetMembersCanCreatePublicPages

func (m *ItemWithOrgPatchRequestBody) GetMembersCanCreatePublicPages() *bool

GetMembersCanCreatePublicPages gets the members_can_create_public_pages property value. Whether organization members can create public GitHub Pages sites. Existing published sites will not be impacted. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetMembersCanCreatePublicRepositories

func (m *ItemWithOrgPatchRequestBody) GetMembersCanCreatePublicRepositories() *bool

GetMembersCanCreatePublicRepositories gets the members_can_create_public_repositories property value. Whether organization members can create public repositories, which are visible to anyone. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetMembersCanCreateRepositories

func (m *ItemWithOrgPatchRequestBody) GetMembersCanCreateRepositories() *bool

GetMembersCanCreateRepositories gets the members_can_create_repositories property value. Whether of non-admin organization members can create repositories. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetMembersCanForkPrivateRepositories

func (m *ItemWithOrgPatchRequestBody) GetMembersCanForkPrivateRepositories() *bool

GetMembersCanForkPrivateRepositories gets the members_can_fork_private_repositories property value. Whether organization members can fork private organization repositories. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetName

func (m *ItemWithOrgPatchRequestBody) GetName() *string

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

func (*ItemWithOrgPatchRequestBody) GetSecretScanningEnabledForNewRepositories

func (m *ItemWithOrgPatchRequestBody) GetSecretScanningEnabledForNewRepositories() *bool

GetSecretScanningEnabledForNewRepositories gets the secret_scanning_enabled_for_new_repositories property value. Whether secret scanning is automatically enabled for new repositories.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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. returns a *bool when successful

func (m *ItemWithOrgPatchRequestBody) GetSecretScanningPushProtectionCustomLink() *string

GetSecretScanningPushProtectionCustomLink gets the secret_scanning_push_protection_custom_link property value. If `secret_scanning_push_protection_custom_link_enabled` is true, the URL that will be displayed to contributors who are blocked from pushing a secret. returns a *string when successful

func (*ItemWithOrgPatchRequestBody) GetSecretScanningPushProtectionCustomLinkEnabled

func (m *ItemWithOrgPatchRequestBody) GetSecretScanningPushProtectionCustomLinkEnabled() *bool

GetSecretScanningPushProtectionCustomLinkEnabled gets the secret_scanning_push_protection_custom_link_enabled property value. Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetSecretScanningPushProtectionEnabledForNewRepositories

func (m *ItemWithOrgPatchRequestBody) GetSecretScanningPushProtectionEnabledForNewRepositories() *bool

GetSecretScanningPushProtectionEnabledForNewRepositories gets the secret_scanning_push_protection_enabled_for_new_repositories property value. Whether secret scanning push protection is automatically enabled for new repositories.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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetTwitterUsername

func (m *ItemWithOrgPatchRequestBody) GetTwitterUsername() *string

GetTwitterUsername gets the twitter_username property value. The Twitter username of the company. returns a *string when successful

func (*ItemWithOrgPatchRequestBody) GetWebCommitSignoffRequired

func (m *ItemWithOrgPatchRequestBody) GetWebCommitSignoffRequired() *bool

GetWebCommitSignoffRequired gets the web_commit_signoff_required property value. Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemWithOrgPatchRequestBody) SetAdditionalData

func (m *ItemWithOrgPatchRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemWithOrgPatchRequestBody) SetAdvancedSecurityEnabledForNewRepositories

func (m *ItemWithOrgPatchRequestBody) SetAdvancedSecurityEnabledForNewRepositories(value *bool)

SetAdvancedSecurityEnabledForNewRepositories sets the advanced_security_enabled_for_new_repositories property value. Whether GitHub Advanced Security is automatically enabled for new repositories.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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.

func (*ItemWithOrgPatchRequestBody) SetBillingEmail

func (m *ItemWithOrgPatchRequestBody) SetBillingEmail(value *string)

SetBillingEmail sets the billing_email property value. Billing email address. This address is not publicized.

func (*ItemWithOrgPatchRequestBody) SetBlog

func (m *ItemWithOrgPatchRequestBody) SetBlog(value *string)

SetBlog sets the blog property value. The blog property

func (*ItemWithOrgPatchRequestBody) SetCompany

func (m *ItemWithOrgPatchRequestBody) SetCompany(value *string)

SetCompany sets the company property value. The company name.

func (*ItemWithOrgPatchRequestBody) SetDependabotAlertsEnabledForNewRepositories

func (m *ItemWithOrgPatchRequestBody) SetDependabotAlertsEnabledForNewRepositories(value *bool)

SetDependabotAlertsEnabledForNewRepositories sets the dependabot_alerts_enabled_for_new_repositories property value. Whether Dependabot alerts is automatically enabled for new repositories.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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.

func (*ItemWithOrgPatchRequestBody) SetDependabotSecurityUpdatesEnabledForNewRepositories

func (m *ItemWithOrgPatchRequestBody) SetDependabotSecurityUpdatesEnabledForNewRepositories(value *bool)

SetDependabotSecurityUpdatesEnabledForNewRepositories sets the dependabot_security_updates_enabled_for_new_repositories property value. Whether Dependabot security updates is automatically enabled for new repositories.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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.

func (*ItemWithOrgPatchRequestBody) SetDependencyGraphEnabledForNewRepositories

func (m *ItemWithOrgPatchRequestBody) SetDependencyGraphEnabledForNewRepositories(value *bool)

SetDependencyGraphEnabledForNewRepositories sets the dependency_graph_enabled_for_new_repositories property value. Whether dependency graph is automatically enabled for new repositories.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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.

func (*ItemWithOrgPatchRequestBody) SetDescription

func (m *ItemWithOrgPatchRequestBody) SetDescription(value *string)

SetDescription sets the description property value. The description of the company. The maximum size is 160 characters.

func (*ItemWithOrgPatchRequestBody) SetEmail

func (m *ItemWithOrgPatchRequestBody) SetEmail(value *string)

SetEmail sets the email property value. The publicly visible email address.

func (*ItemWithOrgPatchRequestBody) SetHasOrganizationProjects

func (m *ItemWithOrgPatchRequestBody) SetHasOrganizationProjects(value *bool)

SetHasOrganizationProjects sets the has_organization_projects property value. Whether an organization can use organization projects.

func (*ItemWithOrgPatchRequestBody) SetHasRepositoryProjects

func (m *ItemWithOrgPatchRequestBody) SetHasRepositoryProjects(value *bool)

SetHasRepositoryProjects sets the has_repository_projects property value. Whether repositories that belong to the organization can use repository projects.

func (*ItemWithOrgPatchRequestBody) SetLocation

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

SetLocation sets the location property value. The location.

func (*ItemWithOrgPatchRequestBody) SetMembersCanCreateInternalRepositories

func (m *ItemWithOrgPatchRequestBody) SetMembersCanCreateInternalRepositories(value *bool)

SetMembersCanCreateInternalRepositories sets the members_can_create_internal_repositories property value. Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation.

func (*ItemWithOrgPatchRequestBody) SetMembersCanCreatePages

func (m *ItemWithOrgPatchRequestBody) SetMembersCanCreatePages(value *bool)

SetMembersCanCreatePages sets the members_can_create_pages property value. Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted.

func (*ItemWithOrgPatchRequestBody) SetMembersCanCreatePrivatePages

func (m *ItemWithOrgPatchRequestBody) SetMembersCanCreatePrivatePages(value *bool)

SetMembersCanCreatePrivatePages sets the members_can_create_private_pages property value. Whether organization members can create private GitHub Pages sites. Existing published sites will not be impacted.

func (*ItemWithOrgPatchRequestBody) SetMembersCanCreatePrivateRepositories

func (m *ItemWithOrgPatchRequestBody) SetMembersCanCreatePrivateRepositories(value *bool)

SetMembersCanCreatePrivateRepositories sets the members_can_create_private_repositories property value. Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation.

func (*ItemWithOrgPatchRequestBody) SetMembersCanCreatePublicPages

func (m *ItemWithOrgPatchRequestBody) SetMembersCanCreatePublicPages(value *bool)

SetMembersCanCreatePublicPages sets the members_can_create_public_pages property value. Whether organization members can create public GitHub Pages sites. Existing published sites will not be impacted.

func (*ItemWithOrgPatchRequestBody) SetMembersCanCreatePublicRepositories

func (m *ItemWithOrgPatchRequestBody) SetMembersCanCreatePublicRepositories(value *bool)

SetMembersCanCreatePublicRepositories sets the members_can_create_public_repositories property value. Whether organization members can create public repositories, which are visible to anyone. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation.

func (*ItemWithOrgPatchRequestBody) SetMembersCanCreateRepositories

func (m *ItemWithOrgPatchRequestBody) SetMembersCanCreateRepositories(value *bool)

SetMembersCanCreateRepositories sets the members_can_create_repositories property value. Whether of non-admin organization members can create repositories. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details.

func (*ItemWithOrgPatchRequestBody) SetMembersCanForkPrivateRepositories

func (m *ItemWithOrgPatchRequestBody) SetMembersCanForkPrivateRepositories(value *bool)

SetMembersCanForkPrivateRepositories sets the members_can_fork_private_repositories property value. Whether organization members can fork private organization repositories.

func (*ItemWithOrgPatchRequestBody) SetName

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

SetName sets the name property value. The shorthand name of the company.

func (*ItemWithOrgPatchRequestBody) SetSecretScanningEnabledForNewRepositories

func (m *ItemWithOrgPatchRequestBody) SetSecretScanningEnabledForNewRepositories(value *bool)

SetSecretScanningEnabledForNewRepositories sets the secret_scanning_enabled_for_new_repositories property value. Whether secret scanning is automatically enabled for new repositories.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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.

func (m *ItemWithOrgPatchRequestBody) SetSecretScanningPushProtectionCustomLink(value *string)

SetSecretScanningPushProtectionCustomLink sets the secret_scanning_push_protection_custom_link property value. If `secret_scanning_push_protection_custom_link_enabled` is true, the URL that will be displayed to contributors who are blocked from pushing a secret.

func (*ItemWithOrgPatchRequestBody) SetSecretScanningPushProtectionCustomLinkEnabled

func (m *ItemWithOrgPatchRequestBody) SetSecretScanningPushProtectionCustomLinkEnabled(value *bool)

SetSecretScanningPushProtectionCustomLinkEnabled sets the secret_scanning_push_protection_custom_link_enabled property value. Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection.

func (*ItemWithOrgPatchRequestBody) SetSecretScanningPushProtectionEnabledForNewRepositories

func (m *ItemWithOrgPatchRequestBody) SetSecretScanningPushProtectionEnabledForNewRepositories(value *bool)

SetSecretScanningPushProtectionEnabledForNewRepositories sets the secret_scanning_push_protection_enabled_for_new_repositories property value. Whether secret scanning push protection is automatically enabled for new repositories.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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.

func (*ItemWithOrgPatchRequestBody) SetTwitterUsername

func (m *ItemWithOrgPatchRequestBody) SetTwitterUsername(value *string)

SetTwitterUsername sets the twitter_username property value. The Twitter username of the company.

func (*ItemWithOrgPatchRequestBody) SetWebCommitSignoffRequired

func (m *ItemWithOrgPatchRequestBody) SetWebCommitSignoffRequired(value *bool)

SetWebCommitSignoffRequired sets the web_commit_signoff_required property value. Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.

type ItemWithOrgPatchRequestBodyable

type ItemWithOrgPatchRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetAdvancedSecurityEnabledForNewRepositories() *bool
	GetBillingEmail() *string
	GetBlog() *string
	GetCompany() *string
	GetDependabotAlertsEnabledForNewRepositories() *bool
	GetDependabotSecurityUpdatesEnabledForNewRepositories() *bool
	GetDependencyGraphEnabledForNewRepositories() *bool
	GetDescription() *string
	GetEmail() *string
	GetHasOrganizationProjects() *bool
	GetHasRepositoryProjects() *bool
	GetLocation() *string
	GetMembersCanCreateInternalRepositories() *bool
	GetMembersCanCreatePages() *bool
	GetMembersCanCreatePrivatePages() *bool
	GetMembersCanCreatePrivateRepositories() *bool
	GetMembersCanCreatePublicPages() *bool
	GetMembersCanCreatePublicRepositories() *bool
	GetMembersCanCreateRepositories() *bool
	GetMembersCanForkPrivateRepositories() *bool
	GetName() *string
	GetSecretScanningEnabledForNewRepositories() *bool
	GetSecretScanningPushProtectionCustomLink() *string
	GetSecretScanningPushProtectionCustomLinkEnabled() *bool
	GetSecretScanningPushProtectionEnabledForNewRepositories() *bool
	GetTwitterUsername() *string
	GetWebCommitSignoffRequired() *bool
	SetAdvancedSecurityEnabledForNewRepositories(value *bool)
	SetBillingEmail(value *string)
	SetBlog(value *string)
	SetCompany(value *string)
	SetDependabotAlertsEnabledForNewRepositories(value *bool)
	SetDependabotSecurityUpdatesEnabledForNewRepositories(value *bool)
	SetDependencyGraphEnabledForNewRepositories(value *bool)
	SetDescription(value *string)
	SetEmail(value *string)
	SetHasOrganizationProjects(value *bool)
	SetHasRepositoryProjects(value *bool)
	SetLocation(value *string)
	SetMembersCanCreateInternalRepositories(value *bool)
	SetMembersCanCreatePages(value *bool)
	SetMembersCanCreatePrivatePages(value *bool)
	SetMembersCanCreatePrivateRepositories(value *bool)
	SetMembersCanCreatePublicPages(value *bool)
	SetMembersCanCreatePublicRepositories(value *bool)
	SetMembersCanCreateRepositories(value *bool)
	SetMembersCanForkPrivateRepositories(value *bool)
	SetName(value *string)
	SetSecretScanningEnabledForNewRepositories(value *bool)
	SetSecretScanningPushProtectionCustomLink(value *string)
	SetSecretScanningPushProtectionCustomLinkEnabled(value *bool)
	SetSecretScanningPushProtectionEnabledForNewRepositories(value *bool)
	SetTwitterUsername(value *string)
	SetWebCommitSignoffRequired(value *bool)
}

type ItemWithOrgResponse

type ItemWithOrgResponse struct {
	ItemWithOrgDeleteResponse
}

ItemWithOrgResponse Deprecated: This class is obsolete. Use WithOrgDeleteResponse instead.

func NewItemWithOrgResponse

func NewItemWithOrgResponse() *ItemWithOrgResponse

NewItemWithOrgResponse instantiates a new ItemWithOrgResponse and sets the default values.

type ItemWithOrgResponseable

ItemWithOrgResponseable Deprecated: This class is obsolete. Use WithOrgDeleteResponse instead.

type ItemWithSecurity_productItemRequestBuilder

type ItemWithSecurity_productItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemWithSecurity_productItemRequestBuilder builds and executes requests for operations under \orgs\{org}\{security_product}

func NewItemWithSecurity_productItemRequestBuilder

NewItemWithSecurity_productItemRequestBuilder instantiates a new ItemWithSecurity_productItemRequestBuilder and sets the default values.

func NewItemWithSecurity_productItemRequestBuilderInternal

func NewItemWithSecurity_productItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemWithSecurity_productItemRequestBuilder

NewItemWithSecurity_productItemRequestBuilderInternal instantiates a new ItemWithSecurity_productItemRequestBuilder and sets the default values.

func (*ItemWithSecurity_productItemRequestBuilder) ByEnablement

ByEnablement gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.item.item collection returns a *ItemItemWithEnablementItemRequestBuilder when successful

type OrgsRequestBuilder

OrgsRequestBuilder builds and executes requests for operations under \orgs

func NewOrgsRequestBuilder

NewOrgsRequestBuilder instantiates a new OrgsRequestBuilder and sets the default values.

func NewOrgsRequestBuilderInternal

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

NewOrgsRequestBuilderInternal instantiates a new OrgsRequestBuilder and sets the default values.

func (*OrgsRequestBuilder) ByOrg

ByOrg gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item collection returns a *WithOrgItemRequestBuilder when successful

type WithOrgItemRequestBuilder

WithOrgItemRequestBuilder builds and executes requests for operations under \orgs\{org}

func NewWithOrgItemRequestBuilder

NewWithOrgItemRequestBuilder instantiates a new WithOrgItemRequestBuilder and sets the default values.

func NewWithOrgItemRequestBuilderInternal

func NewWithOrgItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithOrgItemRequestBuilder

NewWithOrgItemRequestBuilderInternal instantiates a new WithOrgItemRequestBuilder and sets the default values.

func (*WithOrgItemRequestBuilder) Actions

Actions the actions property returns a *ItemActionsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Attestations added in v0.0.18

Attestations the attestations property returns a *ItemAttestationsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Blocks

Blocks the blocks property returns a *ItemBlocksRequestBuilder when successful

func (*WithOrgItemRequestBuilder) BySecurity_product

func (m *WithOrgItemRequestBuilder) BySecurity_product(security_product string) *ItemWithSecurity_productItemRequestBuilder

BySecurity_product gets an item from the github.com/octokit/go-sdk/pkg/github.orgs.item.item collection returns a *ItemWithSecurity_productItemRequestBuilder when successful

func (*WithOrgItemRequestBuilder) CodeScanning

CodeScanning the codeScanning property returns a *ItemCodeScanningRequestBuilder when successful

func (*WithOrgItemRequestBuilder) CodeSecurity added in v0.0.17

CodeSecurity the codeSecurity property returns a *ItemCodeSecurityRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Codespaces

Codespaces the codespaces property returns a *ItemCodespacesRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Copilot

Copilot the copilot property returns a *ItemCopilotRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Delete

Delete deletes an organization and all its repositories.The organization login will be unavailable for 90 days after deletion.Please review the Terms of Service regarding account deletion before using this endpoint:https://docs.github.com/site-policy/github-terms/github-terms-of-service returns a ItemWithOrgDeleteResponseable 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 (*WithOrgItemRequestBuilder) Dependabot

Dependabot the dependabot property returns a *ItemDependabotRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Docker

Docker the docker property returns a *ItemDockerRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Events

Events the events property returns a *ItemEventsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Failed_invitations

Failed_invitations the failed_invitations property returns a *ItemFailed_invitationsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Get

Get gets information about an organization.When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).To see the full details about an organization, the authenticated user must be an organization owner.The values returned by this endpoint are set by the "Update an organization" endpoint. If your organization set a default security configuration (beta), the following values retrieved from the "Update an organization" endpoint have been overwritten by that configuration:- advanced_security_enabled_for_new_repositories- dependabot_alerts_enabled_for_new_repositories- dependabot_security_updates_enabled_for_new_repositories- dependency_graph_enabled_for_new_repositories- secret_scanning_enabled_for_new_repositories- secret_scanning_push_protection_enabled_for_new_repositoriesFor more information on security configurations, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)."OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to see the full details about an organization.To see information about an organization's GitHub plan, GitHub Apps need the `Organization plan` permission. returns a OrganizationFullable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*WithOrgItemRequestBuilder) Hooks

Hooks the hooks property returns a *ItemHooksRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Installation

Installation the installation property returns a *ItemInstallationRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Installations

Installations the installations property returns a *ItemInstallationsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) InteractionLimits

InteractionLimits the interactionLimits property returns a *ItemInteractionLimitsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Invitations

Invitations the invitations property returns a *ItemInvitationsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Issues

Issues the issues property returns a *ItemIssuesRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Members

Members the members property returns a *ItemMembersRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Memberships

Memberships the memberships property returns a *ItemMembershipsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Migrations

Migrations the migrations property returns a *ItemMigrationsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) OrganizationFineGrainedPermissions

OrganizationFineGrainedPermissions the organizationFineGrainedPermissions property returns a *ItemOrganizationFineGrainedPermissionsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) OrganizationRoles

OrganizationRoles the organizationRoles property returns a *ItemOrganizationRolesRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Outside_collaborators

Outside_collaborators the outside_collaborators property returns a *ItemOutside_collaboratorsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Packages

Packages the packages property returns a *ItemPackagesRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Patch

Patch **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).Updates the organization's profile and member privileges.With security configurations (beta), your organization can choose a default security configuration which will automatically apply a set of security enablement settings to new repositories in your organization based on their visibility. For targeted repositories, the following attributes will be overridden by the default security configuration:- advanced_security_enabled_for_new_repositories- dependabot_alerts_enabled_for_new_repositories- dependabot_security_updates_enabled_for_new_repositories- dependency_graph_enabled_for_new_repositories- secret_scanning_enabled_for_new_repositories- secret_scanning_push_protection_enabled_for_new_repositoriesFor more information on setting a default security configuration, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)."The authenticated user must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. returns a OrganizationFullable when successful returns a BasicError error when the service returns a 409 status code API method documentation

func (*WithOrgItemRequestBuilder) PersonalAccessTokenRequests

PersonalAccessTokenRequests the personalAccessTokenRequests property returns a *ItemPersonalAccessTokenRequestsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) PersonalAccessTokens

PersonalAccessTokens the personalAccessTokens property returns a *ItemPersonalAccessTokensRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Projects

Projects the projects property returns a *ItemProjectsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Properties

Properties the properties property returns a *ItemPropertiesRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Public_members

Public_members the public_members property returns a *ItemPublic_membersRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Repos

Repos the repos property returns a *ItemReposRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Rulesets

Rulesets the rulesets property returns a *ItemRulesetsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) SecretScanning

SecretScanning the secretScanning property returns a *ItemSecretScanningRequestBuilder when successful

func (*WithOrgItemRequestBuilder) SecurityAdvisories

SecurityAdvisories the securityAdvisories property returns a *ItemSecurityAdvisoriesRequestBuilder when successful

func (*WithOrgItemRequestBuilder) SecurityManagers

SecurityManagers the securityManagers property returns a *ItemSecurityManagersRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Settings

Settings the settings property returns a *ItemSettingsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Teams

Teams the teams property returns a *ItemTeamsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes an organization and all its repositories.The organization login will be unavailable for 90 days after deletion.Please review the Terms of Service regarding account deletion before using this endpoint:https://docs.github.com/site-policy/github-terms/github-terms-of-service returns a *RequestInformation when successful

func (*WithOrgItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets information about an organization.When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).To see the full details about an organization, the authenticated user must be an organization owner.The values returned by this endpoint are set by the "Update an organization" endpoint. If your organization set a default security configuration (beta), the following values retrieved from the "Update an organization" endpoint have been overwritten by that configuration:- advanced_security_enabled_for_new_repositories- dependabot_alerts_enabled_for_new_repositories- dependabot_security_updates_enabled_for_new_repositories- dependency_graph_enabled_for_new_repositories- secret_scanning_enabled_for_new_repositories- secret_scanning_push_protection_enabled_for_new_repositoriesFor more information on security configurations, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)."OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to see the full details about an organization.To see information about an organization's GitHub plan, GitHub Apps need the `Organization plan` permission. returns a *RequestInformation when successful

func (*WithOrgItemRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).Updates the organization's profile and member privileges.With security configurations (beta), your organization can choose a default security configuration which will automatically apply a set of security enablement settings to new repositories in your organization based on their visibility. For targeted repositories, the following attributes will be overridden by the default security configuration:- advanced_security_enabled_for_new_repositories- dependabot_alerts_enabled_for_new_repositories- dependabot_security_updates_enabled_for_new_repositories- dependency_graph_enabled_for_new_repositories- secret_scanning_enabled_for_new_repositories- secret_scanning_push_protection_enabled_for_new_repositoriesFor more information on setting a default security configuration, see "[Enabling security features at scale](https://docs.github.com/code-security/securing-your-organization/introduction-to-securing-your-organization-at-scale/about-enabling-security-features-at-scale)."The authenticated user must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. returns a *RequestInformation when successful

func (*WithOrgItemRequestBuilder) 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 *WithOrgItemRequestBuilder when successful

Source Files

Jump to

Keyboard shortcuts

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