orgs

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: MIT Imports: 26 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

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

func CreateItemActionsPermissionsRepositoriesGetResponseFromDiscriminatorValue

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

func CreateItemActionsPermissionsRepositoriesPutRequestBodyFromDiscriminatorValue

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

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

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

func CreateItemActionsRunnersGenerateJitconfigPostResponseFromDiscriminatorValue

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

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

func CreateItemActionsRunnersItemLabelsDeleteResponseFromDiscriminatorValue

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

func CreateItemActionsRunnersItemLabelsGetResponseFromDiscriminatorValue

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

func CreateItemActionsRunnersItemLabelsItemWithNameDeleteResponseFromDiscriminatorValue

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

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

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

func CreateItemActionsRunnersItemLabelsPostResponseFromDiscriminatorValue

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

func CreateItemActionsRunnersItemLabelsPutRequestBodyFromDiscriminatorValue

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

func CreateItemActionsRunnersItemLabelsPutResponseFromDiscriminatorValue

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

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

func CreateItemActionsSecretsItemRepositoriesGetResponseFromDiscriminatorValue

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

func CreateItemActionsSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue

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

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

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

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

func CreateItemActionsVariablesItemRepositoriesGetResponseFromDiscriminatorValue

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

func CreateItemActionsVariablesItemRepositoriesPutRequestBodyFromDiscriminatorValue

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

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

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

func CreateItemActionsVariablesPostRequestBodyFromDiscriminatorValue

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

func CreateItemActionsVariablesResponseFromDiscriminatorValue

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

func CreateItemCodespacesAccessPutRequestBodyFromDiscriminatorValue

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

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

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

func CreateItemCodespacesGetResponseFromDiscriminatorValue

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

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

func CreateItemCodespacesSecretsItemRepositoriesGetResponseFromDiscriminatorValue

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

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

func CreateItemCodespacesSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue

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

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

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

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

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

func CreateItemCopilotBillingSelected_teamsDeleteResponseFromDiscriminatorValue

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

func CreateItemCopilotBillingSelected_teamsPostRequestBodyFromDiscriminatorValue

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

func CreateItemCopilotBillingSelected_teamsPostResponseFromDiscriminatorValue

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

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

func CreateItemCopilotBillingSelected_usersDeleteResponseFromDiscriminatorValue

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

func CreateItemCopilotBillingSelected_usersPostRequestBodyFromDiscriminatorValue

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

func CreateItemCopilotBillingSelected_usersPostResponseFromDiscriminatorValue

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

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

func CreateItemDependabotSecretsItemRepositoriesGetResponseFromDiscriminatorValue

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

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

func CreateItemDependabotSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue

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

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

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

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

func CreateItemHooksItemDeliveriesItemAttemptsPostResponseFromDiscriminatorValue

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

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

func CreateItemHooksItemWithHook_PatchRequestBody_configFromDiscriminatorValue

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

func CreateItemHooksPostRequestBodyFromDiscriminatorValue

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

func CreateItemHooksPostRequestBody_configFromDiscriminatorValue

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

func CreateItemInstallationsGetResponseFromDiscriminatorValue

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

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

func CreateItemItemItemWithEnablementPostRequestBodyFromDiscriminatorValue

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

func CreateItemMembersItemCodespacesGetResponseFromDiscriminatorValue

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

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

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

func CreateItemMigrationsPostRequestBodyFromDiscriminatorValue

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

func CreateItemOrganizationRolesGetResponseFromDiscriminatorValue

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

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

func CreateItemOrganizationRolesPostRequestBodyFromDiscriminatorValue

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

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

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

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

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

func CreateItemPersonalAccessTokenRequestsPostRequestBodyFromDiscriminatorValue

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

func CreateItemPersonalAccessTokenRequestsPostResponseFromDiscriminatorValue

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

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

func CreateItemPersonalAccessTokensPostRequestBodyFromDiscriminatorValue

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

func CreateItemPersonalAccessTokensPostResponseFromDiscriminatorValue

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

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

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

func CreateItemPropertiesSchemaPatchRequestBodyFromDiscriminatorValue

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

func CreateItemPropertiesValuesPatchRequestBodyFromDiscriminatorValue

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

func CreateItemReposPostRequestBodyFromDiscriminatorValue

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

func CreateItemReposPostRequestBody_custom_propertiesFromDiscriminatorValue

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

func CreateItemRulesetsItemWithRuleset_PutRequestBodyFromDiscriminatorValue

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

func CreateItemRulesetsPostRequestBodyFromDiscriminatorValue

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

func CreateItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBodyFromDiscriminatorValue

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

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

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

func CreateItemTeamsItemDiscussionsItemCommentsPostRequestBodyFromDiscriminatorValue

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

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

func CreateItemTeamsItemDiscussionsItemReactionsPostRequestBodyFromDiscriminatorValue

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

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

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

func CreateItemTeamsItemDiscussionsPostRequestBodyFromDiscriminatorValue

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

func CreateItemTeamsItemMembershipsItemWithUsernamePutRequestBodyFromDiscriminatorValue

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

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

func CreateItemTeamsItemProjectsItemWithProject_403ErrorFromDiscriminatorValue

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

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

func CreateItemTeamsItemReposItemItemWithRepoPutRequestBodyFromDiscriminatorValue

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

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

func CreateItemTeamsItemWithTeam_slugPatchRequestBodyFromDiscriminatorValue

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

func CreateItemTeamsPostRequestBodyFromDiscriminatorValue

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

func CreateItemWithOrgDeleteResponseFromDiscriminatorValue

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

func CreateItemWithOrgPatchRequestBodyFromDiscriminatorValue

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

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 CacheRequestBuilder and sets the default values.

func NewItemActionsCacheRequestBuilderInternal

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

NewItemActionsCacheRequestBuilderInternal instantiates a new CacheRequestBuilder and sets the default values.

func (*ItemActionsCacheRequestBuilder) Usage

Usage the usage property

func (*ItemActionsCacheRequestBuilder) UsageByRepository

UsageByRepository the usageByRepository property

type ItemActionsCacheUsageByRepositoryGetResponse

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

ItemActionsCacheUsageByRepositoryGetResponse

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.

func (*ItemActionsCacheUsageByRepositoryGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemActionsCacheUsageByRepositoryGetResponse) GetRepositoryCacheUsages

GetRepositoryCacheUsages gets the repository_cache_usages property value. The repository_cache_usages property

func (*ItemActionsCacheUsageByRepositoryGetResponse) GetTotalCount

GetTotalCount gets the total_count property value. The total_count property

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 UsageByRepositoryRequestBuilder and sets the default values.

func NewItemActionsCacheUsageByRepositoryRequestBuilderInternal

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

NewItemActionsCacheUsageByRepositoryRequestBuilderInternal instantiates a new UsageByRepositoryRequestBuilder 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. 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.

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.

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 UsageRequestBuilder and sets the default values.

func NewItemActionsCacheUsageRequestBuilderInternal

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

NewItemActionsCacheUsageRequestBuilderInternal instantiates a new UsageRequestBuilder 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. 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.

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.

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 CustomizationRequestBuilder and sets the default values.

func NewItemActionsOidcCustomizationRequestBuilderInternal

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

NewItemActionsOidcCustomizationRequestBuilderInternal instantiates a new CustomizationRequestBuilder and sets the default values.

func (*ItemActionsOidcCustomizationRequestBuilder) Sub

Sub the sub property

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 SubRequestBuilder and sets the default values.

func NewItemActionsOidcCustomizationSubRequestBuilderInternal

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

NewItemActionsOidcCustomizationSubRequestBuilderInternal instantiates a new SubRequestBuilder 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. 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. 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.

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.

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.

type ItemActionsOidcRequestBuilder

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

func NewItemActionsOidcRequestBuilder

NewItemActionsOidcRequestBuilder instantiates a new OidcRequestBuilder and sets the default values.

func NewItemActionsOidcRequestBuilderInternal

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

NewItemActionsOidcRequestBuilderInternal instantiates a new OidcRequestBuilder and sets the default values.

func (*ItemActionsOidcRequestBuilder) Customization

Customization the customization property

type ItemActionsPermissionsPutRequestBody

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

ItemActionsPermissionsPutRequestBody

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.

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.

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.

func (*ItemActionsPermissionsPutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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
}

ItemActionsPermissionsRepositoriesGetResponse

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.

func (*ItemActionsPermissionsRepositoriesGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemActionsPermissionsRepositoriesGetResponse) GetRepositories

GetRepositories gets the repositories property value. The repositories property

func (*ItemActionsPermissionsRepositoriesGetResponse) GetTotalCount

GetTotalCount gets the total_count property value. The total_count property

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
}

ItemActionsPermissionsRepositoriesPutRequestBody

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.

func (*ItemActionsPermissionsRepositoriesPutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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.

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

ItemActionsPermissionsRepositoriesPutRequestBodyable

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 RepositoriesRequestBuilder and sets the default values.

func NewItemActionsPermissionsRepositoriesRequestBuilderInternal

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

NewItemActionsPermissionsRepositoriesRequestBuilderInternal instantiates a new RepositoriesRequestBuilder 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

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

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.

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.

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

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.

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.

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 PermissionsRequestBuilder and sets the default values.

func NewItemActionsPermissionsRequestBuilderInternal

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

NewItemActionsPermissionsRequestBuilderInternal instantiates a new PermissionsRequestBuilder 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. 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

func (*ItemActionsPermissionsRequestBuilder) SelectedActions

SelectedActions the selectedActions property

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.

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.

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.

func (*ItemActionsPermissionsRequestBuilder) Workflow

Workflow the workflow property

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 SelectedActionsRequestBuilder and sets the default values.

func NewItemActionsPermissionsSelectedActionsRequestBuilderInternal

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

NewItemActionsPermissionsSelectedActionsRequestBuilderInternal instantiates a new SelectedActionsRequestBuilder 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. 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.

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.

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.

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 WorkflowRequestBuilder and sets the default values.

func NewItemActionsPermissionsWorkflowRequestBuilderInternal

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

NewItemActionsPermissionsWorkflowRequestBuilderInternal instantiates a new WorkflowRequestBuilder 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. 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.

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.

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.

type ItemActionsRequestBuilder

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

func NewItemActionsRequestBuilder

NewItemActionsRequestBuilder instantiates a new ActionsRequestBuilder and sets the default values.

func NewItemActionsRequestBuilderInternal

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

NewItemActionsRequestBuilderInternal instantiates a new ActionsRequestBuilder and sets the default values.

func (*ItemActionsRequestBuilder) Cache

Cache the cache property

func (*ItemActionsRequestBuilder) Oidc

Oidc the oidc property

func (*ItemActionsRequestBuilder) Permissions

Permissions the permissions property

func (*ItemActionsRequestBuilder) Runners

Runners the runners property

func (*ItemActionsRequestBuilder) Secrets

Secrets the secrets property

func (*ItemActionsRequestBuilder) Variables

Variables the variables property

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 DownloadsRequestBuilder and sets the default values.

func NewItemActionsRunnersDownloadsRequestBuilderInternal

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

NewItemActionsRunnersDownloadsRequestBuilderInternal instantiates a new DownloadsRequestBuilder 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. 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.

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.

type ItemActionsRunnersGenerateJitconfigPostRequestBody

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

ItemActionsRunnersGenerateJitconfigPostRequestBody

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.

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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.

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetName

GetName gets the name property value. The name of the new runner.

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetRunnerGroupId

GetRunnerGroupId gets the runner_group_id property value. The ID of the runner group to register the runner to.

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.

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

ItemActionsRunnersGenerateJitconfigPostRequestBodyable

type ItemActionsRunnersGenerateJitconfigPostResponse

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

ItemActionsRunnersGenerateJitconfigPostResponse

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.

func (*ItemActionsRunnersGenerateJitconfigPostResponse) GetEncodedJitConfig

func (m *ItemActionsRunnersGenerateJitconfigPostResponse) GetEncodedJitConfig() *string

GetEncodedJitConfig gets the encoded_jit_config property value. The base64 encoded runner configuration.

func (*ItemActionsRunnersGenerateJitconfigPostResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemActionsRunnersGenerateJitconfigPostResponse) GetRunner

GetRunner gets the runner property value. A self hosted runner

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 GenerateJitconfigRequestBuilder and sets the default values.

func NewItemActionsRunnersGenerateJitconfigRequestBuilderInternal

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

NewItemActionsRunnersGenerateJitconfigRequestBuilderInternal instantiates a new GenerateJitconfigRequestBuilder 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. 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.

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.

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
}

ItemActionsRunnersGetResponse

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.

func (*ItemActionsRunnersGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemActionsRunnersGetResponse) GetRunners

GetRunners gets the runners property value. The runners property

