orgs

package
v0.0.6-GHES.3.11 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateItemActionsCacheUsageByRepositoryGetResponseFromDiscriminatorValue

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

func CreateItemActionsPermissionsPutRequestBodyFromDiscriminatorValue

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

func CreateItemActionsPermissionsRepositoriesGetResponseFromDiscriminatorValue

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

func CreateItemActionsPermissionsRepositoriesPutRequestBodyFromDiscriminatorValue

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

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

func CreateItemActionsRunnerGroupsGetResponseFromDiscriminatorValue

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

func CreateItemActionsRunnerGroupsItemRepositoriesGetResponseFromDiscriminatorValue

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

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

func CreateItemActionsRunnerGroupsItemRepositoriesPutRequestBodyFromDiscriminatorValue

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

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

func CreateItemActionsRunnerGroupsItemRunnersGetResponseFromDiscriminatorValue

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

func CreateItemActionsRunnerGroupsItemRunnersPutRequestBodyFromDiscriminatorValue

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

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

func CreateItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBodyFromDiscriminatorValue

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

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

func CreateItemActionsRunnerGroupsPostRequestBodyFromDiscriminatorValue

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

func CreateItemActionsRunnersGenerateJitconfigPostRequestBodyFromDiscriminatorValue

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

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

func CreateItemActionsRunnersGenerateJitconfigPostResponseFromDiscriminatorValue

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

func CreateItemActionsRunnersGetResponseFromDiscriminatorValue

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

func CreateItemActionsRunnersItemLabelsDeleteResponseFromDiscriminatorValue

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

func CreateItemActionsRunnersItemLabelsGetResponseFromDiscriminatorValue

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

func CreateItemActionsRunnersItemLabelsItemWithNameDeleteResponseFromDiscriminatorValue

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

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

func CreateItemActionsRunnersItemLabelsPostRequestBodyFromDiscriminatorValue

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

func CreateItemActionsRunnersItemLabelsPostResponseFromDiscriminatorValue

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

func CreateItemActionsRunnersItemLabelsPutRequestBodyFromDiscriminatorValue

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

func CreateItemActionsRunnersItemLabelsPutResponseFromDiscriminatorValue

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

func CreateItemActionsSecretsGetResponseFromDiscriminatorValue

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

func CreateItemActionsSecretsItemRepositoriesGetResponseFromDiscriminatorValue

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

func CreateItemActionsSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue

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

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

func CreateItemActionsSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue

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

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

func CreateItemActionsVariablesGetResponseFromDiscriminatorValue

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

func CreateItemActionsVariablesItemRepositoriesGetResponseFromDiscriminatorValue

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

func CreateItemActionsVariablesItemRepositoriesPutRequestBodyFromDiscriminatorValue

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

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

func CreateItemActionsVariablesItemWithNamePatchRequestBodyFromDiscriminatorValue

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

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

func CreateItemActionsVariablesPostRequestBodyFromDiscriminatorValue

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

func CreateItemCustomRepositoryRolesGetResponseFromDiscriminatorValue

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

func CreateItemDependabotSecretsGetResponseFromDiscriminatorValue

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

func CreateItemDependabotSecretsItemRepositoriesGetResponseFromDiscriminatorValue

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

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

func CreateItemDependabotSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue

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

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

func CreateItemDependabotSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue

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

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

func CreateItemHooksItemConfigPatchRequestBodyFromDiscriminatorValue

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

func CreateItemHooksItemDeliveriesItemAttemptsPostResponseFromDiscriminatorValue

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

func CreateItemHooksItemWithHook_PatchRequestBodyFromDiscriminatorValue

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

func CreateItemHooksItemWithHook_PatchRequestBody_configFromDiscriminatorValue

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

func CreateItemHooksPostRequestBodyFromDiscriminatorValue

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

func CreateItemHooksPostRequestBody_configFromDiscriminatorValue

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

func CreateItemInstallationsGetResponseFromDiscriminatorValue

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

func CreateItemItemItemWithEnablementPostRequestBodyFromDiscriminatorValue

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

func CreateItemMembershipsItemWithUsernamePutRequestBodyFromDiscriminatorValue

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

func CreateItemMigrationsPostRequestBodyFromDiscriminatorValue

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

func CreateItemOutside_collaboratorsItemWithUsername422ErrorFromDiscriminatorValue

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

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

func CreateItemOutside_collaboratorsItemWithUsernamePutRequestBodyFromDiscriminatorValue

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

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

func CreateItemOutside_collaboratorsItemWithUsernamePutResponseFromDiscriminatorValue

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

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

func CreateItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBodyFromDiscriminatorValue

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

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

func CreateItemPersonalAccessTokenRequestsPostRequestBodyFromDiscriminatorValue

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

func CreateItemPersonalAccessTokenRequestsPostResponseFromDiscriminatorValue

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

func CreateItemPersonalAccessTokensItemWithPat_PostRequestBodyFromDiscriminatorValue

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

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

func CreateItemPersonalAccessTokensPostRequestBodyFromDiscriminatorValue

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

func CreateItemPersonalAccessTokensPostResponseFromDiscriminatorValue

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

func CreateItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyFromDiscriminatorValue

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

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

func CreateItemProjectsPostRequestBodyFromDiscriminatorValue

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

func CreateItemReposPostRequestBodyFromDiscriminatorValue

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

func CreateItemReposPostRequestBody_custom_propertiesFromDiscriminatorValue

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

func CreateItemRulesetsItemWithRuleset_PutRequestBodyFromDiscriminatorValue

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

func CreateItemRulesetsPostRequestBodyFromDiscriminatorValue

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

func CreateItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBodyFromDiscriminatorValue

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

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

func CreateItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyFromDiscriminatorValue

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

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

func CreateItemTeamsItemDiscussionsItemCommentsPostRequestBodyFromDiscriminatorValue

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

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

func CreateItemTeamsItemDiscussionsItemReactionsPostRequestBodyFromDiscriminatorValue

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

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

func CreateItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBodyFromDiscriminatorValue

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

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

func CreateItemTeamsItemDiscussionsPostRequestBodyFromDiscriminatorValue

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

func CreateItemTeamsItemExternalGroupsPatchRequestBodyFromDiscriminatorValue

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

func CreateItemTeamsItemMembershipsItemWithUsernamePutRequestBodyFromDiscriminatorValue

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

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

func CreateItemTeamsItemProjectsItemWithProject_403ErrorFromDiscriminatorValue

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

func CreateItemTeamsItemProjectsItemWithProject_PutRequestBodyFromDiscriminatorValue

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

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

func CreateItemTeamsItemReposItemItemWithRepoPutRequestBodyFromDiscriminatorValue

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

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

func CreateItemTeamsItemWithTeam_slugPatchRequestBodyFromDiscriminatorValue

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

func CreateItemTeamsPostRequestBodyFromDiscriminatorValue

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

func CreateItemWithOrgDeleteResponseFromDiscriminatorValue

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

func CreateItemWithOrgPatchRequestBodyFromDiscriminatorValue

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

Types

type ItemActionsCacheRequestBuilder

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

func NewItemActionsCacheRequestBuilder

NewItemActionsCacheRequestBuilder instantiates a new ItemActionsCacheRequestBuilder and sets the default values.

func NewItemActionsCacheRequestBuilderInternal

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

NewItemActionsCacheRequestBuilderInternal instantiates a new ItemActionsCacheRequestBuilder and sets the default values.

func (*ItemActionsCacheRequestBuilder) Usage

Usage the usage property returns a *ItemActionsCacheUsageRequestBuilder when successful

func (*ItemActionsCacheRequestBuilder) UsageByRepository

UsageByRepository the usageByRepository property returns a *ItemActionsCacheUsageByRepositoryRequestBuilder when successful

type ItemActionsCacheUsageByRepositoryGetResponse

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

func NewItemActionsCacheUsageByRepositoryGetResponse

func NewItemActionsCacheUsageByRepositoryGetResponse() *ItemActionsCacheUsageByRepositoryGetResponse

NewItemActionsCacheUsageByRepositoryGetResponse instantiates a new ItemActionsCacheUsageByRepositoryGetResponse and sets the default values.

func (*ItemActionsCacheUsageByRepositoryGetResponse) GetAdditionalData

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

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

func (*ItemActionsCacheUsageByRepositoryGetResponse) GetFieldDeserializers

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

func (*ItemActionsCacheUsageByRepositoryGetResponse) GetRepositoryCacheUsages

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

func (*ItemActionsCacheUsageByRepositoryGetResponse) GetTotalCount

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

func (*ItemActionsCacheUsageByRepositoryGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsCacheUsageByRepositoryGetResponse) SetAdditionalData

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

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

func (*ItemActionsCacheUsageByRepositoryGetResponse) SetRepositoryCacheUsages

SetRepositoryCacheUsages sets the repository_cache_usages property value. The repository_cache_usages property

func (*ItemActionsCacheUsageByRepositoryGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsCacheUsageByRepositoryRequestBuilder

type ItemActionsCacheUsageByRepositoryRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsCacheUsageByRepositoryRequestBuilder

NewItemActionsCacheUsageByRepositoryRequestBuilder instantiates a new ItemActionsCacheUsageByRepositoryRequestBuilder and sets the default values.

func NewItemActionsCacheUsageByRepositoryRequestBuilderInternal

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

NewItemActionsCacheUsageByRepositoryRequestBuilderInternal instantiates a new ItemActionsCacheUsageByRepositoryRequestBuilder and sets the default values.

func (*ItemActionsCacheUsageByRepositoryRequestBuilder) Get

Get lists repositories and their GitHub Actions cache usage for an organization.The data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.OAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. returns a ItemActionsCacheUsageByRepositoryGetResponseable when successful API method documentation

func (*ItemActionsCacheUsageByRepositoryRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists repositories and their GitHub Actions cache usage for an organization.The data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.OAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsCacheUsageByRepositoryRequestBuilder) WithUrl

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

type ItemActionsCacheUsageByRepositoryRequestBuilderGetQueryParameters

type ItemActionsCacheUsageByRepositoryRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/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 ItemActionsCacheUsageRequestBuilder

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

func NewItemActionsCacheUsageRequestBuilder

NewItemActionsCacheUsageRequestBuilder instantiates a new ItemActionsCacheUsageRequestBuilder and sets the default values.

func NewItemActionsCacheUsageRequestBuilderInternal

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

NewItemActionsCacheUsageRequestBuilderInternal instantiates a new ItemActionsCacheUsageRequestBuilder and sets the default values.

func (*ItemActionsCacheUsageRequestBuilder) Get

Get gets the total GitHub Actions cache usage for an organization.The data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.OAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. returns a ActionsCacheUsageOrgEnterpriseable when successful API method documentation

func (*ItemActionsCacheUsageRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets the total GitHub Actions cache usage for an organization.The data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.OAuth tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsCacheUsageRequestBuilder) WithUrl

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

type ItemActionsOidcCustomizationRequestBuilder

type ItemActionsOidcCustomizationRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsOidcCustomizationRequestBuilder

NewItemActionsOidcCustomizationRequestBuilder instantiates a new ItemActionsOidcCustomizationRequestBuilder and sets the default values.

func NewItemActionsOidcCustomizationRequestBuilderInternal

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

NewItemActionsOidcCustomizationRequestBuilderInternal instantiates a new ItemActionsOidcCustomizationRequestBuilder and sets the default values.

func (*ItemActionsOidcCustomizationRequestBuilder) Sub

Sub the sub property returns a *ItemActionsOidcCustomizationSubRequestBuilder when successful

type ItemActionsOidcCustomizationSubRequestBuilder

type ItemActionsOidcCustomizationSubRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsOidcCustomizationSubRequestBuilder

NewItemActionsOidcCustomizationSubRequestBuilder instantiates a new ItemActionsOidcCustomizationSubRequestBuilder and sets the default values.

func NewItemActionsOidcCustomizationSubRequestBuilderInternal

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

NewItemActionsOidcCustomizationSubRequestBuilderInternal instantiates a new ItemActionsOidcCustomizationSubRequestBuilder and sets the default values.

func (*ItemActionsOidcCustomizationSubRequestBuilder) Get

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

func (*ItemActionsOidcCustomizationSubRequestBuilder) Put

Put creates or updates the customization template for an OpenID Connect (OIDC) subject claim.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. returns a EmptyObjectable when successful returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemActionsOidcCustomizationSubRequestBuilder) ToGetRequestInformation

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

func (*ItemActionsOidcCustomizationSubRequestBuilder) ToPutRequestInformation

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

func (*ItemActionsOidcCustomizationSubRequestBuilder) WithUrl

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

type ItemActionsOidcRequestBuilder

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

func NewItemActionsOidcRequestBuilder

NewItemActionsOidcRequestBuilder instantiates a new ItemActionsOidcRequestBuilder and sets the default values.

func NewItemActionsOidcRequestBuilderInternal

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

NewItemActionsOidcRequestBuilderInternal instantiates a new ItemActionsOidcRequestBuilder and sets the default values.

func (*ItemActionsOidcRequestBuilder) Customization

Customization the customization property returns a *ItemActionsOidcCustomizationRequestBuilder when successful

type ItemActionsPermissionsPutRequestBody

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

func NewItemActionsPermissionsPutRequestBody

func NewItemActionsPermissionsPutRequestBody() *ItemActionsPermissionsPutRequestBody

NewItemActionsPermissionsPutRequestBody instantiates a new ItemActionsPermissionsPutRequestBody and sets the default values.

func (*ItemActionsPermissionsPutRequestBody) GetAdditionalData

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

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

func (*ItemActionsPermissionsPutRequestBody) GetAllowedActions

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

func (*ItemActionsPermissionsPutRequestBody) GetEnabledRepositories

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

func (*ItemActionsPermissionsPutRequestBody) GetFieldDeserializers

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

func (*ItemActionsPermissionsPutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsPermissionsPutRequestBody) SetAdditionalData

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

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

func (*ItemActionsPermissionsPutRequestBody) SetAllowedActions

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

func (*ItemActionsPermissionsPutRequestBody) SetEnabledRepositories

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

type ItemActionsPermissionsRepositoriesGetResponse

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

func NewItemActionsPermissionsRepositoriesGetResponse

func NewItemActionsPermissionsRepositoriesGetResponse() *ItemActionsPermissionsRepositoriesGetResponse

NewItemActionsPermissionsRepositoriesGetResponse instantiates a new ItemActionsPermissionsRepositoriesGetResponse and sets the default values.

func (*ItemActionsPermissionsRepositoriesGetResponse) GetAdditionalData

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

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

func (*ItemActionsPermissionsRepositoriesGetResponse) GetFieldDeserializers

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

func (*ItemActionsPermissionsRepositoriesGetResponse) GetRepositories

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

func (*ItemActionsPermissionsRepositoriesGetResponse) GetTotalCount

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

func (*ItemActionsPermissionsRepositoriesGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsPermissionsRepositoriesGetResponse) SetAdditionalData

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

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

func (*ItemActionsPermissionsRepositoriesGetResponse) SetRepositories

SetRepositories sets the repositories property value. The repositories property

func (*ItemActionsPermissionsRepositoriesGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsPermissionsRepositoriesPutRequestBody

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

func NewItemActionsPermissionsRepositoriesPutRequestBody

func NewItemActionsPermissionsRepositoriesPutRequestBody() *ItemActionsPermissionsRepositoriesPutRequestBody

NewItemActionsPermissionsRepositoriesPutRequestBody instantiates a new ItemActionsPermissionsRepositoriesPutRequestBody and sets the default values.

func (*ItemActionsPermissionsRepositoriesPutRequestBody) GetAdditionalData

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

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

func (*ItemActionsPermissionsRepositoriesPutRequestBody) GetFieldDeserializers

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

func (*ItemActionsPermissionsRepositoriesPutRequestBody) GetSelectedRepositoryIds

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

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

func (*ItemActionsPermissionsRepositoriesPutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsPermissionsRepositoriesPutRequestBody) SetAdditionalData

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

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

func (*ItemActionsPermissionsRepositoriesPutRequestBody) SetSelectedRepositoryIds

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

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

type ItemActionsPermissionsRepositoriesPutRequestBodyable

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

type ItemActionsPermissionsRepositoriesRequestBuilder

type ItemActionsPermissionsRepositoriesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsPermissionsRepositoriesRequestBuilder

NewItemActionsPermissionsRepositoriesRequestBuilder instantiates a new ItemActionsPermissionsRepositoriesRequestBuilder and sets the default values.

func NewItemActionsPermissionsRepositoriesRequestBuilderInternal

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

NewItemActionsPermissionsRepositoriesRequestBuilderInternal instantiates a new ItemActionsPermissionsRepositoriesRequestBuilder and sets the default values.

func (*ItemActionsPermissionsRepositoriesRequestBuilder) ByRepository_id

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

func (*ItemActionsPermissionsRepositoriesRequestBuilder) Get

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

func (*ItemActionsPermissionsRepositoriesRequestBuilder) Put

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

func (*ItemActionsPermissionsRepositoriesRequestBuilder) ToGetRequestInformation

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

func (*ItemActionsPermissionsRepositoriesRequestBuilder) ToPutRequestInformation

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

func (*ItemActionsPermissionsRepositoriesRequestBuilder) WithUrl

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

type ItemActionsPermissionsRepositoriesRequestBuilderGetQueryParameters

type ItemActionsPermissionsRepositoriesRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/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 ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder

type ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder

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

NewItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder instantiates a new ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder and sets the default values.

func NewItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilderInternal

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

NewItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilderInternal instantiates a new ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder and sets the default values.

func (*ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) Delete

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

func (*ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) Put

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

func (*ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation

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

func (*ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation

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

func (*ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) WithUrl

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

type ItemActionsPermissionsRequestBuilder

type ItemActionsPermissionsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsPermissionsRequestBuilder

NewItemActionsPermissionsRequestBuilder instantiates a new ItemActionsPermissionsRequestBuilder and sets the default values.

func NewItemActionsPermissionsRequestBuilderInternal

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

NewItemActionsPermissionsRequestBuilderInternal instantiates a new ItemActionsPermissionsRequestBuilder and sets the default values.

func (*ItemActionsPermissionsRequestBuilder) Get

Get gets the GitHub Actions permissions policy for repositories and allowed actions in an organization.You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. returns a ActionsOrganizationPermissionsable when successful API method documentation

func (*ItemActionsPermissionsRequestBuilder) Put

Put sets the GitHub Actions permissions policy for repositories and allowed actions in an organization.If the organization belongs to an enterprise that has set restrictive permissions at the enterprise level, such as `allowed_actions` to `selected` actions, then you cannot override them for the organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemActionsPermissionsRequestBuilder) Repositories

Repositories the repositories property returns a *ItemActionsPermissionsRepositoriesRequestBuilder when successful

func (*ItemActionsPermissionsRequestBuilder) SelectedActions

SelectedActions the selectedActions property returns a *ItemActionsPermissionsSelectedActionsRequestBuilder when successful

func (*ItemActionsPermissionsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets the GitHub Actions permissions policy for repositories and allowed actions in an organization.You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. returns a *RequestInformation when successful

func (*ItemActionsPermissionsRequestBuilder) ToPutRequestInformation

ToPutRequestInformation sets the GitHub Actions permissions policy for repositories and allowed actions in an organization.If the organization belongs to an enterprise that has set restrictive permissions at the enterprise level, such as `allowed_actions` to `selected` actions, then you cannot override them for the organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsPermissionsRequestBuilder) WithUrl

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

func (*ItemActionsPermissionsRequestBuilder) Workflow

Workflow the workflow property returns a *ItemActionsPermissionsWorkflowRequestBuilder when successful

type ItemActionsPermissionsSelectedActionsRequestBuilder

type ItemActionsPermissionsSelectedActionsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsPermissionsSelectedActionsRequestBuilder

NewItemActionsPermissionsSelectedActionsRequestBuilder instantiates a new ItemActionsPermissionsSelectedActionsRequestBuilder and sets the default values.

func NewItemActionsPermissionsSelectedActionsRequestBuilderInternal

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

NewItemActionsPermissionsSelectedActionsRequestBuilderInternal instantiates a new ItemActionsPermissionsSelectedActionsRequestBuilder and sets the default values.

func (*ItemActionsPermissionsSelectedActionsRequestBuilder) Get

Get gets the selected actions 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).""You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. returns a SelectedActionsable when successful API method documentation

func (*ItemActionsPermissionsSelectedActionsRequestBuilder) Put

Put sets the actions 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)."If the organization belongs to an enterprise that has `selected` actions set at the enterprise level, then you cannot override any of the enterprise's allowed actions settings.To use the `patterns_allowed` setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories in the 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 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).""You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `administration` organization permission to use this API. returns a *RequestInformation when successful

func (*ItemActionsPermissionsSelectedActionsRequestBuilder) ToPutRequestInformation

ToPutRequestInformation sets the actions 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)."If the organization belongs to an enterprise that has `selected` actions set at the enterprise level, then you cannot override any of the enterprise's allowed actions settings.To use the `patterns_allowed` setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the `patterns_allowed` setting only applies to public repositories in the organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsPermissionsSelectedActionsRequestBuilder) WithUrl

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

type ItemActionsPermissionsWorkflowRequestBuilder

type ItemActionsPermissionsWorkflowRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsPermissionsWorkflowRequestBuilder

NewItemActionsPermissionsWorkflowRequestBuilder instantiates a new ItemActionsPermissionsWorkflowRequestBuilder and sets the default values.

func NewItemActionsPermissionsWorkflowRequestBuilderInternal

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

NewItemActionsPermissionsWorkflowRequestBuilderInternal instantiates a new ItemActionsPermissionsWorkflowRequestBuilder and sets the default values.

func (*ItemActionsPermissionsWorkflowRequestBuilder) Get

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

func (*ItemActionsPermissionsWorkflowRequestBuilder) Put

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

func (*ItemActionsPermissionsWorkflowRequestBuilder) ToPutRequestInformation

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

func (*ItemActionsPermissionsWorkflowRequestBuilder) WithUrl

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

type ItemActionsRequestBuilder

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

func NewItemActionsRequestBuilder

NewItemActionsRequestBuilder instantiates a new ItemActionsRequestBuilder and sets the default values.

func NewItemActionsRequestBuilderInternal

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

NewItemActionsRequestBuilderInternal instantiates a new ItemActionsRequestBuilder and sets the default values.

func (*ItemActionsRequestBuilder) Cache

Cache the cache property returns a *ItemActionsCacheRequestBuilder when successful

func (*ItemActionsRequestBuilder) Oidc

Oidc the oidc property returns a *ItemActionsOidcRequestBuilder when successful

func (*ItemActionsRequestBuilder) Permissions

Permissions the permissions property returns a *ItemActionsPermissionsRequestBuilder when successful

func (*ItemActionsRequestBuilder) RunnerGroups

RunnerGroups the runnerGroups property returns a *ItemActionsRunnerGroupsRequestBuilder when successful

func (*ItemActionsRequestBuilder) Runners

Runners the runners property returns a *ItemActionsRunnersRequestBuilder when successful

func (*ItemActionsRequestBuilder) Secrets

Secrets the secrets property returns a *ItemActionsSecretsRequestBuilder when successful

func (*ItemActionsRequestBuilder) Variables

Variables the variables property returns a *ItemActionsVariablesRequestBuilder when successful

type ItemActionsRunnerGroupsGetResponse

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

func NewItemActionsRunnerGroupsGetResponse

func NewItemActionsRunnerGroupsGetResponse() *ItemActionsRunnerGroupsGetResponse

NewItemActionsRunnerGroupsGetResponse instantiates a new ItemActionsRunnerGroupsGetResponse and sets the default values.

func (*ItemActionsRunnerGroupsGetResponse) GetAdditionalData

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

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

func (*ItemActionsRunnerGroupsGetResponse) GetFieldDeserializers

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

func (*ItemActionsRunnerGroupsGetResponse) GetRunnerGroups

GetRunnerGroups gets the runner_groups property value. The runner_groups property returns a []RunnerGroupsOrgable when successful

func (*ItemActionsRunnerGroupsGetResponse) GetTotalCount

func (m *ItemActionsRunnerGroupsGetResponse) GetTotalCount() *float64

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

func (*ItemActionsRunnerGroupsGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnerGroupsGetResponse) SetAdditionalData

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

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

func (*ItemActionsRunnerGroupsGetResponse) SetRunnerGroups

SetRunnerGroups sets the runner_groups property value. The runner_groups property

func (*ItemActionsRunnerGroupsGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsRunnerGroupsItemRepositoriesGetResponse

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

func NewItemActionsRunnerGroupsItemRepositoriesGetResponse

func NewItemActionsRunnerGroupsItemRepositoriesGetResponse() *ItemActionsRunnerGroupsItemRepositoriesGetResponse

NewItemActionsRunnerGroupsItemRepositoriesGetResponse instantiates a new ItemActionsRunnerGroupsItemRepositoriesGetResponse and sets the default values.

func (*ItemActionsRunnerGroupsItemRepositoriesGetResponse) GetAdditionalData

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

func (*ItemActionsRunnerGroupsItemRepositoriesGetResponse) GetFieldDeserializers

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

func (*ItemActionsRunnerGroupsItemRepositoriesGetResponse) GetRepositories

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

func (*ItemActionsRunnerGroupsItemRepositoriesGetResponse) GetTotalCount

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

func (*ItemActionsRunnerGroupsItemRepositoriesGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnerGroupsItemRepositoriesGetResponse) SetAdditionalData

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

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

func (*ItemActionsRunnerGroupsItemRepositoriesGetResponse) SetRepositories

SetRepositories sets the repositories property value. The repositories property

func (*ItemActionsRunnerGroupsItemRepositoriesGetResponse) SetTotalCount

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsRunnerGroupsItemRepositoriesPutRequestBody

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

func NewItemActionsRunnerGroupsItemRepositoriesPutRequestBody

func NewItemActionsRunnerGroupsItemRepositoriesPutRequestBody() *ItemActionsRunnerGroupsItemRepositoriesPutRequestBody

NewItemActionsRunnerGroupsItemRepositoriesPutRequestBody instantiates a new ItemActionsRunnerGroupsItemRepositoriesPutRequestBody and sets the default values.

func (*ItemActionsRunnerGroupsItemRepositoriesPutRequestBody) GetAdditionalData

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

func (*ItemActionsRunnerGroupsItemRepositoriesPutRequestBody) GetFieldDeserializers

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

func (*ItemActionsRunnerGroupsItemRepositoriesPutRequestBody) GetSelectedRepositoryIds

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

GetSelectedRepositoryIds gets the selected_repository_ids property value. List of repository IDs that can access the runner group. returns a []int32 when successful

func (*ItemActionsRunnerGroupsItemRepositoriesPutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnerGroupsItemRepositoriesPutRequestBody) SetAdditionalData

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

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

func (*ItemActionsRunnerGroupsItemRepositoriesPutRequestBody) SetSelectedRepositoryIds

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

SetSelectedRepositoryIds sets the selected_repository_ids property value. List of repository IDs that can access the runner group.

type ItemActionsRunnerGroupsItemRepositoriesPutRequestBodyable

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

type ItemActionsRunnerGroupsItemRepositoriesRequestBuilder

type ItemActionsRunnerGroupsItemRepositoriesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsRunnerGroupsItemRepositoriesRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\runner-groups\{runner_group_id}\repositories

func NewItemActionsRunnerGroupsItemRepositoriesRequestBuilder

func NewItemActionsRunnerGroupsItemRepositoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnerGroupsItemRepositoriesRequestBuilder

NewItemActionsRunnerGroupsItemRepositoriesRequestBuilder instantiates a new ItemActionsRunnerGroupsItemRepositoriesRequestBuilder and sets the default values.

func NewItemActionsRunnerGroupsItemRepositoriesRequestBuilderInternal

func NewItemActionsRunnerGroupsItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnerGroupsItemRepositoriesRequestBuilder

NewItemActionsRunnerGroupsItemRepositoriesRequestBuilderInternal instantiates a new ItemActionsRunnerGroupsItemRepositoriesRequestBuilder and sets the default values.

func (*ItemActionsRunnerGroupsItemRepositoriesRequestBuilder) ByRepository_id

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

func (*ItemActionsRunnerGroupsItemRepositoriesRequestBuilder) Get

Get lists the repositories with access to a self-hosted runner group configured in an organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a ItemActionsRunnerGroupsItemRepositoriesGetResponseable when successful API method documentation

func (*ItemActionsRunnerGroupsItemRepositoriesRequestBuilder) Put

Put replaces the list of repositories that have access to a self-hosted runner group configured in an organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemActionsRunnerGroupsItemRepositoriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the repositories with access to a self-hosted runner group configured in an organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnerGroupsItemRepositoriesRequestBuilder) ToPutRequestInformation

ToPutRequestInformation replaces the list of repositories that have access to a self-hosted runner group configured in an organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnerGroupsItemRepositoriesRequestBuilder) WithUrl

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

type ItemActionsRunnerGroupsItemRepositoriesRequestBuilderGetQueryParameters

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

ItemActionsRunnerGroupsItemRepositoriesRequestBuilderGetQueryParameters lists the repositories with access to a self-hosted runner group configured in an organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.

type ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder

type ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\runner-groups\{runner_group_id}\repositories\{repository_id}

func NewItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder

func NewItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder

NewItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder instantiates a new ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder and sets the default values.

func NewItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilderInternal

func NewItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder

NewItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilderInternal instantiates a new ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder and sets the default values.

func (*ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder) Delete

Delete removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)."OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder) Put

Put adds a repository to the list of repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)."OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removes a repository from the list of selected repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)."OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation adds a repository to the list of repositories that can access a self-hosted runner group. The runner group must have `visibility` set to `selected`. For more information, see "[Create a self-hosted runner group for an organization](#create-a-self-hosted-runner-group-for-an-organization)."OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder) WithUrl

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

type ItemActionsRunnerGroupsItemRunnersGetResponse

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

func NewItemActionsRunnerGroupsItemRunnersGetResponse

func NewItemActionsRunnerGroupsItemRunnersGetResponse() *ItemActionsRunnerGroupsItemRunnersGetResponse

NewItemActionsRunnerGroupsItemRunnersGetResponse instantiates a new ItemActionsRunnerGroupsItemRunnersGetResponse and sets the default values.

func (*ItemActionsRunnerGroupsItemRunnersGetResponse) GetAdditionalData

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

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

func (*ItemActionsRunnerGroupsItemRunnersGetResponse) GetFieldDeserializers

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

func (*ItemActionsRunnerGroupsItemRunnersGetResponse) GetRunners

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

func (*ItemActionsRunnerGroupsItemRunnersGetResponse) GetTotalCount

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

func (*ItemActionsRunnerGroupsItemRunnersGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnerGroupsItemRunnersGetResponse) SetAdditionalData

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

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

func (*ItemActionsRunnerGroupsItemRunnersGetResponse) SetRunners

SetRunners sets the runners property value. The runners property

func (*ItemActionsRunnerGroupsItemRunnersGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsRunnerGroupsItemRunnersPutRequestBody

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

func NewItemActionsRunnerGroupsItemRunnersPutRequestBody

func NewItemActionsRunnerGroupsItemRunnersPutRequestBody() *ItemActionsRunnerGroupsItemRunnersPutRequestBody

NewItemActionsRunnerGroupsItemRunnersPutRequestBody instantiates a new ItemActionsRunnerGroupsItemRunnersPutRequestBody and sets the default values.

func (*ItemActionsRunnerGroupsItemRunnersPutRequestBody) GetAdditionalData

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

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

func (*ItemActionsRunnerGroupsItemRunnersPutRequestBody) GetFieldDeserializers

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

func (*ItemActionsRunnerGroupsItemRunnersPutRequestBody) GetRunners

GetRunners gets the runners property value. List of runner IDs to add to the runner group. returns a []int32 when successful

func (*ItemActionsRunnerGroupsItemRunnersPutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnerGroupsItemRunnersPutRequestBody) SetAdditionalData

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

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

func (*ItemActionsRunnerGroupsItemRunnersPutRequestBody) SetRunners

SetRunners sets the runners property value. List of runner IDs to add to the runner group.

type ItemActionsRunnerGroupsItemRunnersRequestBuilder

type ItemActionsRunnerGroupsItemRunnersRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsRunnerGroupsItemRunnersRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\runner-groups\{runner_group_id}\runners

func NewItemActionsRunnerGroupsItemRunnersRequestBuilder

NewItemActionsRunnerGroupsItemRunnersRequestBuilder instantiates a new ItemActionsRunnerGroupsItemRunnersRequestBuilder and sets the default values.

func NewItemActionsRunnerGroupsItemRunnersRequestBuilderInternal

func NewItemActionsRunnerGroupsItemRunnersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnerGroupsItemRunnersRequestBuilder

NewItemActionsRunnerGroupsItemRunnersRequestBuilderInternal instantiates a new ItemActionsRunnerGroupsItemRunnersRequestBuilder and sets the default values.

func (*ItemActionsRunnerGroupsItemRunnersRequestBuilder) ByRunner_id

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

func (*ItemActionsRunnerGroupsItemRunnersRequestBuilder) Get

Get lists self-hosted runners that are in a specific organization group.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a ItemActionsRunnerGroupsItemRunnersGetResponseable when successful API method documentation

func (*ItemActionsRunnerGroupsItemRunnersRequestBuilder) Put

Put replaces the list of self-hosted runners that are part of an organization runner group.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemActionsRunnerGroupsItemRunnersRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists self-hosted runners that are in a specific organization group.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnerGroupsItemRunnersRequestBuilder) ToPutRequestInformation

ToPutRequestInformation replaces the list of self-hosted runners that are part of an organization runner group.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnerGroupsItemRunnersRequestBuilder) WithUrl

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

type ItemActionsRunnerGroupsItemRunnersRequestBuilderGetQueryParameters

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

ItemActionsRunnerGroupsItemRunnersRequestBuilderGetQueryParameters lists self-hosted runners that are in a specific organization group.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.

type ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder

type ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\runner-groups\{runner_group_id}\runners\{runner_id}

func NewItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder

func NewItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder

NewItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder instantiates a new ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder and sets the default values.

func NewItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilderInternal

func NewItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder

NewItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilderInternal instantiates a new ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder and sets the default values.

func (*ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) Delete

Delete removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) Put

Put adds a self-hosted runner to a runner group configured in an organization.OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removes a self-hosted runner from a group configured in an organization. The runner is then returned to the default group.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation adds a self-hosted runner to a runner group configured in an organization.OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) WithUrl

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

type ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody

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

func NewItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody

func NewItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody() *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody

NewItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody instantiates a new ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody and sets the default values.

func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetAdditionalData

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

func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetAllowsPublicRepositories

func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetAllowsPublicRepositories() *bool

GetAllowsPublicRepositories gets the allows_public_repositories property value. Whether the runner group can be used by `public` repositories. returns a *bool when successful

func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetFieldDeserializers

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

func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetName

GetName gets the name property value. Name of the runner group. returns a *string when successful

func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetRestrictedToWorkflows

GetRestrictedToWorkflows gets the restricted_to_workflows property value. If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. returns a *bool when successful

func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetSelectedWorkflows

GetSelectedWorkflows gets the selected_workflows property value. List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. returns a []string when successful

func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetAdditionalData

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

func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetAllowsPublicRepositories

func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetAllowsPublicRepositories(value *bool)

SetAllowsPublicRepositories sets the allows_public_repositories property value. Whether the runner group can be used by `public` repositories.

func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetName

SetName sets the name property value. Name of the runner group.

func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetRestrictedToWorkflows

func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetRestrictedToWorkflows(value *bool)

SetRestrictedToWorkflows sets the restricted_to_workflows property value. If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.

func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetSelectedWorkflows

SetSelectedWorkflows sets the selected_workflows property value. List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`.

type ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBodyable

type ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetAllowsPublicRepositories() *bool
	GetName() *string
	GetRestrictedToWorkflows() *bool
	GetSelectedWorkflows() []string
	SetAllowsPublicRepositories(value *bool)
	SetName(value *string)
	SetRestrictedToWorkflows(value *bool)
	SetSelectedWorkflows(value []string)
}

type ItemActionsRunnerGroupsPostRequestBody

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

func NewItemActionsRunnerGroupsPostRequestBody

func NewItemActionsRunnerGroupsPostRequestBody() *ItemActionsRunnerGroupsPostRequestBody

NewItemActionsRunnerGroupsPostRequestBody instantiates a new ItemActionsRunnerGroupsPostRequestBody and sets the default values.

func (*ItemActionsRunnerGroupsPostRequestBody) GetAdditionalData

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

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

func (*ItemActionsRunnerGroupsPostRequestBody) GetAllowsPublicRepositories

func (m *ItemActionsRunnerGroupsPostRequestBody) GetAllowsPublicRepositories() *bool

GetAllowsPublicRepositories gets the allows_public_repositories property value. Whether the runner group can be used by `public` repositories. returns a *bool when successful

func (*ItemActionsRunnerGroupsPostRequestBody) GetFieldDeserializers

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

func (*ItemActionsRunnerGroupsPostRequestBody) GetName

GetName gets the name property value. Name of the runner group. returns a *string when successful

func (*ItemActionsRunnerGroupsPostRequestBody) GetRestrictedToWorkflows

func (m *ItemActionsRunnerGroupsPostRequestBody) GetRestrictedToWorkflows() *bool

GetRestrictedToWorkflows gets the restricted_to_workflows property value. If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. returns a *bool when successful

func (*ItemActionsRunnerGroupsPostRequestBody) GetRunners

GetRunners gets the runners property value. List of runner IDs to add to the runner group. returns a []int32 when successful

func (*ItemActionsRunnerGroupsPostRequestBody) GetSelectedRepositoryIds

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

GetSelectedRepositoryIds gets the selected_repository_ids property value. List of repository IDs that can access the runner group. returns a []int32 when successful

func (*ItemActionsRunnerGroupsPostRequestBody) GetSelectedWorkflows

func (m *ItemActionsRunnerGroupsPostRequestBody) GetSelectedWorkflows() []string

GetSelectedWorkflows gets the selected_workflows property value. List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. returns a []string when successful

func (*ItemActionsRunnerGroupsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnerGroupsPostRequestBody) SetAdditionalData

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

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

func (*ItemActionsRunnerGroupsPostRequestBody) SetAllowsPublicRepositories

func (m *ItemActionsRunnerGroupsPostRequestBody) SetAllowsPublicRepositories(value *bool)

SetAllowsPublicRepositories sets the allows_public_repositories property value. Whether the runner group can be used by `public` repositories.

func (*ItemActionsRunnerGroupsPostRequestBody) SetName

SetName sets the name property value. Name of the runner group.

func (*ItemActionsRunnerGroupsPostRequestBody) SetRestrictedToWorkflows

func (m *ItemActionsRunnerGroupsPostRequestBody) SetRestrictedToWorkflows(value *bool)

SetRestrictedToWorkflows sets the restricted_to_workflows property value. If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.

func (*ItemActionsRunnerGroupsPostRequestBody) SetRunners

func (m *ItemActionsRunnerGroupsPostRequestBody) SetRunners(value []int32)

SetRunners sets the runners property value. List of runner IDs to add to the runner group.

func (*ItemActionsRunnerGroupsPostRequestBody) SetSelectedRepositoryIds

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

SetSelectedRepositoryIds sets the selected_repository_ids property value. List of repository IDs that can access the runner group.

func (*ItemActionsRunnerGroupsPostRequestBody) SetSelectedWorkflows

func (m *ItemActionsRunnerGroupsPostRequestBody) SetSelectedWorkflows(value []string)

SetSelectedWorkflows sets the selected_workflows property value. List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`.