func (*ItemActionsRunnersGetResponse) GetTotalCount

func (m *ItemActionsRunnersGetResponse) GetTotalCount() *int32

GetTotalCount gets the total_count property value. The total_count property

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
}

ItemActionsRunnersItemLabelsDeleteResponse

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.

func (*ItemActionsRunnersItemLabelsDeleteResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemActionsRunnersItemLabelsDeleteResponse) GetLabels

GetLabels gets the labels property value. The labels property

func (*ItemActionsRunnersItemLabelsDeleteResponse) GetTotalCount

GetTotalCount gets the total_count property value. The total_count property

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
}

ItemActionsRunnersItemLabelsGetResponse

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.

func (*ItemActionsRunnersItemLabelsGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemActionsRunnersItemLabelsGetResponse) GetLabels

GetLabels gets the labels property value. The labels property

func (*ItemActionsRunnersItemLabelsGetResponse) GetTotalCount

func (m *ItemActionsRunnersItemLabelsGetResponse) GetTotalCount() *int32

GetTotalCount gets the total_count property value. The total_count property

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
}

ItemActionsRunnersItemLabelsItemWithNameDeleteResponse

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.

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetLabels

GetLabels gets the labels property value. The labels property

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetTotalCount

GetTotalCount gets the total_count property value. The total_count property

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
}

ItemActionsRunnersItemLabelsPostRequestBody

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.

func (*ItemActionsRunnersItemLabelsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemActionsRunnersItemLabelsPostRequestBody) GetLabels

GetLabels gets the labels property value. The names of the custom labels to add to the runner.

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 ItemActionsRunnersItemLabelsPostRequestBodyable

ItemActionsRunnersItemLabelsPostRequestBodyable

type ItemActionsRunnersItemLabelsPostResponse

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

ItemActionsRunnersItemLabelsPostResponse

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.

func (*ItemActionsRunnersItemLabelsPostResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemActionsRunnersItemLabelsPostResponse) GetLabels

GetLabels gets the labels property value. The labels property

func (*ItemActionsRunnersItemLabelsPostResponse) GetTotalCount

func (m *ItemActionsRunnersItemLabelsPostResponse) GetTotalCount() *int32

GetTotalCount gets the total_count property value. The total_count property

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
}

ItemActionsRunnersItemLabelsPutRequestBody

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.

func (*ItemActionsRunnersItemLabelsPutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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.

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 ItemActionsRunnersItemLabelsPutRequestBodyable

ItemActionsRunnersItemLabelsPutRequestBodyable

type ItemActionsRunnersItemLabelsPutResponse

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

ItemActionsRunnersItemLabelsPutResponse

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.

func (*ItemActionsRunnersItemLabelsPutResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemActionsRunnersItemLabelsPutResponse) GetLabels

GetLabels gets the labels property value. The labels property

func (*ItemActionsRunnersItemLabelsPutResponse) GetTotalCount

func (m *ItemActionsRunnersItemLabelsPutResponse) GetTotalCount() *int32

GetTotalCount gets the total_count property value. The total_count property

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 LabelsRequestBuilder and sets the default values.

func NewItemActionsRunnersItemLabelsRequestBuilderInternal

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

NewItemActionsRunnersItemLabelsRequestBuilderInternal instantiates a new LabelsRequestBuilder 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

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

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.

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.

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.

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.

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 WithNameItemRequestBuilder and sets the default values.

func NewItemActionsRunnersItemLabelsWithNameItemRequestBuilderInternal

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

NewItemActionsRunnersItemLabelsWithNameItemRequestBuilderInternal instantiates a new WithNameItemRequestBuilder 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. 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.

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.

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 RegistrationTokenRequestBuilder and sets the default values.

func NewItemActionsRunnersRegistrationTokenRequestBuilderInternal

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

NewItemActionsRunnersRegistrationTokenRequestBuilderInternal instantiates a new RegistrationTokenRequestBuilder 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. 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.

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.

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 RemoveTokenRequestBuilder and sets the default values.

func NewItemActionsRunnersRemoveTokenRequestBuilderInternal

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

NewItemActionsRunnersRemoveTokenRequestBuilderInternal instantiates a new RemoveTokenRequestBuilder 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. 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.

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.

type ItemActionsRunnersRequestBuilder

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

func NewItemActionsRunnersRequestBuilder

NewItemActionsRunnersRequestBuilder instantiates a new RunnersRequestBuilder and sets the default values.

func NewItemActionsRunnersRequestBuilderInternal

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

NewItemActionsRunnersRequestBuilderInternal instantiates a new RunnersRequestBuilder 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

func (*ItemActionsRunnersRequestBuilder) Downloads

Downloads the downloads property

func (*ItemActionsRunnersRequestBuilder) GenerateJitconfig

GenerateJitconfig the generateJitconfig property

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. API method documentation

func (*ItemActionsRunnersRequestBuilder) RegistrationToken

RegistrationToken the registrationToken property

func (*ItemActionsRunnersRequestBuilder) RemoveToken

RemoveToken the removeToken property

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.

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.

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 WithRunner_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 WithRunner_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. API method documentation

func (*ItemActionsRunnersWithRunner_ItemRequestBuilder) Labels

Labels the labels property

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.

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.

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.

type ItemActionsSecretsGetResponse

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

ItemActionsSecretsGetResponse

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.

func (*ItemActionsSecretsGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemActionsSecretsGetResponse) GetSecrets

GetSecrets gets the secrets property value. The secrets property

func (*ItemActionsSecretsGetResponse) GetTotalCount

func (m *ItemActionsSecretsGetResponse) GetTotalCount() *int32

GetTotalCount gets the total_count property value. The total_count property

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
}

ItemActionsSecretsItemRepositoriesGetResponse

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.

func (*ItemActionsSecretsItemRepositoriesGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemActionsSecretsItemRepositoriesGetResponse) GetRepositories

GetRepositories gets the repositories property value. The repositories property

func (*ItemActionsSecretsItemRepositoriesGetResponse) GetTotalCount

GetTotalCount gets the total_count property value. The total_count property

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
}

ItemActionsSecretsItemRepositoriesPutRequestBody

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.

func (*ItemActionsSecretsItemRepositoriesPutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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.

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

ItemActionsSecretsItemRepositoriesPutRequestBodyable

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 RepositoriesRequestBuilder and sets the default values.

func NewItemActionsSecretsItemRepositoriesRequestBuilderInternal

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

NewItemActionsSecretsItemRepositoriesRequestBuilderInternal instantiates a new RepositoriesRequestBuilder 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

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

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.

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.

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

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.

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.

type ItemActionsSecretsItemWithSecret_namePutRequestBody

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

ItemActionsSecretsItemWithSecret_namePutRequestBody

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.

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.

func (*ItemActionsSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemActionsSecretsItemWithSecret_namePutRequestBody) GetKeyId

GetKeyId gets the key_id property value. ID of the key you used to encrypt the secret.

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.

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

ItemActionsSecretsItemWithSecret_namePutRequestBodyable

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 PublicKeyRequestBuilder and sets the default values.

func NewItemActionsSecretsPublicKeyRequestBuilderInternal

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

NewItemActionsSecretsPublicKeyRequestBuilderInternal instantiates a new PublicKeyRequestBuilder 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. 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.

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.

type ItemActionsSecretsRequestBuilder

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

func NewItemActionsSecretsRequestBuilder

NewItemActionsSecretsRequestBuilder instantiates a new SecretsRequestBuilder and sets the default values.

func NewItemActionsSecretsRequestBuilderInternal

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

NewItemActionsSecretsRequestBuilderInternal instantiates a new SecretsRequestBuilder 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

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. API method documentation

func (*ItemActionsSecretsRequestBuilder) PublicKey

PublicKey the publicKey property

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.

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.

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 WithSecret_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 WithSecret_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. 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. API method documentation

func (*ItemActionsSecretsWithSecret_nameItemRequestBuilder) Repositories

Repositories the repositories property

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.

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.

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.

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.

type ItemActionsVariablesGetResponse

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

ItemActionsVariablesGetResponse

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.

func (*ItemActionsVariablesGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemActionsVariablesGetResponse) GetTotalCount

func (m *ItemActionsVariablesGetResponse) GetTotalCount() *int32

GetTotalCount gets the total_count property value. The total_count property

func (*ItemActionsVariablesGetResponse) GetVariables

GetVariables gets the variables property value. The variables property

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
}

ItemActionsVariablesItemRepositoriesGetResponse

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.

func (*ItemActionsVariablesItemRepositoriesGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemActionsVariablesItemRepositoriesGetResponse) GetRepositories

GetRepositories gets the repositories property value. The repositories property

func (*ItemActionsVariablesItemRepositoriesGetResponse) GetTotalCount

GetTotalCount gets the total_count property value. The total_count property

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
}

ItemActionsVariablesItemRepositoriesPutRequestBody

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.

func (*ItemActionsVariablesItemRepositoriesPutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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.

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

ItemActionsVariablesItemRepositoriesPutRequestBodyable

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 RepositoriesRequestBuilder and sets the default values.

func NewItemActionsVariablesItemRepositoriesRequestBuilderInternal

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

NewItemActionsVariablesItemRepositoriesRequestBuilderInternal instantiates a new RepositoriesRequestBuilder 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

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

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.

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.

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

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.

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.

type ItemActionsVariablesItemWithNamePatchRequestBody

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

ItemActionsVariablesItemWithNamePatchRequestBody

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.

func (*ItemActionsVariablesItemWithNamePatchRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemActionsVariablesItemWithNamePatchRequestBody) GetName

GetName gets the name property value. The name of the variable.

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

func (*ItemActionsVariablesItemWithNamePatchRequestBody) GetValue

GetValue gets the value property value. The value of the variable.

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

ItemActionsVariablesItemWithNamePatchRequestBodyable

type ItemActionsVariablesPostRequestBody

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

ItemActionsVariablesPostRequestBody

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.

func (*ItemActionsVariablesPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemActionsVariablesPostRequestBody) GetName

GetName gets the name property value. The name of the variable.

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

func (*ItemActionsVariablesPostRequestBody) GetValue

GetValue gets the value property value. The value of the variable.

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

ItemActionsVariablesPostRequestBodyable

type ItemActionsVariablesRequestBuilder

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

func NewItemActionsVariablesRequestBuilder

NewItemActionsVariablesRequestBuilder instantiates a new VariablesRequestBuilder and sets the default values.

func NewItemActionsVariablesRequestBuilderInternal

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

NewItemActionsVariablesRequestBuilderInternal instantiates a new VariablesRequestBuilder 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

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

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.

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.

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 WithNameItemRequestBuilder and sets the default values.

func NewItemActionsVariablesWithNameItemRequestBuilderInternal

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

NewItemActionsVariablesWithNameItemRequestBuilderInternal instantiates a new WithNameItemRequestBuilder 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. 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

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.

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.

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.

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.

type ItemBlocksRequestBuilder

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

func NewItemBlocksRequestBuilder

NewItemBlocksRequestBuilder instantiates a new BlocksRequestBuilder and sets the default values.

func NewItemBlocksRequestBuilderInternal

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

NewItemBlocksRequestBuilderInternal instantiates a new BlocksRequestBuilder 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

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.

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 WithUsernameItemRequestBuilder and sets the default values.

func NewItemBlocksWithUsernameItemRequestBuilderInternal

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

NewItemBlocksWithUsernameItemRequestBuilderInternal instantiates a new WithUsernameItemRequestBuilder 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. 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. API method documentation

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.

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.

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.

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 AlertsRequestBuilder and sets the default values.

func NewItemCodeScanningAlertsRequestBuilderInternal

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

NewItemCodeScanningAlertsRequestBuilderInternal instantiates a new AlertsRequestBuilder 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. 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.

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.

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 CodeScanningRequestBuilder and sets the default values.

func NewItemCodeScanningRequestBuilderInternal

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

NewItemCodeScanningRequestBuilderInternal instantiates a new CodeScanningRequestBuilder and sets the default values.

func (*ItemCodeScanningRequestBuilder) Alerts

Alerts the alerts property

type ItemCodespacesAccessPutRequestBody

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

ItemCodespacesAccessPutRequestBody

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.

func (*ItemCodespacesAccessPutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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.

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 ItemCodespacesAccessPutRequestBodyable

type ItemCodespacesAccessPutRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetSelectedUsernames() []string
	SetSelectedUsernames(value []string)
}

ItemCodespacesAccessPutRequestBodyable

type ItemCodespacesAccessRequestBuilder

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

func NewItemCodespacesAccessRequestBuilder

NewItemCodespacesAccessRequestBuilder instantiates a new AccessRequestBuilder and sets the default values.

func NewItemCodespacesAccessRequestBuilderInternal

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

NewItemCodespacesAccessRequestBuilderInternal instantiates a new AccessRequestBuilder 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: API method documentation

func (*ItemCodespacesAccessRequestBuilder) Selected_users

Selected_users the selected_users property

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:

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:

type ItemCodespacesAccessSelected_usersDeleteRequestBody

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

ItemCodespacesAccessSelected_usersDeleteRequestBody

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.

func (*ItemCodespacesAccessSelected_usersDeleteRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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.

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_usersDeleteRequestBodyable

type ItemCodespacesAccessSelected_usersDeleteRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetSelectedUsernames() []string
	SetSelectedUsernames(value []string)
}

ItemCodespacesAccessSelected_usersDeleteRequestBodyable

type ItemCodespacesAccessSelected_usersPostRequestBody

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

ItemCodespacesAccessSelected_usersPostRequestBody

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.

func (*ItemCodespacesAccessSelected_usersPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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.

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_usersPostRequestBodyable

type ItemCodespacesAccessSelected_usersPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetSelectedUsernames() []string
	SetSelectedUsernames(value []string)
}

ItemCodespacesAccessSelected_usersPostRequestBodyable

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

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:

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:

type ItemCodespacesGetResponse

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

ItemCodespacesGetResponse

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.

func (*ItemCodespacesGetResponse) GetCodespaces

GetCodespaces gets the codespaces property value. The codespaces property

func (*ItemCodespacesGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemCodespacesGetResponse) GetTotalCount

func (m *ItemCodespacesGetResponse) GetTotalCount() *int32

GetTotalCount gets the total_count property value. The total_count property

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 CodespacesRequestBuilder and sets the default values.

func NewItemCodespacesRequestBuilderInternal

func NewItemCodespacesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesRequestBuilder

NewItemCodespacesRequestBuilderInternal instantiates a new CodespacesRequestBuilder and sets the default values.

func (*ItemCodespacesRequestBuilder) Access

Access the access property

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. API method documentation

func (*ItemCodespacesRequestBuilder) Secrets

Secrets the secrets property

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.

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.

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
}

ItemCodespacesSecretsGetResponse

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.

func (*ItemCodespacesSecretsGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemCodespacesSecretsGetResponse) GetSecrets

GetSecrets gets the secrets property value. The secrets property

func (*ItemCodespacesSecretsGetResponse) GetTotalCount

func (m *ItemCodespacesSecretsGetResponse) GetTotalCount() *int32

GetTotalCount gets the total_count property value. The total_count property

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
}

ItemCodespacesSecretsItemRepositoriesGetResponse

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.

func (*ItemCodespacesSecretsItemRepositoriesGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemCodespacesSecretsItemRepositoriesGetResponse) GetRepositories

GetRepositories gets the repositories property value. The repositories property

func (*ItemCodespacesSecretsItemRepositoriesGetResponse) GetTotalCount

GetTotalCount gets the total_count property value. The total_count property

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
}

ItemCodespacesSecretsItemRepositoriesPutRequestBody

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.

func (*ItemCodespacesSecretsItemRepositoriesPutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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.

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

ItemCodespacesSecretsItemRepositoriesPutRequestBodyable

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 RepositoriesRequestBuilder and sets the default values.

func NewItemCodespacesSecretsItemRepositoriesRequestBuilderInternal

func NewItemCodespacesSecretsItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesSecretsItemRepositoriesRequestBuilder

NewItemCodespacesSecretsItemRepositoriesRequestBuilderInternal instantiates a new RepositoriesRequestBuilder 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

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

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.

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.

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

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.

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.

type ItemCodespacesSecretsItemWithSecret_namePutRequestBody

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

ItemCodespacesSecretsItemWithSecret_namePutRequestBody

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.

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.

func (*ItemCodespacesSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemCodespacesSecretsItemWithSecret_namePutRequestBody) GetKeyId

GetKeyId gets the key_id property value. The ID of the key you used to encrypt the secret.

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.

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

ItemCodespacesSecretsItemWithSecret_namePutRequestBodyable

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 PublicKeyRequestBuilder and sets the default values.

func NewItemCodespacesSecretsPublicKeyRequestBuilderInternal

func NewItemCodespacesSecretsPublicKeyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesSecretsPublicKeyRequestBuilder

NewItemCodespacesSecretsPublicKeyRequestBuilderInternal instantiates a new PublicKeyRequestBuilder 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. 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.

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.

type ItemCodespacesSecretsRequestBuilder

ItemCodespacesSecretsRequestBuilder builds and executes requests for operations under \orgs\{org}\codespaces\secrets

func NewItemCodespacesSecretsRequestBuilder

NewItemCodespacesSecretsRequestBuilder instantiates a new SecretsRequestBuilder and sets the default values.

func NewItemCodespacesSecretsRequestBuilderInternal

func NewItemCodespacesSecretsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesSecretsRequestBuilder

NewItemCodespacesSecretsRequestBuilderInternal instantiates a new SecretsRequestBuilder 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

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. API method documentation

func (*ItemCodespacesSecretsRequestBuilder) PublicKey

PublicKey the publicKey property

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.

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.

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 WithSecret_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 WithSecret_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. 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. 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. API method documentation

func (*ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) Repositories

Repositories the repositories property

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.

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.

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.

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.

type ItemCopilotBillingRequestBuilder

ItemCopilotBillingRequestBuilder builds and executes requests for operations under \orgs\{org}\copilot\billing

func NewItemCopilotBillingRequestBuilder

NewItemCopilotBillingRequestBuilder instantiates a new BillingRequestBuilder and sets the default values.

func NewItemCopilotBillingRequestBuilderInternal

func NewItemCopilotBillingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCopilotBillingRequestBuilder

NewItemCopilotBillingRequestBuilderInternal instantiates a new BillingRequestBuilder 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 code matching 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 configure and view details about the organization's Copilot Business subscription.OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. API method documentation

func (*ItemCopilotBillingRequestBuilder) Seats

Seats the seats property

func (*ItemCopilotBillingRequestBuilder) Selected_teams

Selected_teams the selected_teams property

func (*ItemCopilotBillingRequestBuilder) Selected_users

Selected_users the selected_users property

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 code matching 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 configure and view details about the organization's Copilot Business subscription.OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint.

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.

type ItemCopilotBillingSeatsGetResponse

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

ItemCopilotBillingSeatsGetResponse

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.

func (*ItemCopilotBillingSeatsGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemCopilotBillingSeatsGetResponse) GetSeats

GetSeats gets the seats property value. The seats property

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.

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 SeatsRequestBuilder and sets the default values.

func NewItemCopilotBillingSeatsRequestBuilderInternal

func NewItemCopilotBillingSeatsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCopilotBillingSeatsRequestBuilder

NewItemCopilotBillingSeatsRequestBuilderInternal instantiates a new SeatsRequestBuilder and sets the default values.

func (*ItemCopilotBillingSeatsRequestBuilder) Get

Get **Note**: This endpoint is in beta and is subject to change.Lists all Copilot seat assignments for an organization that are currently being billed (either active or pending cancellation at the start of the next billing cycle).Only organization owners can configure and view details about the organization's Copilot Business or Enterprise subscription.OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. API method documentation

func (*ItemCopilotBillingSeatsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation **Note**: This endpoint is in beta and is subject to change.Lists all Copilot seat assignments for an organization that are currently being billed (either active or pending cancellation at the start of the next billing cycle).Only organization owners can configure and view details about the organization's Copilot Business or Enterprise subscription.OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint.

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.

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 Copilot seat assignments for an organization that are currently being billed (either active or pending cancellation at the start of the next billing cycle).Only organization owners can configure and view details about the organization's Copilot Business or Enterprise subscription.OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope 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
}

ItemCopilotBillingSelected_teamsDeleteRequestBody

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.

func (*ItemCopilotBillingSelected_teamsDeleteRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemCopilotBillingSelected_teamsDeleteRequestBody) GetSelectedTeams

GetSelectedTeams gets the selected_teams property value. The names of teams from which to revoke access to GitHub Copilot.

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_teamsDeleteRequestBodyable

type ItemCopilotBillingSelected_teamsDeleteRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetSelectedTeams() []string
	SetSelectedTeams(value []string)
}

ItemCopilotBillingSelected_teamsDeleteRequestBodyable

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.

func (*ItemCopilotBillingSelected_teamsDeleteResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemCopilotBillingSelected_teamsDeleteResponse) GetSeatsCancelled

func (m *ItemCopilotBillingSelected_teamsDeleteResponse) GetSeatsCancelled() *int32

GetSeatsCancelled gets the seats_cancelled property value. The seats_cancelled property

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_teamsDeleteResponseable

type ItemCopilotBillingSelected_teamsDeleteResponseable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetSeatsCancelled() *int32
	SetSeatsCancelled(value *int32)
}

ItemCopilotBillingSelected_teamsDeleteResponseable

type ItemCopilotBillingSelected_teamsPostRequestBody

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

ItemCopilotBillingSelected_teamsPostRequestBody

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.

func (*ItemCopilotBillingSelected_teamsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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.

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_teamsPostRequestBodyable

type ItemCopilotBillingSelected_teamsPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetSelectedTeams() []string
	SetSelectedTeams(value []string)
}

ItemCopilotBillingSelected_teamsPostRequestBodyable

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.

func (*ItemCopilotBillingSelected_teamsPostResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemCopilotBillingSelected_teamsPostResponse) GetSeatsCreated

GetSeatsCreated gets the seats_created property value. The seats_created property

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_teamsPostResponseable

type ItemCopilotBillingSelected_teamsPostResponseable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetSeatsCreated() *int32
	SetSeatsCreated(value *int32)
}

ItemCopilotBillingSelected_teamsPostResponseable

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 Selected_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 Selected_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 configure GitHub Copilot in their organization.OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. 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 configure GitHub Copilot in their organization.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 the `manage_billing:copilot` scope to use this endpoint. 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 configure GitHub Copilot in their organization.OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint.

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 configure GitHub Copilot in their organization.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 the `manage_billing:copilot` scope to use this endpoint.

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.

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
}

ItemCopilotBillingSelected_usersDeleteRequestBody

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.

func (*ItemCopilotBillingSelected_usersDeleteRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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.

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_usersDeleteRequestBodyable

type ItemCopilotBillingSelected_usersDeleteRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetSelectedUsernames() []string
	SetSelectedUsernames(value []string)
}

ItemCopilotBillingSelected_usersDeleteRequestBodyable

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.

func (*ItemCopilotBillingSelected_usersDeleteResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemCopilotBillingSelected_usersDeleteResponse) GetSeatsCancelled

func (m *ItemCopilotBillingSelected_usersDeleteResponse) GetSeatsCancelled() *int32

GetSeatsCancelled gets the seats_cancelled property value. The seats_cancelled property

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_usersDeleteResponseable

type ItemCopilotBillingSelected_usersDeleteResponseable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetSeatsCancelled() *int32
	SetSeatsCancelled(value *int32)
}

ItemCopilotBillingSelected_usersDeleteResponseable

type ItemCopilotBillingSelected_usersPostRequestBody

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

ItemCopilotBillingSelected_usersPostRequestBody

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.

func (*ItemCopilotBillingSelected_usersPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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.

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_usersPostRequestBodyable

type ItemCopilotBillingSelected_usersPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetSelectedUsernames() []string
	SetSelectedUsernames(value []string)
}

ItemCopilotBillingSelected_usersPostRequestBodyable

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.

func (*ItemCopilotBillingSelected_usersPostResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemCopilotBillingSelected_usersPostResponse) GetSeatsCreated

GetSeatsCreated gets the seats_created property value. The seats_created property

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_usersPostResponseable

type ItemCopilotBillingSelected_usersPostResponseable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetSeatsCreated() *int32
	SetSeatsCreated(value *int32)
}

ItemCopilotBillingSelected_usersPostResponseable

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 Selected_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 Selected_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 configure GitHub Copilot in their organization.OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. 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 configure GitHub Copilot in their organization.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 the `manage_billing:copilot` scope to use this endpoint. 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 configure GitHub Copilot in their organization.OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint.

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 configure GitHub Copilot in their organization.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 the `manage_billing:copilot` scope to use this endpoint.

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.

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 CopilotRequestBuilder and sets the default values.

func NewItemCopilotRequestBuilderInternal

func NewItemCopilotRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCopilotRequestBuilder

NewItemCopilotRequestBuilderInternal instantiates a new CopilotRequestBuilder and sets the default values.

func (*ItemCopilotRequestBuilder) Billing

Billing the billing property

type ItemDependabotAlertsRequestBuilder

ItemDependabotAlertsRequestBuilder builds and executes requests for operations under \orgs\{org}\dependabot\alerts

func NewItemDependabotAlertsRequestBuilder

NewItemDependabotAlertsRequestBuilder instantiates a new AlertsRequestBuilder and sets the default values.

func NewItemDependabotAlertsRequestBuilderInternal

func NewItemDependabotAlertsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotAlertsRequestBuilder

NewItemDependabotAlertsRequestBuilderInternal instantiates a new AlertsRequestBuilder 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. 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.

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.

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 DependabotRequestBuilder and sets the default values.

func NewItemDependabotRequestBuilderInternal

func NewItemDependabotRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotRequestBuilder

NewItemDependabotRequestBuilderInternal instantiates a new DependabotRequestBuilder and sets the default values.

func (*ItemDependabotRequestBuilder) Alerts

Alerts the alerts property

func (*ItemDependabotRequestBuilder) Secrets

Secrets the secrets property

type ItemDependabotSecretsGetResponse

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

ItemDependabotSecretsGetResponse

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.

func (*ItemDependabotSecretsGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemDependabotSecretsGetResponse) GetSecrets

GetSecrets gets the secrets property value. The secrets property

func (*ItemDependabotSecretsGetResponse) GetTotalCount

func (m *ItemDependabotSecretsGetResponse) GetTotalCount() *int32

GetTotalCount gets the total_count property value. The total_count property

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
}

ItemDependabotSecretsItemRepositoriesGetResponse

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.

func (*ItemDependabotSecretsItemRepositoriesGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemDependabotSecretsItemRepositoriesGetResponse) GetRepositories

GetRepositories gets the repositories property value. The repositories property

func (*ItemDependabotSecretsItemRepositoriesGetResponse) GetTotalCount

GetTotalCount gets the total_count property value. The total_count property

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
}

ItemDependabotSecretsItemRepositoriesPutRequestBody

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.

func (*ItemDependabotSecretsItemRepositoriesPutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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.

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

ItemDependabotSecretsItemRepositoriesPutRequestBodyable

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 RepositoriesRequestBuilder and sets the default values.

func NewItemDependabotSecretsItemRepositoriesRequestBuilderInternal

func NewItemDependabotSecretsItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsItemRepositoriesRequestBuilder

NewItemDependabotSecretsItemRepositoriesRequestBuilderInternal instantiates a new RepositoriesRequestBuilder 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

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

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.

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.

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

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.

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.

type ItemDependabotSecretsItemWithSecret_namePutRequestBody

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

ItemDependabotSecretsItemWithSecret_namePutRequestBody

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.

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.

func (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetKeyId

GetKeyId gets the key_id property value. ID of the key you used to encrypt the secret.

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.

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

ItemDependabotSecretsItemWithSecret_namePutRequestBodyable

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 PublicKeyRequestBuilder and sets the default values.

func NewItemDependabotSecretsPublicKeyRequestBuilderInternal

func NewItemDependabotSecretsPublicKeyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsPublicKeyRequestBuilder

NewItemDependabotSecretsPublicKeyRequestBuilderInternal instantiates a new PublicKeyRequestBuilder 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. 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.

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.

type ItemDependabotSecretsRequestBuilder

ItemDependabotSecretsRequestBuilder builds and executes requests for operations under \orgs\{org}\dependabot\secrets

func NewItemDependabotSecretsRequestBuilder

NewItemDependabotSecretsRequestBuilder instantiates a new SecretsRequestBuilder and sets the default values.

func NewItemDependabotSecretsRequestBuilderInternal

func NewItemDependabotSecretsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsRequestBuilder

NewItemDependabotSecretsRequestBuilderInternal instantiates a new SecretsRequestBuilder 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

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. API method documentation

func (*ItemDependabotSecretsRequestBuilder) PublicKey

PublicKey the publicKey property

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.

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.

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 WithSecret_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 WithSecret_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. 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. API method documentation

func (*ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Repositories

Repositories the repositories property

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.

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.

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.

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.

type ItemDockerConflictsRequestBuilder

ItemDockerConflictsRequestBuilder builds and executes requests for operations under \orgs\{org}\docker\conflicts

func NewItemDockerConflictsRequestBuilder

NewItemDockerConflictsRequestBuilder instantiates a new ConflictsRequestBuilder and sets the default values.

func NewItemDockerConflictsRequestBuilderInternal

func NewItemDockerConflictsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDockerConflictsRequestBuilder

NewItemDockerConflictsRequestBuilderInternal instantiates a new ConflictsRequestBuilder 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. 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.

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.

type ItemDockerRequestBuilder

ItemDockerRequestBuilder builds and executes requests for operations under \orgs\{org}\docker

func NewItemDockerRequestBuilder

NewItemDockerRequestBuilder instantiates a new DockerRequestBuilder and sets the default values.

func NewItemDockerRequestBuilderInternal

func NewItemDockerRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDockerRequestBuilder

NewItemDockerRequestBuilderInternal instantiates a new DockerRequestBuilder and sets the default values.

func (*ItemDockerRequestBuilder) Conflicts

Conflicts the conflicts property

type ItemEventsRequestBuilder

ItemEventsRequestBuilder builds and executes requests for operations under \orgs\{org}\events

func NewItemEventsRequestBuilder

NewItemEventsRequestBuilder instantiates a new EventsRequestBuilder and sets the default values.

func NewItemEventsRequestBuilderInternal

func NewItemEventsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEventsRequestBuilder

NewItemEventsRequestBuilderInternal instantiates a new EventsRequestBuilder 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.

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

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.

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
}

ItemHooksItemConfigPatchRequestBody

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.

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

func (*ItemHooksItemConfigPatchRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemHooksItemConfigPatchRequestBody) GetInsecureSsl

GetInsecureSsl gets the insecure_ssl property value. The insecure_ssl property

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

func (*ItemHooksItemConfigPatchRequestBody) GetUrl

GetUrl gets the url property value. The URL to which the payloads will be delivered.

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 ConfigRequestBuilder and sets the default values.

func NewItemHooksItemConfigRequestBuilderInternal

func NewItemHooksItemConfigRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksItemConfigRequestBuilder

NewItemHooksItemConfigRequestBuilderInternal instantiates a new ConfigRequestBuilder 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)."OAuth app tokens and personal access tokens (classic) need the `admin:org_hook` scope to use this endpoint. 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)."OAuth app tokens and personal access tokens (classic) need the `admin:org_hook` scope to use this endpoint. 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)."OAuth app tokens and personal access tokens (classic) need the `admin:org_hook` scope to use this endpoint.

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)."OAuth app tokens and personal access tokens (classic) need the `admin:org_hook` scope to use this endpoint.

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.

type ItemHooksItemDeliveriesItemAttemptsPostResponse

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

ItemHooksItemDeliveriesItemAttemptsPostResponse

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.

func (*ItemHooksItemDeliveriesItemAttemptsPostResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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 AttemptsRequestBuilder and sets the default values.

func NewItemHooksItemDeliveriesItemAttemptsRequestBuilderInternal

func NewItemHooksItemDeliveriesItemAttemptsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksItemDeliveriesItemAttemptsRequestBuilder

NewItemHooksItemDeliveriesItemAttemptsRequestBuilderInternal instantiates a new AttemptsRequestBuilder and sets the default values.

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.

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 DeliveriesRequestBuilder and sets the default values.

func NewItemHooksItemDeliveriesRequestBuilderInternal

func NewItemHooksItemDeliveriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksItemDeliveriesRequestBuilder

NewItemHooksItemDeliveriesRequestBuilderInternal instantiates a new DeliveriesRequestBuilder 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

func (*ItemHooksItemDeliveriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation returns a list of webhook deliveries for a webhook configured in an organization.

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.

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.

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 WithDelivery_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 WithDelivery_ItemRequestBuilder and sets the default values.

func (*ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) Attempts

Attempts the attempts property

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.

type ItemHooksItemPingsRequestBuilder

ItemHooksItemPingsRequestBuilder builds and executes requests for operations under \orgs\{org}\hooks\{hook_id}\pings

func NewItemHooksItemPingsRequestBuilder

NewItemHooksItemPingsRequestBuilder instantiates a new PingsRequestBuilder and sets the default values.

func NewItemHooksItemPingsRequestBuilderInternal

func NewItemHooksItemPingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksItemPingsRequestBuilder

NewItemHooksItemPingsRequestBuilderInternal instantiates a new PingsRequestBuilder and sets the default values.

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.

type ItemHooksItemWithHook_PatchRequestBody

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

ItemHooksItemWithHook_PatchRequestBody

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.

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.

func (*ItemHooksItemWithHook_PatchRequestBody) GetConfig

GetConfig gets the config property value. Key/value pairs to provide settings for this webhook.

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.

func (*ItemHooksItemWithHook_PatchRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemHooksItemWithHook_PatchRequestBody) GetName

GetName gets the name property value. The name property

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.

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

func (*ItemHooksItemWithHook_PatchRequestBody_config) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemHooksItemWithHook_PatchRequestBody_config) GetInsecureSsl

GetInsecureSsl gets the insecure_ssl property value. The insecure_ssl property

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

func (*ItemHooksItemWithHook_PatchRequestBody_config) GetUrl

GetUrl gets the url property value. The URL to which the payloads will be delivered.

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 ItemHooksItemWithHook_PatchRequestBodyable

type ItemHooksItemWithHook_PatchRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetActive() *bool
	GetConfig() ItemHooksItemWithHook_PatchRequestBody_configable
	GetEvents() []string
	GetName() *string
	SetActive(value *bool)
	SetConfig(value ItemHooksItemWithHook_PatchRequestBody_configable)
	SetEvents(value []string)
	SetName(value *string)
}

ItemHooksItemWithHook_PatchRequestBodyable

type ItemHooksPostRequestBody

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

ItemHooksPostRequestBody

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.

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.

func (*ItemHooksPostRequestBody) GetConfig

GetConfig gets the config property value. Key/value pairs to provide settings for this webhook.

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.

func (*ItemHooksPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemHooksPostRequestBody) GetName

func (m *ItemHooksPostRequestBody) GetName() *string

GetName gets the name property value. Must be passed as "web".

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.

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

func (*ItemHooksPostRequestBody_config) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemHooksPostRequestBody_config) GetInsecureSsl

GetInsecureSsl gets the insecure_ssl property value. The insecure_ssl property

func (*ItemHooksPostRequestBody_config) GetPassword

func (m *ItemHooksPostRequestBody_config) GetPassword() *string

GetPassword gets the password property value. The password property

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

func (*ItemHooksPostRequestBody_config) GetUrl

GetUrl gets the url property value. The URL to which the payloads will be delivered.

func (*ItemHooksPostRequestBody_config) GetUsername

func (m *ItemHooksPostRequestBody_config) GetUsername() *string

GetUsername gets the username property value. The username property

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 ItemHooksPostRequestBody_configable

type ItemHooksPostRequestBody_configable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetContentType() *string
	GetInsecureSsl() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.WebhookConfigInsecureSslable
	GetPassword() *string
	GetSecret() *string
	GetUrl() *string
	GetUsername() *string
	SetContentType(value *string)
	SetInsecureSsl(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.WebhookConfigInsecureSslable)
	SetPassword(value *string)
	SetSecret(value *string)
	SetUrl(value *string)
	SetUsername(value *string)
}

ItemHooksPostRequestBody_configable

type ItemHooksPostRequestBodyable

type ItemHooksPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetActive() *bool
	GetConfig() ItemHooksPostRequestBody_configable
	GetEvents() []string
	GetName() *string
	SetActive(value *bool)
	SetConfig(value ItemHooksPostRequestBody_configable)
	SetEvents(value []string)
	SetName(value *string)
}

ItemHooksPostRequestBodyable

type ItemHooksRequestBuilder

ItemHooksRequestBuilder builds and executes requests for operations under \orgs\{org}\hooks

func NewItemHooksRequestBuilder

NewItemHooksRequestBuilder instantiates a new HooksRequestBuilder and sets the default values.

func NewItemHooksRequestBuilderInternal

func NewItemHooksRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksRequestBuilder

NewItemHooksRequestBuilderInternal instantiates a new HooksRequestBuilder 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

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.

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 list organization webhooks

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 WithHook_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 WithHook_ItemRequestBuilder and sets the default values.

func (*ItemHooksWithHook_ItemRequestBuilder) Config

Config the config property

func (*ItemHooksWithHook_ItemRequestBuilder) Deliveries

Deliveries the deliveries property

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)." 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 must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use "[Update a webhook configuration for an organization](/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization)." API method documentation

func (*ItemHooksWithHook_ItemRequestBuilder) Pings

Pings the pings property

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)."

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 must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use "[Update a webhook configuration for an organization](/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization)."

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.

type ItemInstallationRequestBuilder

ItemInstallationRequestBuilder builds and executes requests for operations under \orgs\{org}\installation

func NewItemInstallationRequestBuilder

NewItemInstallationRequestBuilder instantiates a new InstallationRequestBuilder and sets the default values.

func NewItemInstallationRequestBuilderInternal

func NewItemInstallationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInstallationRequestBuilder

NewItemInstallationRequestBuilderInternal instantiates a new InstallationRequestBuilder and sets the default values.

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.

type ItemInstallationsGetResponse

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

ItemInstallationsGetResponse

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.

func (*ItemInstallationsGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemInstallationsGetResponse) GetInstallations

GetInstallations gets the installations property value. The installations property

func (*ItemInstallationsGetResponse) GetTotalCount

func (m *ItemInstallationsGetResponse) GetTotalCount() *int32

GetTotalCount gets the total_count property value. The total_count property

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 InstallationsRequestBuilder and sets the default values.

func NewItemInstallationsRequestBuilderInternal

func NewItemInstallationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInstallationsRequestBuilder

NewItemInstallationsRequestBuilderInternal instantiates a new InstallationsRequestBuilder 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. 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.

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.

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 InteractionLimitsRequestBuilder and sets the default values.

func NewItemInteractionLimitsRequestBuilderInternal

func NewItemInteractionLimitsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInteractionLimitsRequestBuilder

NewItemInteractionLimitsRequestBuilderInternal instantiates a new InteractionLimitsRequestBuilder 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. 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. 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.

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.

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.

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.

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 TeamsRequestBuilder and sets the default values.

func NewItemInvitationsItemTeamsRequestBuilderInternal

func NewItemInvitationsItemTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInvitationsItemTeamsRequestBuilder

NewItemInvitationsItemTeamsRequestBuilderInternal instantiates a new TeamsRequestBuilder 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. 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.

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.

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
}

ItemInvitationsPostRequestBody

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.

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.

func (*ItemInvitationsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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.

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.

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

ItemInvitationsPostRequestBodyable

type ItemInvitationsRequestBuilder

ItemInvitationsRequestBuilder builds and executes requests for operations under \orgs\{org}\invitations

func NewItemInvitationsRequestBuilder

NewItemInvitationsRequestBuilder instantiates a new InvitationsRequestBuilder and sets the default values.

func NewItemInvitationsRequestBuilderInternal

func NewItemInvitationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInvitationsRequestBuilder

NewItemInvitationsRequestBuilderInternal instantiates a new InvitationsRequestBuilder 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

func (*ItemInvitationsRequestBuilder) 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`, or `hiring_manager`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. 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/overview/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)." API method documentation

func (*ItemInvitationsRequestBuilder) 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`, or `hiring_manager`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.

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/overview/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)."

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.

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 Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub member, 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 WithInvitation_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 WithInvitation_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). API method documentation

func (*ItemInvitationsWithInvitation_ItemRequestBuilder) Teams

Teams the teams property

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

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.

type ItemIssuesRequestBuilder

ItemIssuesRequestBuilder builds and executes requests for operations under \orgs\{org}\issues

func NewItemIssuesRequestBuilder

NewItemIssuesRequestBuilder instantiates a new IssuesRequestBuilder and sets the default values.

func NewItemIssuesRequestBuilderInternal

func NewItemIssuesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemIssuesRequestBuilder

NewItemIssuesRequestBuilderInternal instantiates a new IssuesRequestBuilder 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`. 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`.

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.

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
}

ItemItemItemWithEnablementPostRequestBody

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.

func (*ItemItemItemWithEnablementPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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 WithEnablementItemRequestBuilder and sets the default values.

func NewItemItemWithEnablementItemRequestBuilderInternal

func NewItemItemWithEnablementItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemWithEnablementItemRequestBuilder

NewItemItemWithEnablementItemRequestBuilderInternal instantiates a new WithEnablementItemRequestBuilder 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.

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.

type ItemMembersItemCodespacesGetResponse

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

ItemMembersItemCodespacesGetResponse

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.

func (*ItemMembersItemCodespacesGetResponse) GetCodespaces

GetCodespaces gets the codespaces property value. The codespaces property

func (*ItemMembersItemCodespacesGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemMembersItemCodespacesGetResponse) GetTotalCount

func (m *ItemMembersItemCodespacesGetResponse) GetTotalCount() *int32

GetTotalCount gets the total_count property value. The total_count property

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 StopRequestBuilder and sets the default values.

func NewItemMembersItemCodespacesItemStopRequestBuilderInternal

func NewItemMembersItemCodespacesItemStopRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersItemCodespacesItemStopRequestBuilder

NewItemMembersItemCodespacesItemStopRequestBuilderInternal instantiates a new StopRequestBuilder 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. 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.

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.

type ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse

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

ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse

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.

func (*ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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_nameDeleteResponseable

ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponseable

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 CodespacesRequestBuilder and sets the default values.

func NewItemMembersItemCodespacesRequestBuilderInternal

func NewItemMembersItemCodespacesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersItemCodespacesRequestBuilder

NewItemMembersItemCodespacesRequestBuilderInternal instantiates a new CodespacesRequestBuilder 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

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

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.

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 WithCodespace_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 WithCodespace_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. API method documentation

func (*ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder) Stop

Stop the stop property

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.

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.

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 CopilotRequestBuilder and sets the default values.

func NewItemMembersItemCopilotRequestBuilderInternal

func NewItemMembersItemCopilotRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersItemCopilotRequestBuilder

NewItemMembersItemCopilotRequestBuilderInternal instantiates a new CopilotRequestBuilder 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.Organization owners can view GitHub Copilot seat assignment details for members in their organization.OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint. 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.Organization owners can view GitHub Copilot seat assignment details for members in their organization.OAuth app tokens and personal access tokens (classic) need the `manage_billing:copilot` scope to use this endpoint.

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.

type ItemMembersRequestBuilder

ItemMembersRequestBuilder builds and executes requests for operations under \orgs\{org}\members

func NewItemMembersRequestBuilder

NewItemMembersRequestBuilder instantiates a new MembersRequestBuilder and sets the default values.

func NewItemMembersRequestBuilderInternal

func NewItemMembersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersRequestBuilder

NewItemMembersRequestBuilderInternal instantiates a new MembersRequestBuilder 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

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

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.

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 WithUsernameItemRequestBuilder and sets the default values.

func NewItemMembersWithUsernameItemRequestBuilderInternal

func NewItemMembersWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersWithUsernameItemRequestBuilder

NewItemMembersWithUsernameItemRequestBuilderInternal instantiates a new WithUsernameItemRequestBuilder and sets the default values.

func (*ItemMembersWithUsernameItemRequestBuilder) Codespaces

Codespaces the codespaces property

func (*ItemMembersWithUsernameItemRequestBuilder) Copilot

Copilot the copilot property

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

func (*ItemMembersWithUsernameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation check if a user is, publicly or privately, a member of the organization.

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.

type ItemMembershipsItemWithUsernamePutRequestBody

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

ItemMembershipsItemWithUsernamePutRequestBody

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.

func (*ItemMembershipsItemWithUsernamePutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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 MembershipsRequestBuilder and sets the default values.

func NewItemMembershipsRequestBuilderInternal

func NewItemMembershipsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembershipsRequestBuilder

NewItemMembershipsRequestBuilderInternal instantiates a new MembershipsRequestBuilder 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

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 WithUsernameItemRequestBuilder and sets the default values.

func NewItemMembershipsWithUsernameItemRequestBuilderInternal

func NewItemMembershipsWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembershipsWithUsernameItemRequestBuilder

NewItemMembershipsWithUsernameItemRequestBuilderInternal instantiates a new WithUsernameItemRequestBuilder 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. 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. 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, the authenticated user is limited to 50 organization invitations per 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. 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.

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.

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, the authenticated user is limited to 50 organization invitations per 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.

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.

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 ArchiveRequestBuilder and sets the default values.

func NewItemMigrationsItemArchiveRequestBuilderInternal

func NewItemMigrationsItemArchiveRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsItemArchiveRequestBuilder

NewItemMigrationsItemArchiveRequestBuilderInternal instantiates a new ArchiveRequestBuilder and sets the default values.

func (*ItemMigrationsItemArchiveRequestBuilder) Delete

Delete deletes a previous migration archive. Migration archives are automatically deleted after seven days. API method documentation

func (*ItemMigrationsItemArchiveRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a previous migration archive. Migration archives are automatically deleted after seven days.

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.

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 LockRequestBuilder and sets the default values.

func NewItemMigrationsItemReposItemLockRequestBuilderInternal

func NewItemMigrationsItemReposItemLockRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsItemReposItemLockRequestBuilder

NewItemMigrationsItemReposItemLockRequestBuilderInternal instantiates a new LockRequestBuilder 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. 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.

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.

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 ReposRequestBuilder and sets the default values.

func NewItemMigrationsItemReposRequestBuilderInternal

func NewItemMigrationsItemReposRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsItemReposRequestBuilder

NewItemMigrationsItemReposRequestBuilderInternal instantiates a new ReposRequestBuilder 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

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 WithRepo_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 WithRepo_nameItemRequestBuilder and sets the default values.

func (*ItemMigrationsItemReposWithRepo_nameItemRequestBuilder) Lock

Lock the lock property

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 RepositoriesRequestBuilder and sets the default values.

func NewItemMigrationsItemRepositoriesRequestBuilderInternal

func NewItemMigrationsItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsItemRepositoriesRequestBuilder

NewItemMigrationsItemRepositoriesRequestBuilderInternal instantiates a new RepositoriesRequestBuilder and sets the default values.

func (*ItemMigrationsItemRepositoriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all the repositories for this organization migration.

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.

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
}

ItemMigrationsPostRequestBody

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.

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

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.

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.

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.

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

func (*ItemMigrationsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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.

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

func (*ItemMigrationsPostRequestBody) GetRepositories

func (m *ItemMigrationsPostRequestBody) GetRepositories() []string

GetRepositories gets the repositories property value. A list of arrays indicating which repositories should be migrated.

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

ItemMigrationsPostRequestBodyable

type ItemMigrationsRequestBuilder

ItemMigrationsRequestBuilder builds and executes requests for operations under \orgs\{org}\migrations

func NewItemMigrationsRequestBuilder

NewItemMigrationsRequestBuilder instantiates a new MigrationsRequestBuilder and sets the default values.

func NewItemMigrationsRequestBuilderInternal

func NewItemMigrationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsRequestBuilder

NewItemMigrationsRequestBuilderInternal instantiates a new MigrationsRequestBuilder 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

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

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.

type ItemMigrationsRequestBuilderGetQueryParameters

type ItemMigrationsRequestBuilderGetQueryParameters struct {
	// Exclude attributes from the API response to improve performance
	Exclude []string `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 WithMigration_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 WithMigration_ItemRequestBuilder and sets the default values.

func (*ItemMigrationsWithMigration_ItemRequestBuilder) Archive

Archive the archive property

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. API method documentation

func (*ItemMigrationsWithMigration_ItemRequestBuilder) Repos

Repos the repos property

func (*ItemMigrationsWithMigration_ItemRequestBuilder) Repositories

Repositories the repositories property

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.

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.

type ItemMigrationsWithMigration_ItemRequestBuilderGetQueryParameters

type ItemMigrationsWithMigration_ItemRequestBuilderGetQueryParameters struct {
	// Exclude attributes from the API response to improve performance
	Exclude []string `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 OrganizationFineGrainedPermissionsRequestBuilder and sets the default values.

func NewItemOrganizationFineGrainedPermissionsRequestBuilderInternal

func NewItemOrganizationFineGrainedPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationFineGrainedPermissionsRequestBuilder

NewItemOrganizationFineGrainedPermissionsRequestBuilderInternal instantiates a new OrganizationFineGrainedPermissionsRequestBuilder 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. 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.

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.

type ItemOrganizationRolesGetResponse

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

ItemOrganizationRolesGetResponse

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.

func (*ItemOrganizationRolesGetResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemOrganizationRolesGetResponse) GetRoles

GetRoles gets the roles property value. The list of organization roles available to the organization.

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.

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 TeamsRequestBuilder and sets the default values.

func NewItemOrganizationRolesItemTeamsRequestBuilderInternal

func NewItemOrganizationRolesItemTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesItemTeamsRequestBuilder

NewItemOrganizationRolesItemTeamsRequestBuilderInternal instantiates a new TeamsRequestBuilder 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. 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.

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.

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 UsersRequestBuilder and sets the default values.

func NewItemOrganizationRolesItemUsersRequestBuilderInternal

func NewItemOrganizationRolesItemUsersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesItemUsersRequestBuilder

NewItemOrganizationRolesItemUsersRequestBuilderInternal instantiates a new UsersRequestBuilder 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. 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.

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.

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
}

ItemOrganizationRolesItemWithRole_PatchRequestBody

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.

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.

func (*ItemOrganizationRolesItemWithRole_PatchRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemOrganizationRolesItemWithRole_PatchRequestBody) GetName

GetName gets the name property value. The name of the custom role.

func (*ItemOrganizationRolesItemWithRole_PatchRequestBody) GetPermissions

GetPermissions gets the permissions property value. A list of additional permissions included in this role.

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

ItemOrganizationRolesItemWithRole_PatchRequestBodyable

type ItemOrganizationRolesPostRequestBody

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

ItemOrganizationRolesPostRequestBody

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.

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.

func (*ItemOrganizationRolesPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemOrganizationRolesPostRequestBody) GetName

GetName gets the name property value. The name of the custom role.

func (*ItemOrganizationRolesPostRequestBody) GetPermissions

func (m *ItemOrganizationRolesPostRequestBody) GetPermissions() []string

GetPermissions gets the permissions property value. A list of additional permissions included in this role.

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

ItemOrganizationRolesPostRequestBodyable

type ItemOrganizationRolesRequestBuilder

ItemOrganizationRolesRequestBuilder builds and executes requests for operations under \orgs\{org}\organization-roles

func NewItemOrganizationRolesRequestBuilder

NewItemOrganizationRolesRequestBuilder instantiates a new OrganizationRolesRequestBuilder and sets the default values.

func NewItemOrganizationRolesRequestBuilderInternal

func NewItemOrganizationRolesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesRequestBuilder

NewItemOrganizationRolesRequestBuilderInternal instantiates a new OrganizationRolesRequestBuilder 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

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. 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. API method documentation

func (*ItemOrganizationRolesRequestBuilder) Teams

Teams the teams property

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.

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.

func (*ItemOrganizationRolesRequestBuilder) Users

Users the users property

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.

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

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.

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.

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 TeamsRequestBuilder and sets the default values.

func NewItemOrganizationRolesTeamsRequestBuilderInternal

func NewItemOrganizationRolesTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesTeamsRequestBuilder

NewItemOrganizationRolesTeamsRequestBuilderInternal instantiates a new TeamsRequestBuilder 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

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

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.

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.

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

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.

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.

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 UsersRequestBuilder and sets the default values.

func NewItemOrganizationRolesUsersRequestBuilderInternal

func NewItemOrganizationRolesUsersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesUsersRequestBuilder

NewItemOrganizationRolesUsersRequestBuilderInternal instantiates a new UsersRequestBuilder 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

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 WithUsernameItemRequestBuilder and sets the default values.

func NewItemOrganizationRolesUsersWithUsernameItemRequestBuilderInternal

func NewItemOrganizationRolesUsersWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesUsersWithUsernameItemRequestBuilder

NewItemOrganizationRolesUsersWithUsernameItemRequestBuilderInternal instantiates a new WithUsernameItemRequestBuilder 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

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.

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.

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 WithRole_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 WithRole_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. 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. API method documentation

func (*ItemOrganizationRolesWithRole_ItemRequestBuilder) Teams

Teams the teams property

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.

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.

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.

func (*ItemOrganizationRolesWithRole_ItemRequestBuilder) Users

Users the users property

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.

type ItemOutside_collaboratorsItemWithUsername422Error

type ItemOutside_collaboratorsItemWithUsername422Error struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ApiError
	// contains filtered or unexported fields
}

ItemOutside_collaboratorsItemWithUsername422Error

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.

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.

func (*ItemOutside_collaboratorsItemWithUsername422Error) GetDocumentationUrl

GetDocumentationUrl gets the documentation_url property value. The documentation_url property

func (*ItemOutside_collaboratorsItemWithUsername422Error) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemOutside_collaboratorsItemWithUsername422Error) GetMessage

GetMessage gets the message property value. The message property

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

ItemOutside_collaboratorsItemWithUsername422Errorable

type ItemOutside_collaboratorsItemWithUsernamePutRequestBody

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

ItemOutside_collaboratorsItemWithUsernamePutRequestBody

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.

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.

func (*ItemOutside_collaboratorsItemWithUsernamePutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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_collaboratorsItemWithUsernamePutRequestBodyable

type ItemOutside_collaboratorsItemWithUsernamePutRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetAsync() *bool
	SetAsync(value *bool)
}

ItemOutside_collaboratorsItemWithUsernamePutRequestBodyable

type ItemOutside_collaboratorsItemWithUsernamePutResponse

type ItemOutside_collaboratorsItemWithUsernamePutResponse struct {
}

ItemOutside_collaboratorsItemWithUsernamePutResponse

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

func (*ItemOutside_collaboratorsItemWithUsernamePutResponse) Serialize

Serialize serializes information the current object

type ItemOutside_collaboratorsItemWithUsernamePutResponseable

type ItemOutside_collaboratorsItemWithUsernamePutResponseable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
}

ItemOutside_collaboratorsItemWithUsernamePutResponseable

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

func (*ItemOutside_collaboratorsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all users who are outside collaborators of an organization.

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.

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 WithUsernameItemRequestBuilder 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 WithUsernameItemRequestBuilder 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. 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)." API method documentation

func (*ItemOutside_collaboratorsWithUsernameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removing a user from this list will remove them from all the organization's repositories.

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)."

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.

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 RestoreRequestBuilder and sets the default values.

func NewItemPackagesItemItemRestoreRequestBuilderInternal

func NewItemPackagesItemItemRestoreRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemRestoreRequestBuilder

NewItemPackagesItemItemRestoreRequestBuilderInternal instantiates a new RestoreRequestBuilder 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)." 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)."

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.

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 RestoreRequestBuilder and sets the default values.

func NewItemPackagesItemItemVersionsItemRestoreRequestBuilderInternal

func NewItemPackagesItemItemVersionsItemRestoreRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsItemRestoreRequestBuilder

NewItemPackagesItemItemVersionsItemRestoreRequestBuilderInternal instantiates a new RestoreRequestBuilder 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)." 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)."

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.

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 VersionsRequestBuilder and sets the default values.

func NewItemPackagesItemItemVersionsRequestBuilderInternal

func NewItemPackagesItemItemVersionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsRequestBuilder

NewItemPackagesItemItemVersionsRequestBuilderInternal instantiates a new VersionsRequestBuilder 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

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)." 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)."

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.

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 WithPackage_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 WithPackage_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)." 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)." API method documentation