type ItemActionsRunnerGroupsPostRequestBodyable

type ItemActionsRunnerGroupsPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetAllowsPublicRepositories() *bool
	GetName() *string
	GetRestrictedToWorkflows() *bool
	GetRunners() []int32
	GetSelectedRepositoryIds() []int32
	GetSelectedWorkflows() []string
	SetAllowsPublicRepositories(value *bool)
	SetName(value *string)
	SetRestrictedToWorkflows(value *bool)
	SetRunners(value []int32)
	SetSelectedRepositoryIds(value []int32)
	SetSelectedWorkflows(value []string)
}

type ItemActionsRunnerGroupsRequestBuilder

type ItemActionsRunnerGroupsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsRunnerGroupsRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\runner-groups

func NewItemActionsRunnerGroupsRequestBuilder

NewItemActionsRunnerGroupsRequestBuilder instantiates a new ItemActionsRunnerGroupsRequestBuilder and sets the default values.

func NewItemActionsRunnerGroupsRequestBuilderInternal

func NewItemActionsRunnerGroupsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnerGroupsRequestBuilder

NewItemActionsRunnerGroupsRequestBuilderInternal instantiates a new ItemActionsRunnerGroupsRequestBuilder and sets the default values.

func (*ItemActionsRunnerGroupsRequestBuilder) ByRunner_group_id

ByRunner_group_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.actions.runnerGroups.item collection returns a *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder when successful

func (*ItemActionsRunnerGroupsRequestBuilder) Get

Get lists all self-hosted runner groups configured in an organization and inherited from an enterprise.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a ItemActionsRunnerGroupsGetResponseable when successful API method documentation

func (*ItemActionsRunnerGroupsRequestBuilder) Post

Post creates a new self-hosted runner group for an organization.OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a RunnerGroupsOrgable when successful API method documentation

func (*ItemActionsRunnerGroupsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all self-hosted runner groups configured in an organization and inherited from an enterprise.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnerGroupsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation creates a new self-hosted runner group for an organization.OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnerGroupsRequestBuilder) WithUrl

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

type ItemActionsRunnerGroupsRequestBuilderGetQueryParameters

type ItemActionsRunnerGroupsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// Only return runner groups that are allowed to be used by this repository.
	Visible_to_repository *string `uriparametername:"visible_to_repository"`
}

ItemActionsRunnerGroupsRequestBuilderGetQueryParameters lists all self-hosted runner groups configured in an organization and inherited from an enterprise.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint.

type ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder

type ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\runner-groups\{runner_group_id}

func NewItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder

func NewItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder

NewItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder instantiates a new ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder and sets the default values.

func NewItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilderInternal

func NewItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder

NewItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilderInternal instantiates a new ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder and sets the default values.

func (*ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Delete

Delete deletes a self-hosted runner group for an organization.OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Get

Get gets a specific self-hosted runner group for an organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a RunnerGroupsOrgable when successful API method documentation

func (*ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Patch

Patch updates the `name` and `visibility` of a self-hosted runner group in an organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a RunnerGroupsOrgable when successful API method documentation

func (*ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Repositories

Repositories the repositories property returns a *ItemActionsRunnerGroupsItemRepositoriesRequestBuilder when successful

func (*ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Runners

Runners the runners property returns a *ItemActionsRunnerGroupsItemRunnersRequestBuilder when successful

func (*ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a self-hosted runner group for an organization.OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a specific self-hosted runner group for an organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation updates the `name` and `visibility` of a self-hosted runner group in an organization.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) WithUrl

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

type ItemActionsRunnersDownloadsRequestBuilder

type ItemActionsRunnersDownloadsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsRunnersDownloadsRequestBuilder

NewItemActionsRunnersDownloadsRequestBuilder instantiates a new ItemActionsRunnersDownloadsRequestBuilder and sets the default values.

func NewItemActionsRunnersDownloadsRequestBuilderInternal

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

NewItemActionsRunnersDownloadsRequestBuilderInternal instantiates a new ItemActionsRunnersDownloadsRequestBuilder and sets the default values.

func (*ItemActionsRunnersDownloadsRequestBuilder) Get

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

func (*ItemActionsRunnersDownloadsRequestBuilder) ToGetRequestInformation

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

func (*ItemActionsRunnersDownloadsRequestBuilder) WithUrl

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

type ItemActionsRunnersGenerateJitconfigPostRequestBody

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

func NewItemActionsRunnersGenerateJitconfigPostRequestBody

func NewItemActionsRunnersGenerateJitconfigPostRequestBody() *ItemActionsRunnersGenerateJitconfigPostRequestBody

NewItemActionsRunnersGenerateJitconfigPostRequestBody instantiates a new ItemActionsRunnersGenerateJitconfigPostRequestBody and sets the default values.

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetAdditionalData

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

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetFieldDeserializers

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

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetLabels

GetLabels gets the labels property value. The names of the custom labels to add to the runner. **Minimum items**: 1. **Maximum items**: 100. returns a []string when successful

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetName

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

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetRunnerGroupId

GetRunnerGroupId gets the runner_group_id property value. The ID of the runner group to register the runner to. returns a *int32 when successful

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetWorkFolder

GetWorkFolder gets the work_folder property value. The working directory to be used for job execution, relative to the runner install directory. returns a *string when successful

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) SetAdditionalData

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

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

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) SetLabels

SetLabels sets the labels property value. The names of the custom labels to add to the runner. **Minimum items**: 1. **Maximum items**: 100.

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) SetName

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

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) SetRunnerGroupId

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

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

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) SetWorkFolder

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

type ItemActionsRunnersGenerateJitconfigPostRequestBodyable

type ItemActionsRunnersGenerateJitconfigPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetLabels() []string
	GetName() *string
	GetRunnerGroupId() *int32
	GetWorkFolder() *string
	SetLabels(value []string)
	SetName(value *string)
	SetRunnerGroupId(value *int32)
	SetWorkFolder(value *string)
}

type ItemActionsRunnersGenerateJitconfigPostResponse

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

func NewItemActionsRunnersGenerateJitconfigPostResponse

func NewItemActionsRunnersGenerateJitconfigPostResponse() *ItemActionsRunnersGenerateJitconfigPostResponse

NewItemActionsRunnersGenerateJitconfigPostResponse instantiates a new ItemActionsRunnersGenerateJitconfigPostResponse and sets the default values.

func (*ItemActionsRunnersGenerateJitconfigPostResponse) GetAdditionalData

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

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

func (*ItemActionsRunnersGenerateJitconfigPostResponse) GetEncodedJitConfig

func (m *ItemActionsRunnersGenerateJitconfigPostResponse) GetEncodedJitConfig() *string

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

func (*ItemActionsRunnersGenerateJitconfigPostResponse) GetFieldDeserializers

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

func (*ItemActionsRunnersGenerateJitconfigPostResponse) GetRunner

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

func (*ItemActionsRunnersGenerateJitconfigPostResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersGenerateJitconfigPostResponse) SetAdditionalData

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

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

func (*ItemActionsRunnersGenerateJitconfigPostResponse) SetEncodedJitConfig

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

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

func (*ItemActionsRunnersGenerateJitconfigPostResponse) SetRunner

SetRunner sets the runner property value. A self hosted runner

type ItemActionsRunnersGenerateJitconfigRequestBuilder

type ItemActionsRunnersGenerateJitconfigRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsRunnersGenerateJitconfigRequestBuilder

NewItemActionsRunnersGenerateJitconfigRequestBuilder instantiates a new ItemActionsRunnersGenerateJitconfigRequestBuilder and sets the default values.

func NewItemActionsRunnersGenerateJitconfigRequestBuilderInternal

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

NewItemActionsRunnersGenerateJitconfigRequestBuilderInternal instantiates a new ItemActionsRunnersGenerateJitconfigRequestBuilder and sets the default values.

func (*ItemActionsRunnersGenerateJitconfigRequestBuilder) Post

Post generates a configuration that can be passed to the runner application at startup.The authenticated user must have admin access to the organization.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ItemActionsRunnersGenerateJitconfigPostResponseable when successful returns a BasicError error when the service returns a 404 status code returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation

func (*ItemActionsRunnersGenerateJitconfigRequestBuilder) ToPostRequestInformation

ToPostRequestInformation generates a configuration that can be passed to the runner application at startup.The authenticated user must have admin access to the organization.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnersGenerateJitconfigRequestBuilder) WithUrl

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

type ItemActionsRunnersGetResponse

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

func NewItemActionsRunnersGetResponse

func NewItemActionsRunnersGetResponse() *ItemActionsRunnersGetResponse

NewItemActionsRunnersGetResponse instantiates a new ItemActionsRunnersGetResponse and sets the default values.

func (*ItemActionsRunnersGetResponse) GetAdditionalData

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

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

func (*ItemActionsRunnersGetResponse) GetFieldDeserializers

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

func (*ItemActionsRunnersGetResponse) GetRunners

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

func (*ItemActionsRunnersGetResponse) GetTotalCount

func (m *ItemActionsRunnersGetResponse) GetTotalCount() *int32

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

func (*ItemActionsRunnersGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersGetResponse) SetAdditionalData

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

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

func (*ItemActionsRunnersGetResponse) SetRunners

SetRunners sets the runners property value. The runners property

func (*ItemActionsRunnersGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsRunnersItemLabelsDeleteResponse

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

func NewItemActionsRunnersItemLabelsDeleteResponse

func NewItemActionsRunnersItemLabelsDeleteResponse() *ItemActionsRunnersItemLabelsDeleteResponse

NewItemActionsRunnersItemLabelsDeleteResponse instantiates a new ItemActionsRunnersItemLabelsDeleteResponse and sets the default values.

func (*ItemActionsRunnersItemLabelsDeleteResponse) GetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsDeleteResponse) GetFieldDeserializers

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

func (*ItemActionsRunnersItemLabelsDeleteResponse) GetLabels

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

func (*ItemActionsRunnersItemLabelsDeleteResponse) GetTotalCount

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

func (*ItemActionsRunnersItemLabelsDeleteResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersItemLabelsDeleteResponse) SetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsDeleteResponse) SetLabels

SetLabels sets the labels property value. The labels property

func (*ItemActionsRunnersItemLabelsDeleteResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsRunnersItemLabelsGetResponse

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

func NewItemActionsRunnersItemLabelsGetResponse

func NewItemActionsRunnersItemLabelsGetResponse() *ItemActionsRunnersItemLabelsGetResponse

NewItemActionsRunnersItemLabelsGetResponse instantiates a new ItemActionsRunnersItemLabelsGetResponse and sets the default values.

func (*ItemActionsRunnersItemLabelsGetResponse) GetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsGetResponse) GetFieldDeserializers

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

func (*ItemActionsRunnersItemLabelsGetResponse) GetLabels

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

func (*ItemActionsRunnersItemLabelsGetResponse) GetTotalCount

func (m *ItemActionsRunnersItemLabelsGetResponse) GetTotalCount() *int32

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

func (*ItemActionsRunnersItemLabelsGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersItemLabelsGetResponse) SetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsGetResponse) SetLabels

SetLabels sets the labels property value. The labels property

func (*ItemActionsRunnersItemLabelsGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsRunnersItemLabelsItemWithNameDeleteResponse

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

func NewItemActionsRunnersItemLabelsItemWithNameDeleteResponse

func NewItemActionsRunnersItemLabelsItemWithNameDeleteResponse() *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse

NewItemActionsRunnersItemLabelsItemWithNameDeleteResponse instantiates a new ItemActionsRunnersItemLabelsItemWithNameDeleteResponse and sets the default values.

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetAdditionalData

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

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetFieldDeserializers

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

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetLabels

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

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetTotalCount

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

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetLabels

SetLabels sets the labels property value. The labels property

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetTotalCount

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsRunnersItemLabelsPostRequestBody

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

func NewItemActionsRunnersItemLabelsPostRequestBody

func NewItemActionsRunnersItemLabelsPostRequestBody() *ItemActionsRunnersItemLabelsPostRequestBody

NewItemActionsRunnersItemLabelsPostRequestBody instantiates a new ItemActionsRunnersItemLabelsPostRequestBody and sets the default values.

func (*ItemActionsRunnersItemLabelsPostRequestBody) GetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsPostRequestBody) GetFieldDeserializers

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

func (*ItemActionsRunnersItemLabelsPostRequestBody) GetLabels

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

func (*ItemActionsRunnersItemLabelsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersItemLabelsPostRequestBody) SetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsPostRequestBody) SetLabels

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

type ItemActionsRunnersItemLabelsPostResponse

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

func NewItemActionsRunnersItemLabelsPostResponse

func NewItemActionsRunnersItemLabelsPostResponse() *ItemActionsRunnersItemLabelsPostResponse

NewItemActionsRunnersItemLabelsPostResponse instantiates a new ItemActionsRunnersItemLabelsPostResponse and sets the default values.

func (*ItemActionsRunnersItemLabelsPostResponse) GetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsPostResponse) GetFieldDeserializers

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

func (*ItemActionsRunnersItemLabelsPostResponse) GetLabels

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

func (*ItemActionsRunnersItemLabelsPostResponse) GetTotalCount

func (m *ItemActionsRunnersItemLabelsPostResponse) GetTotalCount() *int32

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

func (*ItemActionsRunnersItemLabelsPostResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersItemLabelsPostResponse) SetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsPostResponse) SetLabels

SetLabels sets the labels property value. The labels property

func (*ItemActionsRunnersItemLabelsPostResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsRunnersItemLabelsPutRequestBody

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

func NewItemActionsRunnersItemLabelsPutRequestBody

func NewItemActionsRunnersItemLabelsPutRequestBody() *ItemActionsRunnersItemLabelsPutRequestBody

NewItemActionsRunnersItemLabelsPutRequestBody instantiates a new ItemActionsRunnersItemLabelsPutRequestBody and sets the default values.

func (*ItemActionsRunnersItemLabelsPutRequestBody) GetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsPutRequestBody) GetFieldDeserializers

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

func (*ItemActionsRunnersItemLabelsPutRequestBody) GetLabels

GetLabels gets the labels property value. The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels. returns a []string when successful

func (*ItemActionsRunnersItemLabelsPutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersItemLabelsPutRequestBody) SetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsPutRequestBody) SetLabels

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

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

type ItemActionsRunnersItemLabelsPutResponse

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

func NewItemActionsRunnersItemLabelsPutResponse

func NewItemActionsRunnersItemLabelsPutResponse() *ItemActionsRunnersItemLabelsPutResponse

NewItemActionsRunnersItemLabelsPutResponse instantiates a new ItemActionsRunnersItemLabelsPutResponse and sets the default values.

func (*ItemActionsRunnersItemLabelsPutResponse) GetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsPutResponse) GetFieldDeserializers

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

func (*ItemActionsRunnersItemLabelsPutResponse) GetLabels

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

func (*ItemActionsRunnersItemLabelsPutResponse) GetTotalCount

func (m *ItemActionsRunnersItemLabelsPutResponse) GetTotalCount() *int32

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

func (*ItemActionsRunnersItemLabelsPutResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersItemLabelsPutResponse) SetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsPutResponse) SetLabels

SetLabels sets the labels property value. The labels property

func (*ItemActionsRunnersItemLabelsPutResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsRunnersItemLabelsRequestBuilder

type ItemActionsRunnersItemLabelsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsRunnersItemLabelsRequestBuilder

NewItemActionsRunnersItemLabelsRequestBuilder instantiates a new ItemActionsRunnersItemLabelsRequestBuilder and sets the default values.

func NewItemActionsRunnersItemLabelsRequestBuilderInternal

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

NewItemActionsRunnersItemLabelsRequestBuilderInternal instantiates a new ItemActionsRunnersItemLabelsRequestBuilder and sets the default values.

func (*ItemActionsRunnersItemLabelsRequestBuilder) ByName

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

func (*ItemActionsRunnersItemLabelsRequestBuilder) Delete

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

func (*ItemActionsRunnersItemLabelsRequestBuilder) Get

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

func (*ItemActionsRunnersItemLabelsRequestBuilder) Post

Post adds custom labels to a self-hosted runner configured in an organization.Authenticated users must have admin access to the organization to use this endpoint.OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a ItemActionsRunnersItemLabelsPostResponseable when successful returns a BasicError error when the service returns a 404 status code returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation

func (*ItemActionsRunnersItemLabelsRequestBuilder) Put

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

func (*ItemActionsRunnersItemLabelsRequestBuilder) ToDeleteRequestInformation

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

func (*ItemActionsRunnersItemLabelsRequestBuilder) ToGetRequestInformation

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

func (*ItemActionsRunnersItemLabelsRequestBuilder) ToPostRequestInformation

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

func (*ItemActionsRunnersItemLabelsRequestBuilder) ToPutRequestInformation

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

func (*ItemActionsRunnersItemLabelsRequestBuilder) WithUrl

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

type ItemActionsRunnersItemLabelsWithNameItemRequestBuilder

type ItemActionsRunnersItemLabelsWithNameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsRunnersItemLabelsWithNameItemRequestBuilder

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

NewItemActionsRunnersItemLabelsWithNameItemRequestBuilder instantiates a new ItemActionsRunnersItemLabelsWithNameItemRequestBuilder and sets the default values.

func NewItemActionsRunnersItemLabelsWithNameItemRequestBuilderInternal

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

NewItemActionsRunnersItemLabelsWithNameItemRequestBuilderInternal instantiates a new ItemActionsRunnersItemLabelsWithNameItemRequestBuilder and sets the default values.

func (*ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) Delete

Delete remove a custom label from a self-hosted runner configuredin an organization. Returns the remaining labels from the runner.This endpoint returns a `404 Not Found` status if the custom label is notpresent on the runner.Authenticated users must have admin access to the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a ItemActionsRunnersItemLabelsItemWithNameDeleteResponseable when successful returns a BasicError error when the service returns a 404 status code returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation

func (*ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation remove a custom label from a self-hosted runner configuredin an organization. Returns the remaining labels from the runner.This endpoint returns a `404 Not Found` status if the custom label is notpresent on the runner.Authenticated users must have admin access to the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) WithUrl

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

type ItemActionsRunnersRegistrationTokenRequestBuilder

type ItemActionsRunnersRegistrationTokenRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsRunnersRegistrationTokenRequestBuilder

NewItemActionsRunnersRegistrationTokenRequestBuilder instantiates a new ItemActionsRunnersRegistrationTokenRequestBuilder and sets the default values.

func NewItemActionsRunnersRegistrationTokenRequestBuilderInternal

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

NewItemActionsRunnersRegistrationTokenRequestBuilderInternal instantiates a new ItemActionsRunnersRegistrationTokenRequestBuilder and sets the default values.

func (*ItemActionsRunnersRegistrationTokenRequestBuilder) Post

Post returns a token that you can pass to the `config` script. The token expires after one hour.For example, you can replace `TOKEN` in the following example with the registration token provided by this endpoint to configure your self-hosted runner:```./config.sh --url https://github.com/octo-org --token TOKEN```Authenticated users must have admin access to the organization to use this endpoint.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a AuthenticationTokenable when successful API method documentation

func (*ItemActionsRunnersRegistrationTokenRequestBuilder) ToPostRequestInformation

ToPostRequestInformation returns a token that you can pass to the `config` script. The token expires after one hour.For example, you can replace `TOKEN` in the following example with the registration token provided by this endpoint to configure your self-hosted runner:```./config.sh --url https://github.com/octo-org --token TOKEN```Authenticated users must have admin access to the organization to use this endpoint.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnersRegistrationTokenRequestBuilder) WithUrl

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

type ItemActionsRunnersRemoveTokenRequestBuilder

type ItemActionsRunnersRemoveTokenRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsRunnersRemoveTokenRequestBuilder

NewItemActionsRunnersRemoveTokenRequestBuilder instantiates a new ItemActionsRunnersRemoveTokenRequestBuilder and sets the default values.

func NewItemActionsRunnersRemoveTokenRequestBuilderInternal

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

NewItemActionsRunnersRemoveTokenRequestBuilderInternal instantiates a new ItemActionsRunnersRemoveTokenRequestBuilder and sets the default values.

func (*ItemActionsRunnersRemoveTokenRequestBuilder) Post

Post returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour.For example, you can replace `TOKEN` in the following example with the registration token provided by this endpoint to remove your self-hosted runner from an organization:```./config.sh remove --token TOKEN```Authenticated users must have admin access to the organization to use this endpoint.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a AuthenticationTokenable when successful API method documentation

func (*ItemActionsRunnersRemoveTokenRequestBuilder) ToPostRequestInformation

ToPostRequestInformation returns a token that you can pass to the `config` script to remove a self-hosted runner from an organization. The token expires after one hour.For example, you can replace `TOKEN` in the following example with the registration token provided by this endpoint to remove your self-hosted runner from an organization:```./config.sh remove --token TOKEN```Authenticated users must have admin access to the organization to use this endpoint.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnersRemoveTokenRequestBuilder) WithUrl

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

type ItemActionsRunnersRequestBuilder

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

func NewItemActionsRunnersRequestBuilder

NewItemActionsRunnersRequestBuilder instantiates a new ItemActionsRunnersRequestBuilder and sets the default values.

func NewItemActionsRunnersRequestBuilderInternal

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

NewItemActionsRunnersRequestBuilderInternal instantiates a new ItemActionsRunnersRequestBuilder and sets the default values.

func (*ItemActionsRunnersRequestBuilder) ByRunner_id

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

func (*ItemActionsRunnersRequestBuilder) Downloads

Downloads the downloads property returns a *ItemActionsRunnersDownloadsRequestBuilder when successful

func (*ItemActionsRunnersRequestBuilder) GenerateJitconfig

GenerateJitconfig the generateJitconfig property returns a *ItemActionsRunnersGenerateJitconfigRequestBuilder when successful

func (*ItemActionsRunnersRequestBuilder) Get

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

func (*ItemActionsRunnersRequestBuilder) RegistrationToken

RegistrationToken the registrationToken property returns a *ItemActionsRunnersRegistrationTokenRequestBuilder when successful

func (*ItemActionsRunnersRequestBuilder) RemoveToken

RemoveToken the removeToken property returns a *ItemActionsRunnersRemoveTokenRequestBuilder when successful

func (*ItemActionsRunnersRequestBuilder) ToGetRequestInformation

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

func (*ItemActionsRunnersRequestBuilder) WithUrl

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

type ItemActionsRunnersRequestBuilderGetQueryParameters

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

type ItemActionsRunnersWithRunner_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsRunnersWithRunner_ItemRequestBuilder

NewItemActionsRunnersWithRunner_ItemRequestBuilder instantiates a new ItemActionsRunnersWithRunner_ItemRequestBuilder and sets the default values.

func NewItemActionsRunnersWithRunner_ItemRequestBuilderInternal

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

NewItemActionsRunnersWithRunner_ItemRequestBuilderInternal instantiates a new ItemActionsRunnersWithRunner_ItemRequestBuilder and sets the default values.

func (*ItemActionsRunnersWithRunner_ItemRequestBuilder) Delete

Delete forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.Authenticated users must have admin access to the organization to use this endpoint.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation

func (*ItemActionsRunnersWithRunner_ItemRequestBuilder) Get

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

func (*ItemActionsRunnersWithRunner_ItemRequestBuilder) Labels

Labels the labels property returns a *ItemActionsRunnersItemLabelsRequestBuilder when successful

func (*ItemActionsRunnersWithRunner_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation forces the removal of a self-hosted runner from an organization. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.Authenticated users must have admin access to the organization to use this endpoint.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnersWithRunner_ItemRequestBuilder) ToGetRequestInformation

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

func (*ItemActionsRunnersWithRunner_ItemRequestBuilder) WithUrl

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

type ItemActionsSecretsGetResponse

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

func NewItemActionsSecretsGetResponse

func NewItemActionsSecretsGetResponse() *ItemActionsSecretsGetResponse

NewItemActionsSecretsGetResponse instantiates a new ItemActionsSecretsGetResponse and sets the default values.

func (*ItemActionsSecretsGetResponse) GetAdditionalData

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

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

func (*ItemActionsSecretsGetResponse) GetFieldDeserializers

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

func (*ItemActionsSecretsGetResponse) GetSecrets

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

func (*ItemActionsSecretsGetResponse) GetTotalCount

func (m *ItemActionsSecretsGetResponse) GetTotalCount() *int32

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

func (*ItemActionsSecretsGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsSecretsGetResponse) SetAdditionalData

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

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

func (*ItemActionsSecretsGetResponse) SetSecrets

SetSecrets sets the secrets property value. The secrets property