func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Restore

Restore the restore property

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)."

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)."

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.

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 WithPackage_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 WithPackage_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)." 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)." API method documentation

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Restore

Restore the restore property

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)."

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)."

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Versions

Versions the versions property

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.

type ItemPackagesRequestBuilder

ItemPackagesRequestBuilder builds and executes requests for operations under \orgs\{org}\packages

func NewItemPackagesRequestBuilder

NewItemPackagesRequestBuilder instantiates a new PackagesRequestBuilder and sets the default values.

func NewItemPackagesRequestBuilderInternal

func NewItemPackagesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesRequestBuilder

NewItemPackagesRequestBuilderInternal instantiates a new PackagesRequestBuilder 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

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)." 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)."

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.

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

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 RepositoriesRequestBuilder and sets the default values.

func NewItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderInternal

func NewItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder

NewItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderInternal instantiates a new RepositoriesRequestBuilder 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. 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.

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.

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
}

ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody

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.

func (*ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) GetReason

GetReason gets the reason property value. Reason for approving or denying the request. Max 1024 characters.

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 ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBodyable

type ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetReason() *string
	SetReason(value *string)
}

ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBodyable

type ItemPersonalAccessTokenRequestsPostRequestBody

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

ItemPersonalAccessTokenRequestsPostRequestBody

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.

func (*ItemPersonalAccessTokenRequestsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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.

func (*ItemPersonalAccessTokenRequestsPostRequestBody) GetReason

GetReason gets the reason property value. Reason for approving or denying the requests. Max 1024 characters.

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

ItemPersonalAccessTokenRequestsPostRequestBodyable

type ItemPersonalAccessTokenRequestsPostResponse

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

ItemPersonalAccessTokenRequestsPostResponse

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.

func (*ItemPersonalAccessTokenRequestsPostResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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 PersonalAccessTokenRequestsRequestBuilder and sets the default values.

func NewItemPersonalAccessTokenRequestsRequestBuilderInternal

func NewItemPersonalAccessTokenRequestsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokenRequestsRequestBuilder

NewItemPersonalAccessTokenRequestsRequestBuilderInternal instantiates a new PersonalAccessTokenRequestsRequestBuilder 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

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

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.

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.

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 WithPat_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 WithPat_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. API method documentation

func (*ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder) Repositories

Repositories the repositories property

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.

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.

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 RepositoriesRequestBuilder and sets the default values.

func NewItemPersonalAccessTokensItemRepositoriesRequestBuilderInternal

func NewItemPersonalAccessTokensItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokensItemRepositoriesRequestBuilder

NewItemPersonalAccessTokensItemRepositoriesRequestBuilderInternal instantiates a new RepositoriesRequestBuilder 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. 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.

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.

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
}

ItemPersonalAccessTokensItemWithPat_PostRequestBody

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.

func (*ItemPersonalAccessTokensItemWithPat_PostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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
}

ItemPersonalAccessTokensPostRequestBody

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.

func (*ItemPersonalAccessTokensPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemPersonalAccessTokensPostRequestBody) GetPatIds

GetPatIds gets the pat_ids property value. The IDs of the fine-grained personal access tokens.

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 ItemPersonalAccessTokensPostRequestBodyable

ItemPersonalAccessTokensPostRequestBodyable

type ItemPersonalAccessTokensPostResponse

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

ItemPersonalAccessTokensPostResponse

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.

func (*ItemPersonalAccessTokensPostResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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 PersonalAccessTokensRequestBuilder and sets the default values.

func NewItemPersonalAccessTokensRequestBuilderInternal

func NewItemPersonalAccessTokensRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokensRequestBuilder

NewItemPersonalAccessTokensRequestBuilderInternal instantiates a new PersonalAccessTokensRequestBuilder 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

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

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.

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.

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 WithPat_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 WithPat_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. API method documentation

func (*ItemPersonalAccessTokensWithPat_ItemRequestBuilder) Repositories

Repositories the repositories property

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.

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.

type ItemProjectsPostRequestBody

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

ItemProjectsPostRequestBody

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.

func (*ItemProjectsPostRequestBody) GetBody

func (m *ItemProjectsPostRequestBody) GetBody() *string

GetBody gets the body property value. The description of the project.

func (*ItemProjectsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemProjectsPostRequestBody) GetName

func (m *ItemProjectsPostRequestBody) GetName() *string

GetName gets the name property value. The name of the project.

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 ItemProjectsPostRequestBodyable

ItemProjectsPostRequestBodyable

type ItemProjectsRequestBuilder

ItemProjectsRequestBuilder builds and executes requests for operations under \orgs\{org}\projects

func NewItemProjectsRequestBuilder

NewItemProjectsRequestBuilder instantiates a new ProjectsRequestBuilder and sets the default values.

func NewItemProjectsRequestBuilderInternal

func NewItemProjectsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemProjectsRequestBuilder

NewItemProjectsRequestBuilderInternal instantiates a new ProjectsRequestBuilder 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. 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. 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.

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.

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.

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 PropertiesRequestBuilder and sets the default values.

func NewItemPropertiesRequestBuilderInternal

func NewItemPropertiesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPropertiesRequestBuilder

NewItemPropertiesRequestBuilderInternal instantiates a new PropertiesRequestBuilder and sets the default values.

func (*ItemPropertiesRequestBuilder) Schema

Schema the schema property

func (*ItemPropertiesRequestBuilder) Values

Values the values property

type ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody

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

ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody

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.

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.

func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetDefaultValue

GetDefaultValue gets the default_value property value. Default value of the property

func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetDescription

GetDescription gets the description property value. Short description of the property

func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetRequired

GetRequired gets the required property value. Whether the property is required.

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_namePutRequestBodyable

type ItemPropertiesSchemaItemWithCustom_property_namePutRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetAllowedValues() []string
	GetDefaultValue() *string
	GetDescription() *string
	GetRequired() *bool
	SetAllowedValues(value []string)
	SetDefaultValue(value *string)
	SetDescription(value *string)
	SetRequired(value *bool)
}

ItemPropertiesSchemaItemWithCustom_property_namePutRequestBodyable

type ItemPropertiesSchemaPatchRequestBody

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

ItemPropertiesSchemaPatchRequestBody

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.

func (*ItemPropertiesSchemaPatchRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemPropertiesSchemaPatchRequestBody) GetProperties

GetProperties gets the properties property value. The array of custom properties to create or update.

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 SchemaRequestBuilder and sets the default values.

func NewItemPropertiesSchemaRequestBuilderInternal

func NewItemPropertiesSchemaRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPropertiesSchemaRequestBuilder

NewItemPropertiesSchemaRequestBuilderInternal instantiates a new SchemaRequestBuilder 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

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. API method documentation

func (*ItemPropertiesSchemaRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets all custom properties defined for an organization.Organization members can read these properties.

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.

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.

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

func (*ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a custom property that is defined for an organization.Organization members can read these properties.

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.

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.

type ItemPropertiesValuesPatchRequestBody

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

ItemPropertiesValuesPatchRequestBody

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.

func (*ItemPropertiesValuesPatchRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemPropertiesValuesPatchRequestBody) GetProperties

GetProperties gets the properties property value. List of custom property names and associated values to apply to the repositories.

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.

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 ValuesRequestBuilder and sets the default values.

func NewItemPropertiesValuesRequestBuilderInternal

func NewItemPropertiesValuesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPropertiesValuesRequestBuilder

NewItemPropertiesValuesRequestBuilderInternal instantiates a new ValuesRequestBuilder 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. 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. API method documentation

func (*ItemPropertiesValuesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists organization repositories with all of their custom property values.Organization members can read these properties.

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.

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.

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

func (*ItemPublic_membersRequestBuilder) ToGetRequestInformation

ToGetRequestInformation members of an organization can choose to have their membership publicized or not.

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.

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 WithUsernameItemRequestBuilder 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 WithUsernameItemRequestBuilder 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)." 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.

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)."

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.

type ItemReposPostRequestBody

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

ItemReposPostRequestBody

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.

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.

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.

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.

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.

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.

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.

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`.**

func (*ItemReposPostRequestBody) GetDescription

func (m *ItemReposPostRequestBody) GetDescription() *string

GetDescription gets the description property value. A short description of the repository.

func (*ItemReposPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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

func (*ItemReposPostRequestBody) GetHasDownloads

func (m *ItemReposPostRequestBody) GetHasDownloads() *bool

GetHasDownloads gets the has_downloads property value. Whether downloads are enabled.

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.

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.

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.

func (*ItemReposPostRequestBody) GetHomepage

func (m *ItemReposPostRequestBody) GetHomepage() *string

GetHomepage gets the homepage property value. A URL with more information about the repository.

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.

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

func (*ItemReposPostRequestBody) GetName

func (m *ItemReposPostRequestBody) GetName() *string

GetName gets the name property value. The name of the repository.

func (*ItemReposPostRequestBody) GetPrivate

func (m *ItemReposPostRequestBody) GetPrivate() *bool

GetPrivate gets the private property value. Whether the repository is private.

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.

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:

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.

func (*ItemReposPostRequestBody_custom_properties) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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

ItemReposPostRequestBodyable

type ItemReposRequestBuilder

ItemReposRequestBuilder builds and executes requests for operations under \orgs\{org}\repos

func NewItemReposRequestBuilder

NewItemReposRequestBuilder instantiates a new ReposRequestBuilder and sets the default values.

func NewItemReposRequestBuilderInternal

func NewItemReposRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemReposRequestBuilder

NewItemReposRequestBuilderInternal instantiates a new ReposRequestBuilder 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)." 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. 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)."

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.

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.

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
}

ItemRulesetsItemWithRuleset_PutRequestBody

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.

func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetBypassActors

GetBypassActors gets the bypass_actors property value. The actors that can bypass the rules in this ruleset

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.

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

func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetName

GetName gets the name property value. The name of the ruleset.

func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetRules

GetRules gets the rules property value. An array of rules within the ruleset.

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
}

ItemRulesetsPostRequestBody

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.

func (*ItemRulesetsPostRequestBody) GetBypassActors

GetBypassActors gets the bypass_actors property value. The actors that can bypass the rules in this ruleset

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.

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

func (*ItemRulesetsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemRulesetsPostRequestBody) GetName

func (m *ItemRulesetsPostRequestBody) GetName() *string

GetName gets the name property value. The name of the ruleset.

func (*ItemRulesetsPostRequestBody) GetRules

GetRules gets the rules property value. An array of rules within the ruleset.

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 RulesetsRequestBuilder and sets the default values.

func NewItemRulesetsRequestBuilderInternal

func NewItemRulesetsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRulesetsRequestBuilder

NewItemRulesetsRequestBuilderInternal instantiates a new RulesetsRequestBuilder 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

func (*ItemRulesetsRequestBuilder) RuleSuites

RuleSuites the ruleSuites property

func (*ItemRulesetsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation get all the repository rulesets for an organization.

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.

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 RuleSuitesRequestBuilder and sets the default values.

func NewItemRulesetsRuleSuitesRequestBuilderInternal

func NewItemRulesetsRuleSuitesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRulesetsRuleSuitesRequestBuilder

NewItemRulesetsRuleSuitesRequestBuilderInternal instantiates a new RuleSuitesRequestBuilder 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

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.

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 WithRule_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 WithRule_suite_ItemRequestBuilder and sets the default values.

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.

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 WithRuleset_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 WithRuleset_ItemRequestBuilder and sets the default values.

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.

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 AlertsRequestBuilder and sets the default values.

func NewItemSecretScanningAlertsRequestBuilderInternal

func NewItemSecretScanningAlertsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecretScanningAlertsRequestBuilder

NewItemSecretScanningAlertsRequestBuilderInternal instantiates a new AlertsRequestBuilder 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. 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.

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.

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 SecretScanningRequestBuilder and sets the default values.

func NewItemSecretScanningRequestBuilderInternal

func NewItemSecretScanningRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecretScanningRequestBuilder

NewItemSecretScanningRequestBuilderInternal instantiates a new SecretScanningRequestBuilder and sets the default values.

func (*ItemSecretScanningRequestBuilder) Alerts

Alerts the alerts property

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 SecurityAdvisoriesRequestBuilder and sets the default values.

func NewItemSecurityAdvisoriesRequestBuilderInternal

func NewItemSecurityAdvisoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecurityAdvisoriesRequestBuilder

NewItemSecurityAdvisoriesRequestBuilderInternal instantiates a new SecurityAdvisoriesRequestBuilder 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. 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.

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.

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 SecurityManagersRequestBuilder and sets the default values.

func NewItemSecurityManagersRequestBuilderInternal

func NewItemSecurityManagersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecurityManagersRequestBuilder

NewItemSecurityManagersRequestBuilderInternal instantiates a new SecurityManagersRequestBuilder 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. API method documentation

func (*ItemSecurityManagersRequestBuilder) Teams

Teams the teams property

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.

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.

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 TeamsRequestBuilder and sets the default values.

func NewItemSecurityManagersTeamsRequestBuilderInternal

func NewItemSecurityManagersTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecurityManagersTeamsRequestBuilder

NewItemSecurityManagersTeamsRequestBuilderInternal instantiates a new TeamsRequestBuilder 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

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

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.

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.

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 ActionsRequestBuilder and sets the default values.

func NewItemSettingsBillingActionsRequestBuilderInternal

func NewItemSettingsBillingActionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingActionsRequestBuilder

NewItemSettingsBillingActionsRequestBuilderInternal instantiates a new ActionsRequestBuilder 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. 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.

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.

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 PackagesRequestBuilder and sets the default values.

func NewItemSettingsBillingPackagesRequestBuilderInternal

func NewItemSettingsBillingPackagesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingPackagesRequestBuilder

NewItemSettingsBillingPackagesRequestBuilderInternal instantiates a new PackagesRequestBuilder 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. 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.

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.

type ItemSettingsBillingRequestBuilder

ItemSettingsBillingRequestBuilder builds and executes requests for operations under \orgs\{org}\settings\billing

func NewItemSettingsBillingRequestBuilder

NewItemSettingsBillingRequestBuilder instantiates a new BillingRequestBuilder and sets the default values.

func NewItemSettingsBillingRequestBuilderInternal

func NewItemSettingsBillingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingRequestBuilder

NewItemSettingsBillingRequestBuilderInternal instantiates a new BillingRequestBuilder and sets the default values.

func (*ItemSettingsBillingRequestBuilder) Actions

Actions the actions property

func (*ItemSettingsBillingRequestBuilder) Packages

Packages the packages property

func (*ItemSettingsBillingRequestBuilder) SharedStorage

SharedStorage the sharedStorage property

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 SharedStorageRequestBuilder and sets the default values.

func NewItemSettingsBillingSharedStorageRequestBuilderInternal

func NewItemSettingsBillingSharedStorageRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingSharedStorageRequestBuilder

NewItemSettingsBillingSharedStorageRequestBuilderInternal instantiates a new SharedStorageRequestBuilder 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. 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.

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.

type ItemSettingsRequestBuilder

ItemSettingsRequestBuilder builds and executes requests for operations under \orgs\{org}\settings

func NewItemSettingsRequestBuilder

NewItemSettingsRequestBuilder instantiates a new SettingsRequestBuilder and sets the default values.

func NewItemSettingsRequestBuilderInternal

func NewItemSettingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsRequestBuilder

NewItemSettingsRequestBuilderInternal instantiates a new SettingsRequestBuilder and sets the default values.

func (*ItemSettingsRequestBuilder) Billing

Billing the billing property

type ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody

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

ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody

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.

func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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 ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBodyable

ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBodyable

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 ReactionsRequestBuilder and sets the default values.

func NewItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderInternal

func NewItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder

NewItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderInternal instantiates a new ReactionsRequestBuilder 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

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

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.

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.

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

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.

type ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody

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

ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody

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.

func (*ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetBody

GetBody gets the body property value. The discussion comment's body text.

func (*ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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 ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyable

type ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetBody() *string
	SetBody(value *string)
}

ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyable

type ItemTeamsItemDiscussionsItemCommentsPostRequestBody

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

ItemTeamsItemDiscussionsItemCommentsPostRequestBody

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.

func (*ItemTeamsItemDiscussionsItemCommentsPostRequestBody) GetBody

GetBody gets the body property value. The discussion comment's body text.

func (*ItemTeamsItemDiscussionsItemCommentsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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 ItemTeamsItemDiscussionsItemCommentsPostRequestBodyable

ItemTeamsItemDiscussionsItemCommentsPostRequestBodyable

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 CommentsRequestBuilder and sets the default values.

func NewItemTeamsItemDiscussionsItemCommentsRequestBuilderInternal

func NewItemTeamsItemDiscussionsItemCommentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsRequestBuilder

NewItemTeamsItemDiscussionsItemCommentsRequestBuilderInternal instantiates a new CommentsRequestBuilder 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

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. 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/overview/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. 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.

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/overview/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.

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.

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 WithComment_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 WithComment_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. 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. API method documentation

func (*ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Reactions

Reactions the reactions property

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.

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.

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.

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.

type ItemTeamsItemDiscussionsItemReactionsPostRequestBody

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

ItemTeamsItemDiscussionsItemReactionsPostRequestBody

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.

func (*ItemTeamsItemDiscussionsItemReactionsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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 ItemTeamsItemDiscussionsItemReactionsPostRequestBodyable

ItemTeamsItemDiscussionsItemReactionsPostRequestBodyable

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 ReactionsRequestBuilder and sets the default values.

func NewItemTeamsItemDiscussionsItemReactionsRequestBuilderInternal

func NewItemTeamsItemDiscussionsItemReactionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemReactionsRequestBuilder

NewItemTeamsItemDiscussionsItemReactionsRequestBuilderInternal instantiates a new ReactionsRequestBuilder 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

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

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.

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.

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

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.

type ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody

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

ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody

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.

func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetBody

GetBody gets the body property value. The discussion post's body text.

func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetTitle

GetTitle gets the title property value. The discussion post's title.

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 ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBodyable

type ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetBody() *string
	GetTitle() *string
	SetBody(value *string)
	SetTitle(value *string)
}

ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBodyable

type ItemTeamsItemDiscussionsPostRequestBody

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

ItemTeamsItemDiscussionsPostRequestBody

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.

func (*ItemTeamsItemDiscussionsPostRequestBody) GetBody

GetBody gets the body property value. The discussion post's body text.

func (*ItemTeamsItemDiscussionsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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.

func (*ItemTeamsItemDiscussionsPostRequestBody) GetTitle

GetTitle gets the title property value. The discussion post's title.

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

ItemTeamsItemDiscussionsPostRequestBodyable

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 DiscussionsRequestBuilder and sets the default values.

func NewItemTeamsItemDiscussionsRequestBuilderInternal

func NewItemTeamsItemDiscussionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsRequestBuilder

NewItemTeamsItemDiscussionsRequestBuilderInternal instantiates a new DiscussionsRequestBuilder 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

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. 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/overview/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. 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.

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/overview/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.

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.

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 WithDiscussion_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 WithDiscussion_numberItemRequestBuilder and sets the default values.

func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Comments

Comments the comments property

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. 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. API method documentation

func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Reactions

Reactions the reactions property

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.

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.

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.

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.

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 InvitationsRequestBuilder and sets the default values.

func NewItemTeamsItemInvitationsRequestBuilderInternal

func NewItemTeamsItemInvitationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemInvitationsRequestBuilder

NewItemTeamsItemInvitationsRequestBuilderInternal instantiates a new InvitationsRequestBuilder 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`. 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`.

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.

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 MembersRequestBuilder and sets the default values.

func NewItemTeamsItemMembersRequestBuilderInternal

func NewItemTeamsItemMembersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemMembersRequestBuilder

NewItemTeamsItemMembersRequestBuilderInternal instantiates a new MembersRequestBuilder 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. 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.

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.

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
}

ItemTeamsItemMembershipsItemWithUsernamePutRequestBody

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.

func (*ItemTeamsItemMembershipsItemWithUsernamePutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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 ItemTeamsItemMembershipsItemWithUsernamePutRequestBodyable

ItemTeamsItemMembershipsItemWithUsernamePutRequestBodyable

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 MembershipsRequestBuilder and sets the default values.

func NewItemTeamsItemMembershipsRequestBuilderInternal

func NewItemTeamsItemMembershipsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemMembershipsRequestBuilder

NewItemTeamsItemMembershipsRequestBuilderInternal instantiates a new MembershipsRequestBuilder 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

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 WithUsernameItemRequestBuilder and sets the default values.

func NewItemTeamsItemMembershipsWithUsernameItemRequestBuilderInternal

func NewItemTeamsItemMembershipsWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder

NewItemTeamsItemMembershipsWithUsernameItemRequestBuilderInternal instantiates a new WithUsernameItemRequestBuilder 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). 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}`. 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}`.

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

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}`.

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.

type ItemTeamsItemProjectsItemWithProject_403Error

type ItemTeamsItemProjectsItemWithProject_403Error struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ApiError
	// contains filtered or unexported fields
}

ItemTeamsItemProjectsItemWithProject_403Error

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.

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.

func (*ItemTeamsItemProjectsItemWithProject_403Error) GetDocumentationUrl

func (m *ItemTeamsItemProjectsItemWithProject_403Error) GetDocumentationUrl() *string

GetDocumentationUrl gets the documentation_url property value. The documentation_url property

func (*ItemTeamsItemProjectsItemWithProject_403Error) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemTeamsItemProjectsItemWithProject_403Error) GetMessage

GetMessage gets the message property value. The message property

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

ItemTeamsItemProjectsItemWithProject_403Errorable

type ItemTeamsItemProjectsItemWithProject_PutRequestBody

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

ItemTeamsItemProjectsItemWithProject_PutRequestBody

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.

func (*ItemTeamsItemProjectsItemWithProject_PutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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 ProjectsRequestBuilder and sets the default values.

func NewItemTeamsItemProjectsRequestBuilderInternal

func NewItemTeamsItemProjectsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemProjectsRequestBuilder

NewItemTeamsItemProjectsRequestBuilderInternal instantiates a new ProjectsRequestBuilder 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

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

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.

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 WithProject_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 WithProject_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}`. 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}`. 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}`.

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}`.

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}`.

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.

type ItemTeamsItemReposItemItemWithRepoPutRequestBody

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

ItemTeamsItemReposItemItemWithRepoPutRequestBody

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.

func (*ItemTeamsItemReposItemItemWithRepoPutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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.

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 ItemTeamsItemReposItemItemWithRepoPutRequestBodyable

type ItemTeamsItemReposItemItemWithRepoPutRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetPermission() *string
	SetPermission(value *string)
}

ItemTeamsItemReposItemItemWithRepoPutRequestBodyable

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 WithRepoItemRequestBuilder and sets the default values.

func NewItemTeamsItemReposItemWithRepoItemRequestBuilderInternal

func NewItemTeamsItemReposItemWithRepoItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemReposItemWithRepoItemRequestBuilder

NewItemTeamsItemReposItemWithRepoItemRequestBuilderInternal instantiates a new WithRepoItemRequestBuilder 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/overview/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}`. 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}`.

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/overview/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}`.

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)".

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.

type ItemTeamsItemReposRequestBuilder

ItemTeamsItemReposRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\repos

func NewItemTeamsItemReposRequestBuilder

NewItemTeamsItemReposRequestBuilder instantiates a new ReposRequestBuilder and sets the default values.

func NewItemTeamsItemReposRequestBuilderInternal

func NewItemTeamsItemReposRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemReposRequestBuilder

NewItemTeamsItemReposRequestBuilderInternal instantiates a new ReposRequestBuilder 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

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

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.

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 WithOwnerItemRequestBuilder and sets the default values.

func NewItemTeamsItemReposWithOwnerItemRequestBuilderInternal

func NewItemTeamsItemReposWithOwnerItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemReposWithOwnerItemRequestBuilder

NewItemTeamsItemReposWithOwnerItemRequestBuilderInternal instantiates a new WithOwnerItemRequestBuilder 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

type ItemTeamsItemTeamsRequestBuilder

ItemTeamsItemTeamsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\teams

func NewItemTeamsItemTeamsRequestBuilder

NewItemTeamsItemTeamsRequestBuilder instantiates a new TeamsRequestBuilder and sets the default values.

func NewItemTeamsItemTeamsRequestBuilderInternal

func NewItemTeamsItemTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemTeamsRequestBuilder

NewItemTeamsItemTeamsRequestBuilderInternal instantiates a new TeamsRequestBuilder 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`. 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`.

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.

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
}

ItemTeamsItemWithTeam_slugPatchRequestBody

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.

func (*ItemTeamsItemWithTeam_slugPatchRequestBody) GetDescription

GetDescription gets the description property value. The description of the team.

func (*ItemTeamsItemWithTeam_slugPatchRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemTeamsItemWithTeam_slugPatchRequestBody) GetName

GetName gets the name property value. The name of the team.

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.

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

ItemTeamsItemWithTeam_slugPatchRequestBodyable

type ItemTeamsPostRequestBody

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

ItemTeamsPostRequestBody

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.

func (*ItemTeamsPostRequestBody) GetDescription

func (m *ItemTeamsPostRequestBody) GetDescription() *string

GetDescription gets the description property value. The description of the team.

func (*ItemTeamsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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.

func (*ItemTeamsPostRequestBody) GetName

func (m *ItemTeamsPostRequestBody) GetName() *string

GetName gets the name property value. The name of the team.

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.

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.

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

ItemTeamsPostRequestBodyable

type ItemTeamsRequestBuilder

ItemTeamsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams

func NewItemTeamsRequestBuilder

NewItemTeamsRequestBuilder instantiates a new TeamsRequestBuilder and sets the default values.

func NewItemTeamsRequestBuilderInternal

func NewItemTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsRequestBuilder

NewItemTeamsRequestBuilderInternal instantiates a new TeamsRequestBuilder 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

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)". API method documentation

func (*ItemTeamsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all teams in an organization that are visible to the authenticated user.

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)".

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.

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

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}`. API method documentation

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Invitations

Invitations the invitations property

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Members

Members the members property

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Memberships

Memberships the memberships property

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}`. API method documentation

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Projects

Projects the projects property

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Repos

Repos the repos property

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Teams

Teams the teams property

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}`.

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}`.

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}`.

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.

type ItemWithOrgDeleteResponse

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

ItemWithOrgDeleteResponse

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.

func (*ItemWithOrgDeleteResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

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
}

ItemWithOrgPatchRequestBody

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.

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.

func (*ItemWithOrgPatchRequestBody) GetBillingEmail

func (m *ItemWithOrgPatchRequestBody) GetBillingEmail() *string

GetBillingEmail gets the billing_email property value. Billing email address. This address is not publicized.

func (*ItemWithOrgPatchRequestBody) GetBlog

func (m *ItemWithOrgPatchRequestBody) GetBlog() *string

GetBlog gets the blog property value. The blog property

func (*ItemWithOrgPatchRequestBody) GetCompany

func (m *ItemWithOrgPatchRequestBody) GetCompany() *string

GetCompany gets the company property value. The company name.

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.

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.

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.

func (*ItemWithOrgPatchRequestBody) GetDescription

func (m *ItemWithOrgPatchRequestBody) GetDescription() *string

GetDescription gets the description property value. The description of the company.

func (*ItemWithOrgPatchRequestBody) GetEmail

func (m *ItemWithOrgPatchRequestBody) GetEmail() *string

GetEmail gets the email property value. The publicly visible email address.

func (*ItemWithOrgPatchRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model

func (*ItemWithOrgPatchRequestBody) GetHasOrganizationProjects

func (m *ItemWithOrgPatchRequestBody) GetHasOrganizationProjects() *bool

GetHasOrganizationProjects gets the has_organization_projects property value. Whether an organization can use organization projects.

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.

func (*ItemWithOrgPatchRequestBody) GetLocation

func (m *ItemWithOrgPatchRequestBody) GetLocation() *string

GetLocation gets the location property value. The location.

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.

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.

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.

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.

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.

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.

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.

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.

func (*ItemWithOrgPatchRequestBody) GetName

func (m *ItemWithOrgPatchRequestBody) GetName() *string

GetName gets the name property value. The shorthand name of the company.

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.

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.

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.

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.

func (*ItemWithOrgPatchRequestBody) GetTwitterUsername

func (m *ItemWithOrgPatchRequestBody) GetTwitterUsername() *string

GetTwitterUsername gets the twitter_username property value. The Twitter username of the company.

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.

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.

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

ItemWithOrgPatchRequestBodyable

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

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

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

func (*WithOrgItemRequestBuilder) Blocks

Blocks the blocks property

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

func (*WithOrgItemRequestBuilder) CodeScanning

CodeScanning the codeScanning property

func (*WithOrgItemRequestBuilder) Codespaces

Codespaces the codespaces property

func (*WithOrgItemRequestBuilder) Copilot

Copilot the copilot property

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 API method documentation

func (*WithOrgItemRequestBuilder) Dependabot

Dependabot the dependabot property

func (*WithOrgItemRequestBuilder) Docker

Docker the docker property

func (*WithOrgItemRequestBuilder) Events

Events the events property

func (*WithOrgItemRequestBuilder) Failed_invitations

Failed_invitations the failed_invitations property

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.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. API method documentation

func (*WithOrgItemRequestBuilder) Hooks

Hooks the hooks property

func (*WithOrgItemRequestBuilder) Installation

Installation the installation property

func (*WithOrgItemRequestBuilder) Installations

Installations the installations property

func (*WithOrgItemRequestBuilder) InteractionLimits

InteractionLimits the interactionLimits property

func (*WithOrgItemRequestBuilder) Invitations

Invitations the invitations property

func (*WithOrgItemRequestBuilder) Issues

Issues the issues property

func (*WithOrgItemRequestBuilder) Members

Members the members property

func (*WithOrgItemRequestBuilder) Memberships

Memberships the memberships property

func (*WithOrgItemRequestBuilder) Migrations

Migrations the migrations property

func (*WithOrgItemRequestBuilder) OrganizationFineGrainedPermissions

OrganizationFineGrainedPermissions the organizationFineGrainedPermissions property

func (*WithOrgItemRequestBuilder) OrganizationRoles

OrganizationRoles the organizationRoles property

func (*WithOrgItemRequestBuilder) Outside_collaborators

Outside_collaborators the outside_collaborators property

func (*WithOrgItemRequestBuilder) Packages

Packages the packages property

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.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. API method documentation

func (*WithOrgItemRequestBuilder) PersonalAccessTokenRequests

PersonalAccessTokenRequests the personalAccessTokenRequests property

func (*WithOrgItemRequestBuilder) PersonalAccessTokens

PersonalAccessTokens the personalAccessTokens property

func (*WithOrgItemRequestBuilder) Projects

Projects the projects property

func (*WithOrgItemRequestBuilder) Properties

Properties the properties property

func (*WithOrgItemRequestBuilder) Public_members

Public_members the public_members property

func (*WithOrgItemRequestBuilder) Repos

Repos the repos property

func (*WithOrgItemRequestBuilder) Rulesets

Rulesets the rulesets property

func (*WithOrgItemRequestBuilder) SecretScanning

SecretScanning the secretScanning property

func (*WithOrgItemRequestBuilder) SecurityAdvisories

SecurityAdvisories the securityAdvisories property

func (*WithOrgItemRequestBuilder) SecurityManagers

SecurityManagers the securityManagers property

func (*WithOrgItemRequestBuilder) Settings

Settings the settings property

func (*WithOrgItemRequestBuilder) Teams

Teams the teams property

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

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

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

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.

Source Files

Jump to

Keyboard shortcuts

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