func (*ItemActionsSecretsGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsSecretsItemRepositoriesGetResponse

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

func NewItemActionsSecretsItemRepositoriesGetResponse

func NewItemActionsSecretsItemRepositoriesGetResponse() *ItemActionsSecretsItemRepositoriesGetResponse

NewItemActionsSecretsItemRepositoriesGetResponse instantiates a new ItemActionsSecretsItemRepositoriesGetResponse and sets the default values.

func (*ItemActionsSecretsItemRepositoriesGetResponse) GetAdditionalData

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

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

func (*ItemActionsSecretsItemRepositoriesGetResponse) GetFieldDeserializers

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

func (*ItemActionsSecretsItemRepositoriesGetResponse) GetRepositories

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

func (*ItemActionsSecretsItemRepositoriesGetResponse) GetTotalCount

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

func (*ItemActionsSecretsItemRepositoriesGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsSecretsItemRepositoriesGetResponse) SetAdditionalData

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

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

func (*ItemActionsSecretsItemRepositoriesGetResponse) SetRepositories

SetRepositories sets the repositories property value. The repositories property

func (*ItemActionsSecretsItemRepositoriesGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsSecretsItemRepositoriesPutRequestBody

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

func NewItemActionsSecretsItemRepositoriesPutRequestBody

func NewItemActionsSecretsItemRepositoriesPutRequestBody() *ItemActionsSecretsItemRepositoriesPutRequestBody

NewItemActionsSecretsItemRepositoriesPutRequestBody instantiates a new ItemActionsSecretsItemRepositoriesPutRequestBody and sets the default values.

func (*ItemActionsSecretsItemRepositoriesPutRequestBody) GetAdditionalData

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

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

func (*ItemActionsSecretsItemRepositoriesPutRequestBody) GetFieldDeserializers

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

func (*ItemActionsSecretsItemRepositoriesPutRequestBody) GetSelectedRepositoryIds

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

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

func (*ItemActionsSecretsItemRepositoriesPutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsSecretsItemRepositoriesPutRequestBody) SetAdditionalData

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

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

func (*ItemActionsSecretsItemRepositoriesPutRequestBody) SetSelectedRepositoryIds

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

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

type ItemActionsSecretsItemRepositoriesPutRequestBodyable

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

type ItemActionsSecretsItemRepositoriesRequestBuilder

type ItemActionsSecretsItemRepositoriesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsSecretsItemRepositoriesRequestBuilder

NewItemActionsSecretsItemRepositoriesRequestBuilder instantiates a new ItemActionsSecretsItemRepositoriesRequestBuilder and sets the default values.

func NewItemActionsSecretsItemRepositoriesRequestBuilderInternal

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

NewItemActionsSecretsItemRepositoriesRequestBuilderInternal instantiates a new ItemActionsSecretsItemRepositoriesRequestBuilder and sets the default values.

func (*ItemActionsSecretsItemRepositoriesRequestBuilder) ByRepository_id

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

func (*ItemActionsSecretsItemRepositoriesRequestBuilder) Get

Get lists all repositories that have been selected when the `visibility`for repository access to a secret is set to `selected`.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a ItemActionsSecretsItemRepositoriesGetResponseable when successful API method documentation

func (*ItemActionsSecretsItemRepositoriesRequestBuilder) Put

Put replaces all repositories for an organization secret when the `visibility`for repository access is set to `selected`. The visibility is set when you [Createor update an organization secret](https://docs.github.com/enterprise-server@3.11/rest/actions/secrets#create-or-update-an-organization-secret).Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. API method documentation

func (*ItemActionsSecretsItemRepositoriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all repositories that have been selected when the `visibility`for repository access to a secret is set to `selected`.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsSecretsItemRepositoriesRequestBuilder) ToPutRequestInformation

ToPutRequestInformation replaces all repositories for an organization secret when the `visibility`for repository access is set to `selected`. The visibility is set when you [Createor update an organization secret](https://docs.github.com/enterprise-server@3.11/rest/actions/secrets#create-or-update-an-organization-secret).Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsSecretsItemRepositoriesRequestBuilder) WithUrl

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

type ItemActionsSecretsItemRepositoriesRequestBuilderGetQueryParameters

type ItemActionsSecretsItemRepositoriesRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/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 ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder

type ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder

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

NewItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder instantiates a new ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder and sets the default values.

func NewItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal

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

NewItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal instantiates a new ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder and sets the default values.

func (*ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Delete

Delete removes a repository from an organization secret when the `visibility`for repository access is set to `selected`. The visibility is set when you [Createor update an organization secret](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/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/enterprise-server@3.11/rest/actions/secrets#create-or-update-an-organization-secret).Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation adds a repository to an organization secret when the `visibility` forrepository access is set to `selected`. For more information about setting the visibility, see [Create orupdate an organization secret](https://docs.github.com/enterprise-server@3.11/rest/actions/secrets#create-or-update-an-organization-secret).Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) WithUrl

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

type ItemActionsSecretsItemWithSecret_namePutRequestBody

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

func NewItemActionsSecretsItemWithSecret_namePutRequestBody

func NewItemActionsSecretsItemWithSecret_namePutRequestBody() *ItemActionsSecretsItemWithSecret_namePutRequestBody

NewItemActionsSecretsItemWithSecret_namePutRequestBody instantiates a new ItemActionsSecretsItemWithSecret_namePutRequestBody and sets the default values.

func (*ItemActionsSecretsItemWithSecret_namePutRequestBody) GetAdditionalData

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

func (*ItemActionsSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue

GetEncryptedValue gets the encrypted_value property value. Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/enterprise-server@3.11/rest/actions/secrets#get-an-organization-public-key) endpoint. returns a *string when successful

func (*ItemActionsSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers

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

func (*ItemActionsSecretsItemWithSecret_namePutRequestBody) GetKeyId

GetKeyId gets the key_id property value. ID of the key you used to encrypt the secret. returns a *string when successful

func (*ItemActionsSecretsItemWithSecret_namePutRequestBody) GetSelectedRepositoryIds

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

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

func (*ItemActionsSecretsItemWithSecret_namePutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsSecretsItemWithSecret_namePutRequestBody) SetAdditionalData

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

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

func (*ItemActionsSecretsItemWithSecret_namePutRequestBody) SetEncryptedValue

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

SetEncryptedValue sets the encrypted_value property value. Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/rest/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.11/rest/actions/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-server@3.11/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints.

type ItemActionsSecretsItemWithSecret_namePutRequestBodyable

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

type ItemActionsSecretsPublicKeyRequestBuilder

type ItemActionsSecretsPublicKeyRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsSecretsPublicKeyRequestBuilder

NewItemActionsSecretsPublicKeyRequestBuilder instantiates a new ItemActionsSecretsPublicKeyRequestBuilder and sets the default values.

func NewItemActionsSecretsPublicKeyRequestBuilderInternal

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

NewItemActionsSecretsPublicKeyRequestBuilderInternal instantiates a new ItemActionsSecretsPublicKeyRequestBuilder and sets the default values.

func (*ItemActionsSecretsPublicKeyRequestBuilder) Get

Get gets your public key, which you need to encrypt secrets. You need toencrypt a secret before you can create or update secrets.The authenticated user must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a ActionsPublicKeyable when successful API method documentation

func (*ItemActionsSecretsPublicKeyRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets your public key, which you need to encrypt secrets. You need toencrypt a secret before you can create or update secrets.The authenticated user must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsSecretsPublicKeyRequestBuilder) WithUrl

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

type ItemActionsSecretsRequestBuilder

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

func NewItemActionsSecretsRequestBuilder

NewItemActionsSecretsRequestBuilder instantiates a new ItemActionsSecretsRequestBuilder and sets the default values.

func NewItemActionsSecretsRequestBuilderInternal

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

NewItemActionsSecretsRequestBuilderInternal instantiates a new ItemActionsSecretsRequestBuilder and sets the default values.

func (*ItemActionsSecretsRequestBuilder) BySecret_name

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

func (*ItemActionsSecretsRequestBuilder) Get

Get lists all secrets available in an organization without revealing theirencrypted values.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a ItemActionsSecretsGetResponseable when successful API method documentation

func (*ItemActionsSecretsRequestBuilder) PublicKey

PublicKey the publicKey property returns a *ItemActionsSecretsPublicKeyRequestBuilder when successful

func (*ItemActionsSecretsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all secrets available in an organization without revealing theirencrypted values.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsSecretsRequestBuilder) WithUrl

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

type ItemActionsSecretsRequestBuilderGetQueryParameters

type ItemActionsSecretsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/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 ItemActionsSecretsWithSecret_nameItemRequestBuilder

type ItemActionsSecretsWithSecret_nameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsSecretsWithSecret_nameItemRequestBuilder

NewItemActionsSecretsWithSecret_nameItemRequestBuilder instantiates a new ItemActionsSecretsWithSecret_nameItemRequestBuilder and sets the default values.

func NewItemActionsSecretsWithSecret_nameItemRequestBuilderInternal

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

NewItemActionsSecretsWithSecret_nameItemRequestBuilderInternal instantiates a new ItemActionsSecretsWithSecret_nameItemRequestBuilder and sets the default values.

func (*ItemActionsSecretsWithSecret_nameItemRequestBuilder) Delete

Delete deletes a secret in an organization using the secret name.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation

func (*ItemActionsSecretsWithSecret_nameItemRequestBuilder) Get

Get gets a single organization secret without revealing its encrypted value.The authenticated user must have collaborator access to a repository to create, update, or read secretsOAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a OrganizationActionsSecretable when successful API method documentation

func (*ItemActionsSecretsWithSecret_nameItemRequestBuilder) Put

Put creates or updates an organization secret with an encrypted value. Encrypt your secret using[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/enterprise-server@3.11/rest/guides/encrypting-secrets-for-the-rest-api)."Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a EmptyObjectable when successful API method documentation

func (*ItemActionsSecretsWithSecret_nameItemRequestBuilder) Repositories

Repositories the repositories property returns a *ItemActionsSecretsItemRepositoriesRequestBuilder when successful

func (*ItemActionsSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a secret in an organization using the secret name.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a single organization secret without revealing its encrypted value.The authenticated user must have collaborator access to a repository to create, update, or read secretsOAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation creates or updates an organization secret with an encrypted value. Encrypt your secret using[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/enterprise-server@3.11/rest/guides/encrypting-secrets-for-the-rest-api)."Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsSecretsWithSecret_nameItemRequestBuilder) WithUrl

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

type ItemActionsVariablesGetResponse

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

func NewItemActionsVariablesGetResponse

func NewItemActionsVariablesGetResponse() *ItemActionsVariablesGetResponse

NewItemActionsVariablesGetResponse instantiates a new ItemActionsVariablesGetResponse and sets the default values.

func (*ItemActionsVariablesGetResponse) GetAdditionalData

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

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

func (*ItemActionsVariablesGetResponse) GetFieldDeserializers

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

func (*ItemActionsVariablesGetResponse) GetTotalCount

func (m *ItemActionsVariablesGetResponse) GetTotalCount() *int32

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

func (*ItemActionsVariablesGetResponse) GetVariables

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

func (*ItemActionsVariablesGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsVariablesGetResponse) SetAdditionalData

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

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

func (*ItemActionsVariablesGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

func (*ItemActionsVariablesGetResponse) SetVariables

SetVariables sets the variables property value. The variables property

type ItemActionsVariablesItemRepositoriesGetResponse

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

func NewItemActionsVariablesItemRepositoriesGetResponse

func NewItemActionsVariablesItemRepositoriesGetResponse() *ItemActionsVariablesItemRepositoriesGetResponse

NewItemActionsVariablesItemRepositoriesGetResponse instantiates a new ItemActionsVariablesItemRepositoriesGetResponse and sets the default values.

func (*ItemActionsVariablesItemRepositoriesGetResponse) GetAdditionalData

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

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

func (*ItemActionsVariablesItemRepositoriesGetResponse) GetFieldDeserializers

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

func (*ItemActionsVariablesItemRepositoriesGetResponse) GetRepositories

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

func (*ItemActionsVariablesItemRepositoriesGetResponse) GetTotalCount

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

func (*ItemActionsVariablesItemRepositoriesGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsVariablesItemRepositoriesGetResponse) SetAdditionalData

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

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

func (*ItemActionsVariablesItemRepositoriesGetResponse) SetRepositories

SetRepositories sets the repositories property value. The repositories property

func (*ItemActionsVariablesItemRepositoriesGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsVariablesItemRepositoriesPutRequestBody

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

func NewItemActionsVariablesItemRepositoriesPutRequestBody

func NewItemActionsVariablesItemRepositoriesPutRequestBody() *ItemActionsVariablesItemRepositoriesPutRequestBody

NewItemActionsVariablesItemRepositoriesPutRequestBody instantiates a new ItemActionsVariablesItemRepositoriesPutRequestBody and sets the default values.

func (*ItemActionsVariablesItemRepositoriesPutRequestBody) GetAdditionalData

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

func (*ItemActionsVariablesItemRepositoriesPutRequestBody) GetFieldDeserializers

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

func (*ItemActionsVariablesItemRepositoriesPutRequestBody) GetSelectedRepositoryIds

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

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

func (*ItemActionsVariablesItemRepositoriesPutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsVariablesItemRepositoriesPutRequestBody) SetAdditionalData

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

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

func (*ItemActionsVariablesItemRepositoriesPutRequestBody) SetSelectedRepositoryIds

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

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

type ItemActionsVariablesItemRepositoriesPutRequestBodyable

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

type ItemActionsVariablesItemRepositoriesRequestBuilder

type ItemActionsVariablesItemRepositoriesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsVariablesItemRepositoriesRequestBuilder

NewItemActionsVariablesItemRepositoriesRequestBuilder instantiates a new ItemActionsVariablesItemRepositoriesRequestBuilder and sets the default values.

func NewItemActionsVariablesItemRepositoriesRequestBuilderInternal

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

NewItemActionsVariablesItemRepositoriesRequestBuilderInternal instantiates a new ItemActionsVariablesItemRepositoriesRequestBuilder and sets the default values.

func (*ItemActionsVariablesItemRepositoriesRequestBuilder) ByRepository_id

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

func (*ItemActionsVariablesItemRepositoriesRequestBuilder) Get

Get lists all repositories that can access an organization variablethat is available to selected repositories.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a ItemActionsVariablesItemRepositoriesGetResponseable when successful API method documentation

func (*ItemActionsVariablesItemRepositoriesRequestBuilder) Put

Put replaces all repositories for an organization variable that is availableto selected repositories. Organization variables that are available to selectedrepositories have their `visibility` field set to `selected`.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. API method documentation

func (*ItemActionsVariablesItemRepositoriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all repositories that can access an organization variablethat is available to selected repositories.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsVariablesItemRepositoriesRequestBuilder) ToPutRequestInformation

ToPutRequestInformation replaces all repositories for an organization variable that is availableto selected repositories. Organization variables that are available to selectedrepositories have their `visibility` field set to `selected`.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsVariablesItemRepositoriesRequestBuilder) WithUrl

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

type ItemActionsVariablesItemRepositoriesRequestBuilderGetQueryParameters

type ItemActionsVariablesItemRepositoriesRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/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 ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder

type ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder

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

NewItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder instantiates a new ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder and sets the default values.

func NewItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilderInternal

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

NewItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilderInternal instantiates a new ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder and sets the default values.

func (*ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) Delete

Delete removes a repository from an organization variable that isavailable to selected repositories. Organization variables that are available toselected repositories have their `visibility` field set to `selected`.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. API method documentation

func (*ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) Put

Put adds a repository to an organization variable that is available to selected repositories.Organization variables that are available to selected repositories have their `visibility` field set to `selected`.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation

func (*ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removes a repository from an organization variable that isavailable to selected repositories. Organization variables that are available toselected repositories have their `visibility` field set to `selected`.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation adds a repository to an organization variable that is available to selected repositories.Organization variables that are available to selected repositories have their `visibility` field set to `selected`.Authenticated users must have collaborator access to a repository to create, update, or read secrets.OAuth tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) WithUrl

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

type ItemActionsVariablesItemWithNamePatchRequestBody

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

func NewItemActionsVariablesItemWithNamePatchRequestBody

func NewItemActionsVariablesItemWithNamePatchRequestBody() *ItemActionsVariablesItemWithNamePatchRequestBody

NewItemActionsVariablesItemWithNamePatchRequestBody instantiates a new ItemActionsVariablesItemWithNamePatchRequestBody and sets the default values.

func (*ItemActionsVariablesItemWithNamePatchRequestBody) GetAdditionalData

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

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

func (*ItemActionsVariablesItemWithNamePatchRequestBody) GetFieldDeserializers

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

func (*ItemActionsVariablesItemWithNamePatchRequestBody) GetName

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

func (*ItemActionsVariablesItemWithNamePatchRequestBody) GetSelectedRepositoryIds

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

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

func (*ItemActionsVariablesItemWithNamePatchRequestBody) GetValue

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

func (*ItemActionsVariablesItemWithNamePatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsVariablesItemWithNamePatchRequestBody) SetAdditionalData

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

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

func (*ItemActionsVariablesItemWithNamePatchRequestBody) SetName

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

func (*ItemActionsVariablesItemWithNamePatchRequestBody) SetSelectedRepositoryIds

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

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

func (*ItemActionsVariablesItemWithNamePatchRequestBody) SetValue

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

type ItemActionsVariablesItemWithNamePatchRequestBodyable

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

type ItemActionsVariablesPostRequestBody

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

func NewItemActionsVariablesPostRequestBody

func NewItemActionsVariablesPostRequestBody() *ItemActionsVariablesPostRequestBody

NewItemActionsVariablesPostRequestBody instantiates a new ItemActionsVariablesPostRequestBody and sets the default values.

func (*ItemActionsVariablesPostRequestBody) GetAdditionalData

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

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

func (*ItemActionsVariablesPostRequestBody) GetFieldDeserializers

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

func (*ItemActionsVariablesPostRequestBody) GetName

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

func (*ItemActionsVariablesPostRequestBody) GetSelectedRepositoryIds

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

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

func (*ItemActionsVariablesPostRequestBody) GetValue

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

func (*ItemActionsVariablesPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsVariablesPostRequestBody) SetAdditionalData

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

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

func (*ItemActionsVariablesPostRequestBody) SetName

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

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

func (*ItemActionsVariablesPostRequestBody) SetSelectedRepositoryIds

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

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

func (*ItemActionsVariablesPostRequestBody) SetValue

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

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

type ItemActionsVariablesPostRequestBodyable

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

type ItemActionsVariablesRequestBuilder

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

func NewItemActionsVariablesRequestBuilder

NewItemActionsVariablesRequestBuilder instantiates a new ItemActionsVariablesRequestBuilder and sets the default values.

func NewItemActionsVariablesRequestBuilderInternal

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

NewItemActionsVariablesRequestBuilderInternal instantiates a new ItemActionsVariablesRequestBuilder and sets the default values.

func (*ItemActionsVariablesRequestBuilder) ByName

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

func (*ItemActionsVariablesRequestBuilder) Get

Get lists all organization variables.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a ItemActionsVariablesGetResponseable when successful API method documentation

func (*ItemActionsVariablesRequestBuilder) Post

Post creates an organization variable that you can reference in a GitHub Actions workflow.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a EmptyObjectable when successful API method documentation

func (*ItemActionsVariablesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all organization variables.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsVariablesRequestBuilder) ToPostRequestInformation

ToPostRequestInformation creates an organization variable that you can reference in a GitHub Actions workflow.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsVariablesRequestBuilder) WithUrl

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

type ItemActionsVariablesRequestBuilderGetQueryParameters

type ItemActionsVariablesRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/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 ItemActionsVariablesWithNameItemRequestBuilder

type ItemActionsVariablesWithNameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsVariablesWithNameItemRequestBuilder

NewItemActionsVariablesWithNameItemRequestBuilder instantiates a new ItemActionsVariablesWithNameItemRequestBuilder and sets the default values.

func NewItemActionsVariablesWithNameItemRequestBuilderInternal

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

NewItemActionsVariablesWithNameItemRequestBuilderInternal instantiates a new ItemActionsVariablesWithNameItemRequestBuilder and sets the default values.

func (*ItemActionsVariablesWithNameItemRequestBuilder) Delete

Delete deletes an organization variable using the variable name.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. API method documentation

func (*ItemActionsVariablesWithNameItemRequestBuilder) Get

Get gets a specific variable in an organization.The authenticated user must have collaborator access to a repository to create, update, or read variables.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a OrganizationActionsVariableable when successful API method documentation

func (*ItemActionsVariablesWithNameItemRequestBuilder) Patch

Patch updates an organization variable that you can reference in a GitHub Actions workflow.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. API method documentation

func (*ItemActionsVariablesWithNameItemRequestBuilder) Repositories

Repositories the repositories property returns a *ItemActionsVariablesItemRepositoriesRequestBuilder when successful

func (*ItemActionsVariablesWithNameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes an organization variable using the variable name.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsVariablesWithNameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a specific variable in an organization.The authenticated user must have collaborator access to a repository to create, update, or read variables.OAuth tokens and personal access tokens (classic) need the`admin:org` scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the `repo` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsVariablesWithNameItemRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation updates an organization variable that you can reference in a GitHub Actions workflow.Authenticated users must have collaborator access to a repository to create, update, or read variables.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. If the repository is private, the `repo` scope is also required. returns a *RequestInformation when successful

func (*ItemActionsVariablesWithNameItemRequestBuilder) WithUrl

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

type ItemAnnouncementRequestBuilder

ItemAnnouncementRequestBuilder builds and executes requests for operations under \orgs\{org}\announcement

func NewItemAnnouncementRequestBuilder

NewItemAnnouncementRequestBuilder instantiates a new ItemAnnouncementRequestBuilder and sets the default values.

func NewItemAnnouncementRequestBuilderInternal

func NewItemAnnouncementRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemAnnouncementRequestBuilder

NewItemAnnouncementRequestBuilderInternal instantiates a new ItemAnnouncementRequestBuilder and sets the default values.

func (*ItemAnnouncementRequestBuilder) Delete

Delete removes the announcement banner currently set for the organization. API method documentation

func (*ItemAnnouncementRequestBuilder) Get

Get gets the announcement banner currently set for the organization. Only returns the announcement banner set at theorganization level. Organization members may also see an enterprise-level announcement banner. To get anannouncement banner displayed at the enterprise level, use the enterprise-level endpoint. returns a AnnouncementBannerable when successful API method documentation

func (*ItemAnnouncementRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removes the announcement banner currently set for the organization. returns a *RequestInformation when successful

func (*ItemAnnouncementRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets the announcement banner currently set for the organization. Only returns the announcement banner set at theorganization level. Organization members may also see an enterprise-level announcement banner. To get anannouncement banner displayed at the enterprise level, use the enterprise-level endpoint. returns a *RequestInformation when successful

func (*ItemAnnouncementRequestBuilder) WithUrl

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

type ItemAuditLogRequestBuilder

ItemAuditLogRequestBuilder builds and executes requests for operations under \orgs\{org}\audit-log

func NewItemAuditLogRequestBuilder

NewItemAuditLogRequestBuilder instantiates a new ItemAuditLogRequestBuilder and sets the default values.

func NewItemAuditLogRequestBuilderInternal

func NewItemAuditLogRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemAuditLogRequestBuilder

NewItemAuditLogRequestBuilderInternal instantiates a new ItemAuditLogRequestBuilder and sets the default values.

func (*ItemAuditLogRequestBuilder) Get

Get gets the audit log for an organization. For more information, see "[Reviewing the audit log for your organization](https://docs.github.com/enterprise-server@3.11/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization)."By default, the response includes up to 30 events from the past three months. Use the `phrase` parameter to filter results and retrieve older events. For example, use the `phrase` parameter with the `created` qualifier to filter events based on when the events occurred. For more information, see "[Reviewing the audit log for your organization](https://docs.github.com/enterprise-server@3.11/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization#searching-the-audit-log)."Use pagination to retrieve fewer or more than 30 events. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api)."The authenticated user must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `read:audit_log` scope to use this endpoint. returns a []AuditLogEventable when successful API method documentation

func (*ItemAuditLogRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets the audit log for an organization. For more information, see "[Reviewing the audit log for your organization](https://docs.github.com/enterprise-server@3.11/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization)."By default, the response includes up to 30 events from the past three months. Use the `phrase` parameter to filter results and retrieve older events. For example, use the `phrase` parameter with the `created` qualifier to filter events based on when the events occurred. For more information, see "[Reviewing the audit log for your organization](https://docs.github.com/enterprise-server@3.11/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization#searching-the-audit-log)."Use pagination to retrieve fewer or more than 30 events. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api)."The authenticated user must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `read:audit_log` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemAuditLogRequestBuilder) WithUrl

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

type ItemAuditLogRequestBuilderGetQueryParameters

type ItemAuditLogRequestBuilderGetQueryParameters struct {
	// A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor.
	After *string `uriparametername:"after"`
	// A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor.
	Before *string `uriparametername:"before"`
	// The event types to include:- `web` - returns web (non-Git) events.- `git` - returns Git events.- `all` - returns both web and Git events.The default is `web`.
	Include *i04c7f8edd3ef0430be0ce276abb9cda61c930cab4b366211c818d045ff72b2ab.GetIncludeQueryParameterType `uriparametername:"include"`
	// The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`.The default is `desc`.
	Order *i04c7f8edd3ef0430be0ce276abb9cda61c930cab4b366211c818d045ff72b2ab.GetOrderQueryParameterType `uriparametername:"order"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-server@3.11/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log).
	Phrase *string `uriparametername:"phrase"`
}

ItemAuditLogRequestBuilderGetQueryParameters gets the audit log for an organization. For more information, see "[Reviewing the audit log for your organization](https://docs.github.com/enterprise-server@3.11/github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization)."By default, the response includes up to 30 events from the past three months. Use the `phrase` parameter to filter results and retrieve older events. For example, use the `phrase` parameter with the `created` qualifier to filter events based on when the events occurred. For more information, see "[Reviewing the audit log for your organization](https://docs.github.com/enterprise-server@3.11/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization#searching-the-audit-log)."Use pagination to retrieve fewer or more than 30 events. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api)."The authenticated user must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `read:audit_log` scope to use this endpoint.

type ItemCodeScanningAlertsRequestBuilder

type ItemCodeScanningAlertsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemCodeScanningAlertsRequestBuilder

NewItemCodeScanningAlertsRequestBuilder instantiates a new ItemCodeScanningAlertsRequestBuilder and sets the default values.

func NewItemCodeScanningAlertsRequestBuilderInternal

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

NewItemCodeScanningAlertsRequestBuilderInternal instantiates a new ItemCodeScanningAlertsRequestBuilder and sets the default values.

func (*ItemCodeScanningAlertsRequestBuilder) Get

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

func (*ItemCodeScanningAlertsRequestBuilder) ToGetRequestInformation

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

func (*ItemCodeScanningAlertsRequestBuilder) WithUrl

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

type ItemCodeScanningAlertsRequestBuilderGetQueryParameters

type ItemCodeScanningAlertsRequestBuilderGetQueryParameters struct {
	// A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	After *string `uriparametername:"after"`
	// A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Before *string `uriparametername:"before"`
	// The direction to sort the results by.
	Direction *i1e97532633c35959774d6dec446f118e7a655cf7dc39b9ee2611dab6a379a957.GetDirectionQueryParameterType `uriparametername:"direction"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/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 *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningAlertSeverity `uriparametername:"severity"`
	// The property by which to sort the results.
	Sort *i1e97532633c35959774d6dec446f118e7a655cf7dc39b9ee2611dab6a379a957.GetSortQueryParameterType `uriparametername:"sort"`
	// If specified, only code scanning alerts with this state will be returned.
	State *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningAlertStateQuery `uriparametername:"state"`
	// The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in their analysis data. You can specify the tool by using either `tool_guid` or `tool_name`, but not both.
	Tool_guid *string `uriparametername:"tool_guid"`
	// The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both.
	Tool_name *string `uriparametername:"tool_name"`
}

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/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."The authenticated user must be an owner or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `security_events` or `repo`s cope to use this endpoint with private or public repositories, or the `public_repo` scope to use this endpoint with only public repositories.

type ItemCodeScanningRequestBuilder

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

func NewItemCodeScanningRequestBuilder

NewItemCodeScanningRequestBuilder instantiates a new ItemCodeScanningRequestBuilder and sets the default values.

func NewItemCodeScanningRequestBuilderInternal

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

NewItemCodeScanningRequestBuilderInternal instantiates a new ItemCodeScanningRequestBuilder and sets the default values.

func (*ItemCodeScanningRequestBuilder) Alerts

Alerts the alerts property returns a *ItemCodeScanningAlertsRequestBuilder when successful

type ItemCustomRepositoryRolesGetResponse

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

func NewItemCustomRepositoryRolesGetResponse

func NewItemCustomRepositoryRolesGetResponse() *ItemCustomRepositoryRolesGetResponse

NewItemCustomRepositoryRolesGetResponse instantiates a new ItemCustomRepositoryRolesGetResponse and sets the default values.

func (*ItemCustomRepositoryRolesGetResponse) GetAdditionalData

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

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

func (*ItemCustomRepositoryRolesGetResponse) GetCustomRoles

GetCustomRoles gets the custom_roles property value. The custom_roles property returns a []OrganizationCustomRepositoryRoleable when successful

func (*ItemCustomRepositoryRolesGetResponse) GetFieldDeserializers

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

func (*ItemCustomRepositoryRolesGetResponse) GetTotalCount

func (m *ItemCustomRepositoryRolesGetResponse) GetTotalCount() *int32

GetTotalCount gets the total_count property value. The number of custom roles in this organization returns a *int32 when successful

func (*ItemCustomRepositoryRolesGetResponse) Serialize

Serialize serializes information the current object

func (*ItemCustomRepositoryRolesGetResponse) SetAdditionalData

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

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

func (*ItemCustomRepositoryRolesGetResponse) SetCustomRoles

SetCustomRoles sets the custom_roles property value. The custom_roles property

func (*ItemCustomRepositoryRolesGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The number of custom roles in this organization

type ItemCustomRepositoryRolesRequestBuilder

type ItemCustomRepositoryRolesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemCustomRepositoryRolesRequestBuilder builds and executes requests for operations under \orgs\{org}\custom-repository-roles

func NewItemCustomRepositoryRolesRequestBuilder

NewItemCustomRepositoryRolesRequestBuilder instantiates a new ItemCustomRepositoryRolesRequestBuilder and sets the default values.

func NewItemCustomRepositoryRolesRequestBuilderInternal

func NewItemCustomRepositoryRolesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCustomRepositoryRolesRequestBuilder

NewItemCustomRepositoryRolesRequestBuilderInternal instantiates a new ItemCustomRepositoryRolesRequestBuilder and sets the default values.

func (*ItemCustomRepositoryRolesRequestBuilder) ByRole_id

ByRole_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.customRepositoryRoles.item collection returns a *ItemCustomRepositoryRolesWithRole_ItemRequestBuilder when successful

func (*ItemCustomRepositoryRolesRequestBuilder) Get

Get list the custom repository roles available in this organization. For more information on custom repository roles, see "[About custom repository roles](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles)."The authenticated user must be an administrator of the organization or of a repository of the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. returns a ItemCustomRepositoryRolesGetResponseable when successful API method documentation

func (*ItemCustomRepositoryRolesRequestBuilder) Post

Post creates a custom repository role that can be used by all repositories owned by the organization. For more information on custom repository roles, see "[About custom repository roles](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles)."The authenticated user must be an administrator for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a OrganizationCustomRepositoryRoleable when successful returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation

func (*ItemCustomRepositoryRolesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list the custom repository roles available in this organization. For more information on custom repository roles, see "[About custom repository roles](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles)."The authenticated user must be an administrator of the organization or of a repository of the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCustomRepositoryRolesRequestBuilder) ToPostRequestInformation

ToPostRequestInformation creates a custom repository role that can be used by all repositories owned by the organization. For more information on custom repository roles, see "[About custom repository roles](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles)."The authenticated user must be an administrator for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCustomRepositoryRolesRequestBuilder) WithUrl

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

type ItemCustomRepositoryRolesWithRole_ItemRequestBuilder

type ItemCustomRepositoryRolesWithRole_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemCustomRepositoryRolesWithRole_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\custom-repository-roles\{role_id}

func NewItemCustomRepositoryRolesWithRole_ItemRequestBuilder

NewItemCustomRepositoryRolesWithRole_ItemRequestBuilder instantiates a new ItemCustomRepositoryRolesWithRole_ItemRequestBuilder and sets the default values.

func NewItemCustomRepositoryRolesWithRole_ItemRequestBuilderInternal

func NewItemCustomRepositoryRolesWithRole_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCustomRepositoryRolesWithRole_ItemRequestBuilder

NewItemCustomRepositoryRolesWithRole_ItemRequestBuilderInternal instantiates a new ItemCustomRepositoryRolesWithRole_ItemRequestBuilder and sets the default values.

func (*ItemCustomRepositoryRolesWithRole_ItemRequestBuilder) Delete

Delete deletes a custom role from an organization. Once the custom role has been deleted, anyuser, team, or invitation with the deleted custom role will be reassigned the inherited role. For more information about custom repository roles, see "[About custom repository roles](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-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 (*ItemCustomRepositoryRolesWithRole_ItemRequestBuilder) Get

Get gets a custom repository role that is available to all repositories owned by the organization. For more information on custom repository roles, see "[About custom repository roles](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles)."The authenticated user must be an administrator of the organization or of a repository of the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. returns a OrganizationCustomRepositoryRoleable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemCustomRepositoryRolesWithRole_ItemRequestBuilder) Patch

Patch updates a custom repository role that can be used by all repositories owned by the organization. For more information about custom repository roles, see "[About custom repository roles](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles)."The authenticated user must be an administrator for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a OrganizationCustomRepositoryRoleable when successful returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation

func (*ItemCustomRepositoryRolesWithRole_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a custom role from an organization. Once the custom role has been deleted, anyuser, team, or invitation with the deleted custom role will be reassigned the inherited role. For more information about custom repository roles, see "[About custom repository roles](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles)."The authenticated user must be an administrator for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCustomRepositoryRolesWithRole_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a custom repository role that is available to all repositories owned by the organization. For more information on custom repository roles, see "[About custom repository roles](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles)."The authenticated user must be an administrator of the organization or of a repository of the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCustomRepositoryRolesWithRole_ItemRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation updates a custom repository role that can be used by all repositories owned by the organization. For more information about custom repository roles, see "[About custom repository roles](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles)."The authenticated user must be an administrator for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCustomRepositoryRolesWithRole_ItemRequestBuilder) WithUrl

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

type ItemDependabotAlertsRequestBuilder

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

func NewItemDependabotAlertsRequestBuilder

NewItemDependabotAlertsRequestBuilder instantiates a new ItemDependabotAlertsRequestBuilder and sets the default values.

func NewItemDependabotAlertsRequestBuilderInternal

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

NewItemDependabotAlertsRequestBuilderInternal instantiates a new ItemDependabotAlertsRequestBuilder and sets the default values.

func (*ItemDependabotAlertsRequestBuilder) Get

Get lists Dependabot alerts for an organization.The authenticated user must be an owner or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. returns a []DependabotAlertWithRepositoryable when successful returns a BasicError error when the service returns a 400 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation

func (*ItemDependabotAlertsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists Dependabot alerts for an organization.The authenticated user must be an owner or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. returns a *RequestInformation when successful

func (*ItemDependabotAlertsRequestBuilder) WithUrl

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

type ItemDependabotAlertsRequestBuilderGetQueryParameters

type ItemDependabotAlertsRequestBuilderGetQueryParameters struct {
	// A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	After *string `uriparametername:"after"`
	// A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Before *string `uriparametername:"before"`
	// The direction to sort the results by.
	Direction *i2a9b242c816cd3407964bab8573864203d494f3b0754df96c1843fd975098c4a.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/enterprise-server@3.11/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 *i2a9b242c816cd3407964bab8573864203d494f3b0754df96c1843fd975098c4a.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 *i2a9b242c816cd3407964bab8573864203d494f3b0754df96c1843fd975098c4a.GetSortQueryParameterType `uriparametername:"sort"`
	// A comma-separated list of states. If specified, only alerts with these states will be returned.Can be: `auto_dismissed`, `dismissed`, `fixed`, `open`
	State *string `uriparametername:"state"`
}

ItemDependabotAlertsRequestBuilderGetQueryParameters lists Dependabot alerts for an organization.The authenticated user must be an owner or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.

type ItemDependabotRequestBuilder

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

func NewItemDependabotRequestBuilder

NewItemDependabotRequestBuilder instantiates a new ItemDependabotRequestBuilder and sets the default values.

func NewItemDependabotRequestBuilderInternal

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

NewItemDependabotRequestBuilderInternal instantiates a new ItemDependabotRequestBuilder and sets the default values.

func (*ItemDependabotRequestBuilder) Alerts

Alerts the alerts property returns a *ItemDependabotAlertsRequestBuilder when successful

func (*ItemDependabotRequestBuilder) Secrets

Secrets the secrets property returns a *ItemDependabotSecretsRequestBuilder when successful

type ItemDependabotSecretsGetResponse

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

func NewItemDependabotSecretsGetResponse

func NewItemDependabotSecretsGetResponse() *ItemDependabotSecretsGetResponse

NewItemDependabotSecretsGetResponse instantiates a new ItemDependabotSecretsGetResponse and sets the default values.

func (*ItemDependabotSecretsGetResponse) GetAdditionalData

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

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

func (*ItemDependabotSecretsGetResponse) GetFieldDeserializers

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

func (*ItemDependabotSecretsGetResponse) GetSecrets

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

func (*ItemDependabotSecretsGetResponse) GetTotalCount

func (m *ItemDependabotSecretsGetResponse) GetTotalCount() *int32

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

func (*ItemDependabotSecretsGetResponse) Serialize

Serialize serializes information the current object

func (*ItemDependabotSecretsGetResponse) SetAdditionalData

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

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

func (*ItemDependabotSecretsGetResponse) SetSecrets

SetSecrets sets the secrets property value. The secrets property

func (*ItemDependabotSecretsGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemDependabotSecretsItemRepositoriesGetResponse

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

func NewItemDependabotSecretsItemRepositoriesGetResponse

func NewItemDependabotSecretsItemRepositoriesGetResponse() *ItemDependabotSecretsItemRepositoriesGetResponse

NewItemDependabotSecretsItemRepositoriesGetResponse instantiates a new ItemDependabotSecretsItemRepositoriesGetResponse and sets the default values.

func (*ItemDependabotSecretsItemRepositoriesGetResponse) GetAdditionalData

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

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

func (*ItemDependabotSecretsItemRepositoriesGetResponse) GetFieldDeserializers

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

func (*ItemDependabotSecretsItemRepositoriesGetResponse) GetRepositories

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

func (*ItemDependabotSecretsItemRepositoriesGetResponse) GetTotalCount

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

func (*ItemDependabotSecretsItemRepositoriesGetResponse) Serialize

Serialize serializes information the current object

func (*ItemDependabotSecretsItemRepositoriesGetResponse) SetAdditionalData

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

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

func (*ItemDependabotSecretsItemRepositoriesGetResponse) SetRepositories

SetRepositories sets the repositories property value. The repositories property

func (*ItemDependabotSecretsItemRepositoriesGetResponse) SetTotalCount

SetTotalCount sets the total_count property value. The total_count property

type ItemDependabotSecretsItemRepositoriesPutRequestBody

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

func NewItemDependabotSecretsItemRepositoriesPutRequestBody

func NewItemDependabotSecretsItemRepositoriesPutRequestBody() *ItemDependabotSecretsItemRepositoriesPutRequestBody

NewItemDependabotSecretsItemRepositoriesPutRequestBody instantiates a new ItemDependabotSecretsItemRepositoriesPutRequestBody and sets the default values.

func (*ItemDependabotSecretsItemRepositoriesPutRequestBody) GetAdditionalData

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

func (*ItemDependabotSecretsItemRepositoriesPutRequestBody) GetFieldDeserializers

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

func (*ItemDependabotSecretsItemRepositoriesPutRequestBody) GetSelectedRepositoryIds

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

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

func (*ItemDependabotSecretsItemRepositoriesPutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemDependabotSecretsItemRepositoriesPutRequestBody) SetAdditionalData

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

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

func (*ItemDependabotSecretsItemRepositoriesPutRequestBody) SetSelectedRepositoryIds

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

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

type ItemDependabotSecretsItemRepositoriesPutRequestBodyable

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

type ItemDependabotSecretsItemRepositoriesRequestBuilder

type ItemDependabotSecretsItemRepositoriesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemDependabotSecretsItemRepositoriesRequestBuilder builds and executes requests for operations under \orgs\{org}\dependabot\secrets\{secret_name}\repositories

func NewItemDependabotSecretsItemRepositoriesRequestBuilder

NewItemDependabotSecretsItemRepositoriesRequestBuilder instantiates a new ItemDependabotSecretsItemRepositoriesRequestBuilder and sets the default values.

func NewItemDependabotSecretsItemRepositoriesRequestBuilderInternal

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

NewItemDependabotSecretsItemRepositoriesRequestBuilderInternal instantiates a new ItemDependabotSecretsItemRepositoriesRequestBuilder and sets the default values.

func (*ItemDependabotSecretsItemRepositoriesRequestBuilder) ByRepository_id

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

func (*ItemDependabotSecretsItemRepositoriesRequestBuilder) Get

Get lists all repositories that have been selected when the `visibility`for repository access to a secret is set to `selected`.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a ItemDependabotSecretsItemRepositoriesGetResponseable when successful API method documentation

func (*ItemDependabotSecretsItemRepositoriesRequestBuilder) Put

Put replaces all repositories for an organization secret when the `visibility`for repository access is set to `selected`. The visibility is set when you [Createor update an organization secret](https://docs.github.com/enterprise-server@3.11/rest/dependabot/secrets#create-or-update-an-organization-secret).OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemDependabotSecretsItemRepositoriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all repositories that have been selected when the `visibility`for repository access to a secret is set to `selected`.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemDependabotSecretsItemRepositoriesRequestBuilder) ToPutRequestInformation

ToPutRequestInformation replaces all repositories for an organization secret when the `visibility`for repository access is set to `selected`. The visibility is set when you [Createor update an organization secret](https://docs.github.com/enterprise-server@3.11/rest/dependabot/secrets#create-or-update-an-organization-secret).OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemDependabotSecretsItemRepositoriesRequestBuilder) WithUrl

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

type ItemDependabotSecretsItemRepositoriesRequestBuilderGetQueryParameters

type ItemDependabotSecretsItemRepositoriesRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/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 ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder

type ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder

func NewItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder

NewItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder instantiates a new ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder and sets the default values.

func NewItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal

func NewItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder

NewItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal instantiates a new ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder and sets the default values.

func (*ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Delete

Delete removes a repository from an organization secret when the `visibility`for repository access is set to `selected`. The visibility is set when you [Createor update an organization secret](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/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/enterprise-server@3.11/rest/dependabot/secrets#create-or-update-an-organization-secret).OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation adds a repository to an organization secret when the `visibility` forrepository access is set to `selected`. The visibility is set when you [Create orupdate an organization secret](https://docs.github.com/enterprise-server@3.11/rest/dependabot/secrets#create-or-update-an-organization-secret).OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) WithUrl

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

type ItemDependabotSecretsItemWithSecret_namePutRequestBody

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

func NewItemDependabotSecretsItemWithSecret_namePutRequestBody

func NewItemDependabotSecretsItemWithSecret_namePutRequestBody() *ItemDependabotSecretsItemWithSecret_namePutRequestBody

NewItemDependabotSecretsItemWithSecret_namePutRequestBody instantiates a new ItemDependabotSecretsItemWithSecret_namePutRequestBody and sets the default values.

func (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetAdditionalData

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

func (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue

GetEncryptedValue gets the encrypted_value property value. Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/enterprise-server@3.11/rest/dependabot/secrets#get-an-organization-public-key) endpoint. returns a *string when successful

func (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers

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

func (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetKeyId

GetKeyId gets the key_id property value. ID of the key you used to encrypt the secret. returns a *string when successful

func (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetSelectedRepositoryIds

func (m *ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetSelectedRepositoryIds() []string

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

func (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) SetAdditionalData

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

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

func (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) SetEncryptedValue

SetEncryptedValue sets the encrypted_value property value. Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.11/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/enterprise-server@3.11/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.

type ItemDependabotSecretsItemWithSecret_namePutRequestBodyable

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

type ItemDependabotSecretsPublicKeyRequestBuilder

type ItemDependabotSecretsPublicKeyRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemDependabotSecretsPublicKeyRequestBuilder

NewItemDependabotSecretsPublicKeyRequestBuilder instantiates a new ItemDependabotSecretsPublicKeyRequestBuilder and sets the default values.

func NewItemDependabotSecretsPublicKeyRequestBuilderInternal

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

NewItemDependabotSecretsPublicKeyRequestBuilderInternal instantiates a new ItemDependabotSecretsPublicKeyRequestBuilder and sets the default values.

func (*ItemDependabotSecretsPublicKeyRequestBuilder) Get

Get gets your public key, which you need to encrypt secrets. You need toencrypt a secret before you can create or update secrets.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a DependabotPublicKeyable when successful API method documentation

func (*ItemDependabotSecretsPublicKeyRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets your public key, which you need to encrypt secrets. You need toencrypt a secret before you can create or update secrets.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemDependabotSecretsPublicKeyRequestBuilder) WithUrl

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

type ItemDependabotSecretsRequestBuilder

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

func NewItemDependabotSecretsRequestBuilder

NewItemDependabotSecretsRequestBuilder instantiates a new ItemDependabotSecretsRequestBuilder and sets the default values.

func NewItemDependabotSecretsRequestBuilderInternal

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

NewItemDependabotSecretsRequestBuilderInternal instantiates a new ItemDependabotSecretsRequestBuilder and sets the default values.

func (*ItemDependabotSecretsRequestBuilder) BySecret_name

BySecret_name gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.dependabot.secrets.item collection returns a *ItemDependabotSecretsWithSecret_nameItemRequestBuilder when successful

func (*ItemDependabotSecretsRequestBuilder) Get

Get lists all secrets available in an organization without revealing theirencrypted values.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a ItemDependabotSecretsGetResponseable when successful API method documentation

func (*ItemDependabotSecretsRequestBuilder) PublicKey

PublicKey the publicKey property returns a *ItemDependabotSecretsPublicKeyRequestBuilder when successful

func (*ItemDependabotSecretsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all secrets available in an organization without revealing theirencrypted values.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemDependabotSecretsRequestBuilder) WithUrl

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

type ItemDependabotSecretsRequestBuilderGetQueryParameters

type ItemDependabotSecretsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/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 ItemDependabotSecretsWithSecret_nameItemRequestBuilder

type ItemDependabotSecretsWithSecret_nameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemDependabotSecretsWithSecret_nameItemRequestBuilder

func NewItemDependabotSecretsWithSecret_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsWithSecret_nameItemRequestBuilder

NewItemDependabotSecretsWithSecret_nameItemRequestBuilder instantiates a new ItemDependabotSecretsWithSecret_nameItemRequestBuilder and sets the default values.

func NewItemDependabotSecretsWithSecret_nameItemRequestBuilderInternal

func NewItemDependabotSecretsWithSecret_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsWithSecret_nameItemRequestBuilder

NewItemDependabotSecretsWithSecret_nameItemRequestBuilderInternal instantiates a new ItemDependabotSecretsWithSecret_nameItemRequestBuilder and sets the default values.

func (*ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Delete

Delete deletes a secret in an organization using the secret name.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. API method documentation

func (*ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Get

Get gets a single organization secret without revealing its encrypted value.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a OrganizationDependabotSecretable when successful API method documentation

func (*ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Put

Put creates or updates an organization secret with an encrypted value. Encrypt your secret using[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/enterprise-server@3.11/rest/guides/encrypting-secrets-for-the-rest-api)."OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a EmptyObjectable when successful API method documentation

func (*ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Repositories

Repositories the repositories property returns a *ItemDependabotSecretsItemRepositoriesRequestBuilder when successful

func (*ItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a secret in an organization using the secret name.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a single organization secret without revealing its encrypted value.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation creates or updates an organization secret with an encrypted value. Encrypt your secret using[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/enterprise-server@3.11/rest/guides/encrypting-secrets-for-the-rest-api)."OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemDependabotSecretsWithSecret_nameItemRequestBuilder) WithUrl

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

type ItemDockerConflictsRequestBuilder

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

func NewItemDockerConflictsRequestBuilder

NewItemDockerConflictsRequestBuilder instantiates a new ItemDockerConflictsRequestBuilder and sets the default values.

func NewItemDockerConflictsRequestBuilderInternal

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

NewItemDockerConflictsRequestBuilderInternal instantiates a new ItemDockerConflictsRequestBuilder and sets the default values.

func (*ItemDockerConflictsRequestBuilder) Get

Get lists all packages that are in a specific organization, are readable by the requesting user, and that encountered a conflict during a Docker migration.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. returns a []PackageEscapedable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code API method documentation

func (*ItemDockerConflictsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all packages that are in a specific organization, are readable by the requesting user, and that encountered a conflict during a Docker migration.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemDockerConflictsRequestBuilder) WithUrl

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

type ItemDockerRequestBuilder

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

func NewItemDockerRequestBuilder

NewItemDockerRequestBuilder instantiates a new ItemDockerRequestBuilder and sets the default values.

func NewItemDockerRequestBuilderInternal

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

NewItemDockerRequestBuilderInternal instantiates a new ItemDockerRequestBuilder and sets the default values.

func (*ItemDockerRequestBuilder) Conflicts

Conflicts the conflicts property returns a *ItemDockerConflictsRequestBuilder when successful

type ItemEventsRequestBuilder

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

func NewItemEventsRequestBuilder

NewItemEventsRequestBuilder instantiates a new ItemEventsRequestBuilder and sets the default values.

func NewItemEventsRequestBuilderInternal

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

NewItemEventsRequestBuilderInternal instantiates a new ItemEventsRequestBuilder and sets the default values.

func (*ItemEventsRequestBuilder) Get

Get > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. returns a []Eventable when successful API method documentation

func (*ItemEventsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. returns a *RequestInformation when successful

func (*ItemEventsRequestBuilder) WithUrl

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

type ItemEventsRequestBuilderGetQueryParameters

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

ItemEventsRequestBuilderGetQueryParameters > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.

type ItemExternalGroupRequestBuilder

ItemExternalGroupRequestBuilder builds and executes requests for operations under \orgs\{org}\external-group

func NewItemExternalGroupRequestBuilder

NewItemExternalGroupRequestBuilder instantiates a new ItemExternalGroupRequestBuilder and sets the default values.

func NewItemExternalGroupRequestBuilderInternal

func NewItemExternalGroupRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemExternalGroupRequestBuilder

NewItemExternalGroupRequestBuilderInternal instantiates a new ItemExternalGroupRequestBuilder and sets the default values.

func (*ItemExternalGroupRequestBuilder) ByGroup_id

ByGroup_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.externalGroup.item collection returns a *ItemExternalGroupWithGroup_ItemRequestBuilder when successful

type ItemExternalGroupWithGroup_ItemRequestBuilder

type ItemExternalGroupWithGroup_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemExternalGroupWithGroup_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\external-group\{group_id}

func NewItemExternalGroupWithGroup_ItemRequestBuilder

NewItemExternalGroupWithGroup_ItemRequestBuilder instantiates a new ItemExternalGroupWithGroup_ItemRequestBuilder and sets the default values.

func NewItemExternalGroupWithGroup_ItemRequestBuilderInternal

func NewItemExternalGroupWithGroup_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemExternalGroupWithGroup_ItemRequestBuilder

NewItemExternalGroupWithGroup_ItemRequestBuilderInternal instantiates a new ItemExternalGroupWithGroup_ItemRequestBuilder and sets the default values.

func (*ItemExternalGroupWithGroup_ItemRequestBuilder) Get

Get displays information about the specific group's usage. Provides a list of the group's external members as well as a list of teams that this group is connected to.You can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/enterprise-server@3.11/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation. returns a ExternalGroupable when successful API method documentation

func (*ItemExternalGroupWithGroup_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation displays information about the specific group's usage. Provides a list of the group's external members as well as a list of teams that this group is connected to.You can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/enterprise-server@3.11/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation. returns a *RequestInformation when successful

func (*ItemExternalGroupWithGroup_ItemRequestBuilder) WithUrl

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

type ItemExternalGroupWithGroup_ItemRequestBuilderGetQueryParameters

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

ItemExternalGroupWithGroup_ItemRequestBuilderGetQueryParameters displays information about the specific group's usage. Provides a list of the group's external members as well as a list of teams that this group is connected to.You can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/enterprise-server@3.11/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation.

type ItemExternalGroupsRequestBuilder

ItemExternalGroupsRequestBuilder builds and executes requests for operations under \orgs\{org}\external-groups

func NewItemExternalGroupsRequestBuilder

NewItemExternalGroupsRequestBuilder instantiates a new ItemExternalGroupsRequestBuilder and sets the default values.

func NewItemExternalGroupsRequestBuilderInternal

func NewItemExternalGroupsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemExternalGroupsRequestBuilder

NewItemExternalGroupsRequestBuilderInternal instantiates a new ItemExternalGroupsRequestBuilder and sets the default values.

func (*ItemExternalGroupsRequestBuilder) Get

Get lists external groups available in an organization. You can query the groups using the `display_name` parameter, only groups with a `group_name` containing the text provided in the `display_name` parameter will be returned. You can also limit your page results using the `per_page` parameter. GitHub Enterprise Server generates a url-encoded `page` token using a cursor value for where the next page begins. For more information on cursor pagination, see "[Offset and Cursor Pagination explained](https://dev.to/jackmarchant/offset-and-cursor-pagination-explained-b89)."You can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/enterprise-server@3.11/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation. returns a ExternalGroupsable when successful API method documentation

func (*ItemExternalGroupsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists external groups available in an organization. You can query the groups using the `display_name` parameter, only groups with a `group_name` containing the text provided in the `display_name` parameter will be returned. You can also limit your page results using the `per_page` parameter. GitHub Enterprise Server generates a url-encoded `page` token using a cursor value for where the next page begins. For more information on cursor pagination, see "[Offset and Cursor Pagination explained](https://dev.to/jackmarchant/offset-and-cursor-pagination-explained-b89)."You can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/enterprise-server@3.11/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation. returns a *RequestInformation when successful

func (*ItemExternalGroupsRequestBuilder) WithUrl

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

type ItemExternalGroupsRequestBuilderGetQueryParameters

type ItemExternalGroupsRequestBuilderGetQueryParameters struct {
	// Limits the list to groups containing the text in the group name
	Display_name *string `uriparametername:"display_name"`
	// Page token
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemExternalGroupsRequestBuilderGetQueryParameters lists external groups available in an organization. You can query the groups using the `display_name` parameter, only groups with a `group_name` containing the text provided in the `display_name` parameter will be returned. You can also limit your page results using the `per_page` parameter. GitHub Enterprise Server generates a url-encoded `page` token using a cursor value for where the next page begins. For more information on cursor pagination, see "[Offset and Cursor Pagination explained](https://dev.to/jackmarchant/offset-and-cursor-pagination-explained-b89)."You can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/enterprise-server@3.11/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation.

type ItemHooksItemConfigPatchRequestBody

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

func NewItemHooksItemConfigPatchRequestBody

func NewItemHooksItemConfigPatchRequestBody() *ItemHooksItemConfigPatchRequestBody

NewItemHooksItemConfigPatchRequestBody instantiates a new ItemHooksItemConfigPatchRequestBody and sets the default values.

func (*ItemHooksItemConfigPatchRequestBody) GetAdditionalData

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

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

func (*ItemHooksItemConfigPatchRequestBody) GetContentType

func (m *ItemHooksItemConfigPatchRequestBody) GetContentType() *string

GetContentType gets the content_type property value. The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`. returns a *string when successful

func (*ItemHooksItemConfigPatchRequestBody) GetFieldDeserializers

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

func (*ItemHooksItemConfigPatchRequestBody) GetInsecureSsl

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

func (*ItemHooksItemConfigPatchRequestBody) GetSecret

GetSecret gets the secret property value. If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-server@3.11/webhooks/event-payloads/#delivery-headers). returns a *string when successful

func (*ItemHooksItemConfigPatchRequestBody) GetUrl

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

func (*ItemHooksItemConfigPatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemHooksItemConfigPatchRequestBody) SetAdditionalData

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

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

func (*ItemHooksItemConfigPatchRequestBody) SetContentType

func (m *ItemHooksItemConfigPatchRequestBody) SetContentType(value *string)

SetContentType sets the content_type property value. The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.

func (*ItemHooksItemConfigPatchRequestBody) SetInsecureSsl

SetInsecureSsl sets the insecure_ssl property value. The insecure_ssl property

func (*ItemHooksItemConfigPatchRequestBody) SetSecret

func (m *ItemHooksItemConfigPatchRequestBody) SetSecret(value *string)

SetSecret sets the secret property value. If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-server@3.11/webhooks/event-payloads/#delivery-headers).

func (*ItemHooksItemConfigPatchRequestBody) SetUrl

func (m *ItemHooksItemConfigPatchRequestBody) SetUrl(value *string)

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

type ItemHooksItemConfigRequestBuilder

ItemHooksItemConfigRequestBuilder builds and executes requests for operations under \orgs\{org}\hooks\{hook_id}\config

func NewItemHooksItemConfigRequestBuilder

NewItemHooksItemConfigRequestBuilder instantiates a new ItemHooksItemConfigRequestBuilder and sets the default values.

func NewItemHooksItemConfigRequestBuilderInternal

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

NewItemHooksItemConfigRequestBuilderInternal instantiates a new ItemHooksItemConfigRequestBuilder and sets the default values.

func (*ItemHooksItemConfigRequestBuilder) Get

Get returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use "[Get an organization webhook ](/rest/orgs/webhooks#get-an-organization-webhook)."You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a WebhookConfigable when successful API method documentation

func (*ItemHooksItemConfigRequestBuilder) Patch

Patch updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use "[Update an organization webhook ](/rest/orgs/webhooks#update-an-organization-webhook)."You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a WebhookConfigable when successful API method documentation

func (*ItemHooksItemConfigRequestBuilder) ToGetRequestInformation

ToGetRequestInformation returns the webhook configuration for an organization. To get more information about the webhook, including the `active` state and `events`, use "[Get an organization webhook ](/rest/orgs/webhooks#get-an-organization-webhook)."You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a *RequestInformation when successful

func (*ItemHooksItemConfigRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation updates the webhook configuration for an organization. To update more information about the webhook, including the `active` state and `events`, use "[Update an organization webhook ](/rest/orgs/webhooks#update-an-organization-webhook)."You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a *RequestInformation when successful

func (*ItemHooksItemConfigRequestBuilder) WithUrl

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

type ItemHooksItemDeliveriesItemAttemptsPostResponse

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

func NewItemHooksItemDeliveriesItemAttemptsPostResponse

func NewItemHooksItemDeliveriesItemAttemptsPostResponse() *ItemHooksItemDeliveriesItemAttemptsPostResponse

NewItemHooksItemDeliveriesItemAttemptsPostResponse instantiates a new ItemHooksItemDeliveriesItemAttemptsPostResponse and sets the default values.

func (*ItemHooksItemDeliveriesItemAttemptsPostResponse) GetAdditionalData

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

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

func (*ItemHooksItemDeliveriesItemAttemptsPostResponse) GetFieldDeserializers

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

func (*ItemHooksItemDeliveriesItemAttemptsPostResponse) Serialize

Serialize serializes information the current object

func (*ItemHooksItemDeliveriesItemAttemptsPostResponse) SetAdditionalData

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

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

type ItemHooksItemDeliveriesItemAttemptsRequestBuilder

type ItemHooksItemDeliveriesItemAttemptsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemHooksItemDeliveriesItemAttemptsRequestBuilder builds and executes requests for operations under \orgs\{org}\hooks\{hook_id}\deliveries\{delivery_id}\attempts

func NewItemHooksItemDeliveriesItemAttemptsRequestBuilder

NewItemHooksItemDeliveriesItemAttemptsRequestBuilder instantiates a new ItemHooksItemDeliveriesItemAttemptsRequestBuilder and sets the default values.

func NewItemHooksItemDeliveriesItemAttemptsRequestBuilderInternal

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

NewItemHooksItemDeliveriesItemAttemptsRequestBuilderInternal instantiates a new ItemHooksItemDeliveriesItemAttemptsRequestBuilder and sets the default values.

func (*ItemHooksItemDeliveriesItemAttemptsRequestBuilder) Post

Post redeliver a delivery for a webhook configured in an organization.You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a ItemHooksItemDeliveriesItemAttemptsPostResponseable when successful returns a BasicError error when the service returns a 400 status code returns a ValidationError error when the service returns a 422 status code API method documentation

func (*ItemHooksItemDeliveriesItemAttemptsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation redeliver a delivery for a webhook configured in an organization.You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a *RequestInformation when successful

func (*ItemHooksItemDeliveriesItemAttemptsRequestBuilder) WithUrl

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

type ItemHooksItemDeliveriesRequestBuilder

type ItemHooksItemDeliveriesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemHooksItemDeliveriesRequestBuilder builds and executes requests for operations under \orgs\{org}\hooks\{hook_id}\deliveries

func NewItemHooksItemDeliveriesRequestBuilder

NewItemHooksItemDeliveriesRequestBuilder instantiates a new ItemHooksItemDeliveriesRequestBuilder and sets the default values.

func NewItemHooksItemDeliveriesRequestBuilderInternal

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

NewItemHooksItemDeliveriesRequestBuilderInternal instantiates a new ItemHooksItemDeliveriesRequestBuilder and sets the default values.

func (*ItemHooksItemDeliveriesRequestBuilder) ByDelivery_id

ByDelivery_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.hooks.item.deliveries.item collection returns a *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder when successful

func (*ItemHooksItemDeliveriesRequestBuilder) Get

Get returns a list of webhook deliveries for a webhook configured in an organization.You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a []HookDeliveryItemable when successful returns a BasicError error when the service returns a 400 status code returns a ValidationError error when the service returns a 422 status code API method documentation

func (*ItemHooksItemDeliveriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation returns a list of webhook deliveries for a webhook configured in an organization.You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a *RequestInformation when successful

func (*ItemHooksItemDeliveriesRequestBuilder) WithUrl

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

type ItemHooksItemDeliveriesRequestBuilderGetQueryParameters

type ItemHooksItemDeliveriesRequestBuilderGetQueryParameters struct {
	// Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous page cursors.
	Cursor *string `uriparametername:"cursor"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page   *int32 `uriparametername:"per_page"`
	Redelivery *bool  `uriparametername:"redelivery"`
}

ItemHooksItemDeliveriesRequestBuilderGetQueryParameters returns a list of webhook deliveries for a webhook configured in an organization.You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.

type ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder

type ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\hooks\{hook_id}\deliveries\{delivery_id}

func NewItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder

func NewItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder

NewItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder instantiates a new ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder and sets the default values.

func NewItemHooksItemDeliveriesWithDelivery_ItemRequestBuilderInternal

func NewItemHooksItemDeliveriesWithDelivery_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder

NewItemHooksItemDeliveriesWithDelivery_ItemRequestBuilderInternal instantiates a new ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder and sets the default values.

func (*ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) Attempts

Attempts the attempts property returns a *ItemHooksItemDeliveriesItemAttemptsRequestBuilder when successful

func (*ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) Get

Get returns a delivery for a webhook configured in an organization.You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a HookDeliveryable when successful returns a BasicError error when the service returns a 400 status code returns a ValidationError error when the service returns a 422 status code API method documentation

func (*ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation returns a delivery for a webhook configured in an organization.You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a *RequestInformation when successful

func (*ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) WithUrl

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

type ItemHooksItemPingsRequestBuilder

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

func NewItemHooksItemPingsRequestBuilder

NewItemHooksItemPingsRequestBuilder instantiates a new ItemHooksItemPingsRequestBuilder and sets the default values.

func NewItemHooksItemPingsRequestBuilderInternal

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

NewItemHooksItemPingsRequestBuilderInternal instantiates a new ItemHooksItemPingsRequestBuilder and sets the default values.

func (*ItemHooksItemPingsRequestBuilder) Post

Post this will trigger a [ping event](https://docs.github.com/enterprise-server@3.11/webhooks/#ping-event)to be sent to the hook.You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemHooksItemPingsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation this will trigger a [ping event](https://docs.github.com/enterprise-server@3.11/webhooks/#ping-event)to be sent to the hook.You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a *RequestInformation when successful

func (*ItemHooksItemPingsRequestBuilder) WithUrl

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

type ItemHooksItemWithHook_PatchRequestBody

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

func NewItemHooksItemWithHook_PatchRequestBody

func NewItemHooksItemWithHook_PatchRequestBody() *ItemHooksItemWithHook_PatchRequestBody

NewItemHooksItemWithHook_PatchRequestBody instantiates a new ItemHooksItemWithHook_PatchRequestBody and sets the default values.

func (*ItemHooksItemWithHook_PatchRequestBody) GetActive

GetActive gets the active property value. Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. returns a *bool when successful

func (*ItemHooksItemWithHook_PatchRequestBody) GetAdditionalData

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

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

func (*ItemHooksItemWithHook_PatchRequestBody) GetConfig

GetConfig gets the config property value. Key/value pairs to provide settings for this webhook. returns a ItemHooksItemWithHook_PatchRequestBody_configable when successful

func (*ItemHooksItemWithHook_PatchRequestBody) GetEvents

GetEvents gets the events property value. Determines what [events](https://docs.github.com/enterprise-server@3.11/webhooks/event-payloads) the hook is triggered for. returns a []string when successful

func (*ItemHooksItemWithHook_PatchRequestBody) GetFieldDeserializers

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

func (*ItemHooksItemWithHook_PatchRequestBody) GetName

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

func (*ItemHooksItemWithHook_PatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemHooksItemWithHook_PatchRequestBody) SetActive

func (m *ItemHooksItemWithHook_PatchRequestBody) SetActive(value *bool)

SetActive sets the active property value. Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.

func (*ItemHooksItemWithHook_PatchRequestBody) SetAdditionalData

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

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

func (*ItemHooksItemWithHook_PatchRequestBody) SetConfig

SetConfig sets the config property value. Key/value pairs to provide settings for this webhook.

func (*ItemHooksItemWithHook_PatchRequestBody) SetEvents

func (m *ItemHooksItemWithHook_PatchRequestBody) SetEvents(value []string)

SetEvents sets the events property value. Determines what [events](https://docs.github.com/enterprise-server@3.11/webhooks/event-payloads) the hook is triggered for.

func (*ItemHooksItemWithHook_PatchRequestBody) SetName

SetName sets the name property value. The name property

type ItemHooksItemWithHook_PatchRequestBody_config

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

ItemHooksItemWithHook_PatchRequestBody_config key/value pairs to provide settings for this webhook.

func NewItemHooksItemWithHook_PatchRequestBody_config

func NewItemHooksItemWithHook_PatchRequestBody_config() *ItemHooksItemWithHook_PatchRequestBody_config

NewItemHooksItemWithHook_PatchRequestBody_config instantiates a new ItemHooksItemWithHook_PatchRequestBody_config and sets the default values.

func (*ItemHooksItemWithHook_PatchRequestBody_config) GetAdditionalData

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

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

func (*ItemHooksItemWithHook_PatchRequestBody_config) GetContentType

GetContentType gets the content_type property value. The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`. returns a *string when successful

func (*ItemHooksItemWithHook_PatchRequestBody_config) GetFieldDeserializers

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

func (*ItemHooksItemWithHook_PatchRequestBody_config) GetInsecureSsl

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

func (*ItemHooksItemWithHook_PatchRequestBody_config) GetSecret

GetSecret gets the secret property value. If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-server@3.11/webhooks/event-payloads/#delivery-headers). returns a *string when successful

func (*ItemHooksItemWithHook_PatchRequestBody_config) GetUrl

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

func (*ItemHooksItemWithHook_PatchRequestBody_config) Serialize

Serialize serializes information the current object

func (*ItemHooksItemWithHook_PatchRequestBody_config) SetAdditionalData

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

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

func (*ItemHooksItemWithHook_PatchRequestBody_config) SetContentType

func (m *ItemHooksItemWithHook_PatchRequestBody_config) SetContentType(value *string)

SetContentType sets the content_type property value. The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.

func (*ItemHooksItemWithHook_PatchRequestBody_config) SetInsecureSsl

SetInsecureSsl sets the insecure_ssl property value. The insecure_ssl property

func (*ItemHooksItemWithHook_PatchRequestBody_config) SetSecret

SetSecret sets the secret property value. If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-server@3.11/webhooks/event-payloads/#delivery-headers).

func (*ItemHooksItemWithHook_PatchRequestBody_config) SetUrl

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

type ItemHooksPostRequestBody

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

func NewItemHooksPostRequestBody

func NewItemHooksPostRequestBody() *ItemHooksPostRequestBody

NewItemHooksPostRequestBody instantiates a new ItemHooksPostRequestBody and sets the default values.

func (*ItemHooksPostRequestBody) GetActive

func (m *ItemHooksPostRequestBody) GetActive() *bool

GetActive gets the active property value. Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. returns a *bool when successful

func (*ItemHooksPostRequestBody) GetAdditionalData

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

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

func (*ItemHooksPostRequestBody) GetConfig

GetConfig gets the config property value. Key/value pairs to provide settings for this webhook. returns a ItemHooksPostRequestBody_configable when successful

func (*ItemHooksPostRequestBody) GetEvents

func (m *ItemHooksPostRequestBody) GetEvents() []string

GetEvents gets the events property value. Determines what [events](https://docs.github.com/enterprise-server@3.11/webhooks/event-payloads) the hook is triggered for. Set to `["*"]` to receive all possible events. returns a []string when successful

func (*ItemHooksPostRequestBody) GetFieldDeserializers

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

func (*ItemHooksPostRequestBody) GetName

func (m *ItemHooksPostRequestBody) GetName() *string

GetName gets the name property value. Must be passed as "web". returns a *string when successful

func (*ItemHooksPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemHooksPostRequestBody) SetActive

func (m *ItemHooksPostRequestBody) SetActive(value *bool)

SetActive sets the active property value. Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.

func (*ItemHooksPostRequestBody) SetAdditionalData

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

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

func (*ItemHooksPostRequestBody) SetConfig

SetConfig sets the config property value. Key/value pairs to provide settings for this webhook.

func (*ItemHooksPostRequestBody) SetEvents

func (m *ItemHooksPostRequestBody) SetEvents(value []string)

SetEvents sets the events property value. Determines what [events](https://docs.github.com/enterprise-server@3.11/webhooks/event-payloads) the hook is triggered for. Set to `["*"]` to receive all possible events.

func (*ItemHooksPostRequestBody) SetName

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

SetName sets the name property value. Must be passed as "web".

type ItemHooksPostRequestBody_config

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

ItemHooksPostRequestBody_config key/value pairs to provide settings for this webhook.

func NewItemHooksPostRequestBody_config

func NewItemHooksPostRequestBody_config() *ItemHooksPostRequestBody_config

NewItemHooksPostRequestBody_config instantiates a new ItemHooksPostRequestBody_config and sets the default values.

func (*ItemHooksPostRequestBody_config) GetAdditionalData

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

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

func (*ItemHooksPostRequestBody_config) GetContentType

func (m *ItemHooksPostRequestBody_config) GetContentType() *string

GetContentType gets the content_type property value. The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`. returns a *string when successful

func (*ItemHooksPostRequestBody_config) GetFieldDeserializers

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

func (*ItemHooksPostRequestBody_config) GetInsecureSsl

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

func (*ItemHooksPostRequestBody_config) GetPassword

func (m *ItemHooksPostRequestBody_config) GetPassword() *string

GetPassword gets the password property value. The password property returns a *string when successful

func (*ItemHooksPostRequestBody_config) GetSecret

func (m *ItemHooksPostRequestBody_config) GetSecret() *string

GetSecret gets the secret property value. If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-server@3.11/webhooks/event-payloads/#delivery-headers). returns a *string when successful

func (*ItemHooksPostRequestBody_config) GetUrl

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

func (*ItemHooksPostRequestBody_config) GetUsername

func (m *ItemHooksPostRequestBody_config) GetUsername() *string

GetUsername gets the username property value. The username property returns a *string when successful

func (*ItemHooksPostRequestBody_config) Serialize

Serialize serializes information the current object

func (*ItemHooksPostRequestBody_config) SetAdditionalData

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

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

func (*ItemHooksPostRequestBody_config) SetContentType

func (m *ItemHooksPostRequestBody_config) SetContentType(value *string)

SetContentType sets the content_type property value. The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.

func (*ItemHooksPostRequestBody_config) SetInsecureSsl

SetInsecureSsl sets the insecure_ssl property value. The insecure_ssl property

func (*ItemHooksPostRequestBody_config) SetPassword

func (m *ItemHooksPostRequestBody_config) SetPassword(value *string)

SetPassword sets the password property value. The password property

func (*ItemHooksPostRequestBody_config) SetSecret

func (m *ItemHooksPostRequestBody_config) SetSecret(value *string)

SetSecret sets the secret property value. If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/enterprise-server@3.11/webhooks/event-payloads/#delivery-headers).

func (*ItemHooksPostRequestBody_config) SetUrl

func (m *ItemHooksPostRequestBody_config) SetUrl(value *string)

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

func (*ItemHooksPostRequestBody_config) SetUsername

func (m *ItemHooksPostRequestBody_config) SetUsername(value *string)

SetUsername sets the username property value. The username property

type ItemHooksRequestBuilder

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

func NewItemHooksRequestBuilder

NewItemHooksRequestBuilder instantiates a new ItemHooksRequestBuilder and sets the default values.

func NewItemHooksRequestBuilderInternal

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

NewItemHooksRequestBuilderInternal instantiates a new ItemHooksRequestBuilder and sets the default values.

func (*ItemHooksRequestBuilder) ByHook_id

ByHook_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.hooks.item collection returns a *ItemHooksWithHook_ItemRequestBuilder when successful

func (*ItemHooksRequestBuilder) Get

Get you must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a []OrgHookable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemHooksRequestBuilder) Post

Post create a hook that posts payloads in JSON format.You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, oredit webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a OrgHookable when successful returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation

func (*ItemHooksRequestBuilder) ToGetRequestInformation

ToGetRequestInformation you must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a *RequestInformation when successful

func (*ItemHooksRequestBuilder) ToPostRequestInformation

ToPostRequestInformation create a hook that posts payloads in JSON format.You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, oredit webhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a *RequestInformation when successful

func (*ItemHooksRequestBuilder) WithUrl

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

type ItemHooksRequestBuilderGetQueryParameters

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

ItemHooksRequestBuilderGetQueryParameters you must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.

type ItemHooksWithHook_ItemRequestBuilder

type ItemHooksWithHook_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemHooksWithHook_ItemRequestBuilder

NewItemHooksWithHook_ItemRequestBuilder instantiates a new ItemHooksWithHook_ItemRequestBuilder and sets the default values.

func NewItemHooksWithHook_ItemRequestBuilderInternal

func NewItemHooksWithHook_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksWithHook_ItemRequestBuilder

NewItemHooksWithHook_ItemRequestBuilderInternal instantiates a new ItemHooksWithHook_ItemRequestBuilder and sets the default values.

func (*ItemHooksWithHook_ItemRequestBuilder) Config

Config the config property returns a *ItemHooksItemConfigRequestBuilder when successful

func (*ItemHooksWithHook_ItemRequestBuilder) Delete

Delete you must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemHooksWithHook_ItemRequestBuilder) Deliveries

Deliveries the deliveries property returns a *ItemHooksItemDeliveriesRequestBuilder when successful

func (*ItemHooksWithHook_ItemRequestBuilder) Get

Get returns a webhook configured in an organization. To get only the webhook`config` properties, see "[Get a webhook configuration for an organization](/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization).You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a OrgHookable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemHooksWithHook_ItemRequestBuilder) Patch

Patch updates a webhook configured in an organization. When you update a webhook,the `secret` will be overwritten. If you previously had a `secret` set, you mustprovide the same `secret` or set a new `secret` or the secret will be removed. Ifyou are only updating individual webhook `config` properties, use "[Update a webhookconfiguration for an organization](/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization)".You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a OrgHookable when successful returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation

func (*ItemHooksWithHook_ItemRequestBuilder) Pings

Pings the pings property returns a *ItemHooksItemPingsRequestBuilder when successful

func (*ItemHooksWithHook_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation you must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a *RequestInformation when successful

func (*ItemHooksWithHook_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation returns a webhook configured in an organization. To get only the webhook`config` properties, see "[Get a webhook configuration for an organization](/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization).You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a *RequestInformation when successful

func (*ItemHooksWithHook_ItemRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation updates a webhook configured in an organization. When you update a webhook,the `secret` will be overwritten. If you previously had a `secret` set, you mustprovide the same `secret` or set a new `secret` or the secret will be removed. Ifyou are only updating individual webhook `config` properties, use "[Update a webhookconfiguration for an organization](/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization)".You must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need `admin:org_hook` scope. OAuth apps cannot list, view, or editwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps. returns a *RequestInformation when successful

func (*ItemHooksWithHook_ItemRequestBuilder) WithUrl

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

type ItemInstallationRequestBuilder

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

func NewItemInstallationRequestBuilder

NewItemInstallationRequestBuilder instantiates a new ItemInstallationRequestBuilder and sets the default values.

func NewItemInstallationRequestBuilderInternal

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

NewItemInstallationRequestBuilderInternal instantiates a new ItemInstallationRequestBuilder and sets the default values.

func (*ItemInstallationRequestBuilder) ToGetRequestInformation

ToGetRequestInformation enables an authenticated GitHub App to find the organization's installation information.You must use a [JWT](https://docs.github.com/enterprise-server@3.11/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. returns a *RequestInformation when successful

func (*ItemInstallationRequestBuilder) WithUrl

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

type ItemInstallationsGetResponse

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

func NewItemInstallationsGetResponse

func NewItemInstallationsGetResponse() *ItemInstallationsGetResponse

NewItemInstallationsGetResponse instantiates a new ItemInstallationsGetResponse and sets the default values.

func (*ItemInstallationsGetResponse) GetAdditionalData

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

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

func (*ItemInstallationsGetResponse) GetFieldDeserializers

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

func (*ItemInstallationsGetResponse) GetInstallations

GetInstallations gets the installations property value. The installations property returns a []Installationable when successful

func (*ItemInstallationsGetResponse) GetTotalCount

func (m *ItemInstallationsGetResponse) GetTotalCount() *int32

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

func (*ItemInstallationsGetResponse) Serialize

Serialize serializes information the current object

func (*ItemInstallationsGetResponse) SetAdditionalData

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

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

func (*ItemInstallationsGetResponse) SetInstallations

SetInstallations sets the installations property value. The installations property

func (*ItemInstallationsGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemInstallationsRequestBuilder

ItemInstallationsRequestBuilder builds and executes requests for operations under \orgs\{org}\installations

func NewItemInstallationsRequestBuilder

NewItemInstallationsRequestBuilder instantiates a new ItemInstallationsRequestBuilder and sets the default values.

func NewItemInstallationsRequestBuilderInternal

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

NewItemInstallationsRequestBuilderInternal instantiates a new ItemInstallationsRequestBuilder and sets the default values.

func (*ItemInstallationsRequestBuilder) Get

Get lists all GitHub Apps in an organization. The installation count includesall GitHub Apps installed on repositories in the organization.The authenticated user must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:read` scope to use this endpoint. returns a ItemInstallationsGetResponseable when successful API method documentation

func (*ItemInstallationsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all GitHub Apps in an organization. The installation count includesall GitHub Apps installed on repositories in the organization.The authenticated user must be an organization owner to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:read` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemInstallationsRequestBuilder) WithUrl

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

type ItemInstallationsRequestBuilderGetQueryParameters

type ItemInstallationsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/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 ItemIssuesRequestBuilder

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

func NewItemIssuesRequestBuilder

NewItemIssuesRequestBuilder instantiates a new ItemIssuesRequestBuilder and sets the default values.

func NewItemIssuesRequestBuilderInternal

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

NewItemIssuesRequestBuilderInternal instantiates a new ItemIssuesRequestBuilder and sets the default values.

func (*ItemIssuesRequestBuilder) Get

Get list issues in an organization assigned to the authenticated user.> [!NOTE]> GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/enterprise-server@3.11/rest/pulls/pulls#list-pull-requests)" endpoint.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a []Issueable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemIssuesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list issues in an organization assigned to the authenticated user.> [!NOTE]> GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/enterprise-server@3.11/rest/pulls/pulls#list-pull-requests)" endpoint.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`. returns a *RequestInformation when successful

func (*ItemIssuesRequestBuilder) WithUrl

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

type ItemIssuesRequestBuilderGetQueryParameters

type ItemIssuesRequestBuilderGetQueryParameters struct {
	// The direction to sort the results by.
	Direction *i3083f94f4be18e64320f8760210b4acf15c4d28ef8f71a290d3f94effb959392.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 *i3083f94f4be18e64320f8760210b4acf15c4d28ef8f71a290d3f94effb959392.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/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/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 *i3083f94f4be18e64320f8760210b4acf15c4d28ef8f71a290d3f94effb959392.GetSortQueryParameterType `uriparametername:"sort"`
	// Indicates the state of the issues to return.
	State *i3083f94f4be18e64320f8760210b4acf15c4d28ef8f71a290d3f94effb959392.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 this reason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests by the `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pull request id, use the "[List pull requests](https://docs.github.com/enterprise-server@3.11/rest/pulls/pulls#list-pull-requests)" endpoint.This endpoint supports the following custom media types. For more information, see "[Media types](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types)."- **`application/vnd.github.raw+json`**: Returns the raw markdown body. Response will include `body`. This is the default if you do not pass any specific media type.- **`application/vnd.github.text+json`**: Returns a text only representation of the markdown body. Response will include `body_text`.- **`application/vnd.github.html+json`**: Returns HTML rendered from the body's markdown. Response will include `body_html`.- **`application/vnd.github.full+json`**: Returns raw, text, and HTML representations. Response will include `body`, `body_text`, and `body_html`.

type ItemItemItemWithEnablementPostRequestBody

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

func NewItemItemItemWithEnablementPostRequestBody

func NewItemItemItemWithEnablementPostRequestBody() *ItemItemItemWithEnablementPostRequestBody

NewItemItemItemWithEnablementPostRequestBody instantiates a new ItemItemItemWithEnablementPostRequestBody and sets the default values.

func (*ItemItemItemWithEnablementPostRequestBody) GetAdditionalData

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

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

func (*ItemItemItemWithEnablementPostRequestBody) GetFieldDeserializers

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

func (*ItemItemItemWithEnablementPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemItemItemWithEnablementPostRequestBody) SetAdditionalData

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

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

type ItemItemWithEnablementItemRequestBuilder

type ItemItemWithEnablementItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemItemWithEnablementItemRequestBuilder builds and executes requests for operations under \orgs\{org}\{security_product}\{enablement}

func NewItemItemWithEnablementItemRequestBuilder

NewItemItemWithEnablementItemRequestBuilder instantiates a new ItemItemWithEnablementItemRequestBuilder and sets the default values.

func NewItemItemWithEnablementItemRequestBuilderInternal

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

NewItemItemWithEnablementItemRequestBuilderInternal instantiates a new ItemItemWithEnablementItemRequestBuilder and sets the default values.

func (*ItemItemWithEnablementItemRequestBuilder) Post

Post enables or disables the specified security feature for all eligible repositories in an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.11/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 `admin:org`, `write:org`, or `repo` scopes 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/enterprise-server@3.11/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 `admin:org`, `write:org`, or `repo` scopes to use this endpoint. returns a *RequestInformation when successful

func (*ItemItemWithEnablementItemRequestBuilder) WithUrl

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

type ItemMembersRequestBuilder

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

func NewItemMembersRequestBuilder

NewItemMembersRequestBuilder instantiates a new ItemMembersRequestBuilder and sets the default values.

func NewItemMembersRequestBuilderInternal

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

NewItemMembersRequestBuilderInternal instantiates a new ItemMembersRequestBuilder and sets the default values.

func (*ItemMembersRequestBuilder) ByUsername

ByUsername gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.members.item collection returns a *ItemMembersWithUsernameItemRequestBuilder when successful

func (*ItemMembersRequestBuilder) Get

Get list all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned. returns a []SimpleUserable when successful returns a ValidationError error when the service returns a 422 status code API method documentation

func (*ItemMembersRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned. returns a *RequestInformation when successful

func (*ItemMembersRequestBuilder) WithUrl

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

type ItemMembersRequestBuilderGetQueryParameters

type ItemMembersRequestBuilderGetQueryParameters struct {
	// Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) enabled will be returned. This options is only available for organization owners.
	Filter *i8b389933a1f14fb5f1d8ffa67d6b9f883a5d1c3d09aece2a562db359efa77244.GetFilterQueryParameterType `uriparametername:"filter"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// Filter members returned by their role.
	Role *i8b389933a1f14fb5f1d8ffa67d6b9f883a5d1c3d09aece2a562db359efa77244.GetRoleQueryParameterType `uriparametername:"role"`
}

ItemMembersRequestBuilderGetQueryParameters list all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.

type ItemMembersWithUsernameItemRequestBuilder

type ItemMembersWithUsernameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemMembersWithUsernameItemRequestBuilder

NewItemMembersWithUsernameItemRequestBuilder instantiates a new ItemMembersWithUsernameItemRequestBuilder and sets the default values.

func NewItemMembersWithUsernameItemRequestBuilderInternal

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

NewItemMembersWithUsernameItemRequestBuilderInternal instantiates a new ItemMembersWithUsernameItemRequestBuilder and sets the default values.

func (*ItemMembersWithUsernameItemRequestBuilder) Delete

Delete removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories. returns a BasicError error when the service returns a 403 status code API method documentation

func (*ItemMembersWithUsernameItemRequestBuilder) Get

Get check if a user is, publicly or privately, a member of the organization. API method documentation

func (*ItemMembersWithUsernameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removing a user from this list will remove them from all teams and they will no longer have any access to the organization's repositories. returns a *RequestInformation when successful

func (*ItemMembersWithUsernameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation check if a user is, publicly or privately, a member of the organization. returns a *RequestInformation when successful

func (*ItemMembersWithUsernameItemRequestBuilder) WithUrl

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

type ItemMembershipsItemWithUsernamePutRequestBody

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

func NewItemMembershipsItemWithUsernamePutRequestBody

func NewItemMembershipsItemWithUsernamePutRequestBody() *ItemMembershipsItemWithUsernamePutRequestBody

NewItemMembershipsItemWithUsernamePutRequestBody instantiates a new ItemMembershipsItemWithUsernamePutRequestBody and sets the default values.

func (*ItemMembershipsItemWithUsernamePutRequestBody) GetAdditionalData

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

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

func (*ItemMembershipsItemWithUsernamePutRequestBody) GetFieldDeserializers

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

func (*ItemMembershipsItemWithUsernamePutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemMembershipsItemWithUsernamePutRequestBody) SetAdditionalData

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

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

type ItemMembershipsRequestBuilder

ItemMembershipsRequestBuilder builds and executes requests for operations under \orgs\{org}\memberships

func NewItemMembershipsRequestBuilder

NewItemMembershipsRequestBuilder instantiates a new ItemMembershipsRequestBuilder and sets the default values.

func NewItemMembershipsRequestBuilderInternal

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

NewItemMembershipsRequestBuilderInternal instantiates a new ItemMembershipsRequestBuilder and sets the default values.

func (*ItemMembershipsRequestBuilder) ByUsername

ByUsername gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.memberships.item collection returns a *ItemMembershipsWithUsernameItemRequestBuilder when successful

type ItemMembershipsWithUsernameItemRequestBuilder

type ItemMembershipsWithUsernameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemMembershipsWithUsernameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\memberships\{username}

func NewItemMembershipsWithUsernameItemRequestBuilder

NewItemMembershipsWithUsernameItemRequestBuilder instantiates a new ItemMembershipsWithUsernameItemRequestBuilder and sets the default values.

func NewItemMembershipsWithUsernameItemRequestBuilderInternal

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

NewItemMembershipsWithUsernameItemRequestBuilderInternal instantiates a new ItemMembershipsWithUsernameItemRequestBuilder and sets the default values.

func (*ItemMembershipsWithUsernameItemRequestBuilder) Delete

Delete in order to remove a user's membership with an organization, the authenticated user must be an organization owner.If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases. returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemMembershipsWithUsernameItemRequestBuilder) Get

Get in order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status. returns a OrgMembershipable when successful returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemMembershipsWithUsernameItemRequestBuilder) Put

Put only authenticated organization owners can add a member to the organization or update the member's role.* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.11/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation. * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.**Rate limits**To prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. returns a OrgMembershipable when successful returns a BasicError error when the service returns a 403 status code returns a ValidationError error when the service returns a 422 status code API method documentation

func (*ItemMembershipsWithUsernameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation in order to remove a user's membership with an organization, the authenticated user must be an organization owner.If the specified user is an active member of the organization, this will remove them from the organization. If the specified user has been invited to the organization, this will cancel their invitation. The specified user will receive an email notification in both cases. returns a *RequestInformation when successful

func (*ItemMembershipsWithUsernameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation in order to get a user's membership with an organization, the authenticated user must be an organization member. The `state` parameter in the response can be used to identify the user's membership status. returns a *RequestInformation when successful

func (*ItemMembershipsWithUsernameItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation only authenticated organization owners can add a member to the organization or update the member's role.* If the authenticated user is _adding_ a member to the organization, the invited user will receive an email inviting them to the organization. The user's [membership status](https://docs.github.com/enterprise-server@3.11/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation. * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.**Rate limits**To prevent abuse, organization owners are limited to creating 50 organization invitations for an organization within a 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. returns a *RequestInformation when successful

func (*ItemMembershipsWithUsernameItemRequestBuilder) WithUrl

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

type ItemMigrationsItemArchiveRequestBuilder

type ItemMigrationsItemArchiveRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemMigrationsItemArchiveRequestBuilder builds and executes requests for operations under \orgs\{org}\migrations\{migration_id}\archive

func NewItemMigrationsItemArchiveRequestBuilder

NewItemMigrationsItemArchiveRequestBuilder instantiates a new ItemMigrationsItemArchiveRequestBuilder and sets the default values.

func NewItemMigrationsItemArchiveRequestBuilderInternal

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

NewItemMigrationsItemArchiveRequestBuilderInternal instantiates a new ItemMigrationsItemArchiveRequestBuilder and sets the default values.

func (*ItemMigrationsItemArchiveRequestBuilder) Delete

Delete deletes a previous migration archive. Migration archives are automatically deleted after seven days. returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemMigrationsItemArchiveRequestBuilder) Get

Get fetches the URL to a migration archive. returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemMigrationsItemArchiveRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a previous migration archive. Migration archives are automatically deleted after seven days. returns a *RequestInformation when successful

func (*ItemMigrationsItemArchiveRequestBuilder) ToGetRequestInformation

ToGetRequestInformation fetches the URL to a migration archive. returns a *RequestInformation when successful

func (*ItemMigrationsItemArchiveRequestBuilder) WithUrl

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

type ItemMigrationsItemReposItemLockRequestBuilder

type ItemMigrationsItemReposItemLockRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemMigrationsItemReposItemLockRequestBuilder builds and executes requests for operations under \orgs\{org}\migrations\{migration_id}\repos\{repo_name}\lock

func NewItemMigrationsItemReposItemLockRequestBuilder

NewItemMigrationsItemReposItemLockRequestBuilder instantiates a new ItemMigrationsItemReposItemLockRequestBuilder and sets the default values.

func NewItemMigrationsItemReposItemLockRequestBuilderInternal

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

NewItemMigrationsItemReposItemLockRequestBuilderInternal instantiates a new ItemMigrationsItemReposItemLockRequestBuilder and sets the default values.

func (*ItemMigrationsItemReposItemLockRequestBuilder) Delete

Delete unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/enterprise-server@3.11/rest/repos/repos#delete-a-repository) when the migration is complete and you no longer need the source data. returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemMigrationsItemReposItemLockRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/enterprise-server@3.11/rest/repos/repos#delete-a-repository) when the migration is complete and you no longer need the source data. returns a *RequestInformation when successful

func (*ItemMigrationsItemReposItemLockRequestBuilder) WithUrl

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

type ItemMigrationsItemReposRequestBuilder

type ItemMigrationsItemReposRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemMigrationsItemReposRequestBuilder builds and executes requests for operations under \orgs\{org}\migrations\{migration_id}\repos

func NewItemMigrationsItemReposRequestBuilder

NewItemMigrationsItemReposRequestBuilder instantiates a new ItemMigrationsItemReposRequestBuilder and sets the default values.

func NewItemMigrationsItemReposRequestBuilderInternal

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

NewItemMigrationsItemReposRequestBuilderInternal instantiates a new ItemMigrationsItemReposRequestBuilder and sets the default values.

func (*ItemMigrationsItemReposRequestBuilder) ByRepo_name

ByRepo_name gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.migrations.item.repos.item collection returns a *ItemMigrationsItemReposWithRepo_nameItemRequestBuilder when successful

type ItemMigrationsItemReposWithRepo_nameItemRequestBuilder

type ItemMigrationsItemReposWithRepo_nameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemMigrationsItemReposWithRepo_nameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\migrations\{migration_id}\repos\{repo_name}

func NewItemMigrationsItemReposWithRepo_nameItemRequestBuilder

func NewItemMigrationsItemReposWithRepo_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsItemReposWithRepo_nameItemRequestBuilder

NewItemMigrationsItemReposWithRepo_nameItemRequestBuilder instantiates a new ItemMigrationsItemReposWithRepo_nameItemRequestBuilder and sets the default values.

func NewItemMigrationsItemReposWithRepo_nameItemRequestBuilderInternal

func NewItemMigrationsItemReposWithRepo_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsItemReposWithRepo_nameItemRequestBuilder

NewItemMigrationsItemReposWithRepo_nameItemRequestBuilderInternal instantiates a new ItemMigrationsItemReposWithRepo_nameItemRequestBuilder and sets the default values.

func (*ItemMigrationsItemReposWithRepo_nameItemRequestBuilder) Lock

Lock the lock property returns a *ItemMigrationsItemReposItemLockRequestBuilder when successful

type ItemMigrationsItemRepositoriesRequestBuilder

type ItemMigrationsItemRepositoriesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemMigrationsItemRepositoriesRequestBuilder builds and executes requests for operations under \orgs\{org}\migrations\{migration_id}\repositories

func NewItemMigrationsItemRepositoriesRequestBuilder

NewItemMigrationsItemRepositoriesRequestBuilder instantiates a new ItemMigrationsItemRepositoriesRequestBuilder and sets the default values.

func NewItemMigrationsItemRepositoriesRequestBuilderInternal

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

NewItemMigrationsItemRepositoriesRequestBuilderInternal instantiates a new ItemMigrationsItemRepositoriesRequestBuilder and sets the default values.

func (*ItemMigrationsItemRepositoriesRequestBuilder) Get

Get list all the repositories for this organization migration. returns a []MinimalRepositoryable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemMigrationsItemRepositoriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all the repositories for this organization migration. returns a *RequestInformation when successful

func (*ItemMigrationsItemRepositoriesRequestBuilder) WithUrl

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

type ItemMigrationsItemRepositoriesRequestBuilderGetQueryParameters

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

ItemMigrationsItemRepositoriesRequestBuilderGetQueryParameters list all the repositories for this organization migration.

type ItemMigrationsPostRequestBody

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

func NewItemMigrationsPostRequestBody

func NewItemMigrationsPostRequestBody() *ItemMigrationsPostRequestBody

NewItemMigrationsPostRequestBody instantiates a new ItemMigrationsPostRequestBody and sets the default values.

func (*ItemMigrationsPostRequestBody) GetAdditionalData

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

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

func (*ItemMigrationsPostRequestBody) GetExcludeAttachments

func (m *ItemMigrationsPostRequestBody) GetExcludeAttachments() *bool

GetExcludeAttachments gets the exclude_attachments property value. Indicates whether attachments should be excluded from the migration (to reduce migration archive file size). returns a *bool when successful

func (*ItemMigrationsPostRequestBody) GetExcludeGitData

func (m *ItemMigrationsPostRequestBody) GetExcludeGitData() *bool

GetExcludeGitData gets the exclude_git_data property value. Indicates whether the repository git data should be excluded from the migration. returns a *bool when successful

func (*ItemMigrationsPostRequestBody) GetExcludeMetadata

func (m *ItemMigrationsPostRequestBody) GetExcludeMetadata() *bool

GetExcludeMetadata gets the exclude_metadata property value. Indicates whether metadata should be excluded and only git source should be included for the migration. returns a *bool when successful

func (*ItemMigrationsPostRequestBody) GetExcludeOwnerProjects

func (m *ItemMigrationsPostRequestBody) GetExcludeOwnerProjects() *bool

GetExcludeOwnerProjects gets the exclude_owner_projects property value. Indicates whether projects owned by the organization or users should be excluded. from the migration. returns a *bool when successful

func (*ItemMigrationsPostRequestBody) GetExcludeReleases

func (m *ItemMigrationsPostRequestBody) GetExcludeReleases() *bool

GetExcludeReleases gets the exclude_releases property value. Indicates whether releases should be excluded from the migration (to reduce migration archive file size). returns a *bool when successful

func (*ItemMigrationsPostRequestBody) GetFieldDeserializers

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

func (*ItemMigrationsPostRequestBody) GetLockRepositories

func (m *ItemMigrationsPostRequestBody) GetLockRepositories() *bool

GetLockRepositories gets the lock_repositories property value. Indicates whether repositories should be locked (to prevent manipulation) while migrating data. returns a *bool when successful

func (*ItemMigrationsPostRequestBody) GetOrgMetadataOnly

func (m *ItemMigrationsPostRequestBody) GetOrgMetadataOnly() *bool

GetOrgMetadataOnly gets the org_metadata_only property value. Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags). returns a *bool when successful

func (*ItemMigrationsPostRequestBody) GetRepositories

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

GetRepositories gets the repositories property value. A list of arrays indicating which repositories should be migrated. returns a []string when successful

func (*ItemMigrationsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemMigrationsPostRequestBody) SetAdditionalData

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

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

func (*ItemMigrationsPostRequestBody) SetExcludeAttachments

func (m *ItemMigrationsPostRequestBody) SetExcludeAttachments(value *bool)

SetExcludeAttachments sets the exclude_attachments property value. Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).

func (*ItemMigrationsPostRequestBody) SetExcludeGitData

func (m *ItemMigrationsPostRequestBody) SetExcludeGitData(value *bool)

SetExcludeGitData sets the exclude_git_data property value. Indicates whether the repository git data should be excluded from the migration.

func (*ItemMigrationsPostRequestBody) SetExcludeMetadata

func (m *ItemMigrationsPostRequestBody) SetExcludeMetadata(value *bool)

SetExcludeMetadata sets the exclude_metadata property value. Indicates whether metadata should be excluded and only git source should be included for the migration.

func (*ItemMigrationsPostRequestBody) SetExcludeOwnerProjects

func (m *ItemMigrationsPostRequestBody) SetExcludeOwnerProjects(value *bool)

SetExcludeOwnerProjects sets the exclude_owner_projects property value. Indicates whether projects owned by the organization or users should be excluded. from the migration.

func (*ItemMigrationsPostRequestBody) SetExcludeReleases

func (m *ItemMigrationsPostRequestBody) SetExcludeReleases(value *bool)

SetExcludeReleases sets the exclude_releases property value. Indicates whether releases should be excluded from the migration (to reduce migration archive file size).

func (*ItemMigrationsPostRequestBody) SetLockRepositories

func (m *ItemMigrationsPostRequestBody) SetLockRepositories(value *bool)

SetLockRepositories sets the lock_repositories property value. Indicates whether repositories should be locked (to prevent manipulation) while migrating data.

func (*ItemMigrationsPostRequestBody) SetOrgMetadataOnly

func (m *ItemMigrationsPostRequestBody) SetOrgMetadataOnly(value *bool)

SetOrgMetadataOnly sets the org_metadata_only property value. Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).

func (*ItemMigrationsPostRequestBody) SetRepositories

func (m *ItemMigrationsPostRequestBody) SetRepositories(value []string)

SetRepositories sets the repositories property value. A list of arrays indicating which repositories should be migrated.

type ItemMigrationsPostRequestBodyable

type ItemMigrationsPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetExcludeAttachments() *bool
	GetExcludeGitData() *bool
	GetExcludeMetadata() *bool
	GetExcludeOwnerProjects() *bool
	GetExcludeReleases() *bool
	GetLockRepositories() *bool
	GetOrgMetadataOnly() *bool
	GetRepositories() []string
	SetExcludeAttachments(value *bool)
	SetExcludeGitData(value *bool)
	SetExcludeMetadata(value *bool)
	SetExcludeOwnerProjects(value *bool)
	SetExcludeReleases(value *bool)
	SetLockRepositories(value *bool)
	SetOrgMetadataOnly(value *bool)
	SetRepositories(value []string)
}

type ItemMigrationsRequestBuilder

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

func NewItemMigrationsRequestBuilder

NewItemMigrationsRequestBuilder instantiates a new ItemMigrationsRequestBuilder and sets the default values.

func NewItemMigrationsRequestBuilderInternal

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

NewItemMigrationsRequestBuilderInternal instantiates a new ItemMigrationsRequestBuilder and sets the default values.

func (*ItemMigrationsRequestBuilder) ByMigration_id

ByMigration_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.migrations.item collection returns a *ItemMigrationsWithMigration_ItemRequestBuilder when successful

func (*ItemMigrationsRequestBuilder) Get

Get lists the most recent migrations, including both exports (which can be started through the REST API) and imports (which cannot be started using the REST API).A list of `repositories` is only returned for export migrations. returns a []Migrationable when successful API method documentation

func (*ItemMigrationsRequestBuilder) Post

Post initiates the generation of a migration archive.Before you can use this endpoint, you must configure a blob storage provider in the "Migrations" section in the Management Console. For more details, see "[Migrating repositories from GitHub Enterprise Server to GitHub Enterprise Cloud](https://docs.github.com/enterprise-server@3.11/migrations/using-github-enterprise-importer/migrating-repositories-with-github-enterprise-importer/migrating-repositories-from-github-enterprise-server-to-github-enterprise-cloud#step-4-set-up-blob-storage)." returns a Migrationable when successful returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation

func (*ItemMigrationsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the most recent migrations, including both exports (which can be started through the REST API) and imports (which cannot be started using the REST API).A list of `repositories` is only returned for export migrations. returns a *RequestInformation when successful

func (*ItemMigrationsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation initiates the generation of a migration archive.Before you can use this endpoint, you must configure a blob storage provider in the "Migrations" section in the Management Console. For more details, see "[Migrating repositories from GitHub Enterprise Server to GitHub Enterprise Cloud](https://docs.github.com/enterprise-server@3.11/migrations/using-github-enterprise-importer/migrating-repositories-with-github-enterprise-importer/migrating-repositories-from-github-enterprise-server-to-github-enterprise-cloud#step-4-set-up-blob-storage)." returns a *RequestInformation when successful

func (*ItemMigrationsRequestBuilder) WithUrl

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

type ItemMigrationsRequestBuilderGetQueryParameters

type ItemMigrationsRequestBuilderGetQueryParameters struct {
	// Exclude attributes from the API response to improve performance
	Exclude []idb852d204b27766a976dad5566589007cf8893c473cc1a1115d9a28c8fa10fc1.GetExcludeQueryParameterType `uriparametername:"exclude"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemMigrationsRequestBuilderGetQueryParameters lists the most recent migrations, including both exports (which can be started through the REST API) and imports (which cannot be started using the REST API).A list of `repositories` is only returned for export migrations.

type ItemMigrationsWithMigration_ItemRequestBuilder

type ItemMigrationsWithMigration_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemMigrationsWithMigration_ItemRequestBuilder

NewItemMigrationsWithMigration_ItemRequestBuilder instantiates a new ItemMigrationsWithMigration_ItemRequestBuilder and sets the default values.

func NewItemMigrationsWithMigration_ItemRequestBuilderInternal

func NewItemMigrationsWithMigration_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsWithMigration_ItemRequestBuilder

NewItemMigrationsWithMigration_ItemRequestBuilderInternal instantiates a new ItemMigrationsWithMigration_ItemRequestBuilder and sets the default values.

func (*ItemMigrationsWithMigration_ItemRequestBuilder) Archive

Archive the archive property returns a *ItemMigrationsItemArchiveRequestBuilder when successful

func (*ItemMigrationsWithMigration_ItemRequestBuilder) Get

Get fetches the status of a migration.The `state` of a migration can be one of the following values:* `pending`, which means the migration hasn't started yet.* `exporting`, which means the migration is in progress.* `exported`, which means the migration finished successfully.* `failed`, which means the migration failed. returns a Migrationable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemMigrationsWithMigration_ItemRequestBuilder) Repos

Repos the repos property returns a *ItemMigrationsItemReposRequestBuilder when successful

func (*ItemMigrationsWithMigration_ItemRequestBuilder) Repositories

Repositories the repositories property returns a *ItemMigrationsItemRepositoriesRequestBuilder when successful

func (*ItemMigrationsWithMigration_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation fetches the status of a migration.The `state` of a migration can be one of the following values:* `pending`, which means the migration hasn't started yet.* `exporting`, which means the migration is in progress.* `exported`, which means the migration finished successfully.* `failed`, which means the migration failed. returns a *RequestInformation when successful

func (*ItemMigrationsWithMigration_ItemRequestBuilder) WithUrl

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

type ItemMigrationsWithMigration_ItemRequestBuilderGetQueryParameters

type ItemMigrationsWithMigration_ItemRequestBuilderGetQueryParameters struct {
	// Exclude attributes from the API response to improve performance
	Exclude []i7a91ea74f2deba6b335ad5bbe66db0cec71081509fc6c3dbd5e355320d656839.GetExcludeQueryParameterType `uriparametername:"exclude"`
}

ItemMigrationsWithMigration_ItemRequestBuilderGetQueryParameters fetches the status of a migration.The `state` of a migration can be one of the following values:* `pending`, which means the migration hasn't started yet.* `exporting`, which means the migration is in progress.* `exported`, which means the migration finished successfully.* `failed`, which means the migration failed.

type ItemOutside_collaboratorsItemWithUsername422Error

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

func NewItemOutside_collaboratorsItemWithUsername422Error

func NewItemOutside_collaboratorsItemWithUsername422Error() *ItemOutside_collaboratorsItemWithUsername422Error

NewItemOutside_collaboratorsItemWithUsername422Error instantiates a new ItemOutside_collaboratorsItemWithUsername422Error and sets the default values.

func (*ItemOutside_collaboratorsItemWithUsername422Error) Error

Error the primary error message. returns a string when successful

func (*ItemOutside_collaboratorsItemWithUsername422Error) GetAdditionalData

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

func (*ItemOutside_collaboratorsItemWithUsername422Error) GetDocumentationUrl

GetDocumentationUrl gets the documentation_url property value. The documentation_url property returns a *string when successful

func (*ItemOutside_collaboratorsItemWithUsername422Error) GetFieldDeserializers

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

func (*ItemOutside_collaboratorsItemWithUsername422Error) GetMessage

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

func (*ItemOutside_collaboratorsItemWithUsername422Error) Serialize

Serialize serializes information the current object

func (*ItemOutside_collaboratorsItemWithUsername422Error) SetAdditionalData

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

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

func (*ItemOutside_collaboratorsItemWithUsername422Error) SetDocumentationUrl

func (m *ItemOutside_collaboratorsItemWithUsername422Error) SetDocumentationUrl(value *string)

SetDocumentationUrl sets the documentation_url property value. The documentation_url property

func (*ItemOutside_collaboratorsItemWithUsername422Error) SetMessage

SetMessage sets the message property value. The message property

type ItemOutside_collaboratorsItemWithUsername422Errorable

type ItemOutside_collaboratorsItemWithUsername422Errorable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetDocumentationUrl() *string
	GetMessage() *string
	SetDocumentationUrl(value *string)
	SetMessage(value *string)
}

type ItemOutside_collaboratorsItemWithUsernamePutRequestBody

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

func NewItemOutside_collaboratorsItemWithUsernamePutRequestBody

func NewItemOutside_collaboratorsItemWithUsernamePutRequestBody() *ItemOutside_collaboratorsItemWithUsernamePutRequestBody

NewItemOutside_collaboratorsItemWithUsernamePutRequestBody instantiates a new ItemOutside_collaboratorsItemWithUsernamePutRequestBody and sets the default values.

func (*ItemOutside_collaboratorsItemWithUsernamePutRequestBody) GetAdditionalData

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

func (*ItemOutside_collaboratorsItemWithUsernamePutRequestBody) GetAsync

GetAsync gets the async property value. When set to `true`, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued. returns a *bool when successful

func (*ItemOutside_collaboratorsItemWithUsernamePutRequestBody) GetFieldDeserializers

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

func (*ItemOutside_collaboratorsItemWithUsernamePutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemOutside_collaboratorsItemWithUsernamePutRequestBody) SetAdditionalData

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

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

func (*ItemOutside_collaboratorsItemWithUsernamePutRequestBody) SetAsync

SetAsync sets the async property value. When set to `true`, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.

type ItemOutside_collaboratorsItemWithUsernamePutResponse

type ItemOutside_collaboratorsItemWithUsernamePutResponse struct {
}

func NewItemOutside_collaboratorsItemWithUsernamePutResponse

func NewItemOutside_collaboratorsItemWithUsernamePutResponse() *ItemOutside_collaboratorsItemWithUsernamePutResponse

NewItemOutside_collaboratorsItemWithUsernamePutResponse instantiates a new ItemOutside_collaboratorsItemWithUsernamePutResponse and sets the default values.

func (*ItemOutside_collaboratorsItemWithUsernamePutResponse) GetFieldDeserializers

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

func (*ItemOutside_collaboratorsItemWithUsernamePutResponse) Serialize

Serialize serializes information the current object

type ItemOutside_collaboratorsRequestBuilder

type ItemOutside_collaboratorsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemOutside_collaboratorsRequestBuilder builds and executes requests for operations under \orgs\{org}\outside_collaborators

func NewItemOutside_collaboratorsRequestBuilder

NewItemOutside_collaboratorsRequestBuilder instantiates a new ItemOutside_collaboratorsRequestBuilder and sets the default values.

func NewItemOutside_collaboratorsRequestBuilderInternal

func NewItemOutside_collaboratorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOutside_collaboratorsRequestBuilder

NewItemOutside_collaboratorsRequestBuilderInternal instantiates a new ItemOutside_collaboratorsRequestBuilder and sets the default values.

func (*ItemOutside_collaboratorsRequestBuilder) ByUsername

ByUsername gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.outside_collaborators.item collection returns a *ItemOutside_collaboratorsWithUsernameItemRequestBuilder when successful

func (*ItemOutside_collaboratorsRequestBuilder) Get

Get list all users who are outside collaborators of an organization. returns a []SimpleUserable when successful API method documentation

func (*ItemOutside_collaboratorsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all users who are outside collaborators of an organization. returns a *RequestInformation when successful

func (*ItemOutside_collaboratorsRequestBuilder) WithUrl

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

type ItemOutside_collaboratorsRequestBuilderGetQueryParameters

type ItemOutside_collaboratorsRequestBuilderGetQueryParameters struct {
	// Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) enabled will be returned.
	Filter *ifbb2525b91b33f74fabab35be58dac78b55a1bf7037d270547b37be2dbfcaa5f.GetFilterQueryParameterType `uriparametername:"filter"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

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

type ItemOutside_collaboratorsWithUsernameItemRequestBuilder

type ItemOutside_collaboratorsWithUsernameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemOutside_collaboratorsWithUsernameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\outside_collaborators\{username}

func NewItemOutside_collaboratorsWithUsernameItemRequestBuilder

func NewItemOutside_collaboratorsWithUsernameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOutside_collaboratorsWithUsernameItemRequestBuilder

NewItemOutside_collaboratorsWithUsernameItemRequestBuilder instantiates a new ItemOutside_collaboratorsWithUsernameItemRequestBuilder and sets the default values.

func NewItemOutside_collaboratorsWithUsernameItemRequestBuilderInternal

func NewItemOutside_collaboratorsWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOutside_collaboratorsWithUsernameItemRequestBuilder

NewItemOutside_collaboratorsWithUsernameItemRequestBuilderInternal instantiates a new ItemOutside_collaboratorsWithUsernameItemRequestBuilder and sets the default values.

func (*ItemOutside_collaboratorsWithUsernameItemRequestBuilder) Delete

Delete removing a user from this list will remove them from all the organization's repositories. returns a ItemOutside_collaboratorsItemWithUsername422Error error when the service returns a 422 status code API method documentation

func (*ItemOutside_collaboratorsWithUsernameItemRequestBuilder) Put

Put when an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see "[Converting an organization member to an outside collaborator](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)." returns a ItemOutside_collaboratorsItemWithUsernamePutResponseable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemOutside_collaboratorsWithUsernameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removing a user from this list will remove them from all the organization's repositories. returns a *RequestInformation when successful

func (*ItemOutside_collaboratorsWithUsernameItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation when an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see "[Converting an organization member to an outside collaborator](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)." returns a *RequestInformation when successful

func (*ItemOutside_collaboratorsWithUsernameItemRequestBuilder) WithUrl

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

type ItemPackagesItemItemRestoreRequestBuilder

type ItemPackagesItemItemRestoreRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPackagesItemItemRestoreRequestBuilder builds and executes requests for operations under \orgs\{org}\packages\{package_type}\{package_name}\restore

func NewItemPackagesItemItemRestoreRequestBuilder

NewItemPackagesItemItemRestoreRequestBuilder instantiates a new ItemPackagesItemItemRestoreRequestBuilder and sets the default values.

func NewItemPackagesItemItemRestoreRequestBuilderInternal

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

NewItemPackagesItemItemRestoreRequestBuilderInternal instantiates a new ItemPackagesItemItemRestoreRequestBuilder and sets the default values.

func (*ItemPackagesItemItemRestoreRequestBuilder) Post

Post restores an entire package in an organization.You can restore a deleted package under the following conditions: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemPackagesItemItemRestoreRequestBuilder) ToPostRequestInformation

ToPostRequestInformation restores an entire package in an organization.You can restore a deleted package under the following conditions: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful

func (*ItemPackagesItemItemRestoreRequestBuilder) WithUrl

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

type ItemPackagesItemItemRestoreRequestBuilderPostQueryParameters

type ItemPackagesItemItemRestoreRequestBuilderPostQueryParameters struct {
	// package token
	Token *string `uriparametername:"token"`
}

ItemPackagesItemItemRestoreRequestBuilderPostQueryParameters restores an entire package in an organization.You can restore a deleted package under the following conditions: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."

type ItemPackagesItemItemVersionsItemRestoreRequestBuilder

type ItemPackagesItemItemVersionsItemRestoreRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPackagesItemItemVersionsItemRestoreRequestBuilder builds and executes requests for operations under \orgs\{org}\packages\{package_type}\{package_name}\versions\{package_version_id}\restore

func NewItemPackagesItemItemVersionsItemRestoreRequestBuilder

func NewItemPackagesItemItemVersionsItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsItemRestoreRequestBuilder

NewItemPackagesItemItemVersionsItemRestoreRequestBuilder instantiates a new ItemPackagesItemItemVersionsItemRestoreRequestBuilder and sets the default values.

func NewItemPackagesItemItemVersionsItemRestoreRequestBuilderInternal

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

NewItemPackagesItemItemVersionsItemRestoreRequestBuilderInternal instantiates a new ItemPackagesItemItemVersionsItemRestoreRequestBuilder and sets the default values.

func (*ItemPackagesItemItemVersionsItemRestoreRequestBuilder) Post

Post restores a specific package version in an organization.You can restore a deleted package under the following conditions: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemPackagesItemItemVersionsItemRestoreRequestBuilder) ToPostRequestInformation

ToPostRequestInformation restores a specific package version in an organization.You can restore a deleted package under the following conditions: - The package was deleted within the last 30 days. - The same package namespace and version is still available and not reused for a new package. If the same package namespace is not available, you will not be able to restore your package. In this scenario, to restore the deleted package, you must delete the new package that uses the deleted package's namespace first.The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful

func (*ItemPackagesItemItemVersionsItemRestoreRequestBuilder) WithUrl

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

type ItemPackagesItemItemVersionsRequestBuilder

type ItemPackagesItemItemVersionsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPackagesItemItemVersionsRequestBuilder builds and executes requests for operations under \orgs\{org}\packages\{package_type}\{package_name}\versions

func NewItemPackagesItemItemVersionsRequestBuilder

NewItemPackagesItemItemVersionsRequestBuilder instantiates a new ItemPackagesItemItemVersionsRequestBuilder and sets the default values.

func NewItemPackagesItemItemVersionsRequestBuilderInternal

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

NewItemPackagesItemItemVersionsRequestBuilderInternal instantiates a new ItemPackagesItemItemVersionsRequestBuilder and sets the default values.

func (*ItemPackagesItemItemVersionsRequestBuilder) ByPackage_version_id

ByPackage_version_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.packages.item.item.versions.item collection returns a *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder when successful

func (*ItemPackagesItemItemVersionsRequestBuilder) Get

Get lists package versions for a package owned by an organization.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.11/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a []PackageVersionable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemPackagesItemItemVersionsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists package versions for a package owned by an organization.OAuth app tokens and personal access tokens (classic) need the `repo` scope to use this endpoint if the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.11/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful

func (*ItemPackagesItemItemVersionsRequestBuilder) WithUrl

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

type ItemPackagesItemItemVersionsRequestBuilderGetQueryParameters

type ItemPackagesItemItemVersionsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/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 *i27ca9f1306203de0014a14c5b800bc93688c4f937a4b58db0e439daf32ecc11d.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/enterprise-server@3.11/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."

type ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder

type ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\packages\{package_type}\{package_name}\versions\{package_version_id}

func NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder

func NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder

NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder instantiates a new ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder and sets the default values.

func NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderInternal

func NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder

NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderInternal instantiates a new ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder and sets the default values.

func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Delete

Delete deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Get

Get gets a specific package version in an organization.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.11/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a PackageVersionable when successful API method documentation

func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Restore

Restore the restore property returns a *ItemPackagesItemItemVersionsItemRestoreRequestBuilder when successful

func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a specific package version in an organization. If the package is public and the package version has more than 5,000 downloads, you cannot delete the package version. In this scenario, contact GitHub support for further assistance.The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful

func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a specific package version in an organization.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.11/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful

func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) WithUrl

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

type ItemPackagesItemWithPackage_nameItemRequestBuilder

type ItemPackagesItemWithPackage_nameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPackagesItemWithPackage_nameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\packages\{package_type}\{package_name}

func NewItemPackagesItemWithPackage_nameItemRequestBuilder

NewItemPackagesItemWithPackage_nameItemRequestBuilder instantiates a new ItemPackagesItemWithPackage_nameItemRequestBuilder and sets the default values.

func NewItemPackagesItemWithPackage_nameItemRequestBuilderInternal

func NewItemPackagesItemWithPackage_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemWithPackage_nameItemRequestBuilder

NewItemPackagesItemWithPackage_nameItemRequestBuilderInternal instantiates a new ItemPackagesItemWithPackage_nameItemRequestBuilder and sets the default values.

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Delete

Delete deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Get

Get gets a specific package in an organization.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.11/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a PackageEscapedable when successful API method documentation

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Restore

Restore the restore property returns a *ItemPackagesItemItemRestoreRequestBuilder when successful

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes an entire package in an organization. You cannot delete a public package if any version of the package has more than 5,000 downloads. In this scenario, contact GitHub support for further assistance.The authenticated user must have admin permissions in the organization to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, the authenticated user must also have admin permissions to the package. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a specific package in an organization.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.11/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Versions

Versions the versions property returns a *ItemPackagesItemItemVersionsRequestBuilder when successful

func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) WithUrl

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

type ItemPackagesRequestBuilder

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

func NewItemPackagesRequestBuilder

NewItemPackagesRequestBuilder instantiates a new ItemPackagesRequestBuilder and sets the default values.

func NewItemPackagesRequestBuilderInternal

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

NewItemPackagesRequestBuilderInternal instantiates a new ItemPackagesRequestBuilder and sets the default values.

func (*ItemPackagesRequestBuilder) ByPackage_type

ByPackage_type gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.packages.item collection returns a *ItemPackagesWithPackage_typeItemRequestBuilder when successful

func (*ItemPackagesRequestBuilder) Get

Get lists packages in an organization readable by the user.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.11/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a []PackageEscapedable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code API method documentation

func (*ItemPackagesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists packages in an organization readable by the user.OAuth app tokens and personal access tokens (classic) need the `read:packages` scope to use this endpoint. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, the `repo` scope is also required. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/enterprise-server@3.11/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful

func (*ItemPackagesRequestBuilder) WithUrl

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

type ItemPackagesRequestBuilderGetQueryParameters

type ItemPackagesRequestBuilderGetQueryParameters struct {
	// The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry (`ghcr.io`) have the type `container`. You can use the type `docker` to find images that were pushed to GitHub's Docker registry (`docker.pkg.github.com`), even if these have now been migrated to the Container registry.
	Package_type *i74d223953fc64b1e576ea2b85c365b4b0df42293ddedc4b606f1591dab226768.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/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
	Visibility *i74d223953fc64b1e576ea2b85c365b4b0df42293ddedc4b606f1591dab226768.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/enterprise-server@3.11/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."

type ItemPackagesWithPackage_typeItemRequestBuilder

type ItemPackagesWithPackage_typeItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemPackagesWithPackage_typeItemRequestBuilder

NewItemPackagesWithPackage_typeItemRequestBuilder instantiates a new ItemPackagesWithPackage_typeItemRequestBuilder and sets the default values.

func NewItemPackagesWithPackage_typeItemRequestBuilderInternal

func NewItemPackagesWithPackage_typeItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesWithPackage_typeItemRequestBuilder

NewItemPackagesWithPackage_typeItemRequestBuilderInternal instantiates a new ItemPackagesWithPackage_typeItemRequestBuilder and sets the default values.

func (*ItemPackagesWithPackage_typeItemRequestBuilder) ByPackage_name

ByPackage_name gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.packages.item.item collection returns a *ItemPackagesItemWithPackage_nameItemRequestBuilder when successful

type ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder

type ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder builds and executes requests for operations under \orgs\{org}\personal-access-token-requests\{pat_request_id}\repositories

func NewItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder

func NewItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder

NewItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder instantiates a new ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder and sets the default values.

func NewItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderInternal

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

NewItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderInternal instantiates a new ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder and sets the default values.

func (*ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder) Get

Get lists the repositories a fine-grained personal access token request is requesting access to.Only GitHub Apps can use this endpoint. returns a []MinimalRepositoryable when successful returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the repositories a fine-grained personal access token request is requesting access to.Only GitHub Apps can use this endpoint. returns a *RequestInformation when successful

func (*ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder) WithUrl

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

type ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderGetQueryParameters

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

ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderGetQueryParameters lists the repositories a fine-grained personal access token request is requesting access to.Only GitHub Apps can use this endpoint.

type ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody

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

func NewItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody

func NewItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody() *ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody

NewItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody instantiates a new ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody and sets the default values.

func (*ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) GetAdditionalData

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

func (*ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) GetFieldDeserializers

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

func (*ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) GetReason

GetReason gets the reason property value. Reason for approving or denying the request. Max 1024 characters. returns a *string when successful

func (*ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) SetAdditionalData

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

func (*ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) SetReason

SetReason sets the reason property value. Reason for approving or denying the request. Max 1024 characters.

type ItemPersonalAccessTokenRequestsPostRequestBody

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

func NewItemPersonalAccessTokenRequestsPostRequestBody

func NewItemPersonalAccessTokenRequestsPostRequestBody() *ItemPersonalAccessTokenRequestsPostRequestBody

NewItemPersonalAccessTokenRequestsPostRequestBody instantiates a new ItemPersonalAccessTokenRequestsPostRequestBody and sets the default values.

func (*ItemPersonalAccessTokenRequestsPostRequestBody) GetAdditionalData

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

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

func (*ItemPersonalAccessTokenRequestsPostRequestBody) GetFieldDeserializers

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

func (*ItemPersonalAccessTokenRequestsPostRequestBody) GetPatRequestIds

func (m *ItemPersonalAccessTokenRequestsPostRequestBody) GetPatRequestIds() []int32

GetPatRequestIds gets the pat_request_ids property value. Unique identifiers of the requests for access via fine-grained personal access token. Must be formed of between 1 and 100 `pat_request_id` values. returns a []int32 when successful

func (*ItemPersonalAccessTokenRequestsPostRequestBody) GetReason

GetReason gets the reason property value. Reason for approving or denying the requests. Max 1024 characters. returns a *string when successful

func (*ItemPersonalAccessTokenRequestsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemPersonalAccessTokenRequestsPostRequestBody) SetAdditionalData

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

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

func (*ItemPersonalAccessTokenRequestsPostRequestBody) SetPatRequestIds

func (m *ItemPersonalAccessTokenRequestsPostRequestBody) SetPatRequestIds(value []int32)

SetPatRequestIds sets the pat_request_ids property value. Unique identifiers of the requests for access via fine-grained personal access token. Must be formed of between 1 and 100 `pat_request_id` values.

func (*ItemPersonalAccessTokenRequestsPostRequestBody) SetReason

SetReason sets the reason property value. Reason for approving or denying the requests. Max 1024 characters.

type ItemPersonalAccessTokenRequestsPostRequestBodyable

type ItemPersonalAccessTokenRequestsPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetPatRequestIds() []int32
	GetReason() *string
	SetPatRequestIds(value []int32)
	SetReason(value *string)
}

type ItemPersonalAccessTokenRequestsPostResponse

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

func NewItemPersonalAccessTokenRequestsPostResponse

func NewItemPersonalAccessTokenRequestsPostResponse() *ItemPersonalAccessTokenRequestsPostResponse

NewItemPersonalAccessTokenRequestsPostResponse instantiates a new ItemPersonalAccessTokenRequestsPostResponse and sets the default values.

func (*ItemPersonalAccessTokenRequestsPostResponse) GetAdditionalData

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

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

func (*ItemPersonalAccessTokenRequestsPostResponse) GetFieldDeserializers

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

func (*ItemPersonalAccessTokenRequestsPostResponse) Serialize

Serialize serializes information the current object

func (*ItemPersonalAccessTokenRequestsPostResponse) SetAdditionalData

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

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

type ItemPersonalAccessTokenRequestsRequestBuilder

type ItemPersonalAccessTokenRequestsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPersonalAccessTokenRequestsRequestBuilder builds and executes requests for operations under \orgs\{org}\personal-access-token-requests

func NewItemPersonalAccessTokenRequestsRequestBuilder

NewItemPersonalAccessTokenRequestsRequestBuilder instantiates a new ItemPersonalAccessTokenRequestsRequestBuilder and sets the default values.

func NewItemPersonalAccessTokenRequestsRequestBuilderInternal

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

NewItemPersonalAccessTokenRequestsRequestBuilderInternal instantiates a new ItemPersonalAccessTokenRequestsRequestBuilder and sets the default values.

func (*ItemPersonalAccessTokenRequestsRequestBuilder) ByPat_request_id

ByPat_request_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.personalAccessTokenRequests.item collection returns a *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder when successful

func (*ItemPersonalAccessTokenRequestsRequestBuilder) Get

Get lists requests from organization members to access organization resources with a fine-grained personal access token.Only GitHub Apps can use this endpoint. returns a []OrganizationProgrammaticAccessGrantRequestable when successful returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemPersonalAccessTokenRequestsRequestBuilder) Post

Post approves or denies multiple pending requests to access organization resources via a fine-grained personal access token.Only GitHub Apps can use this endpoint. returns a ItemPersonalAccessTokenRequestsPostResponseable when successful returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemPersonalAccessTokenRequestsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists requests from organization members to access organization resources with a fine-grained personal access token.Only GitHub Apps can use this endpoint. returns a *RequestInformation when successful

func (*ItemPersonalAccessTokenRequestsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation approves or denies multiple pending requests to access organization resources via a fine-grained personal access token.Only GitHub Apps can use this endpoint. returns a *RequestInformation when successful

func (*ItemPersonalAccessTokenRequestsRequestBuilder) WithUrl

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

type ItemPersonalAccessTokenRequestsRequestBuilderGetQueryParameters

type ItemPersonalAccessTokenRequestsRequestBuilderGetQueryParameters struct {
	// The direction to sort the results by.
	Direction *ic2d2af54d4fdbd8dd58f2cc717ad5443364b2cc8ac34267bee4289799f9e52a2.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/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/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 *ic2d2af54d4fdbd8dd58f2cc717ad5443364b2cc8ac34267bee4289799f9e52a2.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 ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder

type ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\personal-access-token-requests\{pat_request_id}

func NewItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder

func NewItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder

NewItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder instantiates a new ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder and sets the default values.

func NewItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilderInternal

func NewItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder

NewItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilderInternal instantiates a new ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder and sets the default values.

func (*ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder) Post

Post approves or denies a pending request to access organization resources via a fine-grained personal access token.Only GitHub Apps can use this endpoint. returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder) Repositories

Repositories the repositories property returns a *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder when successful

func (*ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder) ToPostRequestInformation

ToPostRequestInformation approves or denies a pending request to access organization resources via a fine-grained personal access token.Only GitHub Apps can use this endpoint. returns a *RequestInformation when successful

func (*ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder) WithUrl

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

type ItemPersonalAccessTokensItemRepositoriesRequestBuilder

type ItemPersonalAccessTokensItemRepositoriesRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPersonalAccessTokensItemRepositoriesRequestBuilder builds and executes requests for operations under \orgs\{org}\personal-access-tokens\{pat_id}\repositories

func NewItemPersonalAccessTokensItemRepositoriesRequestBuilder

func NewItemPersonalAccessTokensItemRepositoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokensItemRepositoriesRequestBuilder

NewItemPersonalAccessTokensItemRepositoriesRequestBuilder instantiates a new ItemPersonalAccessTokensItemRepositoriesRequestBuilder and sets the default values.

func NewItemPersonalAccessTokensItemRepositoriesRequestBuilderInternal

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

NewItemPersonalAccessTokensItemRepositoriesRequestBuilderInternal instantiates a new ItemPersonalAccessTokensItemRepositoriesRequestBuilder and sets the default values.

func (*ItemPersonalAccessTokensItemRepositoriesRequestBuilder) Get

Get lists the repositories a fine-grained personal access token has access to.Only GitHub Apps can use this endpoint. returns a []MinimalRepositoryable when successful returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemPersonalAccessTokensItemRepositoriesRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the repositories a fine-grained personal access token has access to.Only GitHub Apps can use this endpoint. returns a *RequestInformation when successful

func (*ItemPersonalAccessTokensItemRepositoriesRequestBuilder) WithUrl

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

type ItemPersonalAccessTokensItemRepositoriesRequestBuilderGetQueryParameters

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

ItemPersonalAccessTokensItemRepositoriesRequestBuilderGetQueryParameters lists the repositories a fine-grained personal access token has access to.Only GitHub Apps can use this endpoint.

type ItemPersonalAccessTokensItemWithPat_PostRequestBody

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

func NewItemPersonalAccessTokensItemWithPat_PostRequestBody

func NewItemPersonalAccessTokensItemWithPat_PostRequestBody() *ItemPersonalAccessTokensItemWithPat_PostRequestBody

NewItemPersonalAccessTokensItemWithPat_PostRequestBody instantiates a new ItemPersonalAccessTokensItemWithPat_PostRequestBody and sets the default values.

func (*ItemPersonalAccessTokensItemWithPat_PostRequestBody) GetAdditionalData

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

func (*ItemPersonalAccessTokensItemWithPat_PostRequestBody) GetFieldDeserializers

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

func (*ItemPersonalAccessTokensItemWithPat_PostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemPersonalAccessTokensItemWithPat_PostRequestBody) SetAdditionalData

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

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

type ItemPersonalAccessTokensPostRequestBody

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

func NewItemPersonalAccessTokensPostRequestBody

func NewItemPersonalAccessTokensPostRequestBody() *ItemPersonalAccessTokensPostRequestBody

NewItemPersonalAccessTokensPostRequestBody instantiates a new ItemPersonalAccessTokensPostRequestBody and sets the default values.

func (*ItemPersonalAccessTokensPostRequestBody) GetAdditionalData

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

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

func (*ItemPersonalAccessTokensPostRequestBody) GetFieldDeserializers

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

func (*ItemPersonalAccessTokensPostRequestBody) GetPatIds

GetPatIds gets the pat_ids property value. The IDs of the fine-grained personal access tokens. returns a []int32 when successful

func (*ItemPersonalAccessTokensPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemPersonalAccessTokensPostRequestBody) SetAdditionalData

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

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

func (*ItemPersonalAccessTokensPostRequestBody) SetPatIds

func (m *ItemPersonalAccessTokensPostRequestBody) SetPatIds(value []int32)

SetPatIds sets the pat_ids property value. The IDs of the fine-grained personal access tokens.

type ItemPersonalAccessTokensPostResponse

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

func NewItemPersonalAccessTokensPostResponse

func NewItemPersonalAccessTokensPostResponse() *ItemPersonalAccessTokensPostResponse

NewItemPersonalAccessTokensPostResponse instantiates a new ItemPersonalAccessTokensPostResponse and sets the default values.

func (*ItemPersonalAccessTokensPostResponse) GetAdditionalData

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

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

func (*ItemPersonalAccessTokensPostResponse) GetFieldDeserializers

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

func (*ItemPersonalAccessTokensPostResponse) Serialize

Serialize serializes information the current object

func (*ItemPersonalAccessTokensPostResponse) SetAdditionalData

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

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

type ItemPersonalAccessTokensRequestBuilder

type ItemPersonalAccessTokensRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPersonalAccessTokensRequestBuilder builds and executes requests for operations under \orgs\{org}\personal-access-tokens

func NewItemPersonalAccessTokensRequestBuilder

NewItemPersonalAccessTokensRequestBuilder instantiates a new ItemPersonalAccessTokensRequestBuilder and sets the default values.

func NewItemPersonalAccessTokensRequestBuilderInternal

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

NewItemPersonalAccessTokensRequestBuilderInternal instantiates a new ItemPersonalAccessTokensRequestBuilder and sets the default values.

func (*ItemPersonalAccessTokensRequestBuilder) ByPat_id

ByPat_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.personalAccessTokens.item collection returns a *ItemPersonalAccessTokensWithPat_ItemRequestBuilder when successful

func (*ItemPersonalAccessTokensRequestBuilder) Get

Get lists approved fine-grained personal access tokens owned by organization members that can access organization resources.Only GitHub Apps can use this endpoint. returns a []OrganizationProgrammaticAccessGrantable when successful returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemPersonalAccessTokensRequestBuilder) Post

Post updates the access organization members have to organization resources via fine-grained personal access tokens. Limited to revoking a token's existing access.Only GitHub Apps can use this endpoint. returns a ItemPersonalAccessTokensPostResponseable when successful returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemPersonalAccessTokensRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists approved fine-grained personal access tokens owned by organization members that can access organization resources.Only GitHub Apps can use this endpoint. returns a *RequestInformation when successful

func (*ItemPersonalAccessTokensRequestBuilder) ToPostRequestInformation

ToPostRequestInformation updates the access organization members have to organization resources via fine-grained personal access tokens. Limited to revoking a token's existing access.Only GitHub Apps can use this endpoint. returns a *RequestInformation when successful

func (*ItemPersonalAccessTokensRequestBuilder) WithUrl

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

type ItemPersonalAccessTokensRequestBuilderGetQueryParameters

type ItemPersonalAccessTokensRequestBuilderGetQueryParameters struct {
	// The direction to sort the results by.
	Direction *i35d4823030433975c3e5f1527c43a1c35b7c5b72c6dceda49af227fe074cff4d.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/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/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 *i35d4823030433975c3e5f1527c43a1c35b7c5b72c6dceda49af227fe074cff4d.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 ItemPersonalAccessTokensWithPat_ItemRequestBuilder

type ItemPersonalAccessTokensWithPat_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPersonalAccessTokensWithPat_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\personal-access-tokens\{pat_id}

func NewItemPersonalAccessTokensWithPat_ItemRequestBuilder

NewItemPersonalAccessTokensWithPat_ItemRequestBuilder instantiates a new ItemPersonalAccessTokensWithPat_ItemRequestBuilder and sets the default values.

func NewItemPersonalAccessTokensWithPat_ItemRequestBuilderInternal

func NewItemPersonalAccessTokensWithPat_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokensWithPat_ItemRequestBuilder

NewItemPersonalAccessTokensWithPat_ItemRequestBuilderInternal instantiates a new ItemPersonalAccessTokensWithPat_ItemRequestBuilder and sets the default values.

func (*ItemPersonalAccessTokensWithPat_ItemRequestBuilder) Post

Post updates the access an organization member has to organization resources via a fine-grained personal access token. Limited to revoking the token's existing access. Limited to revoking a token's existing access.Only GitHub Apps can use this endpoint. returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemPersonalAccessTokensWithPat_ItemRequestBuilder) Repositories

Repositories the repositories property returns a *ItemPersonalAccessTokensItemRepositoriesRequestBuilder when successful

func (*ItemPersonalAccessTokensWithPat_ItemRequestBuilder) ToPostRequestInformation

ToPostRequestInformation updates the access an organization member has to organization resources via a fine-grained personal access token. Limited to revoking the token's existing access. Limited to revoking a token's existing access.Only GitHub Apps can use this endpoint. returns a *RequestInformation when successful

func (*ItemPersonalAccessTokensWithPat_ItemRequestBuilder) WithUrl

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

type ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody

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

func NewItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody

func NewItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody() *ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody

NewItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody instantiates a new ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody and sets the default values.

func (*ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetAdditionalData

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

func (*ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetAllowDownstreamConfiguration

func (m *ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetAllowDownstreamConfiguration() *bool

GetAllowDownstreamConfiguration gets the allow_downstream_configuration property value. Whether repositories can override enforcement. returns a *bool when successful

func (*ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetEnforcement

GetEnforcement gets the enforcement property value. The state of enforcement for the hook on this repository. returns a *string when successful

func (*ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetFieldDeserializers

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

func (*ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetAdditionalData

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

func (*ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetAllowDownstreamConfiguration

func (m *ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetAllowDownstreamConfiguration(value *bool)

SetAllowDownstreamConfiguration sets the allow_downstream_configuration property value. Whether repositories can override enforcement.

func (*ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetEnforcement

SetEnforcement sets the enforcement property value. The state of enforcement for the hook on this repository.

type ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyable

type ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetAllowDownstreamConfiguration() *bool
	GetEnforcement() *string
	SetAllowDownstreamConfiguration(value *bool)
	SetEnforcement(value *string)
}

type ItemPreReceiveHooksRequestBuilder

ItemPreReceiveHooksRequestBuilder builds and executes requests for operations under \orgs\{org}\pre-receive-hooks

func NewItemPreReceiveHooksRequestBuilder

NewItemPreReceiveHooksRequestBuilder instantiates a new ItemPreReceiveHooksRequestBuilder and sets the default values.

func NewItemPreReceiveHooksRequestBuilderInternal

func NewItemPreReceiveHooksRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPreReceiveHooksRequestBuilder

NewItemPreReceiveHooksRequestBuilderInternal instantiates a new ItemPreReceiveHooksRequestBuilder and sets the default values.

func (*ItemPreReceiveHooksRequestBuilder) ByPre_receive_hook_id

ByPre_receive_hook_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.preReceiveHooks.item collection returns a *ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder when successful

func (*ItemPreReceiveHooksRequestBuilder) Get

Get list all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed. returns a []OrgPreReceiveHookable when successful API method documentation

func (*ItemPreReceiveHooksRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed. returns a *RequestInformation when successful

func (*ItemPreReceiveHooksRequestBuilder) WithUrl

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

type ItemPreReceiveHooksRequestBuilderGetQueryParameters

type ItemPreReceiveHooksRequestBuilderGetQueryParameters struct {
	// The direction to sort the results by.
	Direction *id2409d36c7b20f4f264b157e026cce9c1d36ffdde31f38521d5d3f2e2562a94c.GetDirectionQueryParameterType `uriparametername:"direction"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// The sort order for the response collection.
	Sort *id2409d36c7b20f4f264b157e026cce9c1d36ffdde31f38521d5d3f2e2562a94c.GetSortQueryParameterType `uriparametername:"sort"`
}

ItemPreReceiveHooksRequestBuilderGetQueryParameters list all pre-receive hooks that are enabled or testing for this organization as well as any disabled hooks that can be configured at the organization level. Globally disabled pre-receive hooks that do not allow downstream configuration are not listed.

type ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder

type ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\pre-receive-hooks\{pre_receive_hook_id}

func NewItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder

func NewItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder

NewItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder instantiates a new ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder and sets the default values.

func NewItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilderInternal

func NewItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder

NewItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilderInternal instantiates a new ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder and sets the default values.

func (*ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Delete

Delete removes any overrides for this hook at the org level for this org. returns a OrgPreReceiveHookable when successful API method documentation

func (*ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Patch

Patch for pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration` returns a OrgPreReceiveHookable when successful API method documentation

func (*ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removes any overrides for this hook at the org level for this org. returns a *RequestInformation when successful

func (*ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation for pre-receive hooks which are allowed to be configured at the org level, you can set `enforcement` and `allow_downstream_configuration` returns a *RequestInformation when successful

func (*ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) WithUrl

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

type ItemProjectsPostRequestBody

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

func NewItemProjectsPostRequestBody

func NewItemProjectsPostRequestBody() *ItemProjectsPostRequestBody

NewItemProjectsPostRequestBody instantiates a new ItemProjectsPostRequestBody and sets the default values.

func (*ItemProjectsPostRequestBody) GetAdditionalData

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

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

func (*ItemProjectsPostRequestBody) GetBody

func (m *ItemProjectsPostRequestBody) GetBody() *string

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

func (*ItemProjectsPostRequestBody) GetFieldDeserializers

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

func (*ItemProjectsPostRequestBody) GetName

func (m *ItemProjectsPostRequestBody) GetName() *string

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

func (*ItemProjectsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemProjectsPostRequestBody) SetAdditionalData

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

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemProjectsPostRequestBody) SetBody

func (m *ItemProjectsPostRequestBody) SetBody(value *string)

SetBody sets the body property value. The description of the project.

func (*ItemProjectsPostRequestBody) SetName

func (m *ItemProjectsPostRequestBody) SetName(value *string)

SetName sets the name property value. The name of the project.

type ItemProjectsRequestBuilder

ItemProjectsRequestBuilder builds and executes requests for operations under \orgs\{org}\projects

func NewItemProjectsRequestBuilder

NewItemProjectsRequestBuilder instantiates a new ItemProjectsRequestBuilder and sets the default values.

func NewItemProjectsRequestBuilderInternal

func NewItemProjectsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemProjectsRequestBuilder

NewItemProjectsRequestBuilderInternal instantiates a new ItemProjectsRequestBuilder and sets the default values.

func (*ItemProjectsRequestBuilder) Get

Get lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. returns a []Projectable when successful returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation

func (*ItemProjectsRequestBuilder) Post

Post creates an organization project board. Returns a `410 Gone` status if projects are disabled in the organization or if the organization does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. returns a Projectable when successful returns a BasicError error when the service returns a 401 status code returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 410 status code returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation

func (*ItemProjectsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. returns a *RequestInformation when successful

func (*ItemProjectsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation creates an organization project board. Returns a `410 Gone` status if projects are disabled in the organization or if the organization does not have existing classic projects. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned. returns a *RequestInformation when successful

func (*ItemProjectsRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemProjectsRequestBuilder when successful

type ItemProjectsRequestBuilderGetQueryParameters

type ItemProjectsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/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 *i72f0ad6a09212453aaf5465a82a242c7afffb9c252603fd187a4ef02a6c44b63.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 ItemPublic_membersRequestBuilder

ItemPublic_membersRequestBuilder builds and executes requests for operations under \orgs\{org}\public_members

func NewItemPublic_membersRequestBuilder

NewItemPublic_membersRequestBuilder instantiates a new ItemPublic_membersRequestBuilder and sets the default values.

func NewItemPublic_membersRequestBuilderInternal

func NewItemPublic_membersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPublic_membersRequestBuilder

NewItemPublic_membersRequestBuilderInternal instantiates a new ItemPublic_membersRequestBuilder and sets the default values.

func (*ItemPublic_membersRequestBuilder) ByUsername

ByUsername gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.public_members.item collection returns a *ItemPublic_membersWithUsernameItemRequestBuilder when successful

func (*ItemPublic_membersRequestBuilder) Get

Get members of an organization can choose to have their membership publicized or not. returns a []SimpleUserable when successful API method documentation

func (*ItemPublic_membersRequestBuilder) ToGetRequestInformation

ToGetRequestInformation members of an organization can choose to have their membership publicized or not. returns a *RequestInformation when successful

func (*ItemPublic_membersRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemPublic_membersRequestBuilder when successful

type ItemPublic_membersRequestBuilderGetQueryParameters

type ItemPublic_membersRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemPublic_membersRequestBuilderGetQueryParameters members of an organization can choose to have their membership publicized or not.

type ItemPublic_membersWithUsernameItemRequestBuilder

type ItemPublic_membersWithUsernameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemPublic_membersWithUsernameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\public_members\{username}

func NewItemPublic_membersWithUsernameItemRequestBuilder

NewItemPublic_membersWithUsernameItemRequestBuilder instantiates a new ItemPublic_membersWithUsernameItemRequestBuilder and sets the default values.

func NewItemPublic_membersWithUsernameItemRequestBuilderInternal

func NewItemPublic_membersWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPublic_membersWithUsernameItemRequestBuilder

NewItemPublic_membersWithUsernameItemRequestBuilderInternal instantiates a new ItemPublic_membersWithUsernameItemRequestBuilder and sets the default values.

func (*ItemPublic_membersWithUsernameItemRequestBuilder) Delete

Delete removes the public membership for the authenticated user from the specified organization, unless public visibility is enforced by default. API method documentation

func (*ItemPublic_membersWithUsernameItemRequestBuilder) Get

Get check if the provided user is a public member of the organization. API method documentation

func (*ItemPublic_membersWithUsernameItemRequestBuilder) Put

Put the user can publicize their own membership. (A user cannot publicize the membership for another user.)Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/enterprise-server@3.11/rest/guides/getting-started-with-the-rest-api#http-method)." returns a BasicError error when the service returns a 403 status code API method documentation

func (*ItemPublic_membersWithUsernameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removes the public membership for the authenticated user from the specified organization, unless public visibility is enforced by default. returns a *RequestInformation when successful

func (*ItemPublic_membersWithUsernameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation check if the provided user is a public member of the organization. returns a *RequestInformation when successful

func (*ItemPublic_membersWithUsernameItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation the user can publicize their own membership. (A user cannot publicize the membership for another user.)Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/enterprise-server@3.11/rest/guides/getting-started-with-the-rest-api#http-method)." returns a *RequestInformation when successful

func (*ItemPublic_membersWithUsernameItemRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemPublic_membersWithUsernameItemRequestBuilder when successful

type ItemReposPostRequestBody

type ItemReposPostRequestBody struct {
	// contains filtered or unexported fields
}

func NewItemReposPostRequestBody

func NewItemReposPostRequestBody() *ItemReposPostRequestBody

NewItemReposPostRequestBody instantiates a new ItemReposPostRequestBody and sets the default values.

func (*ItemReposPostRequestBody) GetAdditionalData

func (m *ItemReposPostRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemReposPostRequestBody) GetAllowAutoMerge

func (m *ItemReposPostRequestBody) GetAllowAutoMerge() *bool

GetAllowAutoMerge gets the allow_auto_merge property value. Either `true` to allow auto-merge on pull requests, or `false` to disallow auto-merge. returns a *bool when successful

func (*ItemReposPostRequestBody) GetAllowMergeCommit

func (m *ItemReposPostRequestBody) GetAllowMergeCommit() *bool

GetAllowMergeCommit gets the allow_merge_commit property value. Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits. returns a *bool when successful

func (*ItemReposPostRequestBody) GetAllowRebaseMerge

func (m *ItemReposPostRequestBody) GetAllowRebaseMerge() *bool

GetAllowRebaseMerge gets the allow_rebase_merge property value. Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging. returns a *bool when successful

func (*ItemReposPostRequestBody) GetAllowSquashMerge

func (m *ItemReposPostRequestBody) GetAllowSquashMerge() *bool

GetAllowSquashMerge gets the allow_squash_merge property value. Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging. returns a *bool when successful

func (*ItemReposPostRequestBody) GetAutoInit

func (m *ItemReposPostRequestBody) GetAutoInit() *bool

GetAutoInit gets the auto_init property value. Pass `true` to create an initial commit with empty README. returns a *bool when successful

func (*ItemReposPostRequestBody) GetCustomProperties

GetCustomProperties gets the custom_properties property value. The custom properties for the new repository. The keys are the custom property names, and the values are the corresponding custom property values. returns a ItemReposPostRequestBody_custom_propertiesable when successful

func (*ItemReposPostRequestBody) GetDeleteBranchOnMerge

func (m *ItemReposPostRequestBody) GetDeleteBranchOnMerge() *bool

GetDeleteBranchOnMerge gets the delete_branch_on_merge property value. Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion. **The authenticated user must be an organization owner to set this property to `true`.** returns a *bool when successful

func (*ItemReposPostRequestBody) GetDescription

func (m *ItemReposPostRequestBody) GetDescription() *string

GetDescription gets the description property value. A short description of the repository. returns a *string when successful

func (*ItemReposPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemReposPostRequestBody) GetGitignoreTemplate

func (m *ItemReposPostRequestBody) GetGitignoreTemplate() *string

GetGitignoreTemplate gets the gitignore_template property value. Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, "Haskell". returns a *string when successful

func (*ItemReposPostRequestBody) GetHasDownloads

func (m *ItemReposPostRequestBody) GetHasDownloads() *bool

GetHasDownloads gets the has_downloads property value. Whether downloads are enabled. returns a *bool when successful

func (*ItemReposPostRequestBody) GetHasIssues

func (m *ItemReposPostRequestBody) GetHasIssues() *bool

GetHasIssues gets the has_issues property value. Either `true` to enable issues for this repository or `false` to disable them. returns a *bool when successful

func (*ItemReposPostRequestBody) GetHasProjects

func (m *ItemReposPostRequestBody) GetHasProjects() *bool

GetHasProjects gets the has_projects property value. Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error. returns a *bool when successful

func (*ItemReposPostRequestBody) GetHasWiki

func (m *ItemReposPostRequestBody) GetHasWiki() *bool

GetHasWiki gets the has_wiki property value. Either `true` to enable the wiki for this repository or `false` to disable it. returns a *bool when successful

func (*ItemReposPostRequestBody) GetHomepage

func (m *ItemReposPostRequestBody) GetHomepage() *string

GetHomepage gets the homepage property value. A URL with more information about the repository. returns a *string when successful

func (*ItemReposPostRequestBody) GetIsTemplate

func (m *ItemReposPostRequestBody) GetIsTemplate() *bool

GetIsTemplate gets the is_template property value. Either `true` to make this repo available as a template repository or `false` to prevent it. returns a *bool when successful

func (*ItemReposPostRequestBody) GetLicenseTemplate

func (m *ItemReposPostRequestBody) GetLicenseTemplate() *string

GetLicenseTemplate gets the license_template property value. Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://docs.github.com/enterprise-server@3.11/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, "mit" or "mpl-2.0". returns a *string when successful

func (*ItemReposPostRequestBody) GetName

func (m *ItemReposPostRequestBody) GetName() *string

GetName gets the name property value. The name of the repository. returns a *string when successful

func (*ItemReposPostRequestBody) GetPrivate

func (m *ItemReposPostRequestBody) GetPrivate() *bool

GetPrivate gets the private property value. Whether the repository is private. returns a *bool when successful

func (*ItemReposPostRequestBody) GetTeamId

func (m *ItemReposPostRequestBody) GetTeamId() *int32

GetTeamId gets the team_id property value. The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization. returns a *int32 when successful

func (*ItemReposPostRequestBody) GetUseSquashPrTitleAsDefault

func (m *ItemReposPostRequestBody) GetUseSquashPrTitleAsDefault() *bool

GetUseSquashPrTitleAsDefault gets the use_squash_pr_title_as_default property value. Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead. Deprecated: returns a *bool when successful

func (*ItemReposPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemReposPostRequestBody) SetAdditionalData

func (m *ItemReposPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemReposPostRequestBody) SetAllowAutoMerge

func (m *ItemReposPostRequestBody) SetAllowAutoMerge(value *bool)

SetAllowAutoMerge sets the allow_auto_merge property value. Either `true` to allow auto-merge on pull requests, or `false` to disallow auto-merge.

func (*ItemReposPostRequestBody) SetAllowMergeCommit

func (m *ItemReposPostRequestBody) SetAllowMergeCommit(value *bool)

SetAllowMergeCommit sets the allow_merge_commit property value. Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.

func (*ItemReposPostRequestBody) SetAllowRebaseMerge

func (m *ItemReposPostRequestBody) SetAllowRebaseMerge(value *bool)

SetAllowRebaseMerge sets the allow_rebase_merge property value. Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.

func (*ItemReposPostRequestBody) SetAllowSquashMerge

func (m *ItemReposPostRequestBody) SetAllowSquashMerge(value *bool)

SetAllowSquashMerge sets the allow_squash_merge property value. Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.

func (*ItemReposPostRequestBody) SetAutoInit

func (m *ItemReposPostRequestBody) SetAutoInit(value *bool)

SetAutoInit sets the auto_init property value. Pass `true` to create an initial commit with empty README.

func (*ItemReposPostRequestBody) SetCustomProperties

SetCustomProperties sets the custom_properties property value. The custom properties for the new repository. The keys are the custom property names, and the values are the corresponding custom property values.

func (*ItemReposPostRequestBody) SetDeleteBranchOnMerge

func (m *ItemReposPostRequestBody) SetDeleteBranchOnMerge(value *bool)

SetDeleteBranchOnMerge sets the delete_branch_on_merge property value. Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion. **The authenticated user must be an organization owner to set this property to `true`.**

func (*ItemReposPostRequestBody) SetDescription

func (m *ItemReposPostRequestBody) SetDescription(value *string)

SetDescription sets the description property value. A short description of the repository.

func (*ItemReposPostRequestBody) SetGitignoreTemplate

func (m *ItemReposPostRequestBody) SetGitignoreTemplate(value *string)

SetGitignoreTemplate sets the gitignore_template property value. Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, "Haskell".

func (*ItemReposPostRequestBody) SetHasDownloads

func (m *ItemReposPostRequestBody) SetHasDownloads(value *bool)

SetHasDownloads sets the has_downloads property value. Whether downloads are enabled.

func (*ItemReposPostRequestBody) SetHasIssues

func (m *ItemReposPostRequestBody) SetHasIssues(value *bool)

SetHasIssues sets the has_issues property value. Either `true` to enable issues for this repository or `false` to disable them.

func (*ItemReposPostRequestBody) SetHasProjects

func (m *ItemReposPostRequestBody) SetHasProjects(value *bool)

SetHasProjects sets the has_projects property value. Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.

func (*ItemReposPostRequestBody) SetHasWiki

func (m *ItemReposPostRequestBody) SetHasWiki(value *bool)

SetHasWiki sets the has_wiki property value. Either `true` to enable the wiki for this repository or `false` to disable it.

func (*ItemReposPostRequestBody) SetHomepage

func (m *ItemReposPostRequestBody) SetHomepage(value *string)

SetHomepage sets the homepage property value. A URL with more information about the repository.

func (*ItemReposPostRequestBody) SetIsTemplate

func (m *ItemReposPostRequestBody) SetIsTemplate(value *bool)

SetIsTemplate sets the is_template property value. Either `true` to make this repo available as a template repository or `false` to prevent it.

func (*ItemReposPostRequestBody) SetLicenseTemplate

func (m *ItemReposPostRequestBody) SetLicenseTemplate(value *string)

SetLicenseTemplate sets the license_template property value. Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://docs.github.com/enterprise-server@3.11/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, "mit" or "mpl-2.0".

func (*ItemReposPostRequestBody) SetName

func (m *ItemReposPostRequestBody) SetName(value *string)

SetName sets the name property value. The name of the repository.

func (*ItemReposPostRequestBody) SetPrivate

func (m *ItemReposPostRequestBody) SetPrivate(value *bool)

SetPrivate sets the private property value. Whether the repository is private.

func (*ItemReposPostRequestBody) SetTeamId

func (m *ItemReposPostRequestBody) SetTeamId(value *int32)

SetTeamId sets the team_id property value. The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization.

func (*ItemReposPostRequestBody) SetUseSquashPrTitleAsDefault

func (m *ItemReposPostRequestBody) SetUseSquashPrTitleAsDefault(value *bool)

SetUseSquashPrTitleAsDefault sets the use_squash_pr_title_as_default property value. Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead. Deprecated:

type ItemReposPostRequestBody_custom_properties

type ItemReposPostRequestBody_custom_properties struct {
	// contains filtered or unexported fields
}

ItemReposPostRequestBody_custom_properties the custom properties for the new repository. The keys are the custom property names, and the values are the corresponding custom property values.

func NewItemReposPostRequestBody_custom_properties

func NewItemReposPostRequestBody_custom_properties() *ItemReposPostRequestBody_custom_properties

NewItemReposPostRequestBody_custom_properties instantiates a new ItemReposPostRequestBody_custom_properties and sets the default values.

func (*ItemReposPostRequestBody_custom_properties) GetAdditionalData

func (m *ItemReposPostRequestBody_custom_properties) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemReposPostRequestBody_custom_properties) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemReposPostRequestBody_custom_properties) Serialize

Serialize serializes information the current object

func (*ItemReposPostRequestBody_custom_properties) SetAdditionalData

func (m *ItemReposPostRequestBody_custom_properties) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

type ItemReposPostRequestBodyable

type ItemReposPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetAllowAutoMerge() *bool
	GetAllowMergeCommit() *bool
	GetAllowRebaseMerge() *bool
	GetAllowSquashMerge() *bool
	GetAutoInit() *bool
	GetCustomProperties() ItemReposPostRequestBody_custom_propertiesable
	GetDeleteBranchOnMerge() *bool
	GetDescription() *string
	GetGitignoreTemplate() *string
	GetHasDownloads() *bool
	GetHasIssues() *bool
	GetHasProjects() *bool
	GetHasWiki() *bool
	GetHomepage() *string
	GetIsTemplate() *bool
	GetLicenseTemplate() *string
	GetName() *string
	GetPrivate() *bool
	GetTeamId() *int32
	GetUseSquashPrTitleAsDefault() *bool
	SetAllowAutoMerge(value *bool)
	SetAllowMergeCommit(value *bool)
	SetAllowRebaseMerge(value *bool)
	SetAllowSquashMerge(value *bool)
	SetAutoInit(value *bool)
	SetCustomProperties(value ItemReposPostRequestBody_custom_propertiesable)
	SetDeleteBranchOnMerge(value *bool)
	SetDescription(value *string)
	SetGitignoreTemplate(value *string)
	SetHasDownloads(value *bool)
	SetHasIssues(value *bool)
	SetHasProjects(value *bool)
	SetHasWiki(value *bool)
	SetHomepage(value *string)
	SetIsTemplate(value *bool)
	SetLicenseTemplate(value *string)
	SetName(value *string)
	SetPrivate(value *bool)
	SetTeamId(value *int32)
	SetUseSquashPrTitleAsDefault(value *bool)
}

type ItemReposRequestBuilder

ItemReposRequestBuilder builds and executes requests for operations under \orgs\{org}\repos

func NewItemReposRequestBuilder

NewItemReposRequestBuilder instantiates a new ItemReposRequestBuilder and sets the default values.

func NewItemReposRequestBuilderInternal

func NewItemReposRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemReposRequestBuilder

NewItemReposRequestBuilderInternal instantiates a new ItemReposRequestBuilder and sets the default values.

func (*ItemReposRequestBuilder) Get

Get lists repositories for the specified organization.> [!NOTE]> In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." returns a []MinimalRepositoryable when successful API method documentation

func (*ItemReposRequestBuilder) Post

Post creates a new repository in the specified organization. The authenticated user must be a member of the organization.OAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to create a public repository, and `repo` scope to create a private repository. returns a FullRepositoryable when successful returns a BasicError error when the service returns a 403 status code returns a ValidationError error when the service returns a 422 status code API method documentation

func (*ItemReposRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists repositories for the specified organization.> [!NOTE]> In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." returns a *RequestInformation when successful

func (*ItemReposRequestBuilder) ToPostRequestInformation

ToPostRequestInformation creates a new repository in the specified organization. The authenticated user must be a member of the organization.OAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to create a public repository, and `repo` scope to create a private repository. returns a *RequestInformation when successful

func (*ItemReposRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemReposRequestBuilder when successful

type ItemReposRequestBuilderGetQueryParameters

type ItemReposRequestBuilderGetQueryParameters struct {
	// The order to sort by. Default: `asc` when using `full_name`, otherwise `desc`.
	Direction *i9ecb84079df076f924af6743ca904bedb15108a1a15be3735b58ed8f46e9cb20.GetDirectionQueryParameterType `uriparametername:"direction"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/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 *i9ecb84079df076f924af6743ca904bedb15108a1a15be3735b58ed8f46e9cb20.GetSortQueryParameterType `uriparametername:"sort"`
	// Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub App calls this endpoint with an installation access token.
	Type *i9ecb84079df076f924af6743ca904bedb15108a1a15be3735b58ed8f46e9cb20.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/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."

type ItemRepositoryFineGrainedPermissionsRequestBuilder

type ItemRepositoryFineGrainedPermissionsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemRepositoryFineGrainedPermissionsRequestBuilder builds and executes requests for operations under \orgs\{org}\repository-fine-grained-permissions

func NewItemRepositoryFineGrainedPermissionsRequestBuilder

NewItemRepositoryFineGrainedPermissionsRequestBuilder instantiates a new ItemRepositoryFineGrainedPermissionsRequestBuilder and sets the default values.

func NewItemRepositoryFineGrainedPermissionsRequestBuilderInternal

func NewItemRepositoryFineGrainedPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRepositoryFineGrainedPermissionsRequestBuilder

NewItemRepositoryFineGrainedPermissionsRequestBuilderInternal instantiates a new ItemRepositoryFineGrainedPermissionsRequestBuilder and sets the default values.

func (*ItemRepositoryFineGrainedPermissionsRequestBuilder) Get

Get lists the fine-grained permissions that can be used in custom repository roles for an organization. For more information, see "[About custom repository roles](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles)."The authenticated user must be an administrator of the organization or of a repository of the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. returns a []RepositoryFineGrainedPermissionable when successful API method documentation

func (*ItemRepositoryFineGrainedPermissionsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the fine-grained permissions that can be used in custom repository roles for an organization. For more information, see "[About custom repository roles](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-repository-roles)."The authenticated user must be an administrator of the organization or of a repository of the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` or `repo` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemRepositoryFineGrainedPermissionsRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemRepositoryFineGrainedPermissionsRequestBuilder when successful

type ItemRulesetsItemWithRuleset_PutRequestBody

type ItemRulesetsItemWithRuleset_PutRequestBody struct {
	// contains filtered or unexported fields
}

func NewItemRulesetsItemWithRuleset_PutRequestBody

func NewItemRulesetsItemWithRuleset_PutRequestBody() *ItemRulesetsItemWithRuleset_PutRequestBody

NewItemRulesetsItemWithRuleset_PutRequestBody instantiates a new ItemRulesetsItemWithRuleset_PutRequestBody and sets the default values.

func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetAdditionalData

func (m *ItemRulesetsItemWithRuleset_PutRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetBypassActors

GetBypassActors gets the bypass_actors property value. The actors that can bypass the rules in this ruleset returns a []RepositoryRulesetBypassActorable when successful

func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetConditions

GetConditions gets the conditions property value. Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. returns a OrgRulesetConditionsable when successful

func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetEnforcement

GetEnforcement gets the enforcement property value. The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page. returns a *RepositoryRuleEnforcement when successful

func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetName

GetName gets the name property value. The name of the ruleset. returns a *string when successful

func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetRules

GetRules gets the rules property value. An array of rules within the ruleset. returns a []RepositoryRuleable when successful

func (*ItemRulesetsItemWithRuleset_PutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemRulesetsItemWithRuleset_PutRequestBody) SetAdditionalData

func (m *ItemRulesetsItemWithRuleset_PutRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemRulesetsItemWithRuleset_PutRequestBody) SetBypassActors

SetBypassActors sets the bypass_actors property value. The actors that can bypass the rules in this ruleset

func (*ItemRulesetsItemWithRuleset_PutRequestBody) SetConditions

SetConditions sets the conditions property value. Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties.

func (*ItemRulesetsItemWithRuleset_PutRequestBody) SetEnforcement

SetEnforcement sets the enforcement property value. The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page.

func (*ItemRulesetsItemWithRuleset_PutRequestBody) SetName

SetName sets the name property value. The name of the ruleset.

func (*ItemRulesetsItemWithRuleset_PutRequestBody) SetRules

SetRules sets the rules property value. An array of rules within the ruleset.

type ItemRulesetsPostRequestBody

type ItemRulesetsPostRequestBody struct {
	// contains filtered or unexported fields
}

func NewItemRulesetsPostRequestBody

func NewItemRulesetsPostRequestBody() *ItemRulesetsPostRequestBody

NewItemRulesetsPostRequestBody instantiates a new ItemRulesetsPostRequestBody and sets the default values.

func (*ItemRulesetsPostRequestBody) GetAdditionalData

func (m *ItemRulesetsPostRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemRulesetsPostRequestBody) GetBypassActors

GetBypassActors gets the bypass_actors property value. The actors that can bypass the rules in this ruleset returns a []RepositoryRulesetBypassActorable when successful

func (*ItemRulesetsPostRequestBody) GetConditions

GetConditions gets the conditions property value. Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties. returns a OrgRulesetConditionsable when successful

func (*ItemRulesetsPostRequestBody) GetEnforcement

GetEnforcement gets the enforcement property value. The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page. returns a *RepositoryRuleEnforcement when successful

func (*ItemRulesetsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemRulesetsPostRequestBody) GetName

func (m *ItemRulesetsPostRequestBody) GetName() *string

GetName gets the name property value. The name of the ruleset. returns a *string when successful

func (*ItemRulesetsPostRequestBody) GetRules

GetRules gets the rules property value. An array of rules within the ruleset. returns a []RepositoryRuleable when successful

func (*ItemRulesetsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemRulesetsPostRequestBody) SetAdditionalData

func (m *ItemRulesetsPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemRulesetsPostRequestBody) SetBypassActors

SetBypassActors sets the bypass_actors property value. The actors that can bypass the rules in this ruleset

func (*ItemRulesetsPostRequestBody) SetConditions

SetConditions sets the conditions property value. Conditions for an organization ruleset. The conditions object should contain both `repository_name` and `ref_name` properties or both `repository_id` and `ref_name` properties.

func (*ItemRulesetsPostRequestBody) SetEnforcement

SetEnforcement sets the enforcement property value. The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins can view insights on the Rule Insights page.

func (*ItemRulesetsPostRequestBody) SetName

func (m *ItemRulesetsPostRequestBody) SetName(value *string)

SetName sets the name property value. The name of the ruleset.

func (*ItemRulesetsPostRequestBody) SetRules

SetRules sets the rules property value. An array of rules within the ruleset.

type ItemRulesetsRequestBuilder

ItemRulesetsRequestBuilder builds and executes requests for operations under \orgs\{org}\rulesets

func NewItemRulesetsRequestBuilder

NewItemRulesetsRequestBuilder instantiates a new ItemRulesetsRequestBuilder and sets the default values.

func NewItemRulesetsRequestBuilderInternal

func NewItemRulesetsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRulesetsRequestBuilder

NewItemRulesetsRequestBuilderInternal instantiates a new ItemRulesetsRequestBuilder and sets the default values.

func (*ItemRulesetsRequestBuilder) ByRuleset_id

ByRuleset_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.rulesets.item collection returns a *ItemRulesetsWithRuleset_ItemRequestBuilder when successful

func (*ItemRulesetsRequestBuilder) Get

Get get all the repository rulesets for an organization. returns a []RepositoryRulesetable when successful returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemRulesetsRequestBuilder) Post

Post create a repository ruleset for an organization. returns a RepositoryRulesetable when successful returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemRulesetsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation get all the repository rulesets for an organization. returns a *RequestInformation when successful

func (*ItemRulesetsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation create a repository ruleset for an organization. returns a *RequestInformation when successful

func (*ItemRulesetsRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemRulesetsRequestBuilder when successful

type ItemRulesetsRequestBuilderGetQueryParameters

type ItemRulesetsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/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 ItemRulesetsWithRuleset_ItemRequestBuilder

type ItemRulesetsWithRuleset_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemRulesetsWithRuleset_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\rulesets\{ruleset_id}

func NewItemRulesetsWithRuleset_ItemRequestBuilder

NewItemRulesetsWithRuleset_ItemRequestBuilder instantiates a new ItemRulesetsWithRuleset_ItemRequestBuilder and sets the default values.

func NewItemRulesetsWithRuleset_ItemRequestBuilderInternal

func NewItemRulesetsWithRuleset_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRulesetsWithRuleset_ItemRequestBuilder

NewItemRulesetsWithRuleset_ItemRequestBuilderInternal instantiates a new ItemRulesetsWithRuleset_ItemRequestBuilder and sets the default values.

func (*ItemRulesetsWithRuleset_ItemRequestBuilder) Delete

Delete delete a ruleset for an organization. returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemRulesetsWithRuleset_ItemRequestBuilder) Get

Get get a repository ruleset for an organization.**Note:** To prevent leaking sensitive information, the `bypass_actors` property is only returned if the usermaking the API request has write access to the ruleset. returns a RepositoryRulesetable when successful returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemRulesetsWithRuleset_ItemRequestBuilder) Put

Put update a ruleset for an organization. returns a RepositoryRulesetable when successful returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation

func (*ItemRulesetsWithRuleset_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation delete a ruleset for an organization. returns a *RequestInformation when successful

func (*ItemRulesetsWithRuleset_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation get a repository ruleset for an organization.**Note:** To prevent leaking sensitive information, the `bypass_actors` property is only returned if the usermaking the API request has write access to the ruleset. returns a *RequestInformation when successful

func (*ItemRulesetsWithRuleset_ItemRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemRulesetsWithRuleset_ItemRequestBuilder when successful

type ItemSecretScanningAlertsRequestBuilder

type ItemSecretScanningAlertsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemSecretScanningAlertsRequestBuilder builds and executes requests for operations under \orgs\{org}\secret-scanning\alerts

func NewItemSecretScanningAlertsRequestBuilder

NewItemSecretScanningAlertsRequestBuilder instantiates a new ItemSecretScanningAlertsRequestBuilder and sets the default values.

func NewItemSecretScanningAlertsRequestBuilderInternal

func NewItemSecretScanningAlertsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecretScanningAlertsRequestBuilder

NewItemSecretScanningAlertsRequestBuilderInternal instantiates a new ItemSecretScanningAlertsRequestBuilder and sets the default values.

func (*ItemSecretScanningAlertsRequestBuilder) Get

Get lists secret scanning alerts for eligible repositories in an organization, from newest to oldest.The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. returns a []OrganizationSecretScanningAlertable when successful returns a BasicError error when the service returns a 404 status code returns a Alerts503Error error when the service returns a 503 status code API method documentation

func (*ItemSecretScanningAlertsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists secret scanning alerts for eligible repositories in an organization, from newest to oldest.The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead. returns a *RequestInformation when successful

func (*ItemSecretScanningAlertsRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemSecretScanningAlertsRequestBuilder when successful

type ItemSecretScanningAlertsRequestBuilderGetQueryParameters

type ItemSecretScanningAlertsRequestBuilderGetQueryParameters struct {
	// A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor.  To receive an initial cursor on your first request, include an empty "after" query string.
	After *string `uriparametername:"after"`
	// A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.11/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 *i7424a7e7ed210907f3a1fcdf8aa90dffa3a9669350059ae8849bd2aba37a1b90.GetDirectionQueryParameterType `uriparametername:"direction"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.
	Resolution *string `uriparametername:"resolution"`
	// A comma-separated list of secret types to return. By default all secret types are returned.See "[Supported secret scanning patterns](https://docs.github.com/enterprise-server@3.11/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)"for a complete list of secret types.
	Secret_type *string `uriparametername:"secret_type"`
	// The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.
	Sort *i7424a7e7ed210907f3a1fcdf8aa90dffa3a9669350059ae8849bd2aba37a1b90.GetSortQueryParameterType `uriparametername:"sort"`
	// Set to `open` or `resolved` to only list secret scanning alerts in a specific state.
	State *i7424a7e7ed210907f3a1fcdf8aa90dffa3a9669350059ae8849bd2aba37a1b90.GetStateQueryParameterType `uriparametername:"state"`
}

ItemSecretScanningAlertsRequestBuilderGetQueryParameters lists secret scanning alerts for eligible repositories in an organization, from newest to oldest.The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.

type ItemSecretScanningRequestBuilder

ItemSecretScanningRequestBuilder builds and executes requests for operations under \orgs\{org}\secret-scanning

func NewItemSecretScanningRequestBuilder

NewItemSecretScanningRequestBuilder instantiates a new ItemSecretScanningRequestBuilder and sets the default values.

func NewItemSecretScanningRequestBuilderInternal

func NewItemSecretScanningRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecretScanningRequestBuilder

NewItemSecretScanningRequestBuilderInternal instantiates a new ItemSecretScanningRequestBuilder and sets the default values.

func (*ItemSecretScanningRequestBuilder) Alerts

Alerts the alerts property returns a *ItemSecretScanningAlertsRequestBuilder when successful

type ItemSecurityManagersRequestBuilder

ItemSecurityManagersRequestBuilder builds and executes requests for operations under \orgs\{org}\security-managers

func NewItemSecurityManagersRequestBuilder

NewItemSecurityManagersRequestBuilder instantiates a new ItemSecurityManagersRequestBuilder and sets the default values.

func NewItemSecurityManagersRequestBuilderInternal

func NewItemSecurityManagersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecurityManagersRequestBuilder

NewItemSecurityManagersRequestBuilderInternal instantiates a new ItemSecurityManagersRequestBuilder and sets the default values.

func (*ItemSecurityManagersRequestBuilder) Get

Get lists teams that are security managers for an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. returns a []TeamSimpleable when successful API method documentation

func (*ItemSecurityManagersRequestBuilder) Teams

Teams the teams property returns a *ItemSecurityManagersTeamsRequestBuilder when successful

func (*ItemSecurityManagersRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists teams that are security managers for an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemSecurityManagersRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemSecurityManagersRequestBuilder when successful

type ItemSecurityManagersTeamsRequestBuilder

type ItemSecurityManagersTeamsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemSecurityManagersTeamsRequestBuilder builds and executes requests for operations under \orgs\{org}\security-managers\teams

func NewItemSecurityManagersTeamsRequestBuilder

NewItemSecurityManagersTeamsRequestBuilder instantiates a new ItemSecurityManagersTeamsRequestBuilder and sets the default values.

func NewItemSecurityManagersTeamsRequestBuilderInternal

func NewItemSecurityManagersTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecurityManagersTeamsRequestBuilder

NewItemSecurityManagersTeamsRequestBuilderInternal instantiates a new ItemSecurityManagersTeamsRequestBuilder and sets the default values.

func (*ItemSecurityManagersTeamsRequestBuilder) ByTeam_slug

ByTeam_slug gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.securityManagers.teams.item collection returns a *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder when successful

type ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder

type ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder builds and executes requests for operations under \orgs\{org}\security-managers\teams\{team_slug}

func NewItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder

func NewItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder

NewItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder instantiates a new ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder and sets the default values.

func NewItemSecurityManagersTeamsWithTeam_slugItemRequestBuilderInternal

func NewItemSecurityManagersTeamsWithTeam_slugItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder

NewItemSecurityManagersTeamsWithTeam_slugItemRequestBuilderInternal instantiates a new ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder and sets the default values.

func (*ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) Delete

Delete removes the security manager role from a team for an organization. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/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/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) team from an organization."The authenticated user must be an administrator for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation adds a team as a security manager for an organization. For more information, see "[Managing security for an organization](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) for an organization."The authenticated user must be an administrator for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder when successful

type ItemSettingsBillingAdvancedSecurityRequestBuilder

type ItemSettingsBillingAdvancedSecurityRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemSettingsBillingAdvancedSecurityRequestBuilder builds and executes requests for operations under \orgs\{org}\settings\billing\advanced-security

func NewItemSettingsBillingAdvancedSecurityRequestBuilder

NewItemSettingsBillingAdvancedSecurityRequestBuilder instantiates a new ItemSettingsBillingAdvancedSecurityRequestBuilder and sets the default values.

func NewItemSettingsBillingAdvancedSecurityRequestBuilderInternal

func NewItemSettingsBillingAdvancedSecurityRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingAdvancedSecurityRequestBuilder

NewItemSettingsBillingAdvancedSecurityRequestBuilderInternal instantiates a new ItemSettingsBillingAdvancedSecurityRequestBuilder and sets the default values.

func (*ItemSettingsBillingAdvancedSecurityRequestBuilder) Get

Get gets the GitHub Advanced Security active committers for an organization per repository.Each distinct user login across all repositories is counted as a single Advanced Security seat, so the `total_advanced_security_committers` is not the sum of advanced_security_committers for each repository.If this organization defers to an enterprise for billing, the `total_advanced_security_committers` returned from the organization API may include some users that are in more than one organization, so they will only consume a single Advanced Security seat at the enterprise level.The total number of repositories with committer information is tracked by the `total_count` field. returns a AdvancedSecurityActiveCommittersable when successful returns a BasicError error when the service returns a 403 status code API method documentation

func (*ItemSettingsBillingAdvancedSecurityRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets the GitHub Advanced Security active committers for an organization per repository.Each distinct user login across all repositories is counted as a single Advanced Security seat, so the `total_advanced_security_committers` is not the sum of advanced_security_committers for each repository.If this organization defers to an enterprise for billing, the `total_advanced_security_committers` returned from the organization API may include some users that are in more than one organization, so they will only consume a single Advanced Security seat at the enterprise level.The total number of repositories with committer information is tracked by the `total_count` field. returns a *RequestInformation when successful

func (*ItemSettingsBillingAdvancedSecurityRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemSettingsBillingAdvancedSecurityRequestBuilder when successful

type ItemSettingsBillingAdvancedSecurityRequestBuilderGetQueryParameters

type ItemSettingsBillingAdvancedSecurityRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemSettingsBillingAdvancedSecurityRequestBuilderGetQueryParameters gets the GitHub Advanced Security active committers for an organization per repository.Each distinct user login across all repositories is counted as a single Advanced Security seat, so the `total_advanced_security_committers` is not the sum of advanced_security_committers for each repository.If this organization defers to an enterprise for billing, the `total_advanced_security_committers` returned from the organization API may include some users that are in more than one organization, so they will only consume a single Advanced Security seat at the enterprise level.The total number of repositories with committer information is tracked by the `total_count` field.

type ItemSettingsBillingRequestBuilder

ItemSettingsBillingRequestBuilder builds and executes requests for operations under \orgs\{org}\settings\billing

func NewItemSettingsBillingRequestBuilder

NewItemSettingsBillingRequestBuilder instantiates a new ItemSettingsBillingRequestBuilder and sets the default values.

func NewItemSettingsBillingRequestBuilderInternal

func NewItemSettingsBillingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingRequestBuilder

NewItemSettingsBillingRequestBuilderInternal instantiates a new ItemSettingsBillingRequestBuilder and sets the default values.

func (*ItemSettingsBillingRequestBuilder) AdvancedSecurity

AdvancedSecurity the advancedSecurity property returns a *ItemSettingsBillingAdvancedSecurityRequestBuilder when successful

type ItemSettingsRequestBuilder

ItemSettingsRequestBuilder builds and executes requests for operations under \orgs\{org}\settings

func NewItemSettingsRequestBuilder

NewItemSettingsRequestBuilder instantiates a new ItemSettingsRequestBuilder and sets the default values.

func NewItemSettingsRequestBuilderInternal

func NewItemSettingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsRequestBuilder

NewItemSettingsRequestBuilderInternal instantiates a new ItemSettingsRequestBuilder and sets the default values.

func (*ItemSettingsRequestBuilder) Billing

Billing the billing property returns a *ItemSettingsBillingRequestBuilder when successful

type ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody

type ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody struct {
	// contains filtered or unexported fields
}

func NewItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody

func NewItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody() *ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody

NewItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody instantiates a new ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody and sets the default values.

func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody) GetAdditionalData

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody) SetAdditionalData

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

type ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder

type ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\discussions\{discussion_number}\comments\{comment_number}\reactions

func NewItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder

func NewItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder

NewItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder instantiates a new ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder and sets the default values.

func NewItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderInternal

func NewItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder

NewItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderInternal instantiates a new ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder and sets the default values.

func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) ByReaction_id

ByReaction_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.teams.item.discussions.item.comments.item.reactions.item collection returns a *ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder when successful

func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) Get

Get list the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.11/rest/teams/discussion-comments#get-a-discussion-comment).> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. returns a []Reactionable when successful API method documentation

func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) Post

Post create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.11/rest/teams/discussion-comments#get-a-discussion-comment).A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a Reactionable when successful API method documentation

func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.11/rest/teams/discussion-comments#get-a-discussion-comment).> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.11/rest/teams/discussion-comments#get-a-discussion-comment).A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder when successful

type ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderGetQueryParameters

type ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderGetQueryParameters struct {
	// Returns a single [reaction type](https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment.
	Content *i0c9a6d40bbcd88da4dddec9efef21a8133634385e5986dbe4d94ac414d7e5888.GetContentQueryParameterType `uriparametername:"content"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/rest/teams/discussion-comments#get-a-discussion-comment).> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.

type ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder

type ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\discussions\{discussion_number}\comments\{comment_number}\reactions\{reaction_id}

func NewItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder

func NewItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder

NewItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder instantiates a new ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder and sets the default values.

func NewItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilderInternal

func NewItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder

NewItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilderInternal instantiates a new ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder and sets the default values.

func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder) Delete

Delete > [!NOTE]> You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.Delete a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/rest/teams/discussion-comments#get-a-discussion-comment).OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder when successful

type ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody

type ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody struct {
	// contains filtered or unexported fields
}

func NewItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody

func NewItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody() *ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody

NewItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody instantiates a new ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody and sets the default values.

func (*ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetAdditionalData

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetBody

GetBody gets the body property value. The discussion comment's body text. returns a *string when successful

func (*ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) SetAdditionalData

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) SetBody

SetBody sets the body property value. The discussion comment's body text.

type ItemTeamsItemDiscussionsItemCommentsPostRequestBody

type ItemTeamsItemDiscussionsItemCommentsPostRequestBody struct {
	// contains filtered or unexported fields
}

func NewItemTeamsItemDiscussionsItemCommentsPostRequestBody

func NewItemTeamsItemDiscussionsItemCommentsPostRequestBody() *ItemTeamsItemDiscussionsItemCommentsPostRequestBody

NewItemTeamsItemDiscussionsItemCommentsPostRequestBody instantiates a new ItemTeamsItemDiscussionsItemCommentsPostRequestBody and sets the default values.

func (*ItemTeamsItemDiscussionsItemCommentsPostRequestBody) GetAdditionalData

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemTeamsItemDiscussionsItemCommentsPostRequestBody) GetBody

GetBody gets the body property value. The discussion comment's body text. returns a *string when successful

func (*ItemTeamsItemDiscussionsItemCommentsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemTeamsItemDiscussionsItemCommentsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemTeamsItemDiscussionsItemCommentsPostRequestBody) SetAdditionalData

func (m *ItemTeamsItemDiscussionsItemCommentsPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemTeamsItemDiscussionsItemCommentsPostRequestBody) SetBody

SetBody sets the body property value. The discussion comment's body text.

type ItemTeamsItemDiscussionsItemCommentsRequestBuilder

type ItemTeamsItemDiscussionsItemCommentsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemDiscussionsItemCommentsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\discussions\{discussion_number}\comments

func NewItemTeamsItemDiscussionsItemCommentsRequestBuilder

NewItemTeamsItemDiscussionsItemCommentsRequestBuilder instantiates a new ItemTeamsItemDiscussionsItemCommentsRequestBuilder and sets the default values.

func NewItemTeamsItemDiscussionsItemCommentsRequestBuilderInternal

func NewItemTeamsItemDiscussionsItemCommentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsRequestBuilder

NewItemTeamsItemDiscussionsItemCommentsRequestBuilderInternal instantiates a new ItemTeamsItemDiscussionsItemCommentsRequestBuilder and sets the default values.

func (*ItemTeamsItemDiscussionsItemCommentsRequestBuilder) ByComment_number

ByComment_number gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.teams.item.discussions.item.comments.item collection returns a *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder when successful

func (*ItemTeamsItemDiscussionsItemCommentsRequestBuilder) Get

Get list all comments on a team discussion.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. returns a []TeamDiscussionCommentable when successful API method documentation

func (*ItemTeamsItemDiscussionsItemCommentsRequestBuilder) Post

Post creates a new comment on a team discussion.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.11/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.11/rest/guides/best-practices-for-using-the-rest-api)."> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a TeamDiscussionCommentable when successful API method documentation

func (*ItemTeamsItemDiscussionsItemCommentsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all comments on a team discussion.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsItemCommentsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation creates a new comment on a team discussion.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.11/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.11/rest/guides/best-practices-for-using-the-rest-api)."> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsItemCommentsRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemTeamsItemDiscussionsItemCommentsRequestBuilder when successful

type ItemTeamsItemDiscussionsItemCommentsRequestBuilderGetQueryParameters

type ItemTeamsItemDiscussionsItemCommentsRequestBuilderGetQueryParameters struct {
	// The direction to sort the results by.
	Direction *i506241ca18d8ab7a848642012907263dc692e3e2bf03b77d94c968ee563897f7.GetDirectionQueryParameterType `uriparametername:"direction"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemTeamsItemDiscussionsItemCommentsRequestBuilderGetQueryParameters list all comments on a team discussion.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.

type ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder

type ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\discussions\{discussion_number}\comments\{comment_number}

func NewItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder

func NewItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder

NewItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder instantiates a new ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder and sets the default values.

func NewItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderInternal

func NewItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder

NewItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderInternal instantiates a new ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder and sets the default values.

func (*ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Delete

Delete deletes a comment on a team discussion.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. API method documentation

func (*ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Get

Get get a specific comment on a team discussion.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. returns a TeamDiscussionCommentable when successful API method documentation

func (*ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Patch

Patch edits the body text of a discussion comment.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a TeamDiscussionCommentable when successful API method documentation

func (*ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Reactions

Reactions the reactions property returns a *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder when successful

func (*ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a comment on a team discussion.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation get a specific comment on a team discussion.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation edits the body text of a discussion comment.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder when successful

type ItemTeamsItemDiscussionsItemReactionsPostRequestBody

type ItemTeamsItemDiscussionsItemReactionsPostRequestBody struct {
	// contains filtered or unexported fields
}

func NewItemTeamsItemDiscussionsItemReactionsPostRequestBody

func NewItemTeamsItemDiscussionsItemReactionsPostRequestBody() *ItemTeamsItemDiscussionsItemReactionsPostRequestBody

NewItemTeamsItemDiscussionsItemReactionsPostRequestBody instantiates a new ItemTeamsItemDiscussionsItemReactionsPostRequestBody and sets the default values.

func (*ItemTeamsItemDiscussionsItemReactionsPostRequestBody) GetAdditionalData

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemTeamsItemDiscussionsItemReactionsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemTeamsItemDiscussionsItemReactionsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemTeamsItemDiscussionsItemReactionsPostRequestBody) SetAdditionalData

func (m *ItemTeamsItemDiscussionsItemReactionsPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

type ItemTeamsItemDiscussionsItemReactionsRequestBuilder

type ItemTeamsItemDiscussionsItemReactionsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemDiscussionsItemReactionsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\discussions\{discussion_number}\reactions

func NewItemTeamsItemDiscussionsItemReactionsRequestBuilder

NewItemTeamsItemDiscussionsItemReactionsRequestBuilder instantiates a new ItemTeamsItemDiscussionsItemReactionsRequestBuilder and sets the default values.

func NewItemTeamsItemDiscussionsItemReactionsRequestBuilderInternal

func NewItemTeamsItemDiscussionsItemReactionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemReactionsRequestBuilder

NewItemTeamsItemDiscussionsItemReactionsRequestBuilderInternal instantiates a new ItemTeamsItemDiscussionsItemReactionsRequestBuilder and sets the default values.

func (*ItemTeamsItemDiscussionsItemReactionsRequestBuilder) ByReaction_id

ByReaction_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.teams.item.discussions.item.reactions.item collection returns a *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder when successful

func (*ItemTeamsItemDiscussionsItemReactionsRequestBuilder) Get

Get list the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.11/rest/teams/discussions#get-a-discussion).> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. returns a []Reactionable when successful API method documentation

func (*ItemTeamsItemDiscussionsItemReactionsRequestBuilder) Post

Post create a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.11/rest/teams/discussions#get-a-discussion).A response with an HTTP `200` status means that you already added the reaction type to this team discussion.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a Reactionable when successful API method documentation

func (*ItemTeamsItemDiscussionsItemReactionsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.11/rest/teams/discussions#get-a-discussion).> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsItemReactionsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation create a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.11/rest/teams/discussions#get-a-discussion).A response with an HTTP `200` status means that you already added the reaction type to this team discussion.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsItemReactionsRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemTeamsItemDiscussionsItemReactionsRequestBuilder when successful

type ItemTeamsItemDiscussionsItemReactionsRequestBuilderGetQueryParameters

type ItemTeamsItemDiscussionsItemReactionsRequestBuilderGetQueryParameters struct {
	// Returns a single [reaction type](https://docs.github.com/enterprise-server@3.11/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion.
	Content *i1a9fb7066804ddd6361dee05921db7500642f81a9bc16110ee3d166a9255e363.GetContentQueryParameterType `uriparametername:"content"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/rest/teams/discussions#get-a-discussion).> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.

type ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder

type ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\discussions\{discussion_number}\reactions\{reaction_id}

func NewItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder

func NewItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder

NewItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder instantiates a new ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder and sets the default values.

func NewItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilderInternal

func NewItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder

NewItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilderInternal instantiates a new ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder and sets the default values.

func (*ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder) Delete

Delete > [!NOTE]> You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.Delete a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/rest/teams/discussions#get-a-discussion).OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder when successful

type ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody

type ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody struct {
	// contains filtered or unexported fields
}

func NewItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody

func NewItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody() *ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody

NewItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody instantiates a new ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody and sets the default values.

func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetAdditionalData

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetBody

GetBody gets the body property value. The discussion post's body text. returns a *string when successful

func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetTitle

GetTitle gets the title property value. The discussion post's title. returns a *string when successful

func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) SetAdditionalData

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) SetBody

SetBody sets the body property value. The discussion post's body text.

func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) SetTitle

SetTitle sets the title property value. The discussion post's title.

type ItemTeamsItemDiscussionsPostRequestBody

type ItemTeamsItemDiscussionsPostRequestBody struct {
	// contains filtered or unexported fields
}

func NewItemTeamsItemDiscussionsPostRequestBody

func NewItemTeamsItemDiscussionsPostRequestBody() *ItemTeamsItemDiscussionsPostRequestBody

NewItemTeamsItemDiscussionsPostRequestBody instantiates a new ItemTeamsItemDiscussionsPostRequestBody and sets the default values.

func (*ItemTeamsItemDiscussionsPostRequestBody) GetAdditionalData

func (m *ItemTeamsItemDiscussionsPostRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemTeamsItemDiscussionsPostRequestBody) GetBody

GetBody gets the body property value. The discussion post's body text. returns a *string when successful

func (*ItemTeamsItemDiscussionsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemTeamsItemDiscussionsPostRequestBody) GetPrivate

GetPrivate gets the private property value. Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post. returns a *bool when successful

func (*ItemTeamsItemDiscussionsPostRequestBody) GetTitle

GetTitle gets the title property value. The discussion post's title. returns a *string when successful

func (*ItemTeamsItemDiscussionsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemTeamsItemDiscussionsPostRequestBody) SetAdditionalData

func (m *ItemTeamsItemDiscussionsPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemTeamsItemDiscussionsPostRequestBody) SetBody

SetBody sets the body property value. The discussion post's body text.

func (*ItemTeamsItemDiscussionsPostRequestBody) SetPrivate

func (m *ItemTeamsItemDiscussionsPostRequestBody) SetPrivate(value *bool)

SetPrivate sets the private property value. Private posts are only visible to team members, organization owners, and team maintainers. Public posts are visible to all members of the organization. Set to `true` to create a private post.

func (*ItemTeamsItemDiscussionsPostRequestBody) SetTitle

func (m *ItemTeamsItemDiscussionsPostRequestBody) SetTitle(value *string)

SetTitle sets the title property value. The discussion post's title.

type ItemTeamsItemDiscussionsPostRequestBodyable

type ItemTeamsItemDiscussionsPostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetBody() *string
	GetPrivate() *bool
	GetTitle() *string
	SetBody(value *string)
	SetPrivate(value *bool)
	SetTitle(value *string)
}

type ItemTeamsItemDiscussionsRequestBuilder

type ItemTeamsItemDiscussionsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemDiscussionsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\discussions

func NewItemTeamsItemDiscussionsRequestBuilder

NewItemTeamsItemDiscussionsRequestBuilder instantiates a new ItemTeamsItemDiscussionsRequestBuilder and sets the default values.

func NewItemTeamsItemDiscussionsRequestBuilderInternal

func NewItemTeamsItemDiscussionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsRequestBuilder

NewItemTeamsItemDiscussionsRequestBuilderInternal instantiates a new ItemTeamsItemDiscussionsRequestBuilder and sets the default values.

func (*ItemTeamsItemDiscussionsRequestBuilder) ByDiscussion_number

ByDiscussion_number gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.teams.item.discussions.item collection returns a *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder when successful

func (*ItemTeamsItemDiscussionsRequestBuilder) Get

Get list all discussions on a team's page.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. returns a []TeamDiscussionable when successful API method documentation

func (*ItemTeamsItemDiscussionsRequestBuilder) Post

Post creates a new discussion post on a team's page.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.11/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.11/rest/guides/best-practices-for-using-the-rest-api)."> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a TeamDiscussionable when successful API method documentation

func (*ItemTeamsItemDiscussionsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation list all discussions on a team's page.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation creates a new discussion post on a team's page.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.11/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/enterprise-server@3.11/rest/guides/best-practices-for-using-the-rest-api)."> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemTeamsItemDiscussionsRequestBuilder when successful

type ItemTeamsItemDiscussionsRequestBuilderGetQueryParameters

type ItemTeamsItemDiscussionsRequestBuilderGetQueryParameters struct {
	// The direction to sort the results by.
	Direction *icdf812eda581f55cb72c7533e83f29e577570623131e307cc6b27c25eb256a7b.GetDirectionQueryParameterType `uriparametername:"direction"`
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// Pinned discussions only filter
	Pinned *string `uriparametername:"pinned"`
}

ItemTeamsItemDiscussionsRequestBuilderGetQueryParameters list all discussions on a team's page.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint.

type ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder

type ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\discussions\{discussion_number}

func NewItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder

func NewItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder

NewItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder instantiates a new ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder and sets the default values.

func NewItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderInternal

func NewItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder

NewItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderInternal instantiates a new ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder and sets the default values.

func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Comments

Comments the comments property returns a *ItemTeamsItemDiscussionsItemCommentsRequestBuilder when successful

func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Delete

Delete delete a discussion from a team's page.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. API method documentation

func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Get

Get get a specific discussion on a team's page.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. returns a TeamDiscussionable when successful API method documentation

func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Patch

Patch edits the title and body text of a discussion post. Only the parameters you provide are updated.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a TeamDiscussionable when successful API method documentation

func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Reactions

Reactions the reactions property returns a *ItemTeamsItemDiscussionsItemReactionsRequestBuilder when successful

func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation delete a discussion from a team's page.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation get a specific discussion on a team's page.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.OAuth app tokens and personal access tokens (classic) need the `read:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation edits the title and body text of a discussion post. Only the parameters you provide are updated.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}`.OAuth app tokens and personal access tokens (classic) need the `write:discussion` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder when successful

type ItemTeamsItemExternalGroupsPatchRequestBody

type ItemTeamsItemExternalGroupsPatchRequestBody struct {
	// contains filtered or unexported fields
}

func NewItemTeamsItemExternalGroupsPatchRequestBody

func NewItemTeamsItemExternalGroupsPatchRequestBody() *ItemTeamsItemExternalGroupsPatchRequestBody

NewItemTeamsItemExternalGroupsPatchRequestBody instantiates a new ItemTeamsItemExternalGroupsPatchRequestBody and sets the default values.

func (*ItemTeamsItemExternalGroupsPatchRequestBody) GetAdditionalData

func (m *ItemTeamsItemExternalGroupsPatchRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemTeamsItemExternalGroupsPatchRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemTeamsItemExternalGroupsPatchRequestBody) GetGroupId

GetGroupId gets the group_id property value. External Group Id returns a *int32 when successful

func (*ItemTeamsItemExternalGroupsPatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemTeamsItemExternalGroupsPatchRequestBody) SetAdditionalData

func (m *ItemTeamsItemExternalGroupsPatchRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemTeamsItemExternalGroupsPatchRequestBody) SetGroupId

func (m *ItemTeamsItemExternalGroupsPatchRequestBody) SetGroupId(value *int32)

SetGroupId sets the group_id property value. External Group Id

type ItemTeamsItemExternalGroupsRequestBuilder

type ItemTeamsItemExternalGroupsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemExternalGroupsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\external-groups

func NewItemTeamsItemExternalGroupsRequestBuilder

NewItemTeamsItemExternalGroupsRequestBuilder instantiates a new ItemTeamsItemExternalGroupsRequestBuilder and sets the default values.

func NewItemTeamsItemExternalGroupsRequestBuilderInternal

func NewItemTeamsItemExternalGroupsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemExternalGroupsRequestBuilder

NewItemTeamsItemExternalGroupsRequestBuilderInternal instantiates a new ItemTeamsItemExternalGroupsRequestBuilder and sets the default values.

func (*ItemTeamsItemExternalGroupsRequestBuilder) Delete

Delete deletes a connection between a team and an external group.You can manage team membership with your IdP using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.11/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. API method documentation

func (*ItemTeamsItemExternalGroupsRequestBuilder) Get

Get lists a connection between a team and an external group.You can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/enterprise-server@3.11/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation. returns a ExternalGroupsable when successful API method documentation

func (*ItemTeamsItemExternalGroupsRequestBuilder) Patch

Patch creates a connection between a team and an external group. Only one external group can be linked to a team.You can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/enterprise-server@3.11/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation. returns a ExternalGroupable when successful API method documentation

func (*ItemTeamsItemExternalGroupsRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes a connection between a team and an external group.You can manage team membership with your IdP using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.11/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. returns a *RequestInformation when successful

func (*ItemTeamsItemExternalGroupsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists a connection between a team and an external group.You can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/enterprise-server@3.11/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation. returns a *RequestInformation when successful

func (*ItemTeamsItemExternalGroupsRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation creates a connection between a team and an external group. Only one external group can be linked to a team.You can manage team membership with your identity provider using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see "[GitHub's products](https://docs.github.com/enterprise-server@3.11/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation. returns a *RequestInformation when successful

func (*ItemTeamsItemExternalGroupsRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemTeamsItemExternalGroupsRequestBuilder when successful

type ItemTeamsItemMembersRequestBuilder

ItemTeamsItemMembersRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\members

func NewItemTeamsItemMembersRequestBuilder

NewItemTeamsItemMembersRequestBuilder instantiates a new ItemTeamsItemMembersRequestBuilder and sets the default values.

func NewItemTeamsItemMembersRequestBuilderInternal

func NewItemTeamsItemMembersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemMembersRequestBuilder

NewItemTeamsItemMembersRequestBuilderInternal instantiates a new ItemTeamsItemMembersRequestBuilder and sets the default values.

func (*ItemTeamsItemMembersRequestBuilder) Get

Get team members will include the members of child teams.To list members in a team, the team must be visible to the authenticated user. returns a []SimpleUserable when successful API method documentation

func (*ItemTeamsItemMembersRequestBuilder) ToGetRequestInformation

ToGetRequestInformation team members will include the members of child teams.To list members in a team, the team must be visible to the authenticated user. returns a *RequestInformation when successful

func (*ItemTeamsItemMembersRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemTeamsItemMembersRequestBuilder when successful

type ItemTeamsItemMembersRequestBuilderGetQueryParameters

type ItemTeamsItemMembersRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/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 *ibb541096b0cd5e4f7f3d82e5f4b24b4e6d5814285c679a01f9f2e799627a9431.GetRoleQueryParameterType `uriparametername:"role"`
}

ItemTeamsItemMembersRequestBuilderGetQueryParameters team members will include the members of child teams.To list members in a team, the team must be visible to the authenticated user.

type ItemTeamsItemMembershipsItemWithUsernamePutRequestBody

type ItemTeamsItemMembershipsItemWithUsernamePutRequestBody struct {
	// contains filtered or unexported fields
}

func NewItemTeamsItemMembershipsItemWithUsernamePutRequestBody

func NewItemTeamsItemMembershipsItemWithUsernamePutRequestBody() *ItemTeamsItemMembershipsItemWithUsernamePutRequestBody

NewItemTeamsItemMembershipsItemWithUsernamePutRequestBody instantiates a new ItemTeamsItemMembershipsItemWithUsernamePutRequestBody and sets the default values.

func (*ItemTeamsItemMembershipsItemWithUsernamePutRequestBody) GetAdditionalData

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemTeamsItemMembershipsItemWithUsernamePutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemTeamsItemMembershipsItemWithUsernamePutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemTeamsItemMembershipsItemWithUsernamePutRequestBody) SetAdditionalData

func (m *ItemTeamsItemMembershipsItemWithUsernamePutRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

type ItemTeamsItemMembershipsRequestBuilder

type ItemTeamsItemMembershipsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemMembershipsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\memberships

func NewItemTeamsItemMembershipsRequestBuilder

NewItemTeamsItemMembershipsRequestBuilder instantiates a new ItemTeamsItemMembershipsRequestBuilder and sets the default values.

func NewItemTeamsItemMembershipsRequestBuilderInternal

func NewItemTeamsItemMembershipsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemMembershipsRequestBuilder

NewItemTeamsItemMembershipsRequestBuilderInternal instantiates a new ItemTeamsItemMembershipsRequestBuilder and sets the default values.

func (*ItemTeamsItemMembershipsRequestBuilder) ByUsername

ByUsername gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.teams.item.memberships.item collection returns a *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder when successful

type ItemTeamsItemMembershipsWithUsernameItemRequestBuilder

type ItemTeamsItemMembershipsWithUsernameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemMembershipsWithUsernameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\memberships\{username}

func NewItemTeamsItemMembershipsWithUsernameItemRequestBuilder

func NewItemTeamsItemMembershipsWithUsernameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder

NewItemTeamsItemMembershipsWithUsernameItemRequestBuilder instantiates a new ItemTeamsItemMembershipsWithUsernameItemRequestBuilder and sets the default values.

func NewItemTeamsItemMembershipsWithUsernameItemRequestBuilderInternal

func NewItemTeamsItemMembershipsWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder

NewItemTeamsItemMembershipsWithUsernameItemRequestBuilderInternal instantiates a new ItemTeamsItemMembershipsWithUsernameItemRequestBuilder and sets the default values.

func (*ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) Delete

Delete to remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.11/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 Enterprise Server 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 Enterprise Server](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/rest/teams/teams#create-a-team). returns a TeamMembershipable when successful API method documentation

func (*ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) Put

Put adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.11/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 Enterprise Server 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 Enterprise Server](https://docs.github.com/enterprise-server@3.11/articles/synchronizing-teams-between-your-identity-provider-and-github/)."An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team.If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. returns a TeamMembershipable when successful API method documentation

func (*ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation to remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.11/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 Enterprise Server 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 Enterprise Server](https://docs.github.com/enterprise-server@3.11/articles/synchronizing-teams-between-your-identity-provider-and-github/)."> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. returns a *RequestInformation when successful

func (*ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation team members will include the members of child teams.To get a user's membership with a team, the team must be visible to the authenticated user.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/memberships/{username}`.> [!NOTE]> The response contains the `state` of the membership and the member's `role`.The `role` for organization owners is set to `maintainer`. For more information about `maintainer` roles, see [Create a team](https://docs.github.com/enterprise-server@3.11/rest/teams/teams#create-a-team). returns a *RequestInformation when successful

func (*ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation adds an organization member to a team. An authenticated organization owner or team maintainer can add organization members to a team.Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see [GitHub's products](https://docs.github.com/enterprise-server@3.11/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 Enterprise Server 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 Enterprise Server](https://docs.github.com/enterprise-server@3.11/articles/synchronizing-teams-between-your-identity-provider-and-github/)."An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team.If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. returns a *RequestInformation when successful

func (*ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder when successful

type ItemTeamsItemProjectsItemWithProject_403Error

type ItemTeamsItemProjectsItemWithProject_403Error struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ApiError
	// contains filtered or unexported fields
}

func NewItemTeamsItemProjectsItemWithProject_403Error

func NewItemTeamsItemProjectsItemWithProject_403Error() *ItemTeamsItemProjectsItemWithProject_403Error

NewItemTeamsItemProjectsItemWithProject_403Error instantiates a new ItemTeamsItemProjectsItemWithProject_403Error and sets the default values.

func (*ItemTeamsItemProjectsItemWithProject_403Error) Error

Error the primary error message. returns a string when successful

func (*ItemTeamsItemProjectsItemWithProject_403Error) GetAdditionalData

func (m *ItemTeamsItemProjectsItemWithProject_403Error) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemTeamsItemProjectsItemWithProject_403Error) GetDocumentationUrl

func (m *ItemTeamsItemProjectsItemWithProject_403Error) GetDocumentationUrl() *string

GetDocumentationUrl gets the documentation_url property value. The documentation_url property returns a *string when successful

func (*ItemTeamsItemProjectsItemWithProject_403Error) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemTeamsItemProjectsItemWithProject_403Error) GetMessage

GetMessage gets the message property value. The message property returns a *string when successful

func (*ItemTeamsItemProjectsItemWithProject_403Error) Serialize

Serialize serializes information the current object

func (*ItemTeamsItemProjectsItemWithProject_403Error) SetAdditionalData

func (m *ItemTeamsItemProjectsItemWithProject_403Error) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemTeamsItemProjectsItemWithProject_403Error) SetDocumentationUrl

func (m *ItemTeamsItemProjectsItemWithProject_403Error) SetDocumentationUrl(value *string)

SetDocumentationUrl sets the documentation_url property value. The documentation_url property

func (*ItemTeamsItemProjectsItemWithProject_403Error) SetMessage

SetMessage sets the message property value. The message property

type ItemTeamsItemProjectsItemWithProject_403Errorable

type ItemTeamsItemProjectsItemWithProject_403Errorable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetDocumentationUrl() *string
	GetMessage() *string
	SetDocumentationUrl(value *string)
	SetMessage(value *string)
}

type ItemTeamsItemProjectsItemWithProject_PutRequestBody

type ItemTeamsItemProjectsItemWithProject_PutRequestBody struct {
	// contains filtered or unexported fields
}

func NewItemTeamsItemProjectsItemWithProject_PutRequestBody

func NewItemTeamsItemProjectsItemWithProject_PutRequestBody() *ItemTeamsItemProjectsItemWithProject_PutRequestBody

NewItemTeamsItemProjectsItemWithProject_PutRequestBody instantiates a new ItemTeamsItemProjectsItemWithProject_PutRequestBody and sets the default values.

func (*ItemTeamsItemProjectsItemWithProject_PutRequestBody) GetAdditionalData

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemTeamsItemProjectsItemWithProject_PutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemTeamsItemProjectsItemWithProject_PutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemTeamsItemProjectsItemWithProject_PutRequestBody) SetAdditionalData

func (m *ItemTeamsItemProjectsItemWithProject_PutRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

type ItemTeamsItemProjectsRequestBuilder

ItemTeamsItemProjectsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\projects

func NewItemTeamsItemProjectsRequestBuilder

NewItemTeamsItemProjectsRequestBuilder instantiates a new ItemTeamsItemProjectsRequestBuilder and sets the default values.

func NewItemTeamsItemProjectsRequestBuilderInternal

func NewItemTeamsItemProjectsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemProjectsRequestBuilder

NewItemTeamsItemProjectsRequestBuilderInternal instantiates a new ItemTeamsItemProjectsRequestBuilder and sets the default values.

func (*ItemTeamsItemProjectsRequestBuilder) ByProject_id

ByProject_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.teams.item.projects.item collection returns a *ItemTeamsItemProjectsWithProject_ItemRequestBuilder when successful

func (*ItemTeamsItemProjectsRequestBuilder) Get

Get lists the organization projects for a team.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. returns a []TeamProjectable when successful API method documentation

func (*ItemTeamsItemProjectsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the organization projects for a team.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`. returns a *RequestInformation when successful

func (*ItemTeamsItemProjectsRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemTeamsItemProjectsRequestBuilder when successful

type ItemTeamsItemProjectsRequestBuilderGetQueryParameters

type ItemTeamsItemProjectsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemTeamsItemProjectsRequestBuilderGetQueryParameters lists the organization projects for a team.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.

type ItemTeamsItemProjectsWithProject_ItemRequestBuilder

type ItemTeamsItemProjectsWithProject_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemProjectsWithProject_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\projects\{project_id}

func NewItemTeamsItemProjectsWithProject_ItemRequestBuilder

NewItemTeamsItemProjectsWithProject_ItemRequestBuilder instantiates a new ItemTeamsItemProjectsWithProject_ItemRequestBuilder and sets the default values.

func NewItemTeamsItemProjectsWithProject_ItemRequestBuilderInternal

func NewItemTeamsItemProjectsWithProject_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemProjectsWithProject_ItemRequestBuilder

NewItemTeamsItemProjectsWithProject_ItemRequestBuilderInternal instantiates a new ItemTeamsItemProjectsWithProject_ItemRequestBuilder and sets the default values.

func (*ItemTeamsItemProjectsWithProject_ItemRequestBuilder) Delete

Delete removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. API method documentation

func (*ItemTeamsItemProjectsWithProject_ItemRequestBuilder) Get

Get checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. returns a TeamProjectable when successful API method documentation

func (*ItemTeamsItemProjectsWithProject_ItemRequestBuilder) Put

Put adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. returns a ItemTeamsItemProjectsItemWithProject_403Error error when the service returns a 403 status code API method documentation

func (*ItemTeamsItemProjectsWithProject_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`. returns a *RequestInformation when successful

func (*ItemTeamsItemProjectsWithProject_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`. returns a *RequestInformation when successful

func (*ItemTeamsItemProjectsWithProject_ItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`. returns a *RequestInformation when successful

func (*ItemTeamsItemProjectsWithProject_ItemRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemTeamsItemProjectsWithProject_ItemRequestBuilder when successful

type ItemTeamsItemReposItemItemWithRepoPutRequestBody

type ItemTeamsItemReposItemItemWithRepoPutRequestBody struct {
	// contains filtered or unexported fields
}

func NewItemTeamsItemReposItemItemWithRepoPutRequestBody

func NewItemTeamsItemReposItemItemWithRepoPutRequestBody() *ItemTeamsItemReposItemItemWithRepoPutRequestBody

NewItemTeamsItemReposItemItemWithRepoPutRequestBody instantiates a new ItemTeamsItemReposItemItemWithRepoPutRequestBody and sets the default values.

func (*ItemTeamsItemReposItemItemWithRepoPutRequestBody) GetAdditionalData

func (m *ItemTeamsItemReposItemItemWithRepoPutRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemTeamsItemReposItemItemWithRepoPutRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemTeamsItemReposItemItemWithRepoPutRequestBody) GetPermission

GetPermission gets the permission property value. The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository. returns a *string when successful

func (*ItemTeamsItemReposItemItemWithRepoPutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemTeamsItemReposItemItemWithRepoPutRequestBody) SetAdditionalData

func (m *ItemTeamsItemReposItemItemWithRepoPutRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemTeamsItemReposItemItemWithRepoPutRequestBody) SetPermission

SetPermission sets the permission property value. The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository.

type ItemTeamsItemReposItemWithRepoItemRequestBuilder

type ItemTeamsItemReposItemWithRepoItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemReposItemWithRepoItemRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\repos\{owner}\{repo}

func NewItemTeamsItemReposItemWithRepoItemRequestBuilder

NewItemTeamsItemReposItemWithRepoItemRequestBuilder instantiates a new ItemTeamsItemReposItemWithRepoItemRequestBuilder and sets the default values.

func NewItemTeamsItemReposItemWithRepoItemRequestBuilderInternal

func NewItemTeamsItemReposItemWithRepoItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemReposItemWithRepoItemRequestBuilder

NewItemTeamsItemReposItemWithRepoItemRequestBuilderInternal instantiates a new ItemTeamsItemReposItemWithRepoItemRequestBuilder and sets the default values.

func (*ItemTeamsItemReposItemWithRepoItemRequestBuilder) Delete

Delete if the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. API method documentation

func (*ItemTeamsItemReposItemWithRepoItemRequestBuilder) Get

Get checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `application/vnd.github.v3.repository+json` accept header.If a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.If the repository is private, you must have at least `read` permission for that repository, and your token must have the `repo` or `admin:org` scope. Otherwise, you will receive a `404 Not Found` response status.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. returns a TeamRepositoryable when successful API method documentation

func (*ItemTeamsItemReposItemWithRepoItemRequestBuilder) Put

Put to add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". API method documentation

func (*ItemTeamsItemReposItemWithRepoItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation if the authenticated user is an organization owner or a team maintainer, they can remove any repositories from the team. To remove a repository from a team as an organization member, the authenticated user must have admin access to the repository and must be able to see the team. This does not delete the repository, it just removes it from the team.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. returns a *RequestInformation when successful

func (*ItemTeamsItemReposItemWithRepoItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation checks whether a team has `admin`, `push`, `maintain`, `triage`, or `pull` permission for a repository. Repositories inherited through a parent team will also be checked.You can also get information about the specified repository, including what permissions the team grants on it, by passing the following custom [media type](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/getting-started-with-the-rest-api#media-types/) via the `application/vnd.github.v3.repository+json` accept header.If a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.If the repository is private, you must have at least `read` permission for that repository, and your token must have the `repo` or `admin:org` scope. Otherwise, you will receive a `404 Not Found` response status.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. returns a *RequestInformation when successful

func (*ItemTeamsItemReposItemWithRepoItemRequestBuilder) ToPutRequestInformation

ToPutRequestInformation to add a repository to a team or update the team's permission on a repository, the authenticated user must have admin access to the repository, and must be able to see the team. The repository must be owned by the organization, or a direct fork of a repository owned by the organization. You will get a `422 Unprocessable Entity` status if you attempt to add a repository to a team that is not owned by the organization. Note that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see "[HTTP method](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". returns a *RequestInformation when successful

func (*ItemTeamsItemReposItemWithRepoItemRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemTeamsItemReposItemWithRepoItemRequestBuilder when successful

type ItemTeamsItemReposRequestBuilder

ItemTeamsItemReposRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\repos

func NewItemTeamsItemReposRequestBuilder

NewItemTeamsItemReposRequestBuilder instantiates a new ItemTeamsItemReposRequestBuilder and sets the default values.

func NewItemTeamsItemReposRequestBuilderInternal

func NewItemTeamsItemReposRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemReposRequestBuilder

NewItemTeamsItemReposRequestBuilderInternal instantiates a new ItemTeamsItemReposRequestBuilder and sets the default values.

func (*ItemTeamsItemReposRequestBuilder) ByOwner

ByOwner gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.teams.item.repos.item collection returns a *ItemTeamsItemReposWithOwnerItemRequestBuilder when successful

func (*ItemTeamsItemReposRequestBuilder) Get

Get lists a team's repositories visible to the authenticated user.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. returns a []MinimalRepositoryable when successful API method documentation

func (*ItemTeamsItemReposRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists a team's repositories visible to the authenticated user.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`. returns a *RequestInformation when successful

func (*ItemTeamsItemReposRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemTeamsItemReposRequestBuilder when successful

type ItemTeamsItemReposRequestBuilderGetQueryParameters

type ItemTeamsItemReposRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemTeamsItemReposRequestBuilderGetQueryParameters lists a team's repositories visible to the authenticated user.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.

type ItemTeamsItemReposWithOwnerItemRequestBuilder

type ItemTeamsItemReposWithOwnerItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsItemReposWithOwnerItemRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\repos\{owner}

func NewItemTeamsItemReposWithOwnerItemRequestBuilder

NewItemTeamsItemReposWithOwnerItemRequestBuilder instantiates a new ItemTeamsItemReposWithOwnerItemRequestBuilder and sets the default values.

func NewItemTeamsItemReposWithOwnerItemRequestBuilderInternal

func NewItemTeamsItemReposWithOwnerItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemReposWithOwnerItemRequestBuilder

NewItemTeamsItemReposWithOwnerItemRequestBuilderInternal instantiates a new ItemTeamsItemReposWithOwnerItemRequestBuilder and sets the default values.

func (*ItemTeamsItemReposWithOwnerItemRequestBuilder) ByRepo

ByRepo gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.teams.item.repos.item.item collection returns a *ItemTeamsItemReposItemWithRepoItemRequestBuilder when successful

type ItemTeamsItemTeamsRequestBuilder

ItemTeamsItemTeamsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\teams

func NewItemTeamsItemTeamsRequestBuilder

NewItemTeamsItemTeamsRequestBuilder instantiates a new ItemTeamsItemTeamsRequestBuilder and sets the default values.

func NewItemTeamsItemTeamsRequestBuilderInternal

func NewItemTeamsItemTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemTeamsRequestBuilder

NewItemTeamsItemTeamsRequestBuilderInternal instantiates a new ItemTeamsItemTeamsRequestBuilder and sets the default values.

func (*ItemTeamsItemTeamsRequestBuilder) Get

Get lists the child teams of the team specified by `{team_slug}`.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. returns a []Teamable when successful API method documentation

func (*ItemTeamsItemTeamsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the child teams of the team specified by `{team_slug}`.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`. returns a *RequestInformation when successful

func (*ItemTeamsItemTeamsRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemTeamsItemTeamsRequestBuilder when successful

type ItemTeamsItemTeamsRequestBuilderGetQueryParameters

type ItemTeamsItemTeamsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemTeamsItemTeamsRequestBuilderGetQueryParameters lists the child teams of the team specified by `{team_slug}`.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.

type ItemTeamsItemWithTeam_slugPatchRequestBody

type ItemTeamsItemWithTeam_slugPatchRequestBody struct {
	// contains filtered or unexported fields
}

func NewItemTeamsItemWithTeam_slugPatchRequestBody

func NewItemTeamsItemWithTeam_slugPatchRequestBody() *ItemTeamsItemWithTeam_slugPatchRequestBody

NewItemTeamsItemWithTeam_slugPatchRequestBody instantiates a new ItemTeamsItemWithTeam_slugPatchRequestBody and sets the default values.

func (*ItemTeamsItemWithTeam_slugPatchRequestBody) GetAdditionalData

func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemTeamsItemWithTeam_slugPatchRequestBody) GetDescription

GetDescription gets the description property value. The description of the team. returns a *string when successful

func (*ItemTeamsItemWithTeam_slugPatchRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemTeamsItemWithTeam_slugPatchRequestBody) GetName

GetName gets the name property value. The name of the team. returns a *string when successful

func (*ItemTeamsItemWithTeam_slugPatchRequestBody) GetParentTeamId

func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) GetParentTeamId() *int32

GetParentTeamId gets the parent_team_id property value. The ID of a team to set as the parent team. returns a *int32 when successful

func (*ItemTeamsItemWithTeam_slugPatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemTeamsItemWithTeam_slugPatchRequestBody) SetAdditionalData

func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemTeamsItemWithTeam_slugPatchRequestBody) SetDescription

func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) SetDescription(value *string)

SetDescription sets the description property value. The description of the team.

func (*ItemTeamsItemWithTeam_slugPatchRequestBody) SetName

SetName sets the name property value. The name of the team.

func (*ItemTeamsItemWithTeam_slugPatchRequestBody) SetParentTeamId

func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) SetParentTeamId(value *int32)

SetParentTeamId sets the parent_team_id property value. The ID of a team to set as the parent team.

type ItemTeamsItemWithTeam_slugPatchRequestBodyable

type ItemTeamsItemWithTeam_slugPatchRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetDescription() *string
	GetName() *string
	GetParentTeamId() *int32
	SetDescription(value *string)
	SetName(value *string)
	SetParentTeamId(value *int32)
}

type ItemTeamsPostRequestBody

type ItemTeamsPostRequestBody struct {
	// contains filtered or unexported fields
}

func NewItemTeamsPostRequestBody

func NewItemTeamsPostRequestBody() *ItemTeamsPostRequestBody

NewItemTeamsPostRequestBody instantiates a new ItemTeamsPostRequestBody and sets the default values.

func (*ItemTeamsPostRequestBody) GetAdditionalData

func (m *ItemTeamsPostRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemTeamsPostRequestBody) GetDescription

func (m *ItemTeamsPostRequestBody) GetDescription() *string

GetDescription gets the description property value. The description of the team. returns a *string when successful

func (*ItemTeamsPostRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemTeamsPostRequestBody) GetLdapDn

func (m *ItemTeamsPostRequestBody) GetLdapDn() *string

GetLdapDn gets the ldap_dn property value. The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. LDAP synchronization must be enabled to map LDAP entries to a team. Use the "[Update LDAP mapping for a team](https://docs.github.com/enterprise-server@3.11/rest/enterprise-admin/ldap#update-ldap-mapping-for-a-team)" endpoint to change the LDAP DN. For more information, see "[Using LDAP](https://docs.github.com/enterprise-server@3.11/admin/identity-and-access-management/authenticating-users-for-your-github-enterprise-server-instance/using-ldap#enabling-ldap-sync)." returns a *string when successful

func (*ItemTeamsPostRequestBody) GetMaintainers

func (m *ItemTeamsPostRequestBody) GetMaintainers() []string

GetMaintainers gets the maintainers property value. List GitHub IDs for organization members who will become team maintainers. returns a []string when successful

func (*ItemTeamsPostRequestBody) GetName

func (m *ItemTeamsPostRequestBody) GetName() *string

GetName gets the name property value. The name of the team. returns a *string when successful

func (*ItemTeamsPostRequestBody) GetParentTeamId

func (m *ItemTeamsPostRequestBody) GetParentTeamId() *int32

GetParentTeamId gets the parent_team_id property value. The ID of a team to set as the parent team. returns a *int32 when successful

func (*ItemTeamsPostRequestBody) GetRepoNames

func (m *ItemTeamsPostRequestBody) GetRepoNames() []string

GetRepoNames gets the repo_names property value. The full name (e.g., "organization-name/repository-name") of repositories to add the team to. returns a []string when successful

func (*ItemTeamsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemTeamsPostRequestBody) SetAdditionalData

func (m *ItemTeamsPostRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemTeamsPostRequestBody) SetDescription

func (m *ItemTeamsPostRequestBody) SetDescription(value *string)

SetDescription sets the description property value. The description of the team.

func (*ItemTeamsPostRequestBody) SetLdapDn

func (m *ItemTeamsPostRequestBody) SetLdapDn(value *string)

SetLdapDn sets the ldap_dn property value. The [distinguished name](https://www.ldap.com/ldap-dns-and-rdns) (DN) of the LDAP entry to map to a team. LDAP synchronization must be enabled to map LDAP entries to a team. Use the "[Update LDAP mapping for a team](https://docs.github.com/enterprise-server@3.11/rest/enterprise-admin/ldap#update-ldap-mapping-for-a-team)" endpoint to change the LDAP DN. For more information, see "[Using LDAP](https://docs.github.com/enterprise-server@3.11/admin/identity-and-access-management/authenticating-users-for-your-github-enterprise-server-instance/using-ldap#enabling-ldap-sync)."

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
	GetLdapDn() *string
	GetMaintainers() []string
	GetName() *string
	GetParentTeamId() *int32
	GetRepoNames() []string
	SetDescription(value *string)
	SetLdapDn(value *string)
	SetMaintainers(value []string)
	SetName(value *string)
	SetParentTeamId(value *int32)
	SetRepoNames(value []string)
}

type ItemTeamsRequestBuilder

ItemTeamsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams

func NewItemTeamsRequestBuilder

NewItemTeamsRequestBuilder instantiates a new ItemTeamsRequestBuilder and sets the default values.

func NewItemTeamsRequestBuilderInternal

func NewItemTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsRequestBuilder

NewItemTeamsRequestBuilderInternal instantiates a new ItemTeamsRequestBuilder and sets the default values.

func (*ItemTeamsRequestBuilder) ByTeam_slug

ByTeam_slug gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.teams.item collection returns a *ItemTeamsWithTeam_slugItemRequestBuilder when successful

func (*ItemTeamsRequestBuilder) Get

Get lists all teams in an organization that are visible to the authenticated user. returns a []Teamable when successful returns a BasicError error when the service returns a 403 status code API method documentation

func (*ItemTeamsRequestBuilder) Post

Post to create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see "[Setting team creation permissions](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/github/setting-up-and-managing-organizations-and-teams/about-teams)". returns a TeamFullable when successful returns a BasicError error when the service returns a 403 status code returns a ValidationError error when the service returns a 422 status code API method documentation

func (*ItemTeamsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all teams in an organization that are visible to the authenticated user. returns a *RequestInformation when successful

func (*ItemTeamsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation to create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see "[Setting team creation permissions](https://docs.github.com/enterprise-server@3.11/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/enterprise-server@3.11/github/setting-up-and-managing-organizations-and-teams/about-teams)". returns a *RequestInformation when successful

func (*ItemTeamsRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemTeamsRequestBuilder when successful

type ItemTeamsRequestBuilderGetQueryParameters

type ItemTeamsRequestBuilderGetQueryParameters struct {
	// The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Page *int32 `uriparametername:"page"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
}

ItemTeamsRequestBuilderGetQueryParameters lists all teams in an organization that are visible to the authenticated user.

type ItemTeamsWithTeam_slugItemRequestBuilder

type ItemTeamsWithTeam_slugItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemTeamsWithTeam_slugItemRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}

func NewItemTeamsWithTeam_slugItemRequestBuilder

NewItemTeamsWithTeam_slugItemRequestBuilder instantiates a new ItemTeamsWithTeam_slugItemRequestBuilder and sets the default values.

func NewItemTeamsWithTeam_slugItemRequestBuilderInternal

func NewItemTeamsWithTeam_slugItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsWithTeam_slugItemRequestBuilder

NewItemTeamsWithTeam_slugItemRequestBuilderInternal instantiates a new ItemTeamsWithTeam_slugItemRequestBuilder and sets the default values.

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Delete

Delete to delete a team, the authenticated user must be an organization owner or team maintainer.If you are an organization owner, deleting a parent team will delete all of its child teams as well.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. API method documentation

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Discussions

Discussions the discussions property returns a *ItemTeamsItemDiscussionsRequestBuilder when successful

func (*ItemTeamsWithTeam_slugItemRequestBuilder) ExternalGroups

ExternalGroups the externalGroups property returns a *ItemTeamsItemExternalGroupsRequestBuilder when successful

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Get

Get gets a team using the team's `slug`. To create the `slug`, GitHub Enterprise Server replaces special characters in the `name` string, changes all words to lowercase, and replaces spaces with a `-` separator. For example, `"My TEam Näme"` would become `my-team-name`.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. returns a TeamFullable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Members

Members the members property returns a *ItemTeamsItemMembersRequestBuilder when successful

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Memberships

Memberships the memberships property returns a *ItemTeamsItemMembershipsRequestBuilder when successful

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Patch

Patch to edit a team, the authenticated user must either be an organization owner or a team maintainer.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. returns a TeamFullable when successful returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Projects

Projects the projects property returns a *ItemTeamsItemProjectsRequestBuilder when successful

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Repos

Repos the repos property returns a *ItemTeamsItemReposRequestBuilder when successful

func (*ItemTeamsWithTeam_slugItemRequestBuilder) Teams

Teams the teams property returns a *ItemTeamsItemTeamsRequestBuilder when successful

func (*ItemTeamsWithTeam_slugItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation to delete a team, the authenticated user must be an organization owner or team maintainer.If you are an organization owner, deleting a parent team will delete all of its child teams as well.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`. returns a *RequestInformation when successful

func (*ItemTeamsWithTeam_slugItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a team using the team's `slug`. To create the `slug`, GitHub Enterprise Server replaces special characters in the `name` string, changes all words to lowercase, and replaces spaces with a `-` separator. For example, `"My TEam Näme"` would become `my-team-name`.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. returns a *RequestInformation when successful

func (*ItemTeamsWithTeam_slugItemRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation to edit a team, the authenticated user must either be an organization owner or a team maintainer.> [!NOTE]> You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`. returns a *RequestInformation when successful

func (*ItemTeamsWithTeam_slugItemRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemTeamsWithTeam_slugItemRequestBuilder when successful

type ItemWithOrgDeleteResponse

type ItemWithOrgDeleteResponse struct {
	// contains filtered or unexported fields
}

func NewItemWithOrgDeleteResponse

func NewItemWithOrgDeleteResponse() *ItemWithOrgDeleteResponse

NewItemWithOrgDeleteResponse instantiates a new ItemWithOrgDeleteResponse and sets the default values.

func (*ItemWithOrgDeleteResponse) GetAdditionalData

func (m *ItemWithOrgDeleteResponse) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemWithOrgDeleteResponse) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemWithOrgDeleteResponse) Serialize

Serialize serializes information the current object

func (*ItemWithOrgDeleteResponse) SetAdditionalData

func (m *ItemWithOrgDeleteResponse) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

type ItemWithOrgPatchRequestBody

type ItemWithOrgPatchRequestBody struct {
	// contains filtered or unexported fields
}

func NewItemWithOrgPatchRequestBody

func NewItemWithOrgPatchRequestBody() *ItemWithOrgPatchRequestBody

NewItemWithOrgPatchRequestBody instantiates a new ItemWithOrgPatchRequestBody and sets the default values.

func (*ItemWithOrgPatchRequestBody) GetAdditionalData

func (m *ItemWithOrgPatchRequestBody) GetAdditionalData() map[string]any

GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful

func (*ItemWithOrgPatchRequestBody) GetAdvancedSecurityEnabledForNewRepositories

func (m *ItemWithOrgPatchRequestBody) GetAdvancedSecurityEnabledForNewRepositories() *bool

GetAdvancedSecurityEnabledForNewRepositories gets the advanced_security_enabled_for_new_repositories property value. Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetBillingEmail

func (m *ItemWithOrgPatchRequestBody) GetBillingEmail() *string

GetBillingEmail gets the billing_email property value. Billing email address. This address is not publicized. returns a *string when successful

func (*ItemWithOrgPatchRequestBody) GetBlog

func (m *ItemWithOrgPatchRequestBody) GetBlog() *string

GetBlog gets the blog property value. The blog property returns a *string when successful

func (*ItemWithOrgPatchRequestBody) GetCompany

func (m *ItemWithOrgPatchRequestBody) GetCompany() *string

GetCompany gets the company property value. The company name. returns a *string when successful

func (*ItemWithOrgPatchRequestBody) GetDependabotAlertsEnabledForNewRepositories

func (m *ItemWithOrgPatchRequestBody) GetDependabotAlertsEnabledForNewRepositories() *bool

GetDependabotAlertsEnabledForNewRepositories gets the dependabot_alerts_enabled_for_new_repositories property value. Whether Dependabot alerts is automatically enabled for new repositories and repositories transferred to this organization.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetDependabotSecurityUpdatesEnabledForNewRepositories

func (m *ItemWithOrgPatchRequestBody) GetDependabotSecurityUpdatesEnabledForNewRepositories() *bool

GetDependabotSecurityUpdatesEnabledForNewRepositories gets the dependabot_security_updates_enabled_for_new_repositories property value. Whether Dependabot security updates is automatically enabled for new repositories and repositories transferred to this organization.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetDependencyGraphEnabledForNewRepositories

func (m *ItemWithOrgPatchRequestBody) GetDependencyGraphEnabledForNewRepositories() *bool

GetDependencyGraphEnabledForNewRepositories gets the dependency_graph_enabled_for_new_repositories property value. Whether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetDescription

func (m *ItemWithOrgPatchRequestBody) GetDescription() *string

GetDescription gets the description property value. The description of the company. The maximum size is 160 characters. returns a *string when successful

func (*ItemWithOrgPatchRequestBody) GetEmail

func (m *ItemWithOrgPatchRequestBody) GetEmail() *string

GetEmail gets the email property value. The publicly visible email address. returns a *string when successful

func (*ItemWithOrgPatchRequestBody) GetFieldDeserializers

GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful

func (*ItemWithOrgPatchRequestBody) GetHasOrganizationProjects

func (m *ItemWithOrgPatchRequestBody) GetHasOrganizationProjects() *bool

GetHasOrganizationProjects gets the has_organization_projects property value. Whether an organization can use organization projects. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetHasRepositoryProjects

func (m *ItemWithOrgPatchRequestBody) GetHasRepositoryProjects() *bool

GetHasRepositoryProjects gets the has_repository_projects property value. Whether repositories that belong to the organization can use repository projects. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetLocation

func (m *ItemWithOrgPatchRequestBody) GetLocation() *string

GetLocation gets the location property value. The location. returns a *string when successful

func (*ItemWithOrgPatchRequestBody) GetMembersCanCreateInternalRepositories

func (m *ItemWithOrgPatchRequestBody) GetMembersCanCreateInternalRepositories() *bool

GetMembersCanCreateInternalRepositories gets the members_can_create_internal_repositories property value. Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/enterprise-server@3.11/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetMembersCanCreatePages

func (m *ItemWithOrgPatchRequestBody) GetMembersCanCreatePages() *bool

GetMembersCanCreatePages gets the members_can_create_pages property value. Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) 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/enterprise-server@3.11/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) 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/enterprise-server@3.11/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetMembersCanCreateRepositories

func (m *ItemWithOrgPatchRequestBody) GetMembersCanCreateRepositories() *bool

GetMembersCanCreateRepositories gets the members_can_create_repositories property value. Whether of non-admin organization members can create repositories. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetMembersCanForkPrivateRepositories

func (m *ItemWithOrgPatchRequestBody) GetMembersCanForkPrivateRepositories() *bool

GetMembersCanForkPrivateRepositories gets the members_can_fork_private_repositories property value. Whether organization members can fork private organization repositories. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetName

func (m *ItemWithOrgPatchRequestBody) GetName() *string

GetName gets the name property value. The shorthand name of the company. returns a *string when successful

func (*ItemWithOrgPatchRequestBody) GetSecretScanningEnabledForNewRepositories

func (m *ItemWithOrgPatchRequestBody) GetSecretScanningEnabledForNewRepositories() *bool

GetSecretScanningEnabledForNewRepositories gets the secret_scanning_enabled_for_new_repositories property value. Whether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. returns a *bool when successful

func (m *ItemWithOrgPatchRequestBody) GetSecretScanningPushProtectionCustomLink() *string

GetSecretScanningPushProtectionCustomLink gets the secret_scanning_push_protection_custom_link property value. If `secret_scanning_push_protection_custom_link_enabled` is true, the URL that will be displayed to contributors who are blocked from pushing a secret. returns a *string when successful

func (*ItemWithOrgPatchRequestBody) GetSecretScanningPushProtectionCustomLinkEnabled

func (m *ItemWithOrgPatchRequestBody) GetSecretScanningPushProtectionCustomLinkEnabled() *bool

GetSecretScanningPushProtectionCustomLinkEnabled gets the secret_scanning_push_protection_custom_link_enabled property value. Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetSecretScanningPushProtectionEnabledForNewRepositories

func (m *ItemWithOrgPatchRequestBody) GetSecretScanningPushProtectionEnabledForNewRepositories() *bool

GetSecretScanningPushProtectionEnabledForNewRepositories gets the secret_scanning_push_protection_enabled_for_new_repositories property value. Whether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) GetTwitterUsername

func (m *ItemWithOrgPatchRequestBody) GetTwitterUsername() *string

GetTwitterUsername gets the twitter_username property value. The Twitter username of the company. returns a *string when successful

func (*ItemWithOrgPatchRequestBody) GetWebCommitSignoffRequired

func (m *ItemWithOrgPatchRequestBody) GetWebCommitSignoffRequired() *bool

GetWebCommitSignoffRequired gets the web_commit_signoff_required property value. Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface. returns a *bool when successful

func (*ItemWithOrgPatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemWithOrgPatchRequestBody) SetAdditionalData

func (m *ItemWithOrgPatchRequestBody) SetAdditionalData(value map[string]any)

SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*ItemWithOrgPatchRequestBody) SetAdvancedSecurityEnabledForNewRepositories

func (m *ItemWithOrgPatchRequestBody) SetAdvancedSecurityEnabledForNewRepositories(value *bool)

SetAdvancedSecurityEnabledForNewRepositories sets the advanced_security_enabled_for_new_repositories property value. Whether GitHub Advanced Security is automatically enabled for new repositories and repositories transferred to this organization.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.11/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 and repositories transferred to this organization.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.11/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 and repositories transferred to this organization.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.11/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 and repositories transferred to this organization.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.

func (*ItemWithOrgPatchRequestBody) SetDescription

func (m *ItemWithOrgPatchRequestBody) SetDescription(value *string)

SetDescription sets the description property value. The description of the company. The maximum size is 160 characters.

func (*ItemWithOrgPatchRequestBody) SetEmail

func (m *ItemWithOrgPatchRequestBody) SetEmail(value *string)

SetEmail sets the email property value. The publicly visible email address.

func (*ItemWithOrgPatchRequestBody) SetHasOrganizationProjects

func (m *ItemWithOrgPatchRequestBody) SetHasOrganizationProjects(value *bool)

SetHasOrganizationProjects sets the has_organization_projects property value. Whether an organization can use organization projects.

func (*ItemWithOrgPatchRequestBody) SetHasRepositoryProjects

func (m *ItemWithOrgPatchRequestBody) SetHasRepositoryProjects(value *bool)

SetHasRepositoryProjects sets the has_repository_projects property value. Whether repositories that belong to the organization can use repository projects.

func (*ItemWithOrgPatchRequestBody) SetLocation

func (m *ItemWithOrgPatchRequestBody) SetLocation(value *string)

SetLocation sets the location property value. The location.

func (*ItemWithOrgPatchRequestBody) SetMembersCanCreateInternalRepositories

func (m *ItemWithOrgPatchRequestBody) SetMembersCanCreateInternalRepositories(value *bool)

SetMembersCanCreateInternalRepositories sets the members_can_create_internal_repositories property value. Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/enterprise-server@3.11/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) 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/enterprise-server@3.11/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation.

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/enterprise-server@3.11/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 and repositories transferred to this organization.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.11/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 and repositories transferred to this organization.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.11/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
	GetMembersCanCreatePrivateRepositories() *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)
	SetMembersCanCreatePrivateRepositories(value *bool)
	SetMembersCanCreatePublicRepositories(value *bool)
	SetMembersCanCreateRepositories(value *bool)
	SetMembersCanForkPrivateRepositories(value *bool)
	SetName(value *string)
	SetSecretScanningEnabledForNewRepositories(value *bool)
	SetSecretScanningPushProtectionCustomLink(value *string)
	SetSecretScanningPushProtectionCustomLinkEnabled(value *bool)
	SetSecretScanningPushProtectionEnabledForNewRepositories(value *bool)
	SetTwitterUsername(value *string)
	SetWebCommitSignoffRequired(value *bool)
}

type ItemWithSecurity_productItemRequestBuilder

type ItemWithSecurity_productItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemWithSecurity_productItemRequestBuilder builds and executes requests for operations under \orgs\{org}\{security_product}

func NewItemWithSecurity_productItemRequestBuilder

NewItemWithSecurity_productItemRequestBuilder instantiates a new ItemWithSecurity_productItemRequestBuilder and sets the default values.

func NewItemWithSecurity_productItemRequestBuilderInternal

func NewItemWithSecurity_productItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemWithSecurity_productItemRequestBuilder

NewItemWithSecurity_productItemRequestBuilderInternal instantiates a new ItemWithSecurity_productItemRequestBuilder and sets the default values.

func (*ItemWithSecurity_productItemRequestBuilder) ByEnablement

ByEnablement gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.item.item collection returns a *ItemItemWithEnablementItemRequestBuilder when successful

type OrgsRequestBuilder

OrgsRequestBuilder builds and executes requests for operations under \orgs

func NewOrgsRequestBuilder

NewOrgsRequestBuilder instantiates a new OrgsRequestBuilder and sets the default values.

func NewOrgsRequestBuilderInternal

func NewOrgsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *OrgsRequestBuilder

NewOrgsRequestBuilderInternal instantiates a new OrgsRequestBuilder and sets the default values.

func (*OrgsRequestBuilder) ByOrg

ByOrg gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item collection returns a *WithOrgItemRequestBuilder when successful

type WithOrgItemRequestBuilder

WithOrgItemRequestBuilder builds and executes requests for operations under \orgs\{org}

func NewWithOrgItemRequestBuilder

NewWithOrgItemRequestBuilder instantiates a new WithOrgItemRequestBuilder and sets the default values.

func NewWithOrgItemRequestBuilderInternal

func NewWithOrgItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithOrgItemRequestBuilder

NewWithOrgItemRequestBuilderInternal instantiates a new WithOrgItemRequestBuilder and sets the default values.

func (*WithOrgItemRequestBuilder) Actions

Actions the actions property returns a *ItemActionsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Announcement

Announcement the announcement property returns a *ItemAnnouncementRequestBuilder when successful

func (*WithOrgItemRequestBuilder) AuditLog

AuditLog the auditLog property returns a *ItemAuditLogRequestBuilder when successful

func (*WithOrgItemRequestBuilder) BySecurity_product

func (m *WithOrgItemRequestBuilder) BySecurity_product(security_product string) *ItemWithSecurity_productItemRequestBuilder

BySecurity_product gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.item collection returns a *ItemWithSecurity_productItemRequestBuilder when successful

func (*WithOrgItemRequestBuilder) CodeScanning

CodeScanning the codeScanning property returns a *ItemCodeScanningRequestBuilder when successful

func (*WithOrgItemRequestBuilder) CustomRepositoryRoles

CustomRepositoryRoles the customRepositoryRoles property returns a *ItemCustomRepositoryRolesRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Delete

Delete deletes an organization and all its repositories.The organization login will be unavailable for 90 days after deletion.Please review the Terms of Service regarding account deletion before using this endpoint:https://docs.github.com/enterprise-server@3.11/site-policy/github-terms/github-terms-of-service returns a ItemWithOrgDeleteResponseable when successful returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation

func (*WithOrgItemRequestBuilder) Dependabot

Dependabot the dependabot property returns a *ItemDependabotRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Docker

Docker the docker property returns a *ItemDockerRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Events

Events the events property returns a *ItemEventsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) ExternalGroup

ExternalGroup the externalGroup property returns a *ItemExternalGroupRequestBuilder when successful

func (*WithOrgItemRequestBuilder) ExternalGroups

ExternalGroups the externalGroups property returns a *ItemExternalGroupsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Get

Get gets information about an organization.When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/enterprise-server@3.11/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 Enterprise Server plan, GitHub Apps need the `Organization plan` permission. returns a OrganizationFullable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*WithOrgItemRequestBuilder) Hooks

Hooks the hooks property returns a *ItemHooksRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Installation

Installation the installation property returns a *ItemInstallationRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Installations

Installations the installations property returns a *ItemInstallationsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Issues

Issues the issues property returns a *ItemIssuesRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Members

Members the members property returns a *ItemMembersRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Memberships

Memberships the memberships property returns a *ItemMembershipsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Migrations

Migrations the migrations property returns a *ItemMigrationsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Outside_collaborators

Outside_collaborators the outside_collaborators property returns a *ItemOutside_collaboratorsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Packages

Packages the packages property returns a *ItemPackagesRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Patch

Patch > [!WARNING]> **Parameter deprecation notice:** GitHub Enterprise Server 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. returns a OrganizationFullable when successful returns a BasicError error when the service returns a 409 status code API method documentation

func (*WithOrgItemRequestBuilder) PersonalAccessTokenRequests

PersonalAccessTokenRequests the personalAccessTokenRequests property returns a *ItemPersonalAccessTokenRequestsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) PersonalAccessTokens

PersonalAccessTokens the personalAccessTokens property returns a *ItemPersonalAccessTokensRequestBuilder when successful

func (*WithOrgItemRequestBuilder) PreReceiveHooks

PreReceiveHooks the preReceiveHooks property returns a *ItemPreReceiveHooksRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Projects

Projects the projects property returns a *ItemProjectsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Public_members

Public_members the public_members property returns a *ItemPublic_membersRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Repos

Repos the repos property returns a *ItemReposRequestBuilder when successful

func (*WithOrgItemRequestBuilder) RepositoryFineGrainedPermissions

RepositoryFineGrainedPermissions the repositoryFineGrainedPermissions property returns a *ItemRepositoryFineGrainedPermissionsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Rulesets

Rulesets the rulesets property returns a *ItemRulesetsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) SecretScanning

SecretScanning the secretScanning property returns a *ItemSecretScanningRequestBuilder when successful

func (*WithOrgItemRequestBuilder) SecurityManagers

SecurityManagers the securityManagers property returns a *ItemSecurityManagersRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Settings

Settings the settings property returns a *ItemSettingsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) Teams

Teams the teams property returns a *ItemTeamsRequestBuilder when successful

func (*WithOrgItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation deletes an organization and all its repositories.The organization login will be unavailable for 90 days after deletion.Please review the Terms of Service regarding account deletion before using this endpoint:https://docs.github.com/enterprise-server@3.11/site-policy/github-terms/github-terms-of-service returns a *RequestInformation when successful

func (*WithOrgItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets information about an organization.When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/enterprise-server@3.11/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 Enterprise Server plan, GitHub Apps need the `Organization plan` permission. returns a *RequestInformation when successful

func (*WithOrgItemRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation > [!WARNING]> **Parameter deprecation notice:** GitHub Enterprise Server 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. returns a *RequestInformation when successful

func (*WithOrgItemRequestBuilder) WithUrl

WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *WithOrgItemRequestBuilder when successful

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL