Documentation
¶
Index ¶
- func CreateItemActionsCacheUsageByRepositoryGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsPermissionsPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsPermissionsRepositoriesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsPermissionsRepositoriesPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnerGroupsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnerGroupsItemRepositoriesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnerGroupsItemRepositoriesPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnerGroupsItemRunnersGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnerGroupsItemRunnersPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnerGroupsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersGenerateJitconfigPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersGenerateJitconfigPostResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersItemLabelsDeleteResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersItemLabelsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersItemLabelsItemWithNameDeleteResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersItemLabelsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersItemLabelsPostResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersItemLabelsPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersItemLabelsPutResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsSecretsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsSecretsItemRepositoriesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsVariablesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsVariablesItemRepositoriesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsVariablesItemRepositoriesPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsVariablesItemWithNamePatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsVariablesPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCustomRepositoryRolesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemDependabotSecretsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemDependabotSecretsItemRepositoriesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemDependabotSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemDependabotSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemHooksItemConfigPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemHooksItemDeliveriesItemAttemptsPostResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemHooksItemWithHook_PatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemHooksItemWithHook_PatchRequestBody_configFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemHooksPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemHooksPostRequestBody_configFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemInstallationsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemItemWithEnablementPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemMembershipsItemWithUsernamePutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemMigrationsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemOutside_collaboratorsItemWithUsername422ErrorFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemOutside_collaboratorsItemWithUsernamePutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemOutside_collaboratorsItemWithUsernamePutResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemPersonalAccessTokenRequestsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemPersonalAccessTokenRequestsPostResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemPersonalAccessTokensItemWithPat_PostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemPersonalAccessTokensPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemPersonalAccessTokensPostResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemProjectsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemPropertiesSchemaItemWithCustom_property_namePutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_valueFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemPropertiesSchemaPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemPropertiesValuesPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemReposPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemReposPostRequestBody_custom_propertiesFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemRulesetsItemWithRuleset_PutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemRulesetsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemTeamsItemDiscussionsItemCommentsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemTeamsItemDiscussionsItemReactionsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemTeamsItemDiscussionsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemTeamsItemExternalGroupsPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemTeamsItemMembershipsItemWithUsernamePutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemTeamsItemProjectsItemWithProject_403ErrorFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemTeamsItemProjectsItemWithProject_PutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemTeamsItemReposItemItemWithRepoPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemTeamsItemWithTeam_slugPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemTeamsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemWithOrgDeleteResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemWithOrgPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type ItemActionsCacheRequestBuilder
- type ItemActionsCacheUsageByRepositoryGetResponse
- func (m *ItemActionsCacheUsageByRepositoryGetResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsCacheUsageByRepositoryGetResponse) GetFieldDeserializers() ...
- func (m *ItemActionsCacheUsageByRepositoryGetResponse) GetRepositoryCacheUsages() ...
- func (m *ItemActionsCacheUsageByRepositoryGetResponse) GetTotalCount() *int32
- func (m *ItemActionsCacheUsageByRepositoryGetResponse) Serialize(...) error
- func (m *ItemActionsCacheUsageByRepositoryGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsCacheUsageByRepositoryGetResponse) SetRepositoryCacheUsages(...)
- func (m *ItemActionsCacheUsageByRepositoryGetResponse) SetTotalCount(value *int32)
- type ItemActionsCacheUsageByRepositoryGetResponseable
- type ItemActionsCacheUsageByRepositoryRequestBuilder
- func (m *ItemActionsCacheUsageByRepositoryRequestBuilder) Get(ctx context.Context, ...) (ItemActionsCacheUsageByRepositoryGetResponseable, error)
- func (m *ItemActionsCacheUsageByRepositoryRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsCacheUsageByRepositoryRequestBuilder) WithUrl(rawUrl string) *ItemActionsCacheUsageByRepositoryRequestBuilder
- type ItemActionsCacheUsageByRepositoryRequestBuilderGetQueryParameters
- type ItemActionsCacheUsageRequestBuilder
- type ItemActionsOidcCustomizationRequestBuilder
- type ItemActionsOidcCustomizationSubRequestBuilder
- func (m *ItemActionsOidcCustomizationSubRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemActionsOidcCustomizationSubRequestBuilder) Put(ctx context.Context, ...) (...)
- func (m *ItemActionsOidcCustomizationSubRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsOidcCustomizationSubRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsOidcCustomizationSubRequestBuilder) WithUrl(rawUrl string) *ItemActionsOidcCustomizationSubRequestBuilder
- type ItemActionsOidcRequestBuilder
- type ItemActionsPermissionsPutRequestBody
- func (m *ItemActionsPermissionsPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemActionsPermissionsPutRequestBody) GetAllowedActions() ...
- func (m *ItemActionsPermissionsPutRequestBody) GetEnabledRepositories() ...
- func (m *ItemActionsPermissionsPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemActionsPermissionsPutRequestBody) Serialize(...) error
- func (m *ItemActionsPermissionsPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemActionsPermissionsPutRequestBody) SetAllowedActions(...)
- func (m *ItemActionsPermissionsPutRequestBody) SetEnabledRepositories(...)
- type ItemActionsPermissionsPutRequestBodyable
- type ItemActionsPermissionsRepositoriesGetResponse
- func (m *ItemActionsPermissionsRepositoriesGetResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsPermissionsRepositoriesGetResponse) GetFieldDeserializers() ...
- func (m *ItemActionsPermissionsRepositoriesGetResponse) GetRepositories() ...
- func (m *ItemActionsPermissionsRepositoriesGetResponse) GetTotalCount() *float64
- func (m *ItemActionsPermissionsRepositoriesGetResponse) Serialize(...) error
- func (m *ItemActionsPermissionsRepositoriesGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsPermissionsRepositoriesGetResponse) SetRepositories(...)
- func (m *ItemActionsPermissionsRepositoriesGetResponse) SetTotalCount(value *float64)
- type ItemActionsPermissionsRepositoriesGetResponseable
- type ItemActionsPermissionsRepositoriesPutRequestBody
- func (m *ItemActionsPermissionsRepositoriesPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemActionsPermissionsRepositoriesPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemActionsPermissionsRepositoriesPutRequestBody) GetSelectedRepositoryIds() []int32
- func (m *ItemActionsPermissionsRepositoriesPutRequestBody) Serialize(...) error
- func (m *ItemActionsPermissionsRepositoriesPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemActionsPermissionsRepositoriesPutRequestBody) SetSelectedRepositoryIds(value []int32)
- type ItemActionsPermissionsRepositoriesPutRequestBodyable
- type ItemActionsPermissionsRepositoriesRequestBuilder
- func (m *ItemActionsPermissionsRepositoriesRequestBuilder) ByRepository_id(repository_id int32) *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder
- func (m *ItemActionsPermissionsRepositoriesRequestBuilder) Get(ctx context.Context, ...) (ItemActionsPermissionsRepositoriesGetResponseable, error)
- func (m *ItemActionsPermissionsRepositoriesRequestBuilder) Put(ctx context.Context, body ItemActionsPermissionsRepositoriesPutRequestBodyable, ...) error
- func (m *ItemActionsPermissionsRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsPermissionsRepositoriesRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsPermissionsRepositoriesPutRequestBodyable, ...) (...)
- func (m *ItemActionsPermissionsRepositoriesRequestBuilder) WithUrl(rawUrl string) *ItemActionsPermissionsRepositoriesRequestBuilder
- type ItemActionsPermissionsRepositoriesRequestBuilderGetQueryParameters
- type ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder
- func NewItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder(rawUrl string, ...) *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder
- func NewItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder
- func (m *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder
- type ItemActionsPermissionsRequestBuilder
- func (m *ItemActionsPermissionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemActionsPermissionsRequestBuilder) Put(ctx context.Context, body ItemActionsPermissionsPutRequestBodyable, ...) error
- func (m *ItemActionsPermissionsRequestBuilder) Repositories() *ItemActionsPermissionsRepositoriesRequestBuilder
- func (m *ItemActionsPermissionsRequestBuilder) SelectedActions() *ItemActionsPermissionsSelectedActionsRequestBuilder
- func (m *ItemActionsPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsPermissionsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsPermissionsPutRequestBodyable, ...) (...)
- func (m *ItemActionsPermissionsRequestBuilder) WithUrl(rawUrl string) *ItemActionsPermissionsRequestBuilder
- func (m *ItemActionsPermissionsRequestBuilder) Workflow() *ItemActionsPermissionsWorkflowRequestBuilder
- type ItemActionsPermissionsSelectedActionsRequestBuilder
- func (m *ItemActionsPermissionsSelectedActionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemActionsPermissionsSelectedActionsRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemActionsPermissionsSelectedActionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsPermissionsSelectedActionsRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsPermissionsSelectedActionsRequestBuilder) WithUrl(rawUrl string) *ItemActionsPermissionsSelectedActionsRequestBuilder
- type ItemActionsPermissionsWorkflowRequestBuilder
- func (m *ItemActionsPermissionsWorkflowRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemActionsPermissionsWorkflowRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemActionsPermissionsWorkflowRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsPermissionsWorkflowRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsPermissionsWorkflowRequestBuilder) WithUrl(rawUrl string) *ItemActionsPermissionsWorkflowRequestBuilder
- type ItemActionsRequestBuilder
- func (m *ItemActionsRequestBuilder) Cache() *ItemActionsCacheRequestBuilder
- func (m *ItemActionsRequestBuilder) Oidc() *ItemActionsOidcRequestBuilder
- func (m *ItemActionsRequestBuilder) Permissions() *ItemActionsPermissionsRequestBuilder
- func (m *ItemActionsRequestBuilder) RunnerGroups() *ItemActionsRunnerGroupsRequestBuilder
- func (m *ItemActionsRequestBuilder) Runners() *ItemActionsRunnersRequestBuilder
- func (m *ItemActionsRequestBuilder) Secrets() *ItemActionsSecretsRequestBuilder
- func (m *ItemActionsRequestBuilder) Variables() *ItemActionsVariablesRequestBuilder
- type ItemActionsRunnerGroupsGetResponse
- func (m *ItemActionsRunnerGroupsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnerGroupsGetResponse) GetFieldDeserializers() ...
- func (m *ItemActionsRunnerGroupsGetResponse) GetRunnerGroups() ...
- func (m *ItemActionsRunnerGroupsGetResponse) GetTotalCount() *float64
- func (m *ItemActionsRunnerGroupsGetResponse) Serialize(...) error
- func (m *ItemActionsRunnerGroupsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnerGroupsGetResponse) SetRunnerGroups(...)
- func (m *ItemActionsRunnerGroupsGetResponse) SetTotalCount(value *float64)
- type ItemActionsRunnerGroupsGetResponseable
- type ItemActionsRunnerGroupsItemRepositoriesGetResponse
- func (m *ItemActionsRunnerGroupsItemRepositoriesGetResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnerGroupsItemRepositoriesGetResponse) GetFieldDeserializers() ...
- func (m *ItemActionsRunnerGroupsItemRepositoriesGetResponse) GetRepositories() ...
- func (m *ItemActionsRunnerGroupsItemRepositoriesGetResponse) GetTotalCount() *float64
- func (m *ItemActionsRunnerGroupsItemRepositoriesGetResponse) Serialize(...) error
- func (m *ItemActionsRunnerGroupsItemRepositoriesGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnerGroupsItemRepositoriesGetResponse) SetRepositories(...)
- func (m *ItemActionsRunnerGroupsItemRepositoriesGetResponse) SetTotalCount(value *float64)
- type ItemActionsRunnerGroupsItemRepositoriesGetResponseable
- type ItemActionsRunnerGroupsItemRepositoriesPutRequestBody
- func (m *ItemActionsRunnerGroupsItemRepositoriesPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnerGroupsItemRepositoriesPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemActionsRunnerGroupsItemRepositoriesPutRequestBody) GetSelectedRepositoryIds() []int32
- func (m *ItemActionsRunnerGroupsItemRepositoriesPutRequestBody) Serialize(...) error
- func (m *ItemActionsRunnerGroupsItemRepositoriesPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnerGroupsItemRepositoriesPutRequestBody) SetSelectedRepositoryIds(value []int32)
- type ItemActionsRunnerGroupsItemRepositoriesPutRequestBodyable
- type ItemActionsRunnerGroupsItemRepositoriesRequestBuilder
- func NewItemActionsRunnerGroupsItemRepositoriesRequestBuilder(rawUrl string, ...) *ItemActionsRunnerGroupsItemRepositoriesRequestBuilder
- func NewItemActionsRunnerGroupsItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, ...) *ItemActionsRunnerGroupsItemRepositoriesRequestBuilder
- func (m *ItemActionsRunnerGroupsItemRepositoriesRequestBuilder) ByRepository_id(repository_id int32) *ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *ItemActionsRunnerGroupsItemRepositoriesRequestBuilder) Get(ctx context.Context, ...) (ItemActionsRunnerGroupsItemRepositoriesGetResponseable, error)
- func (m *ItemActionsRunnerGroupsItemRepositoriesRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemActionsRunnerGroupsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsItemRepositoriesRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsItemRepositoriesRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnerGroupsItemRepositoriesRequestBuilder
- type ItemActionsRunnerGroupsItemRepositoriesRequestBuilderGetQueryParameters
- type ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder
- func NewItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder(rawUrl string, ...) *ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder
- func NewItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder
- type ItemActionsRunnerGroupsItemRunnersGetResponse
- func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) GetFieldDeserializers() ...
- func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) GetRunners() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable
- func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) GetTotalCount() *float64
- func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) Serialize(...) error
- func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) SetRunners(...)
- func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) SetTotalCount(value *float64)
- type ItemActionsRunnerGroupsItemRunnersGetResponseable
- type ItemActionsRunnerGroupsItemRunnersPutRequestBody
- func (m *ItemActionsRunnerGroupsItemRunnersPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnerGroupsItemRunnersPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemActionsRunnerGroupsItemRunnersPutRequestBody) GetRunners() []int32
- func (m *ItemActionsRunnerGroupsItemRunnersPutRequestBody) Serialize(...) error
- func (m *ItemActionsRunnerGroupsItemRunnersPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnerGroupsItemRunnersPutRequestBody) SetRunners(value []int32)
- type ItemActionsRunnerGroupsItemRunnersPutRequestBodyable
- type ItemActionsRunnerGroupsItemRunnersRequestBuilder
- func (m *ItemActionsRunnerGroupsItemRunnersRequestBuilder) ByRunner_id(runner_id int32) *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder
- func (m *ItemActionsRunnerGroupsItemRunnersRequestBuilder) Get(ctx context.Context, ...) (ItemActionsRunnerGroupsItemRunnersGetResponseable, error)
- func (m *ItemActionsRunnerGroupsItemRunnersRequestBuilder) Put(ctx context.Context, body ItemActionsRunnerGroupsItemRunnersPutRequestBodyable, ...) error
- func (m *ItemActionsRunnerGroupsItemRunnersRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsItemRunnersRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsRunnerGroupsItemRunnersPutRequestBodyable, ...) (...)
- func (m *ItemActionsRunnerGroupsItemRunnersRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnerGroupsItemRunnersRequestBuilder
- type ItemActionsRunnerGroupsItemRunnersRequestBuilderGetQueryParameters
- type ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder
- func NewItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder(rawUrl string, ...) *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder
- func NewItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder
- func (m *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder
- type ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody
- func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetAllowsPublicRepositories() *bool
- func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetName() *string
- func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetRestrictedToWorkflows() *bool
- func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetSelectedWorkflows() []string
- func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) Serialize(...) error
- func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetAllowsPublicRepositories(value *bool)
- func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetName(value *string)
- func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetRestrictedToWorkflows(value *bool)
- func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetSelectedWorkflows(value []string)
- type ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBodyable
- type ItemActionsRunnerGroupsPostRequestBody
- func (m *ItemActionsRunnerGroupsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnerGroupsPostRequestBody) GetAllowsPublicRepositories() *bool
- func (m *ItemActionsRunnerGroupsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemActionsRunnerGroupsPostRequestBody) GetName() *string
- func (m *ItemActionsRunnerGroupsPostRequestBody) GetRestrictedToWorkflows() *bool
- func (m *ItemActionsRunnerGroupsPostRequestBody) GetRunners() []int32
- func (m *ItemActionsRunnerGroupsPostRequestBody) GetSelectedRepositoryIds() []int32
- func (m *ItemActionsRunnerGroupsPostRequestBody) GetSelectedWorkflows() []string
- func (m *ItemActionsRunnerGroupsPostRequestBody) Serialize(...) error
- func (m *ItemActionsRunnerGroupsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnerGroupsPostRequestBody) SetAllowsPublicRepositories(value *bool)
- func (m *ItemActionsRunnerGroupsPostRequestBody) SetName(value *string)
- func (m *ItemActionsRunnerGroupsPostRequestBody) SetRestrictedToWorkflows(value *bool)
- func (m *ItemActionsRunnerGroupsPostRequestBody) SetRunners(value []int32)
- func (m *ItemActionsRunnerGroupsPostRequestBody) SetSelectedRepositoryIds(value []int32)
- func (m *ItemActionsRunnerGroupsPostRequestBody) SetSelectedWorkflows(value []string)
- type ItemActionsRunnerGroupsPostRequestBodyable
- type ItemActionsRunnerGroupsRequestBuilder
- func (m *ItemActionsRunnerGroupsRequestBuilder) ByRunner_group_id(runner_group_id int32) *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder
- func (m *ItemActionsRunnerGroupsRequestBuilder) Get(ctx context.Context, ...) (ItemActionsRunnerGroupsGetResponseable, error)
- func (m *ItemActionsRunnerGroupsRequestBuilder) Post(ctx context.Context, body ItemActionsRunnerGroupsPostRequestBodyable, ...) (...)
- func (m *ItemActionsRunnerGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemActionsRunnerGroupsPostRequestBodyable, ...) (...)
- func (m *ItemActionsRunnerGroupsRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnerGroupsRequestBuilder
- type ItemActionsRunnerGroupsRequestBuilderGetQueryParameters
- type ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder
- func NewItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder(rawUrl string, ...) *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder
- func NewItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder
- func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Repositories() *ItemActionsRunnerGroupsItemRepositoriesRequestBuilder
- func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Runners() *ItemActionsRunnerGroupsItemRunnersRequestBuilder
- func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder
- type ItemActionsRunnersDownloadsRequestBuilder
- func (m *ItemActionsRunnersDownloadsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersDownloadsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersDownloadsRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersDownloadsRequestBuilder
- type ItemActionsRunnersGenerateJitconfigPostRequestBody
- func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetLabels() []string
- func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetName() *string
- func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetRunnerGroupId() *int32
- func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetWorkFolder() *string
- func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) Serialize(...) error
- func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) SetLabels(value []string)
- func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) SetName(value *string)
- func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) SetRunnerGroupId(value *int32)
- func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) SetWorkFolder(value *string)
- type ItemActionsRunnersGenerateJitconfigPostRequestBodyable
- type ItemActionsRunnersGenerateJitconfigPostResponse
- func (m *ItemActionsRunnersGenerateJitconfigPostResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnersGenerateJitconfigPostResponse) GetEncodedJitConfig() *string
- func (m *ItemActionsRunnersGenerateJitconfigPostResponse) GetFieldDeserializers() ...
- func (m *ItemActionsRunnersGenerateJitconfigPostResponse) GetRunner() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable
- func (m *ItemActionsRunnersGenerateJitconfigPostResponse) Serialize(...) error
- func (m *ItemActionsRunnersGenerateJitconfigPostResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnersGenerateJitconfigPostResponse) SetEncodedJitConfig(value *string)
- func (m *ItemActionsRunnersGenerateJitconfigPostResponse) SetRunner(...)
- type ItemActionsRunnersGenerateJitconfigPostResponseable
- type ItemActionsRunnersGenerateJitconfigRequestBuilder
- func (m *ItemActionsRunnersGenerateJitconfigRequestBuilder) Post(ctx context.Context, ...) (ItemActionsRunnersGenerateJitconfigPostResponseable, error)
- func (m *ItemActionsRunnersGenerateJitconfigRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersGenerateJitconfigRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersGenerateJitconfigRequestBuilder
- type ItemActionsRunnersGetResponse
- func (m *ItemActionsRunnersGetResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnersGetResponse) GetFieldDeserializers() ...
- func (m *ItemActionsRunnersGetResponse) GetRunners() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable
- func (m *ItemActionsRunnersGetResponse) GetTotalCount() *int32
- func (m *ItemActionsRunnersGetResponse) Serialize(...) error
- func (m *ItemActionsRunnersGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnersGetResponse) SetRunners(...)
- func (m *ItemActionsRunnersGetResponse) SetTotalCount(value *int32)
- type ItemActionsRunnersGetResponseable
- type ItemActionsRunnersItemLabelsDeleteResponse
- func (m *ItemActionsRunnersItemLabelsDeleteResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnersItemLabelsDeleteResponse) GetFieldDeserializers() ...
- func (m *ItemActionsRunnersItemLabelsDeleteResponse) GetLabels() ...
- func (m *ItemActionsRunnersItemLabelsDeleteResponse) GetTotalCount() *int32
- func (m *ItemActionsRunnersItemLabelsDeleteResponse) Serialize(...) error
- func (m *ItemActionsRunnersItemLabelsDeleteResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnersItemLabelsDeleteResponse) SetLabels(...)
- func (m *ItemActionsRunnersItemLabelsDeleteResponse) SetTotalCount(value *int32)
- type ItemActionsRunnersItemLabelsDeleteResponseable
- type ItemActionsRunnersItemLabelsGetResponse
- func (m *ItemActionsRunnersItemLabelsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnersItemLabelsGetResponse) GetFieldDeserializers() ...
- func (m *ItemActionsRunnersItemLabelsGetResponse) GetLabels() ...
- func (m *ItemActionsRunnersItemLabelsGetResponse) GetTotalCount() *int32
- func (m *ItemActionsRunnersItemLabelsGetResponse) Serialize(...) error
- func (m *ItemActionsRunnersItemLabelsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnersItemLabelsGetResponse) SetLabels(...)
- func (m *ItemActionsRunnersItemLabelsGetResponse) SetTotalCount(value *int32)
- type ItemActionsRunnersItemLabelsGetResponseable
- type ItemActionsRunnersItemLabelsItemWithNameDeleteResponse
- func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetFieldDeserializers() ...
- func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetLabels() ...
- func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetTotalCount() *int32
- func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) Serialize(...) error
- func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetLabels(...)
- func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetTotalCount(value *int32)
- type ItemActionsRunnersItemLabelsItemWithNameDeleteResponseable
- type ItemActionsRunnersItemLabelsPostRequestBody
- func (m *ItemActionsRunnersItemLabelsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnersItemLabelsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemActionsRunnersItemLabelsPostRequestBody) GetLabels() []string
- func (m *ItemActionsRunnersItemLabelsPostRequestBody) Serialize(...) error
- func (m *ItemActionsRunnersItemLabelsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnersItemLabelsPostRequestBody) SetLabels(value []string)
- type ItemActionsRunnersItemLabelsPostRequestBodyable
- type ItemActionsRunnersItemLabelsPostResponse
- func (m *ItemActionsRunnersItemLabelsPostResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnersItemLabelsPostResponse) GetFieldDeserializers() ...
- func (m *ItemActionsRunnersItemLabelsPostResponse) GetLabels() ...
- func (m *ItemActionsRunnersItemLabelsPostResponse) GetTotalCount() *int32
- func (m *ItemActionsRunnersItemLabelsPostResponse) Serialize(...) error
- func (m *ItemActionsRunnersItemLabelsPostResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnersItemLabelsPostResponse) SetLabels(...)
- func (m *ItemActionsRunnersItemLabelsPostResponse) SetTotalCount(value *int32)
- type ItemActionsRunnersItemLabelsPostResponseable
- type ItemActionsRunnersItemLabelsPutRequestBody
- func (m *ItemActionsRunnersItemLabelsPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnersItemLabelsPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemActionsRunnersItemLabelsPutRequestBody) GetLabels() []string
- func (m *ItemActionsRunnersItemLabelsPutRequestBody) Serialize(...) error
- func (m *ItemActionsRunnersItemLabelsPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnersItemLabelsPutRequestBody) SetLabels(value []string)
- type ItemActionsRunnersItemLabelsPutRequestBodyable
- type ItemActionsRunnersItemLabelsPutResponse
- func (m *ItemActionsRunnersItemLabelsPutResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnersItemLabelsPutResponse) GetFieldDeserializers() ...
- func (m *ItemActionsRunnersItemLabelsPutResponse) GetLabels() ...
- func (m *ItemActionsRunnersItemLabelsPutResponse) GetTotalCount() *int32
- func (m *ItemActionsRunnersItemLabelsPutResponse) Serialize(...) error
- func (m *ItemActionsRunnersItemLabelsPutResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnersItemLabelsPutResponse) SetLabels(...)
- func (m *ItemActionsRunnersItemLabelsPutResponse) SetTotalCount(value *int32)
- type ItemActionsRunnersItemLabelsPutResponseable
- type ItemActionsRunnersItemLabelsRequestBuilder
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) ByName(name string) *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) Delete(ctx context.Context, ...) (ItemActionsRunnersItemLabelsDeleteResponseable, error)
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) Get(ctx context.Context, ...) (ItemActionsRunnersItemLabelsGetResponseable, error)
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) Post(ctx context.Context, body ItemActionsRunnersItemLabelsPostRequestBodyable, ...) (ItemActionsRunnersItemLabelsPostResponseable, error)
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) Put(ctx context.Context, body ItemActionsRunnersItemLabelsPutRequestBodyable, ...) (ItemActionsRunnersItemLabelsPutResponseable, error)
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemActionsRunnersItemLabelsPostRequestBodyable, ...) (...)
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsRunnersItemLabelsPutRequestBodyable, ...) (...)
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersItemLabelsRequestBuilder
- type ItemActionsRunnersItemLabelsWithNameItemRequestBuilder
- func NewItemActionsRunnersItemLabelsWithNameItemRequestBuilder(rawUrl string, ...) *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder
- func NewItemActionsRunnersItemLabelsWithNameItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder
- func (m *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) Delete(ctx context.Context, ...) (ItemActionsRunnersItemLabelsItemWithNameDeleteResponseable, error)
- func (m *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder
- type ItemActionsRunnersRegistrationTokenRequestBuilder
- func (m *ItemActionsRunnersRegistrationTokenRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersRegistrationTokenRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersRegistrationTokenRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersRegistrationTokenRequestBuilder
- type ItemActionsRunnersRemoveTokenRequestBuilder
- func (m *ItemActionsRunnersRemoveTokenRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersRemoveTokenRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersRemoveTokenRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersRemoveTokenRequestBuilder
- type ItemActionsRunnersRequestBuilder
- func (m *ItemActionsRunnersRequestBuilder) ByRunner_id(runner_id int32) *ItemActionsRunnersWithRunner_ItemRequestBuilder
- func (m *ItemActionsRunnersRequestBuilder) Downloads() *ItemActionsRunnersDownloadsRequestBuilder
- func (m *ItemActionsRunnersRequestBuilder) GenerateJitconfig() *ItemActionsRunnersGenerateJitconfigRequestBuilder
- func (m *ItemActionsRunnersRequestBuilder) Get(ctx context.Context, ...) (ItemActionsRunnersGetResponseable, error)
- func (m *ItemActionsRunnersRequestBuilder) RegistrationToken() *ItemActionsRunnersRegistrationTokenRequestBuilder
- func (m *ItemActionsRunnersRequestBuilder) RemoveToken() *ItemActionsRunnersRemoveTokenRequestBuilder
- func (m *ItemActionsRunnersRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersRequestBuilder
- type ItemActionsRunnersRequestBuilderGetQueryParameters
- type ItemActionsRunnersWithRunner_ItemRequestBuilder
- func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) Get(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable, ...)
- func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) Labels() *ItemActionsRunnersItemLabelsRequestBuilder
- func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersWithRunner_ItemRequestBuilder
- type ItemActionsSecretsGetResponse
- func (m *ItemActionsSecretsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsSecretsGetResponse) GetFieldDeserializers() ...
- func (m *ItemActionsSecretsGetResponse) GetSecrets() ...
- func (m *ItemActionsSecretsGetResponse) GetTotalCount() *int32
- func (m *ItemActionsSecretsGetResponse) Serialize(...) error
- func (m *ItemActionsSecretsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsSecretsGetResponse) SetSecrets(...)
- func (m *ItemActionsSecretsGetResponse) SetTotalCount(value *int32)
- type ItemActionsSecretsGetResponseable
- type ItemActionsSecretsItemRepositoriesGetResponse
- func (m *ItemActionsSecretsItemRepositoriesGetResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsSecretsItemRepositoriesGetResponse) GetFieldDeserializers() ...
- func (m *ItemActionsSecretsItemRepositoriesGetResponse) GetRepositories() ...
- func (m *ItemActionsSecretsItemRepositoriesGetResponse) GetTotalCount() *int32
- func (m *ItemActionsSecretsItemRepositoriesGetResponse) Serialize(...) error
- func (m *ItemActionsSecretsItemRepositoriesGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsSecretsItemRepositoriesGetResponse) SetRepositories(...)
- func (m *ItemActionsSecretsItemRepositoriesGetResponse) SetTotalCount(value *int32)
- type ItemActionsSecretsItemRepositoriesGetResponseable
- type ItemActionsSecretsItemRepositoriesPutRequestBody
- func (m *ItemActionsSecretsItemRepositoriesPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemActionsSecretsItemRepositoriesPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemActionsSecretsItemRepositoriesPutRequestBody) GetSelectedRepositoryIds() []int32
- func (m *ItemActionsSecretsItemRepositoriesPutRequestBody) Serialize(...) error
- func (m *ItemActionsSecretsItemRepositoriesPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemActionsSecretsItemRepositoriesPutRequestBody) SetSelectedRepositoryIds(value []int32)
- type ItemActionsSecretsItemRepositoriesPutRequestBodyable
- type ItemActionsSecretsItemRepositoriesRequestBuilder
- func (m *ItemActionsSecretsItemRepositoriesRequestBuilder) ByRepository_id(repository_id int32) *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *ItemActionsSecretsItemRepositoriesRequestBuilder) Get(ctx context.Context, ...) (ItemActionsSecretsItemRepositoriesGetResponseable, error)
- func (m *ItemActionsSecretsItemRepositoriesRequestBuilder) Put(ctx context.Context, body ItemActionsSecretsItemRepositoriesPutRequestBodyable, ...) error
- func (m *ItemActionsSecretsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsSecretsItemRepositoriesRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsSecretsItemRepositoriesPutRequestBodyable, ...) (...)
- func (m *ItemActionsSecretsItemRepositoriesRequestBuilder) WithUrl(rawUrl string) *ItemActionsSecretsItemRepositoriesRequestBuilder
- type ItemActionsSecretsItemRepositoriesRequestBuilderGetQueryParameters
- type ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- func NewItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder(rawUrl string, ...) *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- func NewItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- type ItemActionsSecretsItemWithSecret_namePutRequestBody
- func (m *ItemActionsSecretsItemWithSecret_namePutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemActionsSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue() *string
- func (m *ItemActionsSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers() ...
- func (m *ItemActionsSecretsItemWithSecret_namePutRequestBody) GetKeyId() *string
- func (m *ItemActionsSecretsItemWithSecret_namePutRequestBody) GetSelectedRepositoryIds() []int32
- func (m *ItemActionsSecretsItemWithSecret_namePutRequestBody) Serialize(...) error
- func (m *ItemActionsSecretsItemWithSecret_namePutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemActionsSecretsItemWithSecret_namePutRequestBody) SetEncryptedValue(value *string)
- func (m *ItemActionsSecretsItemWithSecret_namePutRequestBody) SetKeyId(value *string)
- func (m *ItemActionsSecretsItemWithSecret_namePutRequestBody) SetSelectedRepositoryIds(value []int32)
- type ItemActionsSecretsItemWithSecret_namePutRequestBodyable
- type ItemActionsSecretsPublicKeyRequestBuilder
- func (m *ItemActionsSecretsPublicKeyRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemActionsSecretsPublicKeyRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsSecretsPublicKeyRequestBuilder) WithUrl(rawUrl string) *ItemActionsSecretsPublicKeyRequestBuilder
- type ItemActionsSecretsRequestBuilder
- func (m *ItemActionsSecretsRequestBuilder) BySecret_name(secret_name string) *ItemActionsSecretsWithSecret_nameItemRequestBuilder
- func (m *ItemActionsSecretsRequestBuilder) Get(ctx context.Context, ...) (ItemActionsSecretsGetResponseable, error)
- func (m *ItemActionsSecretsRequestBuilder) PublicKey() *ItemActionsSecretsPublicKeyRequestBuilder
- func (m *ItemActionsSecretsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsSecretsRequestBuilder) WithUrl(rawUrl string) *ItemActionsSecretsRequestBuilder
- type ItemActionsSecretsRequestBuilderGetQueryParameters
- type ItemActionsSecretsWithSecret_nameItemRequestBuilder
- func (m *ItemActionsSecretsWithSecret_nameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemActionsSecretsWithSecret_nameItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemActionsSecretsWithSecret_nameItemRequestBuilder) Put(ctx context.Context, ...) (...)
- func (m *ItemActionsSecretsWithSecret_nameItemRequestBuilder) Repositories() *ItemActionsSecretsItemRepositoriesRequestBuilder
- func (m *ItemActionsSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsSecretsWithSecret_nameItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsSecretsWithSecret_nameItemRequestBuilder
- type ItemActionsVariablesGetResponse
- func (m *ItemActionsVariablesGetResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsVariablesGetResponse) GetFieldDeserializers() ...
- func (m *ItemActionsVariablesGetResponse) GetTotalCount() *int32
- func (m *ItemActionsVariablesGetResponse) GetVariables() ...
- func (m *ItemActionsVariablesGetResponse) Serialize(...) error
- func (m *ItemActionsVariablesGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsVariablesGetResponse) SetTotalCount(value *int32)
- func (m *ItemActionsVariablesGetResponse) SetVariables(...)
- type ItemActionsVariablesGetResponseable
- type ItemActionsVariablesItemRepositoriesGetResponse
- func (m *ItemActionsVariablesItemRepositoriesGetResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsVariablesItemRepositoriesGetResponse) GetFieldDeserializers() ...
- func (m *ItemActionsVariablesItemRepositoriesGetResponse) GetRepositories() ...
- func (m *ItemActionsVariablesItemRepositoriesGetResponse) GetTotalCount() *int32
- func (m *ItemActionsVariablesItemRepositoriesGetResponse) Serialize(...) error
- func (m *ItemActionsVariablesItemRepositoriesGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsVariablesItemRepositoriesGetResponse) SetRepositories(...)
- func (m *ItemActionsVariablesItemRepositoriesGetResponse) SetTotalCount(value *int32)
- type ItemActionsVariablesItemRepositoriesGetResponseable
- type ItemActionsVariablesItemRepositoriesPutRequestBody
- func (m *ItemActionsVariablesItemRepositoriesPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemActionsVariablesItemRepositoriesPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemActionsVariablesItemRepositoriesPutRequestBody) GetSelectedRepositoryIds() []int32
- func (m *ItemActionsVariablesItemRepositoriesPutRequestBody) Serialize(...) error
- func (m *ItemActionsVariablesItemRepositoriesPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemActionsVariablesItemRepositoriesPutRequestBody) SetSelectedRepositoryIds(value []int32)
- type ItemActionsVariablesItemRepositoriesPutRequestBodyable
- type ItemActionsVariablesItemRepositoriesRequestBuilder
- func (m *ItemActionsVariablesItemRepositoriesRequestBuilder) ByRepository_id(repository_id int32) *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *ItemActionsVariablesItemRepositoriesRequestBuilder) Get(ctx context.Context, ...) (ItemActionsVariablesItemRepositoriesGetResponseable, error)
- func (m *ItemActionsVariablesItemRepositoriesRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemActionsVariablesItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsVariablesItemRepositoriesRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsVariablesItemRepositoriesRequestBuilder) WithUrl(rawUrl string) *ItemActionsVariablesItemRepositoriesRequestBuilder
- type ItemActionsVariablesItemRepositoriesRequestBuilderGetQueryParameters
- type ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder
- func NewItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder(rawUrl string, ...) *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder
- func NewItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder
- type ItemActionsVariablesItemWithNamePatchRequestBody
- func (m *ItemActionsVariablesItemWithNamePatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemActionsVariablesItemWithNamePatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemActionsVariablesItemWithNamePatchRequestBody) GetName() *string
- func (m *ItemActionsVariablesItemWithNamePatchRequestBody) GetSelectedRepositoryIds() []int32
- func (m *ItemActionsVariablesItemWithNamePatchRequestBody) GetValue() *string
- func (m *ItemActionsVariablesItemWithNamePatchRequestBody) Serialize(...) error
- func (m *ItemActionsVariablesItemWithNamePatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemActionsVariablesItemWithNamePatchRequestBody) SetName(value *string)
- func (m *ItemActionsVariablesItemWithNamePatchRequestBody) SetSelectedRepositoryIds(value []int32)
- func (m *ItemActionsVariablesItemWithNamePatchRequestBody) SetValue(value *string)
- type ItemActionsVariablesItemWithNamePatchRequestBodyable
- type ItemActionsVariablesPostRequestBody
- func (m *ItemActionsVariablesPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemActionsVariablesPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemActionsVariablesPostRequestBody) GetName() *string
- func (m *ItemActionsVariablesPostRequestBody) GetSelectedRepositoryIds() []int32
- func (m *ItemActionsVariablesPostRequestBody) GetValue() *string
- func (m *ItemActionsVariablesPostRequestBody) Serialize(...) error
- func (m *ItemActionsVariablesPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemActionsVariablesPostRequestBody) SetName(value *string)
- func (m *ItemActionsVariablesPostRequestBody) SetSelectedRepositoryIds(value []int32)
- func (m *ItemActionsVariablesPostRequestBody) SetValue(value *string)
- type ItemActionsVariablesPostRequestBodyable
- type ItemActionsVariablesRequestBuilder
- func (m *ItemActionsVariablesRequestBuilder) ByName(name string) *ItemActionsVariablesWithNameItemRequestBuilder
- func (m *ItemActionsVariablesRequestBuilder) Get(ctx context.Context, ...) (ItemActionsVariablesGetResponseable, error)
- func (m *ItemActionsVariablesRequestBuilder) Post(ctx context.Context, body ItemActionsVariablesPostRequestBodyable, ...) (...)
- func (m *ItemActionsVariablesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsVariablesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemActionsVariablesPostRequestBodyable, ...) (...)
- func (m *ItemActionsVariablesRequestBuilder) WithUrl(rawUrl string) *ItemActionsVariablesRequestBuilder
- type ItemActionsVariablesRequestBuilderGetQueryParameters
- type ItemActionsVariablesWithNameItemRequestBuilder
- func (m *ItemActionsVariablesWithNameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemActionsVariablesWithNameItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemActionsVariablesWithNameItemRequestBuilder) Patch(ctx context.Context, body ItemActionsVariablesItemWithNamePatchRequestBodyable, ...) error
- func (m *ItemActionsVariablesWithNameItemRequestBuilder) Repositories() *ItemActionsVariablesItemRepositoriesRequestBuilder
- func (m *ItemActionsVariablesWithNameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsVariablesWithNameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsVariablesWithNameItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemActionsVariablesItemWithNamePatchRequestBodyable, ...) (...)
- func (m *ItemActionsVariablesWithNameItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsVariablesWithNameItemRequestBuilder
- type ItemAnnouncementRequestBuilder
- func (m *ItemAnnouncementRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemAnnouncementRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemAnnouncementRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *ItemAnnouncementRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemAnnouncementRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemAnnouncementRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemAnnouncementRequestBuilder) WithUrl(rawUrl string) *ItemAnnouncementRequestBuilder
- type ItemAuditLogRequestBuilder
- type ItemAuditLogRequestBuilderGetQueryParameters
- type ItemCodeScanningAlertsRequestBuilder
- type ItemCodeScanningAlertsRequestBuilderGetQueryParameters
- type ItemCodeScanningRequestBuilder
- type ItemCustomRepositoryRolesGetResponse
- func (m *ItemCustomRepositoryRolesGetResponse) GetAdditionalData() map[string]any
- func (m *ItemCustomRepositoryRolesGetResponse) GetCustomRoles() ...
- func (m *ItemCustomRepositoryRolesGetResponse) GetFieldDeserializers() ...
- func (m *ItemCustomRepositoryRolesGetResponse) GetTotalCount() *int32
- func (m *ItemCustomRepositoryRolesGetResponse) Serialize(...) error
- func (m *ItemCustomRepositoryRolesGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemCustomRepositoryRolesGetResponse) SetCustomRoles(...)
- func (m *ItemCustomRepositoryRolesGetResponse) SetTotalCount(value *int32)
- type ItemCustomRepositoryRolesGetResponseable
- type ItemCustomRepositoryRolesRequestBuilder
- func (m *ItemCustomRepositoryRolesRequestBuilder) ByRole_id(role_id int32) *ItemCustomRepositoryRolesWithRole_ItemRequestBuilder
- func (m *ItemCustomRepositoryRolesRequestBuilder) Get(ctx context.Context, ...) (ItemCustomRepositoryRolesGetResponseable, error)
- func (m *ItemCustomRepositoryRolesRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemCustomRepositoryRolesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemCustomRepositoryRolesRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemCustomRepositoryRolesRequestBuilder) WithUrl(rawUrl string) *ItemCustomRepositoryRolesRequestBuilder
- type ItemCustomRepositoryRolesWithRole_ItemRequestBuilder
- func (m *ItemCustomRepositoryRolesWithRole_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemCustomRepositoryRolesWithRole_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemCustomRepositoryRolesWithRole_ItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *ItemCustomRepositoryRolesWithRole_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemCustomRepositoryRolesWithRole_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemCustomRepositoryRolesWithRole_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemCustomRepositoryRolesWithRole_ItemRequestBuilder) WithUrl(rawUrl string) *ItemCustomRepositoryRolesWithRole_ItemRequestBuilder
- type ItemDependabotAlertsRequestBuilder
- type ItemDependabotAlertsRequestBuilderGetQueryParameters
- type ItemDependabotRequestBuilder
- type ItemDependabotSecretsGetResponse
- func (m *ItemDependabotSecretsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemDependabotSecretsGetResponse) GetFieldDeserializers() ...
- func (m *ItemDependabotSecretsGetResponse) GetSecrets() ...
- func (m *ItemDependabotSecretsGetResponse) GetTotalCount() *int32
- func (m *ItemDependabotSecretsGetResponse) Serialize(...) error
- func (m *ItemDependabotSecretsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemDependabotSecretsGetResponse) SetSecrets(...)
- func (m *ItemDependabotSecretsGetResponse) SetTotalCount(value *int32)
- type ItemDependabotSecretsGetResponseable
- type ItemDependabotSecretsItemRepositoriesGetResponse
- func (m *ItemDependabotSecretsItemRepositoriesGetResponse) GetAdditionalData() map[string]any
- func (m *ItemDependabotSecretsItemRepositoriesGetResponse) GetFieldDeserializers() ...
- func (m *ItemDependabotSecretsItemRepositoriesGetResponse) GetRepositories() ...
- func (m *ItemDependabotSecretsItemRepositoriesGetResponse) GetTotalCount() *int32
- func (m *ItemDependabotSecretsItemRepositoriesGetResponse) Serialize(...) error
- func (m *ItemDependabotSecretsItemRepositoriesGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemDependabotSecretsItemRepositoriesGetResponse) SetRepositories(...)
- func (m *ItemDependabotSecretsItemRepositoriesGetResponse) SetTotalCount(value *int32)
- type ItemDependabotSecretsItemRepositoriesGetResponseable
- type ItemDependabotSecretsItemRepositoriesPutRequestBody
- func (m *ItemDependabotSecretsItemRepositoriesPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemDependabotSecretsItemRepositoriesPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemDependabotSecretsItemRepositoriesPutRequestBody) GetSelectedRepositoryIds() []int32
- func (m *ItemDependabotSecretsItemRepositoriesPutRequestBody) Serialize(...) error
- func (m *ItemDependabotSecretsItemRepositoriesPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemDependabotSecretsItemRepositoriesPutRequestBody) SetSelectedRepositoryIds(value []int32)
- type ItemDependabotSecretsItemRepositoriesPutRequestBodyable
- type ItemDependabotSecretsItemRepositoriesRequestBuilder
- func (m *ItemDependabotSecretsItemRepositoriesRequestBuilder) ByRepository_id(repository_id int32) *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *ItemDependabotSecretsItemRepositoriesRequestBuilder) Get(ctx context.Context, ...) (ItemDependabotSecretsItemRepositoriesGetResponseable, error)
- func (m *ItemDependabotSecretsItemRepositoriesRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemDependabotSecretsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemDependabotSecretsItemRepositoriesRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemDependabotSecretsItemRepositoriesRequestBuilder) WithUrl(rawUrl string) *ItemDependabotSecretsItemRepositoriesRequestBuilder
- type ItemDependabotSecretsItemRepositoriesRequestBuilderGetQueryParameters
- type ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- func NewItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder(rawUrl string, ...) *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- func NewItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) WithUrl(rawUrl string) *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- type ItemDependabotSecretsItemWithSecret_namePutRequestBody
- func (m *ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue() *string
- func (m *ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers() ...
- func (m *ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetKeyId() *string
- func (m *ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetSelectedRepositoryIds() []string
- func (m *ItemDependabotSecretsItemWithSecret_namePutRequestBody) Serialize(...) error
- func (m *ItemDependabotSecretsItemWithSecret_namePutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemDependabotSecretsItemWithSecret_namePutRequestBody) SetEncryptedValue(value *string)
- func (m *ItemDependabotSecretsItemWithSecret_namePutRequestBody) SetKeyId(value *string)
- func (m *ItemDependabotSecretsItemWithSecret_namePutRequestBody) SetSelectedRepositoryIds(value []string)
- type ItemDependabotSecretsItemWithSecret_namePutRequestBodyable
- type ItemDependabotSecretsPublicKeyRequestBuilder
- func (m *ItemDependabotSecretsPublicKeyRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemDependabotSecretsPublicKeyRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemDependabotSecretsPublicKeyRequestBuilder) WithUrl(rawUrl string) *ItemDependabotSecretsPublicKeyRequestBuilder
- type ItemDependabotSecretsRequestBuilder
- func (m *ItemDependabotSecretsRequestBuilder) BySecret_name(secret_name string) *ItemDependabotSecretsWithSecret_nameItemRequestBuilder
- func (m *ItemDependabotSecretsRequestBuilder) Get(ctx context.Context, ...) (ItemDependabotSecretsGetResponseable, error)
- func (m *ItemDependabotSecretsRequestBuilder) PublicKey() *ItemDependabotSecretsPublicKeyRequestBuilder
- func (m *ItemDependabotSecretsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemDependabotSecretsRequestBuilder) WithUrl(rawUrl string) *ItemDependabotSecretsRequestBuilder
- type ItemDependabotSecretsRequestBuilderGetQueryParameters
- type ItemDependabotSecretsWithSecret_nameItemRequestBuilder
- func NewItemDependabotSecretsWithSecret_nameItemRequestBuilder(rawUrl string, ...) *ItemDependabotSecretsWithSecret_nameItemRequestBuilder
- func NewItemDependabotSecretsWithSecret_nameItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemDependabotSecretsWithSecret_nameItemRequestBuilder
- func (m *ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Put(ctx context.Context, ...) (...)
- func (m *ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Repositories() *ItemDependabotSecretsItemRepositoriesRequestBuilder
- func (m *ItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemDependabotSecretsWithSecret_nameItemRequestBuilder) WithUrl(rawUrl string) *ItemDependabotSecretsWithSecret_nameItemRequestBuilder
- type ItemDockerConflictsRequestBuilder
- type ItemDockerRequestBuilder
- type ItemEventsRequestBuilder
- func (m *ItemEventsRequestBuilder) Get(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Eventable, ...)
- func (m *ItemEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemEventsRequestBuilder) WithUrl(rawUrl string) *ItemEventsRequestBuilder
- type ItemEventsRequestBuilderGetQueryParameters
- type ItemExternalGroupRequestBuilder
- type ItemExternalGroupWithGroup_ItemRequestBuilder
- func (m *ItemExternalGroupWithGroup_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemExternalGroupWithGroup_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemExternalGroupWithGroup_ItemRequestBuilder) WithUrl(rawUrl string) *ItemExternalGroupWithGroup_ItemRequestBuilder
- type ItemExternalGroupWithGroup_ItemRequestBuilderGetQueryParameters
- type ItemExternalGroupsRequestBuilder
- type ItemExternalGroupsRequestBuilderGetQueryParameters
- type ItemHooksItemConfigPatchRequestBody
- func (m *ItemHooksItemConfigPatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemHooksItemConfigPatchRequestBody) GetContentType() *string
- func (m *ItemHooksItemConfigPatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemHooksItemConfigPatchRequestBody) GetInsecureSsl() ...
- func (m *ItemHooksItemConfigPatchRequestBody) GetSecret() *string
- func (m *ItemHooksItemConfigPatchRequestBody) GetUrl() *string
- func (m *ItemHooksItemConfigPatchRequestBody) Serialize(...) error
- func (m *ItemHooksItemConfigPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemHooksItemConfigPatchRequestBody) SetContentType(value *string)
- func (m *ItemHooksItemConfigPatchRequestBody) SetInsecureSsl(...)
- func (m *ItemHooksItemConfigPatchRequestBody) SetSecret(value *string)
- func (m *ItemHooksItemConfigPatchRequestBody) SetUrl(value *string)
- type ItemHooksItemConfigPatchRequestBodyable
- type ItemHooksItemConfigRequestBuilder
- func (m *ItemHooksItemConfigRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemHooksItemConfigRequestBuilder) Patch(ctx context.Context, body ItemHooksItemConfigPatchRequestBodyable, ...) (...)
- func (m *ItemHooksItemConfigRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemHooksItemConfigRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemHooksItemConfigPatchRequestBodyable, ...) (...)
- func (m *ItemHooksItemConfigRequestBuilder) WithUrl(rawUrl string) *ItemHooksItemConfigRequestBuilder
- type ItemHooksItemDeliveriesItemAttemptsPostResponse
- func (m *ItemHooksItemDeliveriesItemAttemptsPostResponse) GetAdditionalData() map[string]any
- func (m *ItemHooksItemDeliveriesItemAttemptsPostResponse) GetFieldDeserializers() ...
- func (m *ItemHooksItemDeliveriesItemAttemptsPostResponse) Serialize(...) error
- func (m *ItemHooksItemDeliveriesItemAttemptsPostResponse) SetAdditionalData(value map[string]any)
- type ItemHooksItemDeliveriesItemAttemptsPostResponseable
- type ItemHooksItemDeliveriesItemAttemptsRequestBuilder
- func (m *ItemHooksItemDeliveriesItemAttemptsRequestBuilder) Post(ctx context.Context, ...) (ItemHooksItemDeliveriesItemAttemptsPostResponseable, error)
- func (m *ItemHooksItemDeliveriesItemAttemptsRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemHooksItemDeliveriesItemAttemptsRequestBuilder) WithUrl(rawUrl string) *ItemHooksItemDeliveriesItemAttemptsRequestBuilder
- type ItemHooksItemDeliveriesRequestBuilder
- func (m *ItemHooksItemDeliveriesRequestBuilder) ByDelivery_id(delivery_id int32) *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder
- func (m *ItemHooksItemDeliveriesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemHooksItemDeliveriesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemHooksItemDeliveriesRequestBuilder) WithUrl(rawUrl string) *ItemHooksItemDeliveriesRequestBuilder
- type ItemHooksItemDeliveriesRequestBuilderGetQueryParameters
- type ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder
- func NewItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder(rawUrl string, ...) *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder
- func NewItemHooksItemDeliveriesWithDelivery_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder
- func (m *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) Attempts() *ItemHooksItemDeliveriesItemAttemptsRequestBuilder
- func (m *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) WithUrl(rawUrl string) *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder
- type ItemHooksItemPingsRequestBuilder
- type ItemHooksItemWithHook_PatchRequestBody
- func (m *ItemHooksItemWithHook_PatchRequestBody) GetActive() *bool
- func (m *ItemHooksItemWithHook_PatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemHooksItemWithHook_PatchRequestBody) GetConfig() ItemHooksItemWithHook_PatchRequestBody_configable
- func (m *ItemHooksItemWithHook_PatchRequestBody) GetEvents() []string
- func (m *ItemHooksItemWithHook_PatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemHooksItemWithHook_PatchRequestBody) GetName() *string
- func (m *ItemHooksItemWithHook_PatchRequestBody) Serialize(...) error
- func (m *ItemHooksItemWithHook_PatchRequestBody) SetActive(value *bool)
- func (m *ItemHooksItemWithHook_PatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemHooksItemWithHook_PatchRequestBody) SetConfig(value ItemHooksItemWithHook_PatchRequestBody_configable)
- func (m *ItemHooksItemWithHook_PatchRequestBody) SetEvents(value []string)
- func (m *ItemHooksItemWithHook_PatchRequestBody) SetName(value *string)
- type ItemHooksItemWithHook_PatchRequestBody_config
- func (m *ItemHooksItemWithHook_PatchRequestBody_config) GetAdditionalData() map[string]any
- func (m *ItemHooksItemWithHook_PatchRequestBody_config) GetContentType() *string
- func (m *ItemHooksItemWithHook_PatchRequestBody_config) GetFieldDeserializers() ...
- func (m *ItemHooksItemWithHook_PatchRequestBody_config) GetInsecureSsl() ...
- func (m *ItemHooksItemWithHook_PatchRequestBody_config) GetSecret() *string
- func (m *ItemHooksItemWithHook_PatchRequestBody_config) GetUrl() *string
- func (m *ItemHooksItemWithHook_PatchRequestBody_config) Serialize(...) error
- func (m *ItemHooksItemWithHook_PatchRequestBody_config) SetAdditionalData(value map[string]any)
- func (m *ItemHooksItemWithHook_PatchRequestBody_config) SetContentType(value *string)
- func (m *ItemHooksItemWithHook_PatchRequestBody_config) SetInsecureSsl(...)
- func (m *ItemHooksItemWithHook_PatchRequestBody_config) SetSecret(value *string)
- func (m *ItemHooksItemWithHook_PatchRequestBody_config) SetUrl(value *string)
- type ItemHooksItemWithHook_PatchRequestBody_configable
- type ItemHooksItemWithHook_PatchRequestBodyable
- type ItemHooksPostRequestBody
- func (m *ItemHooksPostRequestBody) GetActive() *bool
- func (m *ItemHooksPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemHooksPostRequestBody) GetConfig() ItemHooksPostRequestBody_configable
- func (m *ItemHooksPostRequestBody) GetEvents() []string
- func (m *ItemHooksPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemHooksPostRequestBody) GetName() *string
- func (m *ItemHooksPostRequestBody) Serialize(...) error
- func (m *ItemHooksPostRequestBody) SetActive(value *bool)
- func (m *ItemHooksPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemHooksPostRequestBody) SetConfig(value ItemHooksPostRequestBody_configable)
- func (m *ItemHooksPostRequestBody) SetEvents(value []string)
- func (m *ItemHooksPostRequestBody) SetName(value *string)
- type ItemHooksPostRequestBody_config
- func (m *ItemHooksPostRequestBody_config) GetAdditionalData() map[string]any
- func (m *ItemHooksPostRequestBody_config) GetContentType() *string
- func (m *ItemHooksPostRequestBody_config) GetFieldDeserializers() ...
- func (m *ItemHooksPostRequestBody_config) GetInsecureSsl() ...
- func (m *ItemHooksPostRequestBody_config) GetPassword() *string
- func (m *ItemHooksPostRequestBody_config) GetSecret() *string
- func (m *ItemHooksPostRequestBody_config) GetUrl() *string
- func (m *ItemHooksPostRequestBody_config) GetUsername() *string
- func (m *ItemHooksPostRequestBody_config) Serialize(...) error
- func (m *ItemHooksPostRequestBody_config) SetAdditionalData(value map[string]any)
- func (m *ItemHooksPostRequestBody_config) SetContentType(value *string)
- func (m *ItemHooksPostRequestBody_config) SetInsecureSsl(...)
- func (m *ItemHooksPostRequestBody_config) SetPassword(value *string)
- func (m *ItemHooksPostRequestBody_config) SetSecret(value *string)
- func (m *ItemHooksPostRequestBody_config) SetUrl(value *string)
- func (m *ItemHooksPostRequestBody_config) SetUsername(value *string)
- type ItemHooksPostRequestBody_configable
- type ItemHooksPostRequestBodyable
- type ItemHooksRequestBuilder
- func (m *ItemHooksRequestBuilder) ByHook_id(hook_id int32) *ItemHooksWithHook_ItemRequestBuilder
- func (m *ItemHooksRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemHooksRequestBuilder) Post(ctx context.Context, body ItemHooksPostRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrgHookable, ...)
- func (m *ItemHooksRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemHooksRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemHooksPostRequestBodyable, ...) (...)
- func (m *ItemHooksRequestBuilder) WithUrl(rawUrl string) *ItemHooksRequestBuilder
- type ItemHooksRequestBuilderGetQueryParameters
- type ItemHooksWithHook_ItemRequestBuilder
- func (m *ItemHooksWithHook_ItemRequestBuilder) Config() *ItemHooksItemConfigRequestBuilder
- func (m *ItemHooksWithHook_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemHooksWithHook_ItemRequestBuilder) Deliveries() *ItemHooksItemDeliveriesRequestBuilder
- func (m *ItemHooksWithHook_ItemRequestBuilder) Get(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrgHookable, ...)
- func (m *ItemHooksWithHook_ItemRequestBuilder) Patch(ctx context.Context, body ItemHooksItemWithHook_PatchRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrgHookable, ...)
- func (m *ItemHooksWithHook_ItemRequestBuilder) Pings() *ItemHooksItemPingsRequestBuilder
- func (m *ItemHooksWithHook_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemHooksWithHook_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemHooksWithHook_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemHooksItemWithHook_PatchRequestBodyable, ...) (...)
- func (m *ItemHooksWithHook_ItemRequestBuilder) WithUrl(rawUrl string) *ItemHooksWithHook_ItemRequestBuilder
- type ItemInstallationRequestBuilder
- type ItemInstallationsGetResponse
- func (m *ItemInstallationsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemInstallationsGetResponse) GetFieldDeserializers() ...
- func (m *ItemInstallationsGetResponse) GetInstallations() ...
- func (m *ItemInstallationsGetResponse) GetTotalCount() *int32
- func (m *ItemInstallationsGetResponse) Serialize(...) error
- func (m *ItemInstallationsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemInstallationsGetResponse) SetInstallations(...)
- func (m *ItemInstallationsGetResponse) SetTotalCount(value *int32)
- type ItemInstallationsGetResponseable
- type ItemInstallationsRequestBuilder
- func (m *ItemInstallationsRequestBuilder) Get(ctx context.Context, ...) (ItemInstallationsGetResponseable, error)
- func (m *ItemInstallationsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemInstallationsRequestBuilder) WithUrl(rawUrl string) *ItemInstallationsRequestBuilder
- type ItemInstallationsRequestBuilderGetQueryParameters
- type ItemIssuesRequestBuilder
- func (m *ItemIssuesRequestBuilder) Get(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Issueable, ...)
- func (m *ItemIssuesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemIssuesRequestBuilder) WithUrl(rawUrl string) *ItemIssuesRequestBuilder
- type ItemIssuesRequestBuilderGetQueryParameters
- type ItemItemItemWithEnablementPostRequestBody
- func (m *ItemItemItemWithEnablementPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemItemItemWithEnablementPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemItemItemWithEnablementPostRequestBody) Serialize(...) error
- func (m *ItemItemItemWithEnablementPostRequestBody) SetAdditionalData(value map[string]any)
- type ItemItemItemWithEnablementPostRequestBodyable
- type ItemItemWithEnablementItemRequestBuilder
- func (m *ItemItemWithEnablementItemRequestBuilder) Post(ctx context.Context, body ItemItemItemWithEnablementPostRequestBodyable, ...) error
- func (m *ItemItemWithEnablementItemRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemItemWithEnablementPostRequestBodyable, ...) (...)
- func (m *ItemItemWithEnablementItemRequestBuilder) WithUrl(rawUrl string) *ItemItemWithEnablementItemRequestBuilder
- type ItemMembersRequestBuilder
- func (m *ItemMembersRequestBuilder) ByUsername(username string) *ItemMembersWithUsernameItemRequestBuilder
- func (m *ItemMembersRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemMembersRequestBuilder) WithUrl(rawUrl string) *ItemMembersRequestBuilder
- type ItemMembersRequestBuilderGetQueryParameters
- type ItemMembersWithUsernameItemRequestBuilder
- func (m *ItemMembersWithUsernameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemMembersWithUsernameItemRequestBuilder) Get(ctx context.Context, ...) error
- func (m *ItemMembersWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemMembersWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemMembersWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *ItemMembersWithUsernameItemRequestBuilder
- type ItemMembershipsItemWithUsernamePutRequestBody
- func (m *ItemMembershipsItemWithUsernamePutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemMembershipsItemWithUsernamePutRequestBody) GetFieldDeserializers() ...
- func (m *ItemMembershipsItemWithUsernamePutRequestBody) Serialize(...) error
- func (m *ItemMembershipsItemWithUsernamePutRequestBody) SetAdditionalData(value map[string]any)
- type ItemMembershipsItemWithUsernamePutRequestBodyable
- type ItemMembershipsRequestBuilder
- type ItemMembershipsWithUsernameItemRequestBuilder
- func (m *ItemMembershipsWithUsernameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemMembershipsWithUsernameItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemMembershipsWithUsernameItemRequestBuilder) Put(ctx context.Context, body ItemMembershipsItemWithUsernamePutRequestBodyable, ...) (...)
- func (m *ItemMembershipsWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemMembershipsWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemMembershipsWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemMembershipsItemWithUsernamePutRequestBodyable, ...) (...)
- func (m *ItemMembershipsWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *ItemMembershipsWithUsernameItemRequestBuilder
- type ItemMigrationsItemArchiveRequestBuilder
- func (m *ItemMigrationsItemArchiveRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemMigrationsItemArchiveRequestBuilder) Get(ctx context.Context, ...) error
- func (m *ItemMigrationsItemArchiveRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemMigrationsItemArchiveRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemMigrationsItemArchiveRequestBuilder) WithUrl(rawUrl string) *ItemMigrationsItemArchiveRequestBuilder
- type ItemMigrationsItemReposItemLockRequestBuilder
- func (m *ItemMigrationsItemReposItemLockRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemMigrationsItemReposItemLockRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemMigrationsItemReposItemLockRequestBuilder) WithUrl(rawUrl string) *ItemMigrationsItemReposItemLockRequestBuilder
- type ItemMigrationsItemReposRequestBuilder
- type ItemMigrationsItemReposWithRepo_nameItemRequestBuilder
- func NewItemMigrationsItemReposWithRepo_nameItemRequestBuilder(rawUrl string, ...) *ItemMigrationsItemReposWithRepo_nameItemRequestBuilder
- func NewItemMigrationsItemReposWithRepo_nameItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemMigrationsItemReposWithRepo_nameItemRequestBuilder
- type ItemMigrationsItemRepositoriesRequestBuilder
- func (m *ItemMigrationsItemRepositoriesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemMigrationsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemMigrationsItemRepositoriesRequestBuilder) WithUrl(rawUrl string) *ItemMigrationsItemRepositoriesRequestBuilder
- type ItemMigrationsItemRepositoriesRequestBuilderGetQueryParameters
- type ItemMigrationsPostRequestBody
- func (m *ItemMigrationsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemMigrationsPostRequestBody) GetExcludeAttachments() *bool
- func (m *ItemMigrationsPostRequestBody) GetExcludeGitData() *bool
- func (m *ItemMigrationsPostRequestBody) GetExcludeMetadata() *bool
- func (m *ItemMigrationsPostRequestBody) GetExcludeOwnerProjects() *bool
- func (m *ItemMigrationsPostRequestBody) GetExcludeReleases() *bool
- func (m *ItemMigrationsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemMigrationsPostRequestBody) GetLockRepositories() *bool
- func (m *ItemMigrationsPostRequestBody) GetOrgMetadataOnly() *bool
- func (m *ItemMigrationsPostRequestBody) GetRepositories() []string
- func (m *ItemMigrationsPostRequestBody) Serialize(...) error
- func (m *ItemMigrationsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemMigrationsPostRequestBody) SetExcludeAttachments(value *bool)
- func (m *ItemMigrationsPostRequestBody) SetExcludeGitData(value *bool)
- func (m *ItemMigrationsPostRequestBody) SetExcludeMetadata(value *bool)
- func (m *ItemMigrationsPostRequestBody) SetExcludeOwnerProjects(value *bool)
- func (m *ItemMigrationsPostRequestBody) SetExcludeReleases(value *bool)
- func (m *ItemMigrationsPostRequestBody) SetLockRepositories(value *bool)
- func (m *ItemMigrationsPostRequestBody) SetOrgMetadataOnly(value *bool)
- func (m *ItemMigrationsPostRequestBody) SetRepositories(value []string)
- type ItemMigrationsPostRequestBodyable
- type ItemMigrationsRequestBuilder
- func (m *ItemMigrationsRequestBuilder) ByMigration_id(migration_id int32) *ItemMigrationsWithMigration_ItemRequestBuilder
- func (m *ItemMigrationsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemMigrationsRequestBuilder) Post(ctx context.Context, body ItemMigrationsPostRequestBodyable, ...) (...)
- func (m *ItemMigrationsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemMigrationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemMigrationsPostRequestBodyable, ...) (...)
- func (m *ItemMigrationsRequestBuilder) WithUrl(rawUrl string) *ItemMigrationsRequestBuilder
- type ItemMigrationsRequestBuilderGetQueryParameters
- type ItemMigrationsWithMigration_ItemRequestBuilder
- func (m *ItemMigrationsWithMigration_ItemRequestBuilder) Archive() *ItemMigrationsItemArchiveRequestBuilder
- func (m *ItemMigrationsWithMigration_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemMigrationsWithMigration_ItemRequestBuilder) Repos() *ItemMigrationsItemReposRequestBuilder
- func (m *ItemMigrationsWithMigration_ItemRequestBuilder) Repositories() *ItemMigrationsItemRepositoriesRequestBuilder
- func (m *ItemMigrationsWithMigration_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemMigrationsWithMigration_ItemRequestBuilder) WithUrl(rawUrl string) *ItemMigrationsWithMigration_ItemRequestBuilder
- type ItemMigrationsWithMigration_ItemRequestBuilderGetQueryParameters
- type ItemOutside_collaboratorsItemWithUsername422Error
- func (m *ItemOutside_collaboratorsItemWithUsername422Error) Error() string
- func (m *ItemOutside_collaboratorsItemWithUsername422Error) GetAdditionalData() map[string]any
- func (m *ItemOutside_collaboratorsItemWithUsername422Error) GetDocumentationUrl() *string
- func (m *ItemOutside_collaboratorsItemWithUsername422Error) GetFieldDeserializers() ...
- func (m *ItemOutside_collaboratorsItemWithUsername422Error) GetMessage() *string
- func (m *ItemOutside_collaboratorsItemWithUsername422Error) Serialize(...) error
- func (m *ItemOutside_collaboratorsItemWithUsername422Error) SetAdditionalData(value map[string]any)
- func (m *ItemOutside_collaboratorsItemWithUsername422Error) SetDocumentationUrl(value *string)
- func (m *ItemOutside_collaboratorsItemWithUsername422Error) SetMessage(value *string)
- type ItemOutside_collaboratorsItemWithUsername422Errorable
- type ItemOutside_collaboratorsItemWithUsernamePutRequestBody
- func (m *ItemOutside_collaboratorsItemWithUsernamePutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemOutside_collaboratorsItemWithUsernamePutRequestBody) GetAsync() *bool
- func (m *ItemOutside_collaboratorsItemWithUsernamePutRequestBody) GetFieldDeserializers() ...
- func (m *ItemOutside_collaboratorsItemWithUsernamePutRequestBody) Serialize(...) error
- func (m *ItemOutside_collaboratorsItemWithUsernamePutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemOutside_collaboratorsItemWithUsernamePutRequestBody) SetAsync(value *bool)
- type ItemOutside_collaboratorsItemWithUsernamePutRequestBodyable
- type ItemOutside_collaboratorsItemWithUsernamePutResponse
- type ItemOutside_collaboratorsItemWithUsernamePutResponseable
- type ItemOutside_collaboratorsRequestBuilder
- func (m *ItemOutside_collaboratorsRequestBuilder) ByUsername(username string) *ItemOutside_collaboratorsWithUsernameItemRequestBuilder
- func (m *ItemOutside_collaboratorsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemOutside_collaboratorsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemOutside_collaboratorsRequestBuilder) WithUrl(rawUrl string) *ItemOutside_collaboratorsRequestBuilder
- type ItemOutside_collaboratorsRequestBuilderGetQueryParameters
- type ItemOutside_collaboratorsWithUsernameItemRequestBuilder
- func NewItemOutside_collaboratorsWithUsernameItemRequestBuilder(rawUrl string, ...) *ItemOutside_collaboratorsWithUsernameItemRequestBuilder
- func NewItemOutside_collaboratorsWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemOutside_collaboratorsWithUsernameItemRequestBuilder
- func (m *ItemOutside_collaboratorsWithUsernameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemOutside_collaboratorsWithUsernameItemRequestBuilder) Put(ctx context.Context, ...) (ItemOutside_collaboratorsItemWithUsernamePutResponseable, error)
- func (m *ItemOutside_collaboratorsWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemOutside_collaboratorsWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemOutside_collaboratorsWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *ItemOutside_collaboratorsWithUsernameItemRequestBuilder
- type ItemPackagesItemItemRestoreRequestBuilder
- func (m *ItemPackagesItemItemRestoreRequestBuilder) Post(ctx context.Context, ...) error
- func (m *ItemPackagesItemItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPackagesItemItemRestoreRequestBuilder) WithUrl(rawUrl string) *ItemPackagesItemItemRestoreRequestBuilder
- type ItemPackagesItemItemRestoreRequestBuilderPostQueryParameters
- type ItemPackagesItemItemVersionsItemRestoreRequestBuilder
- func NewItemPackagesItemItemVersionsItemRestoreRequestBuilder(rawUrl string, ...) *ItemPackagesItemItemVersionsItemRestoreRequestBuilder
- func NewItemPackagesItemItemVersionsItemRestoreRequestBuilderInternal(pathParameters map[string]string, ...) *ItemPackagesItemItemVersionsItemRestoreRequestBuilder
- func (m *ItemPackagesItemItemVersionsItemRestoreRequestBuilder) Post(ctx context.Context, ...) error
- func (m *ItemPackagesItemItemVersionsItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPackagesItemItemVersionsItemRestoreRequestBuilder) WithUrl(rawUrl string) *ItemPackagesItemItemVersionsItemRestoreRequestBuilder
- type ItemPackagesItemItemVersionsRequestBuilder
- func (m *ItemPackagesItemItemVersionsRequestBuilder) ByPackage_version_id(package_version_id int32) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
- func (m *ItemPackagesItemItemVersionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemPackagesItemItemVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPackagesItemItemVersionsRequestBuilder) WithUrl(rawUrl string) *ItemPackagesItemItemVersionsRequestBuilder
- type ItemPackagesItemItemVersionsRequestBuilderGetQueryParameters
- type ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
- func NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder(rawUrl string, ...) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
- func NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
- func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Restore() *ItemPackagesItemItemVersionsItemRestoreRequestBuilder
- func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) WithUrl(rawUrl string) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
- type ItemPackagesItemWithPackage_nameItemRequestBuilder
- func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) Restore() *ItemPackagesItemItemRestoreRequestBuilder
- func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) Versions() *ItemPackagesItemItemVersionsRequestBuilder
- func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) WithUrl(rawUrl string) *ItemPackagesItemWithPackage_nameItemRequestBuilder
- type ItemPackagesRequestBuilder
- func (m *ItemPackagesRequestBuilder) ByPackage_type(package_type string) *ItemPackagesWithPackage_typeItemRequestBuilder
- func (m *ItemPackagesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemPackagesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPackagesRequestBuilder) WithUrl(rawUrl string) *ItemPackagesRequestBuilder
- type ItemPackagesRequestBuilderGetQueryParameters
- type ItemPackagesWithPackage_typeItemRequestBuilder
- type ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder
- func NewItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder(rawUrl string, ...) *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder
- func NewItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, ...) *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder
- func (m *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder) WithUrl(rawUrl string) *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder
- type ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderGetQueryParameters
- type ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody
- func (m *ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) GetFieldDeserializers() ...
- func (m *ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) GetReason() *string
- func (m *ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) Serialize(...) error
- func (m *ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) SetReason(value *string)
- type ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBodyable
- type ItemPersonalAccessTokenRequestsPostRequestBody
- func (m *ItemPersonalAccessTokenRequestsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemPersonalAccessTokenRequestsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemPersonalAccessTokenRequestsPostRequestBody) GetPatRequestIds() []int32
- func (m *ItemPersonalAccessTokenRequestsPostRequestBody) GetReason() *string
- func (m *ItemPersonalAccessTokenRequestsPostRequestBody) Serialize(...) error
- func (m *ItemPersonalAccessTokenRequestsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemPersonalAccessTokenRequestsPostRequestBody) SetPatRequestIds(value []int32)
- func (m *ItemPersonalAccessTokenRequestsPostRequestBody) SetReason(value *string)
- type ItemPersonalAccessTokenRequestsPostRequestBodyable
- type ItemPersonalAccessTokenRequestsPostResponse
- func (m *ItemPersonalAccessTokenRequestsPostResponse) GetAdditionalData() map[string]any
- func (m *ItemPersonalAccessTokenRequestsPostResponse) GetFieldDeserializers() ...
- func (m *ItemPersonalAccessTokenRequestsPostResponse) Serialize(...) error
- func (m *ItemPersonalAccessTokenRequestsPostResponse) SetAdditionalData(value map[string]any)
- type ItemPersonalAccessTokenRequestsPostResponseable
- type ItemPersonalAccessTokenRequestsRequestBuilder
- func (m *ItemPersonalAccessTokenRequestsRequestBuilder) ByPat_request_id(pat_request_id int32) *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder
- func (m *ItemPersonalAccessTokenRequestsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemPersonalAccessTokenRequestsRequestBuilder) Post(ctx context.Context, body ItemPersonalAccessTokenRequestsPostRequestBodyable, ...) (ItemPersonalAccessTokenRequestsPostResponseable, error)
- func (m *ItemPersonalAccessTokenRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPersonalAccessTokenRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemPersonalAccessTokenRequestsPostRequestBodyable, ...) (...)
- func (m *ItemPersonalAccessTokenRequestsRequestBuilder) WithUrl(rawUrl string) *ItemPersonalAccessTokenRequestsRequestBuilder
- type ItemPersonalAccessTokenRequestsRequestBuilderGetQueryParameters
- type ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder
- func NewItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder(rawUrl string, ...) *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder
- func NewItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder
- func (m *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder) Post(ctx context.Context, ...) error
- func (m *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder) Repositories() *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder
- func (m *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder) WithUrl(rawUrl string) *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder
- type ItemPersonalAccessTokensItemRepositoriesRequestBuilder
- func NewItemPersonalAccessTokensItemRepositoriesRequestBuilder(rawUrl string, ...) *ItemPersonalAccessTokensItemRepositoriesRequestBuilder
- func NewItemPersonalAccessTokensItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, ...) *ItemPersonalAccessTokensItemRepositoriesRequestBuilder
- func (m *ItemPersonalAccessTokensItemRepositoriesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemPersonalAccessTokensItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPersonalAccessTokensItemRepositoriesRequestBuilder) WithUrl(rawUrl string) *ItemPersonalAccessTokensItemRepositoriesRequestBuilder
- type ItemPersonalAccessTokensItemRepositoriesRequestBuilderGetQueryParameters
- type ItemPersonalAccessTokensItemWithPat_PostRequestBody
- func (m *ItemPersonalAccessTokensItemWithPat_PostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemPersonalAccessTokensItemWithPat_PostRequestBody) GetFieldDeserializers() ...
- func (m *ItemPersonalAccessTokensItemWithPat_PostRequestBody) Serialize(...) error
- func (m *ItemPersonalAccessTokensItemWithPat_PostRequestBody) SetAdditionalData(value map[string]any)
- type ItemPersonalAccessTokensItemWithPat_PostRequestBodyable
- type ItemPersonalAccessTokensPostRequestBody
- func (m *ItemPersonalAccessTokensPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemPersonalAccessTokensPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemPersonalAccessTokensPostRequestBody) GetPatIds() []int32
- func (m *ItemPersonalAccessTokensPostRequestBody) Serialize(...) error
- func (m *ItemPersonalAccessTokensPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemPersonalAccessTokensPostRequestBody) SetPatIds(value []int32)
- type ItemPersonalAccessTokensPostRequestBodyable
- type ItemPersonalAccessTokensPostResponse
- func (m *ItemPersonalAccessTokensPostResponse) GetAdditionalData() map[string]any
- func (m *ItemPersonalAccessTokensPostResponse) GetFieldDeserializers() ...
- func (m *ItemPersonalAccessTokensPostResponse) Serialize(...) error
- func (m *ItemPersonalAccessTokensPostResponse) SetAdditionalData(value map[string]any)
- type ItemPersonalAccessTokensPostResponseable
- type ItemPersonalAccessTokensRequestBuilder
- func (m *ItemPersonalAccessTokensRequestBuilder) ByPat_id(pat_id int32) *ItemPersonalAccessTokensWithPat_ItemRequestBuilder
- func (m *ItemPersonalAccessTokensRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemPersonalAccessTokensRequestBuilder) Post(ctx context.Context, body ItemPersonalAccessTokensPostRequestBodyable, ...) (ItemPersonalAccessTokensPostResponseable, error)
- func (m *ItemPersonalAccessTokensRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPersonalAccessTokensRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemPersonalAccessTokensPostRequestBodyable, ...) (...)
- func (m *ItemPersonalAccessTokensRequestBuilder) WithUrl(rawUrl string) *ItemPersonalAccessTokensRequestBuilder
- type ItemPersonalAccessTokensRequestBuilderGetQueryParameters
- type ItemPersonalAccessTokensWithPat_ItemRequestBuilder
- func (m *ItemPersonalAccessTokensWithPat_ItemRequestBuilder) Post(ctx context.Context, ...) error
- func (m *ItemPersonalAccessTokensWithPat_ItemRequestBuilder) Repositories() *ItemPersonalAccessTokensItemRepositoriesRequestBuilder
- func (m *ItemPersonalAccessTokensWithPat_ItemRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPersonalAccessTokensWithPat_ItemRequestBuilder) WithUrl(rawUrl string) *ItemPersonalAccessTokensWithPat_ItemRequestBuilder
- type ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody
- func (m *ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetAllowDownstreamConfiguration() *bool
- func (m *ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetEnforcement() *string
- func (m *ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) Serialize(...) error
- func (m *ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetAllowDownstreamConfiguration(value *bool)
- func (m *ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetEnforcement(value *string)
- type ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyable
- type ItemPreReceiveHooksRequestBuilder
- func (m *ItemPreReceiveHooksRequestBuilder) ByPre_receive_hook_id(pre_receive_hook_id int32) *ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder
- func (m *ItemPreReceiveHooksRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemPreReceiveHooksRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPreReceiveHooksRequestBuilder) WithUrl(rawUrl string) *ItemPreReceiveHooksRequestBuilder
- type ItemPreReceiveHooksRequestBuilderGetQueryParameters
- type ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder
- func NewItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder(rawUrl string, ...) *ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder
- func NewItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder
- func (m *ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Delete(ctx context.Context, ...) (...)
- func (m *ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) WithUrl(rawUrl string) *ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder
- type ItemProjectsPostRequestBody
- func (m *ItemProjectsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemProjectsPostRequestBody) GetBody() *string
- func (m *ItemProjectsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemProjectsPostRequestBody) GetName() *string
- func (m *ItemProjectsPostRequestBody) Serialize(...) error
- func (m *ItemProjectsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemProjectsPostRequestBody) SetBody(value *string)
- func (m *ItemProjectsPostRequestBody) SetName(value *string)
- type ItemProjectsPostRequestBodyable
- type ItemProjectsRequestBuilder
- func (m *ItemProjectsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemProjectsRequestBuilder) Post(ctx context.Context, body ItemProjectsPostRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Projectable, ...)
- func (m *ItemProjectsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemProjectsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemProjectsPostRequestBodyable, ...) (...)
- func (m *ItemProjectsRequestBuilder) WithUrl(rawUrl string) *ItemProjectsRequestBuilder
- type ItemProjectsRequestBuilderGetQueryParameters
- type ItemPropertiesRequestBuilder
- type ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody
- func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetAllowedValues() []string
- func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetDefaultValue() ...
- func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetDescription() *string
- func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetFieldDeserializers() ...
- func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetRequired() *bool
- func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) Serialize(...) error
- func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) SetAllowedValues(value []string)
- func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) SetDefaultValue(...)
- func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) SetDescription(value *string)
- func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) SetRequired(value *bool)
- type ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value
- func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value) GetFieldDeserializers() ...
- func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value) GetIsComposedType() bool
- func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value) GetString() *string
- func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value) Serialize(...) error
- func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value) SetString(value *string)
- type ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_valueable
- type ItemPropertiesSchemaItemWithCustom_property_namePutRequestBodyable
- type ItemPropertiesSchemaPatchRequestBody
- func (m *ItemPropertiesSchemaPatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemPropertiesSchemaPatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemPropertiesSchemaPatchRequestBody) GetProperties() ...
- func (m *ItemPropertiesSchemaPatchRequestBody) Serialize(...) error
- func (m *ItemPropertiesSchemaPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemPropertiesSchemaPatchRequestBody) SetProperties(...)
- type ItemPropertiesSchemaPatchRequestBodyable
- type ItemPropertiesSchemaRequestBuilder
- func (m *ItemPropertiesSchemaRequestBuilder) ByCustom_property_name(custom_property_name string) *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder
- func (m *ItemPropertiesSchemaRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemPropertiesSchemaRequestBuilder) Patch(ctx context.Context, body ItemPropertiesSchemaPatchRequestBodyable, ...) (...)
- func (m *ItemPropertiesSchemaRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPropertiesSchemaRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemPropertiesSchemaPatchRequestBodyable, ...) (...)
- func (m *ItemPropertiesSchemaRequestBuilder) WithUrl(rawUrl string) *ItemPropertiesSchemaRequestBuilder
- type ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder
- func NewItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder(rawUrl string, ...) *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder
- func NewItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder
- func (m *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) Put(ctx context.Context, ...) (...)
- func (m *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) WithUrl(rawUrl string) *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder
- type ItemPropertiesValuesPatchRequestBody
- func (m *ItemPropertiesValuesPatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemPropertiesValuesPatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemPropertiesValuesPatchRequestBody) GetProperties() ...
- func (m *ItemPropertiesValuesPatchRequestBody) GetRepositoryNames() []string
- func (m *ItemPropertiesValuesPatchRequestBody) Serialize(...) error
- func (m *ItemPropertiesValuesPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemPropertiesValuesPatchRequestBody) SetProperties(...)
- func (m *ItemPropertiesValuesPatchRequestBody) SetRepositoryNames(value []string)
- type ItemPropertiesValuesPatchRequestBodyable
- type ItemPropertiesValuesRequestBuilder
- func (m *ItemPropertiesValuesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemPropertiesValuesRequestBuilder) Patch(ctx context.Context, body ItemPropertiesValuesPatchRequestBodyable, ...) error
- func (m *ItemPropertiesValuesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPropertiesValuesRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemPropertiesValuesPatchRequestBodyable, ...) (...)
- func (m *ItemPropertiesValuesRequestBuilder) WithUrl(rawUrl string) *ItemPropertiesValuesRequestBuilder
- type ItemPropertiesValuesRequestBuilderGetQueryParameters
- type ItemPublic_membersRequestBuilder
- func (m *ItemPublic_membersRequestBuilder) ByUsername(username string) *ItemPublic_membersWithUsernameItemRequestBuilder
- func (m *ItemPublic_membersRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemPublic_membersRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPublic_membersRequestBuilder) WithUrl(rawUrl string) *ItemPublic_membersRequestBuilder
- type ItemPublic_membersRequestBuilderGetQueryParameters
- type ItemPublic_membersWithUsernameItemRequestBuilder
- func (m *ItemPublic_membersWithUsernameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemPublic_membersWithUsernameItemRequestBuilder) Get(ctx context.Context, ...) error
- func (m *ItemPublic_membersWithUsernameItemRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemPublic_membersWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPublic_membersWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPublic_membersWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemPublic_membersWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *ItemPublic_membersWithUsernameItemRequestBuilder
- type ItemReposPostRequestBody
- func (m *ItemReposPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemReposPostRequestBody) GetAllowAutoMerge() *bool
- func (m *ItemReposPostRequestBody) GetAllowMergeCommit() *bool
- func (m *ItemReposPostRequestBody) GetAllowRebaseMerge() *bool
- func (m *ItemReposPostRequestBody) GetAllowSquashMerge() *bool
- func (m *ItemReposPostRequestBody) GetAutoInit() *bool
- func (m *ItemReposPostRequestBody) GetCustomProperties() ItemReposPostRequestBody_custom_propertiesable
- func (m *ItemReposPostRequestBody) GetDeleteBranchOnMerge() *bool
- func (m *ItemReposPostRequestBody) GetDescription() *string
- func (m *ItemReposPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemReposPostRequestBody) GetGitignoreTemplate() *string
- func (m *ItemReposPostRequestBody) GetHasDownloads() *bool
- func (m *ItemReposPostRequestBody) GetHasIssues() *bool
- func (m *ItemReposPostRequestBody) GetHasProjects() *bool
- func (m *ItemReposPostRequestBody) GetHasWiki() *bool
- func (m *ItemReposPostRequestBody) GetHomepage() *string
- func (m *ItemReposPostRequestBody) GetIsTemplate() *bool
- func (m *ItemReposPostRequestBody) GetLicenseTemplate() *string
- func (m *ItemReposPostRequestBody) GetName() *string
- func (m *ItemReposPostRequestBody) GetPrivate() *bool
- func (m *ItemReposPostRequestBody) GetTeamId() *int32
- func (m *ItemReposPostRequestBody) GetUseSquashPrTitleAsDefault() *bool
- func (m *ItemReposPostRequestBody) Serialize(...) error
- func (m *ItemReposPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemReposPostRequestBody) SetAllowAutoMerge(value *bool)
- func (m *ItemReposPostRequestBody) SetAllowMergeCommit(value *bool)
- func (m *ItemReposPostRequestBody) SetAllowRebaseMerge(value *bool)
- func (m *ItemReposPostRequestBody) SetAllowSquashMerge(value *bool)
- func (m *ItemReposPostRequestBody) SetAutoInit(value *bool)
- func (m *ItemReposPostRequestBody) SetCustomProperties(value ItemReposPostRequestBody_custom_propertiesable)
- func (m *ItemReposPostRequestBody) SetDeleteBranchOnMerge(value *bool)
- func (m *ItemReposPostRequestBody) SetDescription(value *string)
- func (m *ItemReposPostRequestBody) SetGitignoreTemplate(value *string)
- func (m *ItemReposPostRequestBody) SetHasDownloads(value *bool)
- func (m *ItemReposPostRequestBody) SetHasIssues(value *bool)
- func (m *ItemReposPostRequestBody) SetHasProjects(value *bool)
- func (m *ItemReposPostRequestBody) SetHasWiki(value *bool)
- func (m *ItemReposPostRequestBody) SetHomepage(value *string)
- func (m *ItemReposPostRequestBody) SetIsTemplate(value *bool)
- func (m *ItemReposPostRequestBody) SetLicenseTemplate(value *string)
- func (m *ItemReposPostRequestBody) SetName(value *string)
- func (m *ItemReposPostRequestBody) SetPrivate(value *bool)
- func (m *ItemReposPostRequestBody) SetTeamId(value *int32)
- func (m *ItemReposPostRequestBody) SetUseSquashPrTitleAsDefault(value *bool)
- type ItemReposPostRequestBody_custom_properties
- func (m *ItemReposPostRequestBody_custom_properties) GetAdditionalData() map[string]any
- func (m *ItemReposPostRequestBody_custom_properties) GetFieldDeserializers() ...
- func (m *ItemReposPostRequestBody_custom_properties) Serialize(...) error
- func (m *ItemReposPostRequestBody_custom_properties) SetAdditionalData(value map[string]any)
- type ItemReposPostRequestBody_custom_propertiesable
- type ItemReposPostRequestBodyable
- type ItemReposRequestBuilder
- func (m *ItemReposRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemReposRequestBuilder) Post(ctx context.Context, body ItemReposPostRequestBodyable, ...) (...)
- func (m *ItemReposRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemReposRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemReposPostRequestBodyable, ...) (...)
- func (m *ItemReposRequestBuilder) WithUrl(rawUrl string) *ItemReposRequestBuilder
- type ItemReposRequestBuilderGetQueryParameters
- type ItemRepositoryFineGrainedPermissionsRequestBuilder
- func (m *ItemRepositoryFineGrainedPermissionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemRepositoryFineGrainedPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemRepositoryFineGrainedPermissionsRequestBuilder) WithUrl(rawUrl string) *ItemRepositoryFineGrainedPermissionsRequestBuilder
- type ItemRulesetsItemWithRuleset_PutRequestBody
- func (m *ItemRulesetsItemWithRuleset_PutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemRulesetsItemWithRuleset_PutRequestBody) GetBypassActors() ...
- func (m *ItemRulesetsItemWithRuleset_PutRequestBody) GetConditions() ...
- func (m *ItemRulesetsItemWithRuleset_PutRequestBody) GetEnforcement() ...
- func (m *ItemRulesetsItemWithRuleset_PutRequestBody) GetFieldDeserializers() ...
- func (m *ItemRulesetsItemWithRuleset_PutRequestBody) GetName() *string
- func (m *ItemRulesetsItemWithRuleset_PutRequestBody) GetRules() ...
- func (m *ItemRulesetsItemWithRuleset_PutRequestBody) Serialize(...) error
- func (m *ItemRulesetsItemWithRuleset_PutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemRulesetsItemWithRuleset_PutRequestBody) SetBypassActors(...)
- func (m *ItemRulesetsItemWithRuleset_PutRequestBody) SetConditions(...)
- func (m *ItemRulesetsItemWithRuleset_PutRequestBody) SetEnforcement(...)
- func (m *ItemRulesetsItemWithRuleset_PutRequestBody) SetName(value *string)
- func (m *ItemRulesetsItemWithRuleset_PutRequestBody) SetRules(...)
- type ItemRulesetsItemWithRuleset_PutRequestBodyable
- type ItemRulesetsPostRequestBody
- func (m *ItemRulesetsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemRulesetsPostRequestBody) GetBypassActors() ...
- func (m *ItemRulesetsPostRequestBody) GetConditions() ...
- func (m *ItemRulesetsPostRequestBody) GetEnforcement() ...
- func (m *ItemRulesetsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemRulesetsPostRequestBody) GetName() *string
- func (m *ItemRulesetsPostRequestBody) GetRules() ...
- func (m *ItemRulesetsPostRequestBody) Serialize(...) error
- func (m *ItemRulesetsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemRulesetsPostRequestBody) SetBypassActors(...)
- func (m *ItemRulesetsPostRequestBody) SetConditions(...)
- func (m *ItemRulesetsPostRequestBody) SetEnforcement(...)
- func (m *ItemRulesetsPostRequestBody) SetName(value *string)
- func (m *ItemRulesetsPostRequestBody) SetRules(...)
- type ItemRulesetsPostRequestBodyable
- type ItemRulesetsRequestBuilder
- func (m *ItemRulesetsRequestBuilder) ByRuleset_id(ruleset_id int32) *ItemRulesetsWithRuleset_ItemRequestBuilder
- func (m *ItemRulesetsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemRulesetsRequestBuilder) Post(ctx context.Context, body ItemRulesetsPostRequestBodyable, ...) (...)
- func (m *ItemRulesetsRequestBuilder) RuleSuites() *ItemRulesetsRuleSuitesRequestBuilder
- func (m *ItemRulesetsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemRulesetsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemRulesetsPostRequestBodyable, ...) (...)
- func (m *ItemRulesetsRequestBuilder) WithUrl(rawUrl string) *ItemRulesetsRequestBuilder
- type ItemRulesetsRequestBuilderGetQueryParameters
- type ItemRulesetsRuleSuitesRequestBuilder
- func (m *ItemRulesetsRuleSuitesRequestBuilder) ByRule_suite_id(rule_suite_id int32) *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder
- func (m *ItemRulesetsRuleSuitesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemRulesetsRuleSuitesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemRulesetsRuleSuitesRequestBuilder) WithUrl(rawUrl string) *ItemRulesetsRuleSuitesRequestBuilder
- type ItemRulesetsRuleSuitesRequestBuilderGetQueryParameters
- type ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder
- func NewItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder(rawUrl string, ...) *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder
- func NewItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder
- func (m *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder) WithUrl(rawUrl string) *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder
- type ItemRulesetsWithRuleset_ItemRequestBuilder
- func (m *ItemRulesetsWithRuleset_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemRulesetsWithRuleset_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemRulesetsWithRuleset_ItemRequestBuilder) Put(ctx context.Context, body ItemRulesetsItemWithRuleset_PutRequestBodyable, ...) (...)
- func (m *ItemRulesetsWithRuleset_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemRulesetsWithRuleset_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemRulesetsWithRuleset_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemRulesetsItemWithRuleset_PutRequestBodyable, ...) (...)
- func (m *ItemRulesetsWithRuleset_ItemRequestBuilder) WithUrl(rawUrl string) *ItemRulesetsWithRuleset_ItemRequestBuilder
- type ItemSecretScanningAlertsRequestBuilder
- func (m *ItemSecretScanningAlertsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemSecretScanningAlertsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemSecretScanningAlertsRequestBuilder) WithUrl(rawUrl string) *ItemSecretScanningAlertsRequestBuilder
- type ItemSecretScanningAlertsRequestBuilderGetQueryParameters
- type ItemSecretScanningRequestBuilder
- type ItemSecurityManagersRequestBuilder
- func (m *ItemSecurityManagersRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemSecurityManagersRequestBuilder) Teams() *ItemSecurityManagersTeamsRequestBuilder
- func (m *ItemSecurityManagersRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemSecurityManagersRequestBuilder) WithUrl(rawUrl string) *ItemSecurityManagersRequestBuilder
- type ItemSecurityManagersTeamsRequestBuilder
- type ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder
- func NewItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder(rawUrl string, ...) *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder
- func NewItemSecurityManagersTeamsWithTeam_slugItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder
- func (m *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) WithUrl(rawUrl string) *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder
- type ItemSettingsBillingAdvancedSecurityRequestBuilder
- func (m *ItemSettingsBillingAdvancedSecurityRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemSettingsBillingAdvancedSecurityRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemSettingsBillingAdvancedSecurityRequestBuilder) WithUrl(rawUrl string) *ItemSettingsBillingAdvancedSecurityRequestBuilder
- type ItemSettingsBillingAdvancedSecurityRequestBuilderGetQueryParameters
- type ItemSettingsBillingRequestBuilder
- type ItemSettingsRequestBuilder
- type ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody
- func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody) Serialize(...) error
- func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody) SetAdditionalData(value map[string]any)
- type ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBodyable
- type ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder
- func NewItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder(rawUrl string, ...) *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder
- func NewItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderInternal(pathParameters map[string]string, ...) *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder
- func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) ByReaction_id(reaction_id int32) ...
- func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) Post(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Reactionable, ...)
- func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder
- type ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderGetQueryParameters
- type ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder
- func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder) WithUrl(rawUrl string) ...
- type ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody
- func (m *ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetBody() *string
- func (m *ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) Serialize(...) error
- func (m *ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) SetBody(value *string)
- type ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyable
- type ItemTeamsItemDiscussionsItemCommentsPostRequestBody
- func (m *ItemTeamsItemDiscussionsItemCommentsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemTeamsItemDiscussionsItemCommentsPostRequestBody) GetBody() *string
- func (m *ItemTeamsItemDiscussionsItemCommentsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemTeamsItemDiscussionsItemCommentsPostRequestBody) Serialize(...) error
- func (m *ItemTeamsItemDiscussionsItemCommentsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemTeamsItemDiscussionsItemCommentsPostRequestBody) SetBody(value *string)
- type ItemTeamsItemDiscussionsItemCommentsPostRequestBodyable
- type ItemTeamsItemDiscussionsItemCommentsRequestBuilder
- func (m *ItemTeamsItemDiscussionsItemCommentsRequestBuilder) ByComment_number(comment_number int32) *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder
- func (m *ItemTeamsItemDiscussionsItemCommentsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsItemCommentsRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsItemCommentsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsItemCommentsRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsItemCommentsRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemDiscussionsItemCommentsRequestBuilder
- type ItemTeamsItemDiscussionsItemCommentsRequestBuilderGetQueryParameters
- type ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder
- func NewItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder(rawUrl string, ...) *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder
- func NewItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder
- func (m *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Reactions() *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder
- func (m *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder
- type ItemTeamsItemDiscussionsItemReactionsPostRequestBody
- func (m *ItemTeamsItemDiscussionsItemReactionsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemTeamsItemDiscussionsItemReactionsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemTeamsItemDiscussionsItemReactionsPostRequestBody) Serialize(...) error
- func (m *ItemTeamsItemDiscussionsItemReactionsPostRequestBody) SetAdditionalData(value map[string]any)
- type ItemTeamsItemDiscussionsItemReactionsPostRequestBodyable
- type ItemTeamsItemDiscussionsItemReactionsRequestBuilder
- func (m *ItemTeamsItemDiscussionsItemReactionsRequestBuilder) ByReaction_id(reaction_id int32) *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder
- func (m *ItemTeamsItemDiscussionsItemReactionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsItemReactionsRequestBuilder) Post(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Reactionable, ...)
- func (m *ItemTeamsItemDiscussionsItemReactionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsItemReactionsRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsItemReactionsRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemDiscussionsItemReactionsRequestBuilder
- type ItemTeamsItemDiscussionsItemReactionsRequestBuilderGetQueryParameters
- type ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder
- func NewItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder(rawUrl string, ...) *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder
- func NewItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder
- func (m *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder
- type ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody
- func (m *ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetBody() *string
- func (m *ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetTitle() *string
- func (m *ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) Serialize(...) error
- func (m *ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) SetBody(value *string)
- func (m *ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) SetTitle(value *string)
- type ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBodyable
- type ItemTeamsItemDiscussionsPostRequestBody
- func (m *ItemTeamsItemDiscussionsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemTeamsItemDiscussionsPostRequestBody) GetBody() *string
- func (m *ItemTeamsItemDiscussionsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemTeamsItemDiscussionsPostRequestBody) GetPrivate() *bool
- func (m *ItemTeamsItemDiscussionsPostRequestBody) GetTitle() *string
- func (m *ItemTeamsItemDiscussionsPostRequestBody) Serialize(...) error
- func (m *ItemTeamsItemDiscussionsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemTeamsItemDiscussionsPostRequestBody) SetBody(value *string)
- func (m *ItemTeamsItemDiscussionsPostRequestBody) SetPrivate(value *bool)
- func (m *ItemTeamsItemDiscussionsPostRequestBody) SetTitle(value *string)
- type ItemTeamsItemDiscussionsPostRequestBodyable
- type ItemTeamsItemDiscussionsRequestBuilder
- func (m *ItemTeamsItemDiscussionsRequestBuilder) ByDiscussion_number(discussion_number int32) *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder
- func (m *ItemTeamsItemDiscussionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsRequestBuilder) Post(ctx context.Context, body ItemTeamsItemDiscussionsPostRequestBodyable, ...) (...)
- func (m *ItemTeamsItemDiscussionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamsItemDiscussionsPostRequestBodyable, ...) (...)
- func (m *ItemTeamsItemDiscussionsRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemDiscussionsRequestBuilder
- type ItemTeamsItemDiscussionsRequestBuilderGetQueryParameters
- type ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder
- func NewItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder(rawUrl string, ...) *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder
- func NewItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder
- func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Comments() *ItemTeamsItemDiscussionsItemCommentsRequestBuilder
- func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Reactions() *ItemTeamsItemDiscussionsItemReactionsRequestBuilder
- func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder
- type ItemTeamsItemExternalGroupsPatchRequestBody
- func (m *ItemTeamsItemExternalGroupsPatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemTeamsItemExternalGroupsPatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemTeamsItemExternalGroupsPatchRequestBody) GetGroupId() *int32
- func (m *ItemTeamsItemExternalGroupsPatchRequestBody) Serialize(...) error
- func (m *ItemTeamsItemExternalGroupsPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemTeamsItemExternalGroupsPatchRequestBody) SetGroupId(value *int32)
- type ItemTeamsItemExternalGroupsPatchRequestBodyable
- type ItemTeamsItemExternalGroupsRequestBuilder
- func (m *ItemTeamsItemExternalGroupsRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemTeamsItemExternalGroupsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemExternalGroupsRequestBuilder) Patch(ctx context.Context, body ItemTeamsItemExternalGroupsPatchRequestBodyable, ...) (...)
- func (m *ItemTeamsItemExternalGroupsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemExternalGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemExternalGroupsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemTeamsItemExternalGroupsPatchRequestBodyable, ...) (...)
- func (m *ItemTeamsItemExternalGroupsRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemExternalGroupsRequestBuilder
- type ItemTeamsItemMembersRequestBuilder
- type ItemTeamsItemMembersRequestBuilderGetQueryParameters
- type ItemTeamsItemMembershipsItemWithUsernamePutRequestBody
- func (m *ItemTeamsItemMembershipsItemWithUsernamePutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemTeamsItemMembershipsItemWithUsernamePutRequestBody) GetFieldDeserializers() ...
- func (m *ItemTeamsItemMembershipsItemWithUsernamePutRequestBody) Serialize(...) error
- func (m *ItemTeamsItemMembershipsItemWithUsernamePutRequestBody) SetAdditionalData(value map[string]any)
- type ItemTeamsItemMembershipsItemWithUsernamePutRequestBodyable
- type ItemTeamsItemMembershipsRequestBuilder
- type ItemTeamsItemMembershipsWithUsernameItemRequestBuilder
- func NewItemTeamsItemMembershipsWithUsernameItemRequestBuilder(rawUrl string, ...) *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder
- func NewItemTeamsItemMembershipsWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder
- func (m *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) Put(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder
- type ItemTeamsItemProjectsItemWithProject_403Error
- func (m *ItemTeamsItemProjectsItemWithProject_403Error) Error() string
- func (m *ItemTeamsItemProjectsItemWithProject_403Error) GetAdditionalData() map[string]any
- func (m *ItemTeamsItemProjectsItemWithProject_403Error) GetDocumentationUrl() *string
- func (m *ItemTeamsItemProjectsItemWithProject_403Error) GetFieldDeserializers() ...
- func (m *ItemTeamsItemProjectsItemWithProject_403Error) GetMessage() *string
- func (m *ItemTeamsItemProjectsItemWithProject_403Error) Serialize(...) error
- func (m *ItemTeamsItemProjectsItemWithProject_403Error) SetAdditionalData(value map[string]any)
- func (m *ItemTeamsItemProjectsItemWithProject_403Error) SetDocumentationUrl(value *string)
- func (m *ItemTeamsItemProjectsItemWithProject_403Error) SetMessage(value *string)
- type ItemTeamsItemProjectsItemWithProject_403Errorable
- type ItemTeamsItemProjectsItemWithProject_PutRequestBody
- func (m *ItemTeamsItemProjectsItemWithProject_PutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemTeamsItemProjectsItemWithProject_PutRequestBody) GetFieldDeserializers() ...
- func (m *ItemTeamsItemProjectsItemWithProject_PutRequestBody) Serialize(...) error
- func (m *ItemTeamsItemProjectsItemWithProject_PutRequestBody) SetAdditionalData(value map[string]any)
- type ItemTeamsItemProjectsItemWithProject_PutRequestBodyable
- type ItemTeamsItemProjectsRequestBuilder
- func (m *ItemTeamsItemProjectsRequestBuilder) ByProject_id(project_id int32) *ItemTeamsItemProjectsWithProject_ItemRequestBuilder
- func (m *ItemTeamsItemProjectsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemProjectsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemProjectsRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemProjectsRequestBuilder
- type ItemTeamsItemProjectsRequestBuilderGetQueryParameters
- type ItemTeamsItemProjectsWithProject_ItemRequestBuilder
- func (m *ItemTeamsItemProjectsWithProject_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemTeamsItemProjectsWithProject_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemProjectsWithProject_ItemRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemTeamsItemProjectsWithProject_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemProjectsWithProject_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemProjectsWithProject_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemProjectsWithProject_ItemRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemProjectsWithProject_ItemRequestBuilder
- type ItemTeamsItemReposItemItemWithRepoPutRequestBody
- func (m *ItemTeamsItemReposItemItemWithRepoPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemTeamsItemReposItemItemWithRepoPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemTeamsItemReposItemItemWithRepoPutRequestBody) GetPermission() *string
- func (m *ItemTeamsItemReposItemItemWithRepoPutRequestBody) Serialize(...) error
- func (m *ItemTeamsItemReposItemItemWithRepoPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemTeamsItemReposItemItemWithRepoPutRequestBody) SetPermission(value *string)
- type ItemTeamsItemReposItemItemWithRepoPutRequestBodyable
- type ItemTeamsItemReposItemWithRepoItemRequestBuilder
- func (m *ItemTeamsItemReposItemWithRepoItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemTeamsItemReposItemWithRepoItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemReposItemWithRepoItemRequestBuilder) Put(ctx context.Context, body ItemTeamsItemReposItemItemWithRepoPutRequestBodyable, ...) error
- func (m *ItemTeamsItemReposItemWithRepoItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemReposItemWithRepoItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemReposItemWithRepoItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemTeamsItemReposItemItemWithRepoPutRequestBodyable, ...) (...)
- func (m *ItemTeamsItemReposItemWithRepoItemRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemReposItemWithRepoItemRequestBuilder
- type ItemTeamsItemReposRequestBuilder
- func (m *ItemTeamsItemReposRequestBuilder) ByOwner(owner string) *ItemTeamsItemReposWithOwnerItemRequestBuilder
- func (m *ItemTeamsItemReposRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemReposRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemReposRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemReposRequestBuilder
- type ItemTeamsItemReposRequestBuilderGetQueryParameters
- type ItemTeamsItemReposWithOwnerItemRequestBuilder
- type ItemTeamsItemTeamsRequestBuilder
- func (m *ItemTeamsItemTeamsRequestBuilder) Get(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Teamable, ...)
- func (m *ItemTeamsItemTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemTeamsRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemTeamsRequestBuilder
- type ItemTeamsItemTeamsRequestBuilderGetQueryParameters
- type ItemTeamsItemWithTeam_slugPatchRequestBody
- func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) GetDescription() *string
- func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) GetName() *string
- func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) GetParentTeamId() *int32
- func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) Serialize(...) error
- func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) SetDescription(value *string)
- func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) SetName(value *string)
- func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) SetParentTeamId(value *int32)
- type ItemTeamsItemWithTeam_slugPatchRequestBodyable
- type ItemTeamsPostRequestBody
- func (m *ItemTeamsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemTeamsPostRequestBody) GetDescription() *string
- func (m *ItemTeamsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemTeamsPostRequestBody) GetLdapDn() *string
- func (m *ItemTeamsPostRequestBody) GetMaintainers() []string
- func (m *ItemTeamsPostRequestBody) GetName() *string
- func (m *ItemTeamsPostRequestBody) GetParentTeamId() *int32
- func (m *ItemTeamsPostRequestBody) GetRepoNames() []string
- func (m *ItemTeamsPostRequestBody) Serialize(...) error
- func (m *ItemTeamsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemTeamsPostRequestBody) SetDescription(value *string)
- func (m *ItemTeamsPostRequestBody) SetLdapDn(value *string)
- func (m *ItemTeamsPostRequestBody) SetMaintainers(value []string)
- func (m *ItemTeamsPostRequestBody) SetName(value *string)
- func (m *ItemTeamsPostRequestBody) SetParentTeamId(value *int32)
- func (m *ItemTeamsPostRequestBody) SetRepoNames(value []string)
- type ItemTeamsPostRequestBodyable
- type ItemTeamsRequestBuilder
- func (m *ItemTeamsRequestBuilder) ByTeam_slug(team_slug string) *ItemTeamsWithTeam_slugItemRequestBuilder
- func (m *ItemTeamsRequestBuilder) Get(ctx context.Context, ...) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Teamable, ...)
- func (m *ItemTeamsRequestBuilder) Post(ctx context.Context, body ItemTeamsPostRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.TeamFullable, ...)
- func (m *ItemTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamsPostRequestBodyable, ...) (...)
- func (m *ItemTeamsRequestBuilder) WithUrl(rawUrl string) *ItemTeamsRequestBuilder
- type ItemTeamsRequestBuilderGetQueryParameters
- type ItemTeamsWithTeam_slugItemRequestBuilder
- func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Discussions() *ItemTeamsItemDiscussionsRequestBuilder
- func (m *ItemTeamsWithTeam_slugItemRequestBuilder) ExternalGroups() *ItemTeamsItemExternalGroupsRequestBuilder
- func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Get(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.TeamFullable, ...)
- func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Members() *ItemTeamsItemMembersRequestBuilder
- func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Memberships() *ItemTeamsItemMembershipsRequestBuilder
- func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Patch(ctx context.Context, body ItemTeamsItemWithTeam_slugPatchRequestBodyable, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.TeamFullable, ...)
- func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Projects() *ItemTeamsItemProjectsRequestBuilder
- func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Repos() *ItemTeamsItemReposRequestBuilder
- func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Teams() *ItemTeamsItemTeamsRequestBuilder
- func (m *ItemTeamsWithTeam_slugItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsWithTeam_slugItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsWithTeam_slugItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemTeamsItemWithTeam_slugPatchRequestBodyable, ...) (...)
- func (m *ItemTeamsWithTeam_slugItemRequestBuilder) WithUrl(rawUrl string) *ItemTeamsWithTeam_slugItemRequestBuilder
- type ItemWithOrgDeleteResponse
- type ItemWithOrgDeleteResponseable
- type ItemWithOrgPatchRequestBody
- func (m *ItemWithOrgPatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemWithOrgPatchRequestBody) GetAdvancedSecurityEnabledForNewRepositories() *bool
- func (m *ItemWithOrgPatchRequestBody) GetBillingEmail() *string
- func (m *ItemWithOrgPatchRequestBody) GetBlog() *string
- func (m *ItemWithOrgPatchRequestBody) GetCompany() *string
- func (m *ItemWithOrgPatchRequestBody) GetDependabotAlertsEnabledForNewRepositories() *bool
- func (m *ItemWithOrgPatchRequestBody) GetDependabotSecurityUpdatesEnabledForNewRepositories() *bool
- func (m *ItemWithOrgPatchRequestBody) GetDependencyGraphEnabledForNewRepositories() *bool
- func (m *ItemWithOrgPatchRequestBody) GetDescription() *string
- func (m *ItemWithOrgPatchRequestBody) GetEmail() *string
- func (m *ItemWithOrgPatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemWithOrgPatchRequestBody) GetHasOrganizationProjects() *bool
- func (m *ItemWithOrgPatchRequestBody) GetHasRepositoryProjects() *bool
- func (m *ItemWithOrgPatchRequestBody) GetLocation() *string
- func (m *ItemWithOrgPatchRequestBody) GetMembersCanCreateInternalRepositories() *bool
- func (m *ItemWithOrgPatchRequestBody) GetMembersCanCreatePages() *bool
- func (m *ItemWithOrgPatchRequestBody) GetMembersCanCreatePrivateRepositories() *bool
- func (m *ItemWithOrgPatchRequestBody) GetMembersCanCreatePublicRepositories() *bool
- func (m *ItemWithOrgPatchRequestBody) GetMembersCanCreateRepositories() *bool
- func (m *ItemWithOrgPatchRequestBody) GetMembersCanForkPrivateRepositories() *bool
- func (m *ItemWithOrgPatchRequestBody) GetName() *string
- func (m *ItemWithOrgPatchRequestBody) GetSecretScanningEnabledForNewRepositories() *bool
- func (m *ItemWithOrgPatchRequestBody) GetSecretScanningPushProtectionCustomLink() *string
- func (m *ItemWithOrgPatchRequestBody) GetSecretScanningPushProtectionCustomLinkEnabled() *bool
- func (m *ItemWithOrgPatchRequestBody) GetSecretScanningPushProtectionEnabledForNewRepositories() *bool
- func (m *ItemWithOrgPatchRequestBody) GetTwitterUsername() *string
- func (m *ItemWithOrgPatchRequestBody) GetWebCommitSignoffRequired() *bool
- func (m *ItemWithOrgPatchRequestBody) Serialize(...) error
- func (m *ItemWithOrgPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemWithOrgPatchRequestBody) SetAdvancedSecurityEnabledForNewRepositories(value *bool)
- func (m *ItemWithOrgPatchRequestBody) SetBillingEmail(value *string)
- func (m *ItemWithOrgPatchRequestBody) SetBlog(value *string)
- func (m *ItemWithOrgPatchRequestBody) SetCompany(value *string)
- func (m *ItemWithOrgPatchRequestBody) SetDependabotAlertsEnabledForNewRepositories(value *bool)
- func (m *ItemWithOrgPatchRequestBody) SetDependabotSecurityUpdatesEnabledForNewRepositories(value *bool)
- func (m *ItemWithOrgPatchRequestBody) SetDependencyGraphEnabledForNewRepositories(value *bool)
- func (m *ItemWithOrgPatchRequestBody) SetDescription(value *string)
- func (m *ItemWithOrgPatchRequestBody) SetEmail(value *string)
- func (m *ItemWithOrgPatchRequestBody) SetHasOrganizationProjects(value *bool)
- func (m *ItemWithOrgPatchRequestBody) SetHasRepositoryProjects(value *bool)
- func (m *ItemWithOrgPatchRequestBody) SetLocation(value *string)
- func (m *ItemWithOrgPatchRequestBody) SetMembersCanCreateInternalRepositories(value *bool)
- func (m *ItemWithOrgPatchRequestBody) SetMembersCanCreatePages(value *bool)
- func (m *ItemWithOrgPatchRequestBody) SetMembersCanCreatePrivateRepositories(value *bool)
- func (m *ItemWithOrgPatchRequestBody) SetMembersCanCreatePublicRepositories(value *bool)
- func (m *ItemWithOrgPatchRequestBody) SetMembersCanCreateRepositories(value *bool)
- func (m *ItemWithOrgPatchRequestBody) SetMembersCanForkPrivateRepositories(value *bool)
- func (m *ItemWithOrgPatchRequestBody) SetName(value *string)
- func (m *ItemWithOrgPatchRequestBody) SetSecretScanningEnabledForNewRepositories(value *bool)
- func (m *ItemWithOrgPatchRequestBody) SetSecretScanningPushProtectionCustomLink(value *string)
- func (m *ItemWithOrgPatchRequestBody) SetSecretScanningPushProtectionCustomLinkEnabled(value *bool)
- func (m *ItemWithOrgPatchRequestBody) SetSecretScanningPushProtectionEnabledForNewRepositories(value *bool)
- func (m *ItemWithOrgPatchRequestBody) SetTwitterUsername(value *string)
- func (m *ItemWithOrgPatchRequestBody) SetWebCommitSignoffRequired(value *bool)
- type ItemWithOrgPatchRequestBodyable
- type ItemWithSecurity_productItemRequestBuilder
- type OrgsRequestBuilder
- type WithOrgItemRequestBuilder
- func (m *WithOrgItemRequestBuilder) Actions() *ItemActionsRequestBuilder
- func (m *WithOrgItemRequestBuilder) Announcement() *ItemAnnouncementRequestBuilder
- func (m *WithOrgItemRequestBuilder) AuditLog() *ItemAuditLogRequestBuilder
- func (m *WithOrgItemRequestBuilder) BySecurity_product(security_product string) *ItemWithSecurity_productItemRequestBuilder
- func (m *WithOrgItemRequestBuilder) CodeScanning() *ItemCodeScanningRequestBuilder
- func (m *WithOrgItemRequestBuilder) CustomRepositoryRoles() *ItemCustomRepositoryRolesRequestBuilder
- func (m *WithOrgItemRequestBuilder) Delete(ctx context.Context, ...) (ItemWithOrgDeleteResponseable, error)
- func (m *WithOrgItemRequestBuilder) Dependabot() *ItemDependabotRequestBuilder
- func (m *WithOrgItemRequestBuilder) Docker() *ItemDockerRequestBuilder
- func (m *WithOrgItemRequestBuilder) Events() *ItemEventsRequestBuilder
- func (m *WithOrgItemRequestBuilder) ExternalGroup() *ItemExternalGroupRequestBuilder
- func (m *WithOrgItemRequestBuilder) ExternalGroups() *ItemExternalGroupsRequestBuilder
- func (m *WithOrgItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *WithOrgItemRequestBuilder) Hooks() *ItemHooksRequestBuilder
- func (m *WithOrgItemRequestBuilder) Installation() *ItemInstallationRequestBuilder
- func (m *WithOrgItemRequestBuilder) Installations() *ItemInstallationsRequestBuilder
- func (m *WithOrgItemRequestBuilder) Issues() *ItemIssuesRequestBuilder
- func (m *WithOrgItemRequestBuilder) Members() *ItemMembersRequestBuilder
- func (m *WithOrgItemRequestBuilder) Memberships() *ItemMembershipsRequestBuilder
- func (m *WithOrgItemRequestBuilder) Migrations() *ItemMigrationsRequestBuilder
- func (m *WithOrgItemRequestBuilder) Outside_collaborators() *ItemOutside_collaboratorsRequestBuilder
- func (m *WithOrgItemRequestBuilder) Packages() *ItemPackagesRequestBuilder
- func (m *WithOrgItemRequestBuilder) Patch(ctx context.Context, body ItemWithOrgPatchRequestBodyable, ...) (...)
- func (m *WithOrgItemRequestBuilder) PersonalAccessTokenRequests() *ItemPersonalAccessTokenRequestsRequestBuilder
- func (m *WithOrgItemRequestBuilder) PersonalAccessTokens() *ItemPersonalAccessTokensRequestBuilder
- func (m *WithOrgItemRequestBuilder) PreReceiveHooks() *ItemPreReceiveHooksRequestBuilder
- func (m *WithOrgItemRequestBuilder) Projects() *ItemProjectsRequestBuilder
- func (m *WithOrgItemRequestBuilder) Properties() *ItemPropertiesRequestBuilder
- func (m *WithOrgItemRequestBuilder) Public_members() *ItemPublic_membersRequestBuilder
- func (m *WithOrgItemRequestBuilder) Repos() *ItemReposRequestBuilder
- func (m *WithOrgItemRequestBuilder) RepositoryFineGrainedPermissions() *ItemRepositoryFineGrainedPermissionsRequestBuilder
- func (m *WithOrgItemRequestBuilder) Rulesets() *ItemRulesetsRequestBuilder
- func (m *WithOrgItemRequestBuilder) SecretScanning() *ItemSecretScanningRequestBuilder
- func (m *WithOrgItemRequestBuilder) SecurityManagers() *ItemSecurityManagersRequestBuilder
- func (m *WithOrgItemRequestBuilder) Settings() *ItemSettingsRequestBuilder
- func (m *WithOrgItemRequestBuilder) Teams() *ItemTeamsRequestBuilder
- func (m *WithOrgItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *WithOrgItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *WithOrgItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemWithOrgPatchRequestBodyable, ...) (...)
- func (m *WithOrgItemRequestBuilder) WithUrl(rawUrl string) *WithOrgItemRequestBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateItemActionsCacheUsageByRepositoryGetResponseFromDiscriminatorValue ¶
func CreateItemActionsCacheUsageByRepositoryGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsCacheUsageByRepositoryGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsPermissionsPutRequestBodyFromDiscriminatorValue ¶
func CreateItemActionsPermissionsPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsPermissionsPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsPermissionsRepositoriesGetResponseFromDiscriminatorValue ¶
func CreateItemActionsPermissionsRepositoriesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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 ¶
func CreateItemActionsRunnerGroupsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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 ¶
func CreateItemActionsRunnerGroupsItemRunnersGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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 ¶
func CreateItemActionsRunnerGroupsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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 ¶
func CreateItemActionsRunnersGenerateJitconfigPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersGenerateJitconfigPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsRunnersGetResponseFromDiscriminatorValue ¶
func CreateItemActionsRunnersGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsRunnersItemLabelsDeleteResponseFromDiscriminatorValue ¶
func CreateItemActionsRunnersItemLabelsDeleteResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersItemLabelsDeleteResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsRunnersItemLabelsGetResponseFromDiscriminatorValue ¶
func CreateItemActionsRunnersItemLabelsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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 ¶
func CreateItemActionsRunnersItemLabelsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersItemLabelsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsRunnersItemLabelsPostResponseFromDiscriminatorValue ¶
func CreateItemActionsRunnersItemLabelsPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersItemLabelsPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsRunnersItemLabelsPutRequestBodyFromDiscriminatorValue ¶
func CreateItemActionsRunnersItemLabelsPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersItemLabelsPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsRunnersItemLabelsPutResponseFromDiscriminatorValue ¶
func CreateItemActionsRunnersItemLabelsPutResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersItemLabelsPutResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsSecretsGetResponseFromDiscriminatorValue ¶
func CreateItemActionsSecretsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsSecretsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsSecretsItemRepositoriesGetResponseFromDiscriminatorValue ¶
func CreateItemActionsSecretsItemRepositoriesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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 ¶
func CreateItemActionsVariablesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsVariablesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsVariablesItemRepositoriesGetResponseFromDiscriminatorValue ¶
func CreateItemActionsVariablesItemRepositoriesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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 ¶
func CreateItemActionsVariablesPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsVariablesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemCustomRepositoryRolesGetResponseFromDiscriminatorValue ¶
func CreateItemCustomRepositoryRolesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCustomRepositoryRolesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemDependabotSecretsGetResponseFromDiscriminatorValue ¶
func CreateItemDependabotSecretsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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 ¶
func CreateItemHooksItemConfigPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemHooksItemConfigPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemHooksItemDeliveriesItemAttemptsPostResponseFromDiscriminatorValue ¶
func CreateItemHooksItemDeliveriesItemAttemptsPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemHooksItemDeliveriesItemAttemptsPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemHooksItemWithHook_PatchRequestBodyFromDiscriminatorValue ¶
func CreateItemHooksItemWithHook_PatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemHooksItemWithHook_PatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemHooksItemWithHook_PatchRequestBody_configFromDiscriminatorValue ¶
func CreateItemHooksItemWithHook_PatchRequestBody_configFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemHooksItemWithHook_PatchRequestBody_configFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemHooksPostRequestBodyFromDiscriminatorValue ¶
func CreateItemHooksPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemHooksPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemHooksPostRequestBody_configFromDiscriminatorValue ¶
func CreateItemHooksPostRequestBody_configFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemHooksPostRequestBody_configFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemInstallationsGetResponseFromDiscriminatorValue ¶
func CreateItemInstallationsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemInstallationsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemItemItemWithEnablementPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemItemWithEnablementPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemItemWithEnablementPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemMembershipsItemWithUsernamePutRequestBodyFromDiscriminatorValue ¶
func CreateItemMembershipsItemWithUsernamePutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemMembershipsItemWithUsernamePutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemMigrationsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemMigrationsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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 ¶
func CreateItemPersonalAccessTokenRequestsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemPersonalAccessTokenRequestsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemPersonalAccessTokenRequestsPostResponseFromDiscriminatorValue ¶
func CreateItemPersonalAccessTokenRequestsPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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 ¶
func CreateItemPersonalAccessTokensPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemPersonalAccessTokensPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemPersonalAccessTokensPostResponseFromDiscriminatorValue ¶
func CreateItemPersonalAccessTokensPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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 ¶
func CreateItemProjectsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemProjectsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemPropertiesSchemaItemWithCustom_property_namePutRequestBodyFromDiscriminatorValue ¶
func CreateItemPropertiesSchemaItemWithCustom_property_namePutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemPropertiesSchemaItemWithCustom_property_namePutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_valueFromDiscriminatorValue ¶
func CreateItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_valueFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_valueFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemPropertiesSchemaPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemPropertiesSchemaPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemPropertiesSchemaPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemPropertiesValuesPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemPropertiesValuesPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemPropertiesValuesPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemReposPostRequestBodyFromDiscriminatorValue ¶
func CreateItemReposPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemReposPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemReposPostRequestBody_custom_propertiesFromDiscriminatorValue ¶
func CreateItemReposPostRequestBody_custom_propertiesFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemReposPostRequestBody_custom_propertiesFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemRulesetsItemWithRuleset_PutRequestBodyFromDiscriminatorValue ¶
func CreateItemRulesetsItemWithRuleset_PutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemRulesetsItemWithRuleset_PutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemRulesetsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemRulesetsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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 ¶
func CreateItemTeamsItemDiscussionsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemTeamsItemDiscussionsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemTeamsItemExternalGroupsPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemTeamsItemExternalGroupsPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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 ¶
func CreateItemTeamsItemProjectsItemWithProject_403ErrorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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 ¶
func CreateItemTeamsItemWithTeam_slugPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemTeamsItemWithTeam_slugPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemTeamsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemTeamsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemTeamsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemWithOrgDeleteResponseFromDiscriminatorValue ¶
func CreateItemWithOrgDeleteResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemWithOrgDeleteResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemWithOrgPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemWithOrgPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemWithOrgPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
Types ¶
type ItemActionsCacheRequestBuilder ¶
type ItemActionsCacheRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsCacheRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\cache
func NewItemActionsCacheRequestBuilder ¶
func NewItemActionsCacheRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsCacheRequestBuilder
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 ¶
func (m *ItemActionsCacheRequestBuilder) Usage() *ItemActionsCacheUsageRequestBuilder
Usage the usage property returns a *ItemActionsCacheUsageRequestBuilder when successful
func (*ItemActionsCacheRequestBuilder) UsageByRepository ¶
func (m *ItemActionsCacheRequestBuilder) UsageByRepository() *ItemActionsCacheUsageByRepositoryRequestBuilder
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 ¶
func (m *ItemActionsCacheUsageByRepositoryGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsCacheUsageByRepositoryGetResponse) GetRepositoryCacheUsages ¶
func (m *ItemActionsCacheUsageByRepositoryGetResponse) GetRepositoryCacheUsages() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsCacheUsageByRepositoryable
GetRepositoryCacheUsages gets the repository_cache_usages property value. The repository_cache_usages property returns a []ActionsCacheUsageByRepositoryable when successful
func (*ItemActionsCacheUsageByRepositoryGetResponse) GetTotalCount ¶
func (m *ItemActionsCacheUsageByRepositoryGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemActionsCacheUsageByRepositoryGetResponse) Serialize ¶
func (m *ItemActionsCacheUsageByRepositoryGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsCacheUsageByRepositoryGetResponse) SetRepositoryCacheUsages(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsCacheUsageByRepositoryable)
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 ItemActionsCacheUsageByRepositoryGetResponseable ¶
type ItemActionsCacheUsageByRepositoryGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetRepositoryCacheUsages() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsCacheUsageByRepositoryable GetTotalCount() *int32 SetRepositoryCacheUsages(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsCacheUsageByRepositoryable) SetTotalCount(value *int32) }
type ItemActionsCacheUsageByRepositoryRequestBuilder ¶
type ItemActionsCacheUsageByRepositoryRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsCacheUsageByRepositoryRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\cache\usage-by-repository
func NewItemActionsCacheUsageByRepositoryRequestBuilder ¶
func NewItemActionsCacheUsageByRepositoryRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsCacheUsageByRepositoryRequestBuilder
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 ¶
func (m *ItemActionsCacheUsageByRepositoryRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsCacheUsageByRepositoryRequestBuilderGetQueryParameters]) (ItemActionsCacheUsageByRepositoryGetResponseable, error)
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 ¶
func (m *ItemActionsCacheUsageByRepositoryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsCacheUsageByRepositoryRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsCacheUsageByRepositoryRequestBuilder) WithUrl(rawUrl string) *ItemActionsCacheUsageByRepositoryRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
type ItemActionsCacheUsageRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsCacheUsageRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\cache\usage
func NewItemActionsCacheUsageRequestBuilder ¶
func NewItemActionsCacheUsageRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsCacheUsageRequestBuilder
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 ¶
func (m *ItemActionsCacheUsageRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsCacheUsageOrgEnterpriseable, error)
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 ¶
func (m *ItemActionsCacheUsageRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsCacheUsageRequestBuilder) WithUrl(rawUrl string) *ItemActionsCacheUsageRequestBuilder
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 ¶
func NewItemActionsOidcCustomizationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsOidcCustomizationRequestBuilder
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 ¶
func (m *ItemActionsOidcCustomizationRequestBuilder) Sub() *ItemActionsOidcCustomizationSubRequestBuilder
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 ¶
func NewItemActionsOidcCustomizationSubRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsOidcCustomizationSubRequestBuilder
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 ¶
func (m *ItemActionsOidcCustomizationSubRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OidcCustomSubable, error)
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 ¶
func (m *ItemActionsOidcCustomizationSubRequestBuilder) Put(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OidcCustomSubable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EmptyObjectable, error)
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 ¶
func (m *ItemActionsOidcCustomizationSubRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the customization template for an OpenID Connect (OIDC) subject claim.OAuth app tokens and personal access tokens (classic) need the `read:org` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemActionsOidcCustomizationSubRequestBuilder) ToPutRequestInformation ¶
func (m *ItemActionsOidcCustomizationSubRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OidcCustomSubable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsOidcCustomizationSubRequestBuilder) WithUrl(rawUrl string) *ItemActionsOidcCustomizationSubRequestBuilder
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 ¶
type ItemActionsOidcRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsOidcRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\oidc
func NewItemActionsOidcRequestBuilder ¶
func NewItemActionsOidcRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsOidcRequestBuilder
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 ¶
func (m *ItemActionsOidcRequestBuilder) Customization() *ItemActionsOidcCustomizationRequestBuilder
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 ¶
func (m *ItemActionsPermissionsPutRequestBody) GetAllowedActions() *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.AllowedActions
GetAllowedActions gets the allowed_actions property value. The permissions policy that controls the actions that are allowed to run. returns a *AllowedActions when successful
func (*ItemActionsPermissionsPutRequestBody) GetEnabledRepositories ¶
func (m *ItemActionsPermissionsPutRequestBody) GetEnabledRepositories() *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EnabledRepositories
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 ¶
func (m *ItemActionsPermissionsPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsPermissionsPutRequestBody) Serialize ¶
func (m *ItemActionsPermissionsPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsPermissionsPutRequestBody) SetAllowedActions(value *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.AllowedActions)
SetAllowedActions sets the allowed_actions property value. The permissions policy that controls the actions that are allowed to run.
func (*ItemActionsPermissionsPutRequestBody) SetEnabledRepositories ¶
func (m *ItemActionsPermissionsPutRequestBody) SetEnabledRepositories(value *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EnabledRepositories)
SetEnabledRepositories sets the enabled_repositories property value. The policy that controls the repositories in the organization that are allowed to run GitHub Actions.
type ItemActionsPermissionsPutRequestBodyable ¶
type ItemActionsPermissionsPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAllowedActions() *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.AllowedActions GetEnabledRepositories() *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EnabledRepositories SetAllowedActions(value *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.AllowedActions) SetEnabledRepositories(value *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EnabledRepositories) }
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 ¶
func (m *ItemActionsPermissionsRepositoriesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsPermissionsRepositoriesGetResponse) GetRepositories ¶
func (m *ItemActionsPermissionsRepositoriesGetResponse) GetRepositories() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Repositoryable
GetRepositories gets the repositories property value. The repositories property returns a []Repositoryable when successful
func (*ItemActionsPermissionsRepositoriesGetResponse) GetTotalCount ¶
func (m *ItemActionsPermissionsRepositoriesGetResponse) GetTotalCount() *float64
GetTotalCount gets the total_count property value. The total_count property returns a *float64 when successful
func (*ItemActionsPermissionsRepositoriesGetResponse) Serialize ¶
func (m *ItemActionsPermissionsRepositoriesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsPermissionsRepositoriesGetResponse) SetRepositories(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Repositoryable)
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 ItemActionsPermissionsRepositoriesGetResponseable ¶
type ItemActionsPermissionsRepositoriesGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetRepositories() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Repositoryable GetTotalCount() *float64 SetRepositories(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Repositoryable) SetTotalCount(value *float64) }
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 ¶
func (m *ItemActionsPermissionsRepositoriesPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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 ¶
func (m *ItemActionsPermissionsRepositoriesPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func NewItemActionsPermissionsRepositoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsRepositoriesRequestBuilder
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 ¶
func (m *ItemActionsPermissionsRepositoriesRequestBuilder) ByRepository_id(repository_id int32) *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder
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 ¶
func (m *ItemActionsPermissionsRepositoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsPermissionsRepositoriesRequestBuilderGetQueryParameters]) (ItemActionsPermissionsRepositoriesGetResponseable, error)
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 ¶
func (m *ItemActionsPermissionsRepositoriesRequestBuilder) Put(ctx context.Context, body ItemActionsPermissionsRepositoriesPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsPermissionsRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsPermissionsRepositoriesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsPermissionsRepositoriesRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsPermissionsRepositoriesPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsPermissionsRepositoriesRequestBuilder) WithUrl(rawUrl string) *ItemActionsPermissionsRepositoriesRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func (m *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) Put(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *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 ¶
func NewItemActionsPermissionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsRequestBuilder
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 ¶
func (m *ItemActionsPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsOrganizationPermissionsable, error)
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 ¶
func (m *ItemActionsPermissionsRequestBuilder) Put(ctx context.Context, body ItemActionsPermissionsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsPermissionsRequestBuilder) Repositories() *ItemActionsPermissionsRepositoriesRequestBuilder
Repositories the repositories property returns a *ItemActionsPermissionsRepositoriesRequestBuilder when successful
func (*ItemActionsPermissionsRequestBuilder) SelectedActions ¶
func (m *ItemActionsPermissionsRequestBuilder) SelectedActions() *ItemActionsPermissionsSelectedActionsRequestBuilder
SelectedActions the selectedActions property returns a *ItemActionsPermissionsSelectedActionsRequestBuilder when successful
func (*ItemActionsPermissionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemActionsPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsPermissionsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsPermissionsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsPermissionsRequestBuilder) WithUrl(rawUrl string) *ItemActionsPermissionsRequestBuilder
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 ¶
func (m *ItemActionsPermissionsRequestBuilder) Workflow() *ItemActionsPermissionsWorkflowRequestBuilder
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 ¶
func NewItemActionsPermissionsSelectedActionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsSelectedActionsRequestBuilder
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 ¶
func (m *ItemActionsPermissionsSelectedActionsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SelectedActionsable, error)
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 ¶
func (m *ItemActionsPermissionsSelectedActionsRequestBuilder) Put(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SelectedActionsable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsPermissionsSelectedActionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsPermissionsSelectedActionsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SelectedActionsable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsPermissionsSelectedActionsRequestBuilder) WithUrl(rawUrl string) *ItemActionsPermissionsSelectedActionsRequestBuilder
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 ¶
func NewItemActionsPermissionsWorkflowRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsWorkflowRequestBuilder
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 ¶
func (m *ItemActionsPermissionsWorkflowRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsGetDefaultWorkflowPermissionsable, error)
Get gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in 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.13/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 ¶
func (m *ItemActionsPermissionsWorkflowRequestBuilder) Put(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsSetDefaultWorkflowPermissionsable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in 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.13/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 ¶
func (m *ItemActionsPermissionsWorkflowRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in 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.13/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 ¶
func (m *ItemActionsPermissionsWorkflowRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsSetDefaultWorkflowPermissionsable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in 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.13/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 ¶
func (m *ItemActionsPermissionsWorkflowRequestBuilder) WithUrl(rawUrl string) *ItemActionsPermissionsWorkflowRequestBuilder
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 ¶
type ItemActionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsRequestBuilder builds and executes requests for operations under \orgs\{org}\actions
func NewItemActionsRequestBuilder ¶
func NewItemActionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRequestBuilder
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 ¶
func (m *ItemActionsRequestBuilder) Cache() *ItemActionsCacheRequestBuilder
Cache the cache property returns a *ItemActionsCacheRequestBuilder when successful
func (*ItemActionsRequestBuilder) Oidc ¶
func (m *ItemActionsRequestBuilder) Oidc() *ItemActionsOidcRequestBuilder
Oidc the oidc property returns a *ItemActionsOidcRequestBuilder when successful
func (*ItemActionsRequestBuilder) Permissions ¶
func (m *ItemActionsRequestBuilder) Permissions() *ItemActionsPermissionsRequestBuilder
Permissions the permissions property returns a *ItemActionsPermissionsRequestBuilder when successful
func (*ItemActionsRequestBuilder) RunnerGroups ¶
func (m *ItemActionsRequestBuilder) RunnerGroups() *ItemActionsRunnerGroupsRequestBuilder
RunnerGroups the runnerGroups property returns a *ItemActionsRunnerGroupsRequestBuilder when successful
func (*ItemActionsRequestBuilder) Runners ¶
func (m *ItemActionsRequestBuilder) Runners() *ItemActionsRunnersRequestBuilder
Runners the runners property returns a *ItemActionsRunnersRequestBuilder when successful
func (*ItemActionsRequestBuilder) Secrets ¶
func (m *ItemActionsRequestBuilder) Secrets() *ItemActionsSecretsRequestBuilder
Secrets the secrets property returns a *ItemActionsSecretsRequestBuilder when successful
func (*ItemActionsRequestBuilder) Variables ¶
func (m *ItemActionsRequestBuilder) Variables() *ItemActionsVariablesRequestBuilder
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 ¶
func (m *ItemActionsRunnerGroupsGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnerGroupsGetResponse) GetRunnerGroups ¶
func (m *ItemActionsRunnerGroupsGetResponse) GetRunnerGroups() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerGroupsOrgable
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 ¶
func (m *ItemActionsRunnerGroupsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsRunnerGroupsGetResponse) SetRunnerGroups(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerGroupsOrgable)
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 ItemActionsRunnerGroupsGetResponseable ¶
type ItemActionsRunnerGroupsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetRunnerGroups() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerGroupsOrgable GetTotalCount() *float64 SetRunnerGroups(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerGroupsOrgable) SetTotalCount(value *float64) }
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 ¶
func (m *ItemActionsRunnerGroupsItemRepositoriesGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data 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 ¶
func (m *ItemActionsRunnerGroupsItemRepositoriesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnerGroupsItemRepositoriesGetResponse) GetRepositories ¶
func (m *ItemActionsRunnerGroupsItemRepositoriesGetResponse) GetRepositories() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable
GetRepositories gets the repositories property value. The repositories property returns a []MinimalRepositoryable when successful
func (*ItemActionsRunnerGroupsItemRepositoriesGetResponse) GetTotalCount ¶
func (m *ItemActionsRunnerGroupsItemRepositoriesGetResponse) GetTotalCount() *float64
GetTotalCount gets the total_count property value. The total_count property returns a *float64 when successful
func (*ItemActionsRunnerGroupsItemRepositoriesGetResponse) Serialize ¶
func (m *ItemActionsRunnerGroupsItemRepositoriesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsRunnerGroupsItemRepositoriesGetResponse) SetRepositories(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable)
SetRepositories sets the repositories property value. The repositories property
func (*ItemActionsRunnerGroupsItemRepositoriesGetResponse) SetTotalCount ¶
func (m *ItemActionsRunnerGroupsItemRepositoriesGetResponse) SetTotalCount(value *float64)
SetTotalCount sets the total_count property value. The total_count property
type ItemActionsRunnerGroupsItemRepositoriesGetResponseable ¶
type ItemActionsRunnerGroupsItemRepositoriesGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetRepositories() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable GetTotalCount() *float64 SetRepositories(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable) SetTotalCount(value *float64) }
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 ¶
func (m *ItemActionsRunnerGroupsItemRepositoriesPutRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data 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 ¶
func (m *ItemActionsRunnerGroupsItemRepositoriesPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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 ¶
func (m *ItemActionsRunnerGroupsItemRepositoriesPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsRunnerGroupsItemRepositoriesRequestBuilder) ByRepository_id(repository_id int32) *ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder
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 ¶
func (m *ItemActionsRunnerGroupsItemRepositoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsRunnerGroupsItemRepositoriesRequestBuilderGetQueryParameters]) (ItemActionsRunnerGroupsItemRepositoriesGetResponseable, error)
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 ¶
func (m *ItemActionsRunnerGroupsItemRepositoriesRequestBuilder) Put(ctx context.Context, body ItemActionsRunnerGroupsItemRepositoriesPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsRunnerGroupsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsRunnerGroupsItemRepositoriesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnerGroupsItemRepositoriesRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsRunnerGroupsItemRepositoriesPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnerGroupsItemRepositoriesRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnerGroupsItemRepositoriesRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func (m *ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder) Put(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnerGroupsItemRepositoriesWithRepository_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnerGroupsItemRunnersGetResponse) GetRunners ¶
func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) GetRunners() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable
GetRunners gets the runners property value. The runners property returns a []Runnerable when successful
func (*ItemActionsRunnerGroupsItemRunnersGetResponse) GetTotalCount ¶
func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) GetTotalCount() *float64
GetTotalCount gets the total_count property value. The total_count property returns a *float64 when successful
func (*ItemActionsRunnerGroupsItemRunnersGetResponse) Serialize ¶
func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) SetRunners(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable)
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 ItemActionsRunnerGroupsItemRunnersGetResponseable ¶
type ItemActionsRunnerGroupsItemRunnersGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetRunners() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable GetTotalCount() *float64 SetRunners(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable) SetTotalCount(value *float64) }
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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnerGroupsItemRunnersPutRequestBody) GetRunners ¶
func (m *ItemActionsRunnerGroupsItemRunnersPutRequestBody) GetRunners() []int32
GetRunners gets the runners property value. List of runner IDs to add to the runner group. returns a []int32 when successful
func (*ItemActionsRunnerGroupsItemRunnersPutRequestBody) Serialize ¶
func (m *ItemActionsRunnerGroupsItemRunnersPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersPutRequestBody) SetRunners(value []int32)
SetRunners sets the runners property value. List of runner IDs to add to the runner group.
type ItemActionsRunnerGroupsItemRunnersPutRequestBodyable ¶
type ItemActionsRunnerGroupsItemRunnersPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetRunners() []int32 SetRunners(value []int32) }
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 ¶
func NewItemActionsRunnerGroupsItemRunnersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnerGroupsItemRunnersRequestBuilder
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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersRequestBuilder) ByRunner_id(runner_id int32) *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder
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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsRunnerGroupsItemRunnersRequestBuilderGetQueryParameters]) (ItemActionsRunnerGroupsItemRunnersGetResponseable, error)
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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersRequestBuilder) Put(ctx context.Context, body ItemActionsRunnerGroupsItemRunnersPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsRunnerGroupsItemRunnersRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsRunnerGroupsItemRunnersPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnerGroupsItemRunnersRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) Put(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *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 ¶
func (m *ItemActionsRunnerGroupsItemWithRunner_group_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 (*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 ¶
func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetName ¶
func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetName() *string
GetName gets the name property value. Name of the runner group. returns a *string when successful
func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetRestrictedToWorkflows ¶
func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) 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 (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetSelectedWorkflows ¶
func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) 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 (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) Serialize ¶
func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetAdditionalData ¶
func (m *ItemActionsRunnerGroupsItemWithRunner_group_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 (*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 ¶
func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetName(value *string)
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 ¶
func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) 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 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 ¶
func (m *ItemActionsRunnerGroupsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnerGroupsPostRequestBody) GetName ¶
func (m *ItemActionsRunnerGroupsPostRequestBody) GetName() *string
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 ¶
func (m *ItemActionsRunnerGroupsPostRequestBody) GetRunners() []int32
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 ¶
func (m *ItemActionsRunnerGroupsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsRunnerGroupsPostRequestBody) SetName(value *string)
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 ¶
func NewItemActionsRunnerGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnerGroupsRequestBuilder
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 ¶
func (m *ItemActionsRunnerGroupsRequestBuilder) ByRunner_group_id(runner_group_id int32) *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder
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 ¶
func (m *ItemActionsRunnerGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsRunnerGroupsRequestBuilderGetQueryParameters]) (ItemActionsRunnerGroupsGetResponseable, error)
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 ¶
func (m *ItemActionsRunnerGroupsRequestBuilder) Post(ctx context.Context, body ItemActionsRunnerGroupsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerGroupsOrgable, error)
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 ¶
func (m *ItemActionsRunnerGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsRunnerGroupsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnerGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemActionsRunnerGroupsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnerGroupsRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnerGroupsRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerGroupsOrgable, error)
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 ¶
func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Patch(ctx context.Context, body ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerGroupsOrgable, error)
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 ¶
func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Repositories() *ItemActionsRunnerGroupsItemRepositoriesRequestBuilder
Repositories the repositories property returns a *ItemActionsRunnerGroupsItemRepositoriesRequestBuilder when successful
func (*ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Runners ¶
func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Runners() *ItemActionsRunnerGroupsItemRunnersRequestBuilder
Runners the runners property returns a *ItemActionsRunnerGroupsItemRunnersRequestBuilder when successful
func (*ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *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 ¶
func NewItemActionsRunnersDownloadsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersDownloadsRequestBuilder
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 ¶
func (m *ItemActionsRunnersDownloadsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerApplicationable, error)
Get lists binaries for the runner application that you can download and run.Authenticated users must have admin access to the 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 ¶
func (m *ItemActionsRunnersDownloadsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists binaries for the runner application that you can download and run.Authenticated users must have admin access to the 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 ¶
func (m *ItemActionsRunnersDownloadsRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersDownloadsRequestBuilder
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 ¶
func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data 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 ¶
func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetLabels ¶
func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetLabels() []string
GetLabels gets the labels property value. The names of the custom labels to add to the runner. **Minimum items**: 1. **Maximum items**: 100. returns a []string when successful
func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetName ¶
func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetName() *string
GetName gets the name property value. The name of the new runner. returns a *string when successful
func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetRunnerGroupId ¶
func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetRunnerGroupId() *int32
GetRunnerGroupId gets the runner_group_id property value. The ID of the runner group to register the runner to. returns a *int32 when successful
func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetWorkFolder ¶
func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetWorkFolder() *string
GetWorkFolder gets the work_folder property value. The working directory to be used for job execution, relative to the runner install directory. returns a *string when successful
func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) Serialize ¶
func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) SetLabels(value []string)
SetLabels sets the labels property value. The names of the custom labels to add to the runner. **Minimum items**: 1. **Maximum items**: 100.
func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) SetName ¶
func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) SetName(value *string)
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 ¶
func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) SetWorkFolder(value *string)
SetWorkFolder sets the work_folder property value. The working directory to be used for job execution, relative to the runner install directory.
type 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 ¶
func (m *ItemActionsRunnersGenerateJitconfigPostResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnersGenerateJitconfigPostResponse) GetRunner ¶
func (m *ItemActionsRunnersGenerateJitconfigPostResponse) GetRunner() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable
GetRunner gets the runner property value. A self hosted runner returns a Runnerable when successful
func (*ItemActionsRunnersGenerateJitconfigPostResponse) Serialize ¶
func (m *ItemActionsRunnersGenerateJitconfigPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsRunnersGenerateJitconfigPostResponse) SetRunner(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable)
SetRunner sets the runner property value. A self hosted runner
type ItemActionsRunnersGenerateJitconfigPostResponseable ¶
type ItemActionsRunnersGenerateJitconfigPostResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetEncodedJitConfig() *string GetRunner() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable SetEncodedJitConfig(value *string) SetRunner(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable) }
type ItemActionsRunnersGenerateJitconfigRequestBuilder ¶
type ItemActionsRunnersGenerateJitconfigRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsRunnersGenerateJitconfigRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\runners\generate-jitconfig
func NewItemActionsRunnersGenerateJitconfigRequestBuilder ¶
func NewItemActionsRunnersGenerateJitconfigRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersGenerateJitconfigRequestBuilder
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 ¶
func (m *ItemActionsRunnersGenerateJitconfigRequestBuilder) Post(ctx context.Context, body ItemActionsRunnersGenerateJitconfigPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemActionsRunnersGenerateJitconfigPostResponseable, error)
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 ¶
func (m *ItemActionsRunnersGenerateJitconfigRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemActionsRunnersGenerateJitconfigPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation generates a configuration that can be passed to the runner application at startup.The authenticated user must have admin access to the 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 ¶
func (m *ItemActionsRunnersGenerateJitconfigRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersGenerateJitconfigRequestBuilder
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 ¶
func (m *ItemActionsRunnersGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnersGetResponse) GetRunners ¶
func (m *ItemActionsRunnersGetResponse) GetRunners() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable
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 ¶
func (m *ItemActionsRunnersGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsRunnersGetResponse) SetRunners(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable)
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 ItemActionsRunnersGetResponseable ¶
type ItemActionsRunnersGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetRunners() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable GetTotalCount() *int32 SetRunners(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable) SetTotalCount(value *int32) }
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 ¶
func (m *ItemActionsRunnersItemLabelsDeleteResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnersItemLabelsDeleteResponse) GetLabels ¶
func (m *ItemActionsRunnersItemLabelsDeleteResponse) GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable
GetLabels gets the labels property value. The labels property returns a []RunnerLabelable when successful
func (*ItemActionsRunnersItemLabelsDeleteResponse) GetTotalCount ¶
func (m *ItemActionsRunnersItemLabelsDeleteResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemActionsRunnersItemLabelsDeleteResponse) Serialize ¶
func (m *ItemActionsRunnersItemLabelsDeleteResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsRunnersItemLabelsDeleteResponse) SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable)
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 ItemActionsRunnersItemLabelsDeleteResponseable ¶
type ItemActionsRunnersItemLabelsDeleteResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable GetTotalCount() *int32 SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable) SetTotalCount(value *int32) }
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 ¶
func (m *ItemActionsRunnersItemLabelsGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnersItemLabelsGetResponse) GetLabels ¶
func (m *ItemActionsRunnersItemLabelsGetResponse) GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable
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 ¶
func (m *ItemActionsRunnersItemLabelsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsRunnersItemLabelsGetResponse) SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable)
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 ItemActionsRunnersItemLabelsGetResponseable ¶
type ItemActionsRunnersItemLabelsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable GetTotalCount() *int32 SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable) SetTotalCount(value *int32) }
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 ¶
func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data 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 ¶
func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetLabels ¶
func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable
GetLabels gets the labels property value. The labels property returns a []RunnerLabelable when successful
func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetTotalCount ¶
func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) Serialize ¶
func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable)
SetLabels sets the labels property value. The labels property
func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetTotalCount ¶
func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemActionsRunnersItemLabelsItemWithNameDeleteResponseable ¶
type ItemActionsRunnersItemLabelsItemWithNameDeleteResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable GetTotalCount() *int32 SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable) SetTotalCount(value *int32) }
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 ¶
func (m *ItemActionsRunnersItemLabelsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnersItemLabelsPostRequestBody) GetLabels ¶
func (m *ItemActionsRunnersItemLabelsPostRequestBody) GetLabels() []string
GetLabels gets the labels property value. The names of the custom labels to add to the runner. returns a []string when successful
func (*ItemActionsRunnersItemLabelsPostRequestBody) Serialize ¶
func (m *ItemActionsRunnersItemLabelsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsRunnersItemLabelsPostRequestBody) SetLabels(value []string)
SetLabels sets the labels property value. The names of the custom labels to add to the runner.
type ItemActionsRunnersItemLabelsPostRequestBodyable ¶
type ItemActionsRunnersItemLabelsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []string SetLabels(value []string) }
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 ¶
func (m *ItemActionsRunnersItemLabelsPostResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnersItemLabelsPostResponse) GetLabels ¶
func (m *ItemActionsRunnersItemLabelsPostResponse) GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable
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 ¶
func (m *ItemActionsRunnersItemLabelsPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsRunnersItemLabelsPostResponse) SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable)
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 ItemActionsRunnersItemLabelsPostResponseable ¶
type ItemActionsRunnersItemLabelsPostResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable GetTotalCount() *int32 SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable) SetTotalCount(value *int32) }
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 ¶
func (m *ItemActionsRunnersItemLabelsPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnersItemLabelsPutRequestBody) GetLabels ¶
func (m *ItemActionsRunnersItemLabelsPutRequestBody) GetLabels() []string
GetLabels gets the labels property value. The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels. returns a []string when successful
func (*ItemActionsRunnersItemLabelsPutRequestBody) Serialize ¶
func (m *ItemActionsRunnersItemLabelsPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemActionsRunnersItemLabelsPutRequestBody) SetAdditionalData ¶
func (m *ItemActionsRunnersItemLabelsPutRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsRunnersItemLabelsPutRequestBody) SetLabels ¶
func (m *ItemActionsRunnersItemLabelsPutRequestBody) SetLabels(value []string)
SetLabels sets the labels property value. The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels.
type ItemActionsRunnersItemLabelsPutRequestBodyable ¶
type ItemActionsRunnersItemLabelsPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []string SetLabels(value []string) }
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 ¶
func (m *ItemActionsRunnersItemLabelsPutResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnersItemLabelsPutResponse) GetLabels ¶
func (m *ItemActionsRunnersItemLabelsPutResponse) GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable
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 ¶
func (m *ItemActionsRunnersItemLabelsPutResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsRunnersItemLabelsPutResponse) SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable)
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 ItemActionsRunnersItemLabelsPutResponseable ¶
type ItemActionsRunnersItemLabelsPutResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable GetTotalCount() *int32 SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable) SetTotalCount(value *int32) }
type ItemActionsRunnersItemLabelsRequestBuilder ¶
type ItemActionsRunnersItemLabelsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsRunnersItemLabelsRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\runners\{runner_id}\labels
func NewItemActionsRunnersItemLabelsRequestBuilder ¶
func NewItemActionsRunnersItemLabelsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersItemLabelsRequestBuilder
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 ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) ByName(name string) *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder
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 ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemActionsRunnersItemLabelsDeleteResponseable, error)
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 ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemActionsRunnersItemLabelsGetResponseable, error)
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 ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) Post(ctx context.Context, body ItemActionsRunnersItemLabelsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemActionsRunnersItemLabelsPostResponseable, error)
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 ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) Put(ctx context.Context, body ItemActionsRunnersItemLabelsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemActionsRunnersItemLabelsPutResponseable, error)
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 ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemActionsRunnersItemLabelsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsRunnersItemLabelsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation remove all previous custom labels and set the new custom labels for a specificself-hosted runner configured in 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 ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersItemLabelsRequestBuilder
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 ¶
func (m *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemActionsRunnersItemLabelsItemWithNameDeleteResponseable, error)
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 ¶
func (m *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder
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 ¶
func NewItemActionsRunnersRegistrationTokenRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersRegistrationTokenRequestBuilder
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 ¶
func (m *ItemActionsRunnersRegistrationTokenRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.AuthenticationTokenable, error)
Post returns a token that you can pass to the `config` script. The token expires after one hour.For example, you can replace `TOKEN` in the following example with the registration token provided by this endpoint to configure your self-hosted runner:```./config.sh --url https://github.com/octo-org --token TOKEN```Authenticated users must have admin access to the 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 ¶
func (m *ItemActionsRunnersRegistrationTokenRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation returns a token that you can pass to the `config` script. The token expires after one hour.For example, you can replace `TOKEN` in the following example with the registration token provided by this endpoint to configure your self-hosted runner:```./config.sh --url https://github.com/octo-org --token TOKEN```Authenticated users must have admin access to the 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 ¶
func (m *ItemActionsRunnersRegistrationTokenRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersRegistrationTokenRequestBuilder
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 ¶
func NewItemActionsRunnersRemoveTokenRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersRemoveTokenRequestBuilder
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 ¶
func (m *ItemActionsRunnersRemoveTokenRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.AuthenticationTokenable, error)
Post returns a token that you can pass to the `config` script to remove a self-hosted runner from an 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 ¶
func (m *ItemActionsRunnersRemoveTokenRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation returns a token that you can pass to the `config` script to remove a self-hosted runner from an 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 ¶
func (m *ItemActionsRunnersRemoveTokenRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersRemoveTokenRequestBuilder
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 ¶
type ItemActionsRunnersRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsRunnersRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\runners
func NewItemActionsRunnersRequestBuilder ¶
func NewItemActionsRunnersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersRequestBuilder
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 ¶
func (m *ItemActionsRunnersRequestBuilder) ByRunner_id(runner_id int32) *ItemActionsRunnersWithRunner_ItemRequestBuilder
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 ¶
func (m *ItemActionsRunnersRequestBuilder) Downloads() *ItemActionsRunnersDownloadsRequestBuilder
Downloads the downloads property returns a *ItemActionsRunnersDownloadsRequestBuilder when successful
func (*ItemActionsRunnersRequestBuilder) GenerateJitconfig ¶
func (m *ItemActionsRunnersRequestBuilder) GenerateJitconfig() *ItemActionsRunnersGenerateJitconfigRequestBuilder
GenerateJitconfig the generateJitconfig property returns a *ItemActionsRunnersGenerateJitconfigRequestBuilder when successful
func (*ItemActionsRunnersRequestBuilder) Get ¶
func (m *ItemActionsRunnersRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsRunnersRequestBuilderGetQueryParameters]) (ItemActionsRunnersGetResponseable, error)
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 ¶
func (m *ItemActionsRunnersRequestBuilder) RegistrationToken() *ItemActionsRunnersRegistrationTokenRequestBuilder
RegistrationToken the registrationToken property returns a *ItemActionsRunnersRegistrationTokenRequestBuilder when successful
func (*ItemActionsRunnersRequestBuilder) RemoveToken ¶
func (m *ItemActionsRunnersRequestBuilder) RemoveToken() *ItemActionsRunnersRemoveTokenRequestBuilder
RemoveToken the removeToken property returns a *ItemActionsRunnersRemoveTokenRequestBuilder when successful
func (*ItemActionsRunnersRequestBuilder) ToGetRequestInformation ¶
func (m *ItemActionsRunnersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsRunnersRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnersRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func NewItemActionsRunnersWithRunner_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersWithRunner_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 ¶
func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable, error)
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 ¶
func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) Labels() *ItemActionsRunnersItemLabelsRequestBuilder
Labels the labels property returns a *ItemActionsRunnersItemLabelsRequestBuilder when successful
func (*ItemActionsRunnersWithRunner_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersWithRunner_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *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 ¶
func (m *ItemActionsSecretsGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsSecretsGetResponse) GetSecrets ¶
func (m *ItemActionsSecretsGetResponse) GetSecrets() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationActionsSecretable
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 ¶
func (m *ItemActionsSecretsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsSecretsGetResponse) SetSecrets(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationActionsSecretable)
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 ItemActionsSecretsGetResponseable ¶
type ItemActionsSecretsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSecrets() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationActionsSecretable GetTotalCount() *int32 SetSecrets(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationActionsSecretable) SetTotalCount(value *int32) }
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 ¶
func (m *ItemActionsSecretsItemRepositoriesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsSecretsItemRepositoriesGetResponse) GetRepositories ¶
func (m *ItemActionsSecretsItemRepositoriesGetResponse) GetRepositories() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable
GetRepositories gets the repositories property value. The repositories property returns a []MinimalRepositoryable when successful
func (*ItemActionsSecretsItemRepositoriesGetResponse) GetTotalCount ¶
func (m *ItemActionsSecretsItemRepositoriesGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemActionsSecretsItemRepositoriesGetResponse) Serialize ¶
func (m *ItemActionsSecretsItemRepositoriesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsSecretsItemRepositoriesGetResponse) SetRepositories(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable)
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 ItemActionsSecretsItemRepositoriesGetResponseable ¶
type ItemActionsSecretsItemRepositoriesGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetRepositories() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable GetTotalCount() *int32 SetRepositories(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable) SetTotalCount(value *int32) }
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 ¶
func (m *ItemActionsSecretsItemRepositoriesPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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.13/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.13/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints. returns a []int32 when successful
func (*ItemActionsSecretsItemRepositoriesPutRequestBody) Serialize ¶
func (m *ItemActionsSecretsItemRepositoriesPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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.13/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.13/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 ¶
func NewItemActionsSecretsItemRepositoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsSecretsItemRepositoriesRequestBuilder
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 ¶
func (m *ItemActionsSecretsItemRepositoriesRequestBuilder) ByRepository_id(repository_id int32) *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder
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 ¶
func (m *ItemActionsSecretsItemRepositoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsSecretsItemRepositoriesRequestBuilderGetQueryParameters]) (ItemActionsSecretsItemRepositoriesGetResponseable, error)
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 ¶
func (m *ItemActionsSecretsItemRepositoriesRequestBuilder) Put(ctx context.Context, body ItemActionsSecretsItemRepositoriesPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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.13/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 ¶
func (m *ItemActionsSecretsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsSecretsItemRepositoriesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsSecretsItemRepositoriesRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsSecretsItemRepositoriesPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemActionsSecretsItemRepositoriesRequestBuilder) WithUrl(rawUrl string) *ItemActionsSecretsItemRepositoriesRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func (m *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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.13/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 ¶
func (m *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Put(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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.13/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 ¶
func (m *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *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 ¶
func (m *ItemActionsSecretsItemWithSecret_namePutRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemActionsSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue ¶
func (m *ItemActionsSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue() *string
GetEncryptedValue gets the encrypted_value property value. Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/enterprise-server@3.13/rest/actions/secrets#get-an-organization-public-key) endpoint. returns a *string when successful
func (*ItemActionsSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers ¶
func (m *ItemActionsSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsSecretsItemWithSecret_namePutRequestBody) GetKeyId ¶
func (m *ItemActionsSecretsItemWithSecret_namePutRequestBody) GetKeyId() *string
GetKeyId gets the key_id property value. ID of the key you used to encrypt the secret. returns a *string when successful
func (*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.13/rest/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.13/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.13/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints. returns a []int32 when successful
func (*ItemActionsSecretsItemWithSecret_namePutRequestBody) Serialize ¶
func (m *ItemActionsSecretsItemWithSecret_namePutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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.13/rest/actions/secrets#get-an-organization-public-key) endpoint.
func (*ItemActionsSecretsItemWithSecret_namePutRequestBody) SetKeyId ¶
func (m *ItemActionsSecretsItemWithSecret_namePutRequestBody) SetKeyId(value *string)
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.13/rest/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.13/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.13/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 ¶
func NewItemActionsSecretsPublicKeyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsSecretsPublicKeyRequestBuilder
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 ¶
func (m *ItemActionsSecretsPublicKeyRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsPublicKeyable, error)
Get gets your public key, which you need to encrypt secrets. You need toencrypt a secret before you can create or update secrets.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 ¶
func (m *ItemActionsSecretsPublicKeyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets your public key, which you need to encrypt secrets. You need toencrypt a secret before you can create or update secrets.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 ¶
func (m *ItemActionsSecretsPublicKeyRequestBuilder) WithUrl(rawUrl string) *ItemActionsSecretsPublicKeyRequestBuilder
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 ¶
type ItemActionsSecretsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsSecretsRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\secrets
func NewItemActionsSecretsRequestBuilder ¶
func NewItemActionsSecretsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsSecretsRequestBuilder
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 ¶
func (m *ItemActionsSecretsRequestBuilder) BySecret_name(secret_name string) *ItemActionsSecretsWithSecret_nameItemRequestBuilder
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 ¶
func (m *ItemActionsSecretsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsSecretsRequestBuilderGetQueryParameters]) (ItemActionsSecretsGetResponseable, error)
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 ¶
func (m *ItemActionsSecretsRequestBuilder) PublicKey() *ItemActionsSecretsPublicKeyRequestBuilder
PublicKey the publicKey property returns a *ItemActionsSecretsPublicKeyRequestBuilder when successful
func (*ItemActionsSecretsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemActionsSecretsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsSecretsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsSecretsRequestBuilder) WithUrl(rawUrl string) *ItemActionsSecretsRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func NewItemActionsSecretsWithSecret_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsSecretsWithSecret_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 ¶
func (m *ItemActionsSecretsWithSecret_nameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsSecretsWithSecret_nameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationActionsSecretable, error)
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 ¶
func (m *ItemActionsSecretsWithSecret_nameItemRequestBuilder) Put(ctx context.Context, body ItemActionsSecretsItemWithSecret_namePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EmptyObjectable, error)
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.13/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 ¶
func (m *ItemActionsSecretsWithSecret_nameItemRequestBuilder) Repositories() *ItemActionsSecretsItemRepositoriesRequestBuilder
Repositories the repositories property returns a *ItemActionsSecretsItemRepositoriesRequestBuilder when successful
func (*ItemActionsSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemActionsSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsSecretsItemWithSecret_namePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemActionsSecretsWithSecret_nameItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsSecretsWithSecret_nameItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *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 ¶
func (m *ItemActionsVariablesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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 ¶
func (m *ItemActionsVariablesGetResponse) GetVariables() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationActionsVariableable
GetVariables gets the variables property value. The variables property returns a []OrganizationActionsVariableable when successful
func (*ItemActionsVariablesGetResponse) Serialize ¶
func (m *ItemActionsVariablesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsVariablesGetResponse) SetVariables(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationActionsVariableable)
SetVariables sets the variables property value. The variables property
type ItemActionsVariablesGetResponseable ¶
type ItemActionsVariablesGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetTotalCount() *int32 GetVariables() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationActionsVariableable SetTotalCount(value *int32) SetVariables(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationActionsVariableable) }
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 ¶
func (m *ItemActionsVariablesItemRepositoriesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsVariablesItemRepositoriesGetResponse) GetRepositories ¶
func (m *ItemActionsVariablesItemRepositoriesGetResponse) GetRepositories() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable
GetRepositories gets the repositories property value. The repositories property returns a []MinimalRepositoryable when successful
func (*ItemActionsVariablesItemRepositoriesGetResponse) GetTotalCount ¶
func (m *ItemActionsVariablesItemRepositoriesGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemActionsVariablesItemRepositoriesGetResponse) Serialize ¶
func (m *ItemActionsVariablesItemRepositoriesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsVariablesItemRepositoriesGetResponse) SetRepositories(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable)
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 ItemActionsVariablesItemRepositoriesGetResponseable ¶
type ItemActionsVariablesItemRepositoriesGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetRepositories() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable GetTotalCount() *int32 SetRepositories(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable) SetTotalCount(value *int32) }
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 ¶
func (m *ItemActionsVariablesItemRepositoriesPutRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data 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 ¶
func (m *ItemActionsVariablesItemRepositoriesPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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 ¶
func (m *ItemActionsVariablesItemRepositoriesPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func NewItemActionsVariablesItemRepositoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsVariablesItemRepositoriesRequestBuilder
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 ¶
func (m *ItemActionsVariablesItemRepositoriesRequestBuilder) ByRepository_id(repository_id int32) *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder
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 ¶
func (m *ItemActionsVariablesItemRepositoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsVariablesItemRepositoriesRequestBuilderGetQueryParameters]) (ItemActionsVariablesItemRepositoriesGetResponseable, error)
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 ¶
func (m *ItemActionsVariablesItemRepositoriesRequestBuilder) Put(ctx context.Context, body ItemActionsVariablesItemRepositoriesPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsVariablesItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsVariablesItemRepositoriesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsVariablesItemRepositoriesRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsVariablesItemRepositoriesPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsVariablesItemRepositoriesRequestBuilder) WithUrl(rawUrl string) *ItemActionsVariablesItemRepositoriesRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func (m *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) Put(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *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 ¶
func (m *ItemActionsVariablesItemWithNamePatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsVariablesItemWithNamePatchRequestBody) GetName ¶
func (m *ItemActionsVariablesItemWithNamePatchRequestBody) GetName() *string
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 ¶
func (m *ItemActionsVariablesItemWithNamePatchRequestBody) GetValue() *string
GetValue gets the value property value. The value of the variable. returns a *string when successful
func (*ItemActionsVariablesItemWithNamePatchRequestBody) Serialize ¶
func (m *ItemActionsVariablesItemWithNamePatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsVariablesItemWithNamePatchRequestBody) SetName(value *string)
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 ¶
func (m *ItemActionsVariablesItemWithNamePatchRequestBody) SetValue(value *string)
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 ¶
func (m *ItemActionsVariablesPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsVariablesPostRequestBody) GetName ¶
func (m *ItemActionsVariablesPostRequestBody) GetName() *string
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 ¶
func (m *ItemActionsVariablesPostRequestBody) GetValue() *string
GetValue gets the value property value. The value of the variable. returns a *string when successful
func (*ItemActionsVariablesPostRequestBody) Serialize ¶
func (m *ItemActionsVariablesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
type ItemActionsVariablesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsVariablesRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\variables
func NewItemActionsVariablesRequestBuilder ¶
func NewItemActionsVariablesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsVariablesRequestBuilder
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 ¶
func (m *ItemActionsVariablesRequestBuilder) ByName(name string) *ItemActionsVariablesWithNameItemRequestBuilder
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 ¶
func (m *ItemActionsVariablesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsVariablesRequestBuilderGetQueryParameters]) (ItemActionsVariablesGetResponseable, error)
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 ¶
func (m *ItemActionsVariablesRequestBuilder) Post(ctx context.Context, body ItemActionsVariablesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EmptyObjectable, error)
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 ¶
func (m *ItemActionsVariablesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsVariablesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsVariablesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemActionsVariablesPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsVariablesRequestBuilder) WithUrl(rawUrl string) *ItemActionsVariablesRequestBuilder
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.13/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.13/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 ¶
func NewItemActionsVariablesWithNameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsVariablesWithNameItemRequestBuilder
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 ¶
func (m *ItemActionsVariablesWithNameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsVariablesWithNameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationActionsVariableable, error)
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 ¶
func (m *ItemActionsVariablesWithNameItemRequestBuilder) Patch(ctx context.Context, body ItemActionsVariablesItemWithNamePatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsVariablesWithNameItemRequestBuilder) Repositories() *ItemActionsVariablesItemRepositoriesRequestBuilder
Repositories the repositories property returns a *ItemActionsVariablesItemRepositoriesRequestBuilder when successful
func (*ItemActionsVariablesWithNameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemActionsVariablesWithNameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsVariablesWithNameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsVariablesWithNameItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemActionsVariablesItemWithNamePatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsVariablesWithNameItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsVariablesWithNameItemRequestBuilder
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 ¶
type ItemAnnouncementRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemAnnouncementRequestBuilder builds and executes requests for operations under \orgs\{org}\announcement
func NewItemAnnouncementRequestBuilder ¶
func NewItemAnnouncementRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemAnnouncementRequestBuilder
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 ¶
func (m *ItemAnnouncementRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete removes the announcement banner currently set for the organization. API method documentation
func (*ItemAnnouncementRequestBuilder) Get ¶
func (m *ItemAnnouncementRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.AnnouncementBannerable, error)
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) Patch ¶
func (m *ItemAnnouncementRequestBuilder) Patch(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Announcementable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.AnnouncementBannerable, error)
Patch sets the announcement banner to display for the organization. returns a AnnouncementBannerable when successful API method documentation
func (*ItemAnnouncementRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemAnnouncementRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation removes the announcement banner currently set for the organization. returns a *RequestInformation when successful
func (*ItemAnnouncementRequestBuilder) ToGetRequestInformation ¶
func (m *ItemAnnouncementRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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) ToPatchRequestInformation ¶
func (m *ItemAnnouncementRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Announcementable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation sets the announcement banner to display for the organization. returns a *RequestInformation when successful
func (*ItemAnnouncementRequestBuilder) WithUrl ¶
func (m *ItemAnnouncementRequestBuilder) WithUrl(rawUrl string) *ItemAnnouncementRequestBuilder
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 ¶
type ItemAuditLogRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemAuditLogRequestBuilder builds and executes requests for operations under \orgs\{org}\audit-log
func NewItemAuditLogRequestBuilder ¶
func NewItemAuditLogRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemAuditLogRequestBuilder
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 ¶
func (m *ItemAuditLogRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemAuditLogRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.AuditLogEventable, error)
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.13/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.13/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.13/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 ¶
func (m *ItemAuditLogRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemAuditLogRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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.13/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.13/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 ¶
func (m *ItemAuditLogRequestBuilder) WithUrl(rawUrl string) *ItemAuditLogRequestBuilder
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.13/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.13/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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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.13/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.13/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.13/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.13/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 ¶
func NewItemCodeScanningAlertsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodeScanningAlertsRequestBuilder
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 ¶
func (m *ItemCodeScanningAlertsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemCodeScanningAlertsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningOrganizationAlertItemsable, error)
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.13/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 ¶
func (m *ItemCodeScanningAlertsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemCodeScanningAlertsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemCodeScanningAlertsRequestBuilder) WithUrl(rawUrl string) *ItemCodeScanningAlertsRequestBuilder
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.13/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.13/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.13/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.13/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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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.13/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 ¶
type ItemCodeScanningRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemCodeScanningRequestBuilder builds and executes requests for operations under \orgs\{org}\code-scanning
func NewItemCodeScanningRequestBuilder ¶
func NewItemCodeScanningRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodeScanningRequestBuilder
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 ¶
func (m *ItemCodeScanningRequestBuilder) Alerts() *ItemCodeScanningAlertsRequestBuilder
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 ¶
func (m *ItemCustomRepositoryRolesGetResponse) GetCustomRoles() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationCustomRepositoryRoleable
GetCustomRoles gets the custom_roles property value. The custom_roles property returns a []OrganizationCustomRepositoryRoleable when successful
func (*ItemCustomRepositoryRolesGetResponse) GetFieldDeserializers ¶
func (m *ItemCustomRepositoryRolesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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 ¶
func (m *ItemCustomRepositoryRolesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemCustomRepositoryRolesGetResponse) SetCustomRoles(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationCustomRepositoryRoleable)
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 ItemCustomRepositoryRolesGetResponseable ¶
type ItemCustomRepositoryRolesGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCustomRoles() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationCustomRepositoryRoleable GetTotalCount() *int32 SetCustomRoles(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationCustomRepositoryRoleable) SetTotalCount(value *int32) }
type ItemCustomRepositoryRolesRequestBuilder ¶
type ItemCustomRepositoryRolesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemCustomRepositoryRolesRequestBuilder builds and executes requests for operations under \orgs\{org}\custom-repository-roles
func NewItemCustomRepositoryRolesRequestBuilder ¶
func NewItemCustomRepositoryRolesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCustomRepositoryRolesRequestBuilder
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 ¶
func (m *ItemCustomRepositoryRolesRequestBuilder) ByRole_id(role_id int32) *ItemCustomRepositoryRolesWithRole_ItemRequestBuilder
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 ¶
func (m *ItemCustomRepositoryRolesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemCustomRepositoryRolesGetResponseable, error)
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.13/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 ¶
func (m *ItemCustomRepositoryRolesRequestBuilder) Post(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationCustomRepositoryRoleCreateSchemaable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationCustomRepositoryRoleable, error)
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.13/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 ¶
func (m *ItemCustomRepositoryRolesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemCustomRepositoryRolesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationCustomRepositoryRoleCreateSchemaable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemCustomRepositoryRolesRequestBuilder) WithUrl(rawUrl string) *ItemCustomRepositoryRolesRequestBuilder
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 ¶
func NewItemCustomRepositoryRolesWithRole_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCustomRepositoryRolesWithRole_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 ¶
func (m *ItemCustomRepositoryRolesWithRole_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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.13/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 ¶
func (m *ItemCustomRepositoryRolesWithRole_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationCustomRepositoryRoleable, error)
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.13/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 ¶
func (m *ItemCustomRepositoryRolesWithRole_ItemRequestBuilder) Patch(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationCustomRepositoryRoleUpdateSchemaable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationCustomRepositoryRoleable, error)
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.13/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 ¶
func (m *ItemCustomRepositoryRolesWithRole_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemCustomRepositoryRolesWithRole_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemCustomRepositoryRolesWithRole_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationCustomRepositoryRoleUpdateSchemaable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemCustomRepositoryRolesWithRole_ItemRequestBuilder) WithUrl(rawUrl string) *ItemCustomRepositoryRolesWithRole_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemCustomRepositoryRolesWithRole_ItemRequestBuilder when successful
type ItemDependabotAlertsRequestBuilder ¶
type ItemDependabotAlertsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemDependabotAlertsRequestBuilder builds and executes requests for operations under \orgs\{org}\dependabot\alerts
func NewItemDependabotAlertsRequestBuilder ¶
func NewItemDependabotAlertsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotAlertsRequestBuilder
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 ¶
func (m *ItemDependabotAlertsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemDependabotAlertsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DependabotAlertWithRepositoryable, error)
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 ¶
func (m *ItemDependabotAlertsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemDependabotAlertsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemDependabotAlertsRequestBuilder) WithUrl(rawUrl string) *ItemDependabotAlertsRequestBuilder
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.13/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.13/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.13/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.13/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.13/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 ¶
type ItemDependabotRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemDependabotRequestBuilder builds and executes requests for operations under \orgs\{org}\dependabot
func NewItemDependabotRequestBuilder ¶
func NewItemDependabotRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotRequestBuilder
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 ¶
func (m *ItemDependabotRequestBuilder) Alerts() *ItemDependabotAlertsRequestBuilder
Alerts the alerts property returns a *ItemDependabotAlertsRequestBuilder when successful
func (*ItemDependabotRequestBuilder) Secrets ¶
func (m *ItemDependabotRequestBuilder) Secrets() *ItemDependabotSecretsRequestBuilder
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 ¶
func (m *ItemDependabotSecretsGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemDependabotSecretsGetResponse) GetSecrets ¶
func (m *ItemDependabotSecretsGetResponse) GetSecrets() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationDependabotSecretable
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 ¶
func (m *ItemDependabotSecretsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemDependabotSecretsGetResponse) SetSecrets(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationDependabotSecretable)
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 ItemDependabotSecretsGetResponseable ¶
type ItemDependabotSecretsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSecrets() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationDependabotSecretable GetTotalCount() *int32 SetSecrets(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationDependabotSecretable) SetTotalCount(value *int32) }
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 ¶
func (m *ItemDependabotSecretsItemRepositoriesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemDependabotSecretsItemRepositoriesGetResponse) GetRepositories ¶
func (m *ItemDependabotSecretsItemRepositoriesGetResponse) GetRepositories() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable
GetRepositories gets the repositories property value. The repositories property returns a []MinimalRepositoryable when successful
func (*ItemDependabotSecretsItemRepositoriesGetResponse) GetTotalCount ¶
func (m *ItemDependabotSecretsItemRepositoriesGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemDependabotSecretsItemRepositoriesGetResponse) Serialize ¶
func (m *ItemDependabotSecretsItemRepositoriesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemDependabotSecretsItemRepositoriesGetResponse) SetRepositories(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable)
SetRepositories sets the repositories property value. The repositories property
func (*ItemDependabotSecretsItemRepositoriesGetResponse) SetTotalCount ¶
func (m *ItemDependabotSecretsItemRepositoriesGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemDependabotSecretsItemRepositoriesGetResponseable ¶
type ItemDependabotSecretsItemRepositoriesGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetRepositories() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable GetTotalCount() *int32 SetRepositories(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable) SetTotalCount(value *int32) }
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 ¶
func (m *ItemDependabotSecretsItemRepositoriesPutRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data 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 ¶
func (m *ItemDependabotSecretsItemRepositoriesPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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.13/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.13/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. returns a []int32 when successful
func (*ItemDependabotSecretsItemRepositoriesPutRequestBody) Serialize ¶
func (m *ItemDependabotSecretsItemRepositoriesPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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.13/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.13/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 ¶
func NewItemDependabotSecretsItemRepositoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsItemRepositoriesRequestBuilder
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 ¶
func (m *ItemDependabotSecretsItemRepositoriesRequestBuilder) ByRepository_id(repository_id int32) *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder
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 ¶
func (m *ItemDependabotSecretsItemRepositoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemDependabotSecretsItemRepositoriesRequestBuilderGetQueryParameters]) (ItemDependabotSecretsItemRepositoriesGetResponseable, error)
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 ¶
func (m *ItemDependabotSecretsItemRepositoriesRequestBuilder) Put(ctx context.Context, body ItemDependabotSecretsItemRepositoriesPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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.13/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 ¶
func (m *ItemDependabotSecretsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemDependabotSecretsItemRepositoriesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemDependabotSecretsItemRepositoriesRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemDependabotSecretsItemRepositoriesPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemDependabotSecretsItemRepositoriesRequestBuilder) WithUrl(rawUrl string) *ItemDependabotSecretsItemRepositoriesRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func (m *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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.13/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 ¶
func (m *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Put(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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.13/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 ¶
func (m *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) WithUrl(rawUrl string) *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *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 ¶
func (m *ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue ¶
func (m *ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue() *string
GetEncryptedValue gets the encrypted_value property value. Value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/enterprise-server@3.13/rest/dependabot/secrets#get-an-organization-public-key) endpoint. returns a *string when successful
func (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers ¶
func (m *ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetKeyId ¶
func (m *ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetKeyId() *string
GetKeyId gets the key_id property value. ID of the key you used to encrypt the secret. returns a *string when successful
func (*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.13/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.13/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.13/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints. returns a []string when successful
func (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) Serialize ¶
func (m *ItemDependabotSecretsItemWithSecret_namePutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemDependabotSecretsItemWithSecret_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.13/rest/dependabot/secrets#get-an-organization-public-key) endpoint.
func (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) SetKeyId ¶
func (m *ItemDependabotSecretsItemWithSecret_namePutRequestBody) SetKeyId(value *string)
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.13/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/enterprise-server@3.13/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.13/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 ¶
func NewItemDependabotSecretsPublicKeyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsPublicKeyRequestBuilder
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 ¶
func (m *ItemDependabotSecretsPublicKeyRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DependabotPublicKeyable, error)
Get gets your public key, which you need to encrypt secrets. You need toencrypt a secret before you can create or update secrets.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 ¶
func (m *ItemDependabotSecretsPublicKeyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets your public key, which you need to encrypt secrets. You need toencrypt a secret before you can create or update secrets.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 ¶
func (m *ItemDependabotSecretsPublicKeyRequestBuilder) WithUrl(rawUrl string) *ItemDependabotSecretsPublicKeyRequestBuilder
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 ¶
type ItemDependabotSecretsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemDependabotSecretsRequestBuilder builds and executes requests for operations under \orgs\{org}\dependabot\secrets
func NewItemDependabotSecretsRequestBuilder ¶
func NewItemDependabotSecretsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsRequestBuilder
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 ¶
func (m *ItemDependabotSecretsRequestBuilder) BySecret_name(secret_name string) *ItemDependabotSecretsWithSecret_nameItemRequestBuilder
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 ¶
func (m *ItemDependabotSecretsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemDependabotSecretsRequestBuilderGetQueryParameters]) (ItemDependabotSecretsGetResponseable, error)
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 ¶
func (m *ItemDependabotSecretsRequestBuilder) PublicKey() *ItemDependabotSecretsPublicKeyRequestBuilder
PublicKey the publicKey property returns a *ItemDependabotSecretsPublicKeyRequestBuilder when successful
func (*ItemDependabotSecretsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemDependabotSecretsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemDependabotSecretsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemDependabotSecretsRequestBuilder) WithUrl(rawUrl string) *ItemDependabotSecretsRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func (m *ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationDependabotSecretable, error)
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 ¶
func (m *ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Put(ctx context.Context, body ItemDependabotSecretsItemWithSecret_namePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EmptyObjectable, error)
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.13/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 ¶
func (m *ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Repositories() *ItemDependabotSecretsItemRepositoriesRequestBuilder
Repositories the repositories property returns a *ItemDependabotSecretsItemRepositoriesRequestBuilder when successful
func (*ItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemDependabotSecretsItemWithSecret_namePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemDependabotSecretsWithSecret_nameItemRequestBuilder) WithUrl(rawUrl string) *ItemDependabotSecretsWithSecret_nameItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemDependabotSecretsWithSecret_nameItemRequestBuilder when successful
type ItemDockerConflictsRequestBuilder ¶
type ItemDockerConflictsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemDockerConflictsRequestBuilder builds and executes requests for operations under \orgs\{org}\docker\conflicts
func NewItemDockerConflictsRequestBuilder ¶
func NewItemDockerConflictsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDockerConflictsRequestBuilder
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 ¶
func (m *ItemDockerConflictsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PackageEscapedable, error)
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 ¶
func (m *ItemDockerConflictsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemDockerConflictsRequestBuilder) WithUrl(rawUrl string) *ItemDockerConflictsRequestBuilder
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 ¶
type ItemDockerRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemDockerRequestBuilder builds and executes requests for operations under \orgs\{org}\docker
func NewItemDockerRequestBuilder ¶
func NewItemDockerRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDockerRequestBuilder
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 ¶
func (m *ItemDockerRequestBuilder) Conflicts() *ItemDockerConflictsRequestBuilder
Conflicts the conflicts property returns a *ItemDockerConflictsRequestBuilder when successful
type ItemEventsRequestBuilder ¶
type ItemEventsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemEventsRequestBuilder builds and executes requests for operations under \orgs\{org}\events
func NewItemEventsRequestBuilder ¶
func NewItemEventsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEventsRequestBuilder
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 ¶
func (m *ItemEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemEventsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Eventable, error)
Get > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. returns a []Eventable when successful API method documentation
func (*ItemEventsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemEventsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation > [!NOTE]> This API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h. returns a *RequestInformation when successful
func (*ItemEventsRequestBuilder) WithUrl ¶
func (m *ItemEventsRequestBuilder) WithUrl(rawUrl string) *ItemEventsRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
type ItemExternalGroupRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemExternalGroupRequestBuilder builds and executes requests for operations under \orgs\{org}\external-group
func NewItemExternalGroupRequestBuilder ¶
func NewItemExternalGroupRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemExternalGroupRequestBuilder
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 ¶
func (m *ItemExternalGroupRequestBuilder) ByGroup_id(group_id int32) *ItemExternalGroupWithGroup_ItemRequestBuilder
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 ¶
func NewItemExternalGroupWithGroup_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemExternalGroupWithGroup_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 ¶
func (m *ItemExternalGroupWithGroup_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemExternalGroupWithGroup_ItemRequestBuilderGetQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ExternalGroupable, error)
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.13/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation. returns a ExternalGroupable when successful API method documentation
func (*ItemExternalGroupWithGroup_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemExternalGroupWithGroup_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemExternalGroupWithGroup_ItemRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation. returns a *RequestInformation when successful
func (*ItemExternalGroupWithGroup_ItemRequestBuilder) WithUrl ¶
func (m *ItemExternalGroupWithGroup_ItemRequestBuilder) WithUrl(rawUrl string) *ItemExternalGroupWithGroup_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *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.13/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.13/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.13/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation.
type ItemExternalGroupsRequestBuilder ¶
type ItemExternalGroupsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemExternalGroupsRequestBuilder builds and executes requests for operations under \orgs\{org}\external-groups
func NewItemExternalGroupsRequestBuilder ¶
func NewItemExternalGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemExternalGroupsRequestBuilder
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 ¶
func (m *ItemExternalGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemExternalGroupsRequestBuilderGetQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ExternalGroupsable, error)
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.13/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation. returns a ExternalGroupsable when successful API method documentation
func (*ItemExternalGroupsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemExternalGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemExternalGroupsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation. returns a *RequestInformation when successful
func (*ItemExternalGroupsRequestBuilder) WithUrl ¶
func (m *ItemExternalGroupsRequestBuilder) WithUrl(rawUrl string) *ItemExternalGroupsRequestBuilder
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.13/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.13/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 ¶
func (m *ItemHooksItemConfigPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemHooksItemConfigPatchRequestBody) GetInsecureSsl ¶
func (m *ItemHooksItemConfigPatchRequestBody) GetInsecureSsl() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigInsecureSslable
GetInsecureSsl gets the insecure_ssl property value. The insecure_ssl property returns a WebhookConfigInsecureSslable when successful
func (*ItemHooksItemConfigPatchRequestBody) GetSecret ¶
func (m *ItemHooksItemConfigPatchRequestBody) 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.13/webhooks/event-payloads/#delivery-headers). returns a *string when successful
func (*ItemHooksItemConfigPatchRequestBody) GetUrl ¶
func (m *ItemHooksItemConfigPatchRequestBody) GetUrl() *string
GetUrl gets the url property value. The URL to which the payloads will be delivered. returns a *string when successful
func (*ItemHooksItemConfigPatchRequestBody) Serialize ¶
func (m *ItemHooksItemConfigPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemHooksItemConfigPatchRequestBody) SetInsecureSsl(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigInsecureSslable)
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.13/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 ItemHooksItemConfigPatchRequestBodyable ¶
type ItemHooksItemConfigPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetContentType() *string GetInsecureSsl() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigInsecureSslable GetSecret() *string GetUrl() *string SetContentType(value *string) SetInsecureSsl(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigInsecureSslable) SetSecret(value *string) SetUrl(value *string) }
type ItemHooksItemConfigRequestBuilder ¶
type ItemHooksItemConfigRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemHooksItemConfigRequestBuilder builds and executes requests for operations under \orgs\{org}\hooks\{hook_id}\config
func NewItemHooksItemConfigRequestBuilder ¶
func NewItemHooksItemConfigRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksItemConfigRequestBuilder
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 ¶
func (m *ItemHooksItemConfigRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigable, error)
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 ¶
func (m *ItemHooksItemConfigRequestBuilder) Patch(ctx context.Context, body ItemHooksItemConfigPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigable, error)
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 ¶
func (m *ItemHooksItemConfigRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemHooksItemConfigRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemHooksItemConfigPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemHooksItemConfigRequestBuilder) WithUrl(rawUrl string) *ItemHooksItemConfigRequestBuilder
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 ¶
func (m *ItemHooksItemDeliveriesItemAttemptsPostResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemHooksItemDeliveriesItemAttemptsPostResponse) Serialize ¶
func (m *ItemHooksItemDeliveriesItemAttemptsPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ItemHooksItemDeliveriesItemAttemptsPostResponseable ¶
type ItemHooksItemDeliveriesItemAttemptsPostResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
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 ¶
func NewItemHooksItemDeliveriesItemAttemptsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksItemDeliveriesItemAttemptsRequestBuilder
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 ¶
func (m *ItemHooksItemDeliveriesItemAttemptsRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemHooksItemDeliveriesItemAttemptsPostResponseable, error)
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 ¶
func (m *ItemHooksItemDeliveriesItemAttemptsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemHooksItemDeliveriesItemAttemptsRequestBuilder) WithUrl(rawUrl string) *ItemHooksItemDeliveriesItemAttemptsRequestBuilder
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 ¶
func NewItemHooksItemDeliveriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksItemDeliveriesRequestBuilder
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 ¶
func (m *ItemHooksItemDeliveriesRequestBuilder) ByDelivery_id(delivery_id int32) *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder
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 ¶
func (m *ItemHooksItemDeliveriesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemHooksItemDeliveriesRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.HookDeliveryItemable, error)
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 ¶
func (m *ItemHooksItemDeliveriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemHooksItemDeliveriesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemHooksItemDeliveriesRequestBuilder) WithUrl(rawUrl string) *ItemHooksItemDeliveriesRequestBuilder
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.13/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 ¶
func (m *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) Attempts() *ItemHooksItemDeliveriesItemAttemptsRequestBuilder
Attempts the attempts property returns a *ItemHooksItemDeliveriesItemAttemptsRequestBuilder when successful
func (*ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) Get ¶
func (m *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.HookDeliveryable, error)
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 ¶
func (m *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) WithUrl(rawUrl string) *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder when successful
type ItemHooksItemPingsRequestBuilder ¶
type ItemHooksItemPingsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemHooksItemPingsRequestBuilder builds and executes requests for operations under \orgs\{org}\hooks\{hook_id}\pings
func NewItemHooksItemPingsRequestBuilder ¶
func NewItemHooksItemPingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksItemPingsRequestBuilder
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 ¶
func (m *ItemHooksItemPingsRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Post this will trigger a [ping event](https://docs.github.com/enterprise-server@3.13/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 ¶
func (m *ItemHooksItemPingsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation this will trigger a [ping event](https://docs.github.com/enterprise-server@3.13/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 ¶
func (m *ItemHooksItemPingsRequestBuilder) WithUrl(rawUrl string) *ItemHooksItemPingsRequestBuilder
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 ¶
func (m *ItemHooksItemWithHook_PatchRequestBody) GetActive() *bool
GetActive gets the active property value. Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications. returns a *bool when successful
func (*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 ¶
func (m *ItemHooksItemWithHook_PatchRequestBody) GetConfig() ItemHooksItemWithHook_PatchRequestBody_configable
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 ¶
func (m *ItemHooksItemWithHook_PatchRequestBody) GetEvents() []string
GetEvents gets the events property value. Determines what [events](https://docs.github.com/enterprise-server@3.13/webhooks/event-payloads) the hook is triggered for. returns a []string when successful
func (*ItemHooksItemWithHook_PatchRequestBody) GetFieldDeserializers ¶
func (m *ItemHooksItemWithHook_PatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemHooksItemWithHook_PatchRequestBody) GetName ¶
func (m *ItemHooksItemWithHook_PatchRequestBody) GetName() *string
GetName gets the name property value. The name property returns a *string when successful
func (*ItemHooksItemWithHook_PatchRequestBody) Serialize ¶
func (m *ItemHooksItemWithHook_PatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemHooksItemWithHook_PatchRequestBody) SetConfig(value ItemHooksItemWithHook_PatchRequestBody_configable)
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.13/webhooks/event-payloads) the hook is triggered for.
func (*ItemHooksItemWithHook_PatchRequestBody) SetName ¶
func (m *ItemHooksItemWithHook_PatchRequestBody) SetName(value *string)
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 ¶
func (m *ItemHooksItemWithHook_PatchRequestBody_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 (*ItemHooksItemWithHook_PatchRequestBody_config) GetFieldDeserializers ¶
func (m *ItemHooksItemWithHook_PatchRequestBody_config) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemHooksItemWithHook_PatchRequestBody_config) GetInsecureSsl ¶
func (m *ItemHooksItemWithHook_PatchRequestBody_config) GetInsecureSsl() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigInsecureSslable
GetInsecureSsl gets the insecure_ssl property value. The insecure_ssl property returns a WebhookConfigInsecureSslable when successful
func (*ItemHooksItemWithHook_PatchRequestBody_config) GetSecret ¶
func (m *ItemHooksItemWithHook_PatchRequestBody_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.13/webhooks/event-payloads/#delivery-headers). returns a *string when successful
func (*ItemHooksItemWithHook_PatchRequestBody_config) GetUrl ¶
func (m *ItemHooksItemWithHook_PatchRequestBody_config) GetUrl() *string
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 ¶
func (m *ItemHooksItemWithHook_PatchRequestBody_config) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemHooksItemWithHook_PatchRequestBody_config) SetInsecureSsl(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigInsecureSslable)
SetInsecureSsl sets the insecure_ssl property value. The insecure_ssl property
func (*ItemHooksItemWithHook_PatchRequestBody_config) SetSecret ¶
func (m *ItemHooksItemWithHook_PatchRequestBody_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.13/webhooks/event-payloads/#delivery-headers).
func (*ItemHooksItemWithHook_PatchRequestBody_config) SetUrl ¶
func (m *ItemHooksItemWithHook_PatchRequestBody_config) SetUrl(value *string)
SetUrl sets the url property value. The URL to which the payloads will be delivered.
type ItemHooksItemWithHook_PatchRequestBody_configable ¶
type ItemHooksItemWithHook_PatchRequestBody_configable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetContentType() *string GetInsecureSsl() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigInsecureSslable GetSecret() *string GetUrl() *string SetContentType(value *string) SetInsecureSsl(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigInsecureSslable) SetSecret(value *string) SetUrl(value *string) }
type ItemHooksItemWithHook_PatchRequestBodyable ¶
type ItemHooksItemWithHook_PatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetActive() *bool GetConfig() ItemHooksItemWithHook_PatchRequestBody_configable GetEvents() []string GetName() *string SetActive(value *bool) SetConfig(value ItemHooksItemWithHook_PatchRequestBody_configable) SetEvents(value []string) SetName(value *string) }
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 ¶
func (m *ItemHooksPostRequestBody) GetConfig() ItemHooksPostRequestBody_configable
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.13/webhooks/event-payloads) the hook is triggered for. Set to `["*"]` to receive all possible events. returns a []string when successful
func (*ItemHooksPostRequestBody) GetFieldDeserializers ¶
func (m *ItemHooksPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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 ¶
func (m *ItemHooksPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemHooksPostRequestBody) SetConfig(value ItemHooksPostRequestBody_configable)
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.13/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 ¶
func (m *ItemHooksPostRequestBody_config) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemHooksPostRequestBody_config) GetInsecureSsl ¶
func (m *ItemHooksPostRequestBody_config) GetInsecureSsl() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigInsecureSslable
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.13/webhooks/event-payloads/#delivery-headers). returns a *string when successful
func (*ItemHooksPostRequestBody_config) GetUrl ¶
func (m *ItemHooksPostRequestBody_config) GetUrl() *string
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 ¶
func (m *ItemHooksPostRequestBody_config) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemHooksPostRequestBody_config) SetInsecureSsl(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigInsecureSslable)
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.13/webhooks/event-payloads/#delivery-headers).
func (*ItemHooksPostRequestBody_config) SetUrl ¶
func (m *ItemHooksPostRequestBody_config) SetUrl(value *string)
SetUrl sets the url property value. The URL to which the payloads will be delivered.
func (*ItemHooksPostRequestBody_config) SetUsername ¶
func (m *ItemHooksPostRequestBody_config) SetUsername(value *string)
SetUsername sets the username property value. The username property
type ItemHooksPostRequestBody_configable ¶
type ItemHooksPostRequestBody_configable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetContentType() *string GetInsecureSsl() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigInsecureSslable GetPassword() *string GetSecret() *string GetUrl() *string GetUsername() *string SetContentType(value *string) SetInsecureSsl(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.WebhookConfigInsecureSslable) SetPassword(value *string) SetSecret(value *string) SetUrl(value *string) SetUsername(value *string) }
type ItemHooksPostRequestBodyable ¶
type ItemHooksPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetActive() *bool GetConfig() ItemHooksPostRequestBody_configable GetEvents() []string GetName() *string SetActive(value *bool) SetConfig(value ItemHooksPostRequestBody_configable) SetEvents(value []string) SetName(value *string) }
type ItemHooksRequestBuilder ¶
type ItemHooksRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemHooksRequestBuilder builds and executes requests for operations under \orgs\{org}\hooks
func NewItemHooksRequestBuilder ¶
func NewItemHooksRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksRequestBuilder
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 ¶
func (m *ItemHooksRequestBuilder) ByHook_id(hook_id int32) *ItemHooksWithHook_ItemRequestBuilder
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 ¶
func (m *ItemHooksRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemHooksRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrgHookable, error)
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 ¶
func (m *ItemHooksRequestBuilder) Post(ctx context.Context, body ItemHooksPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrgHookable, error)
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 ¶
func (m *ItemHooksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemHooksRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemHooksRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemHooksPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemHooksRequestBuilder) WithUrl(rawUrl string) *ItemHooksRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func NewItemHooksWithHook_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksWithHook_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 ¶
func (m *ItemHooksWithHook_ItemRequestBuilder) Config() *ItemHooksItemConfigRequestBuilder
Config the config property returns a *ItemHooksItemConfigRequestBuilder when successful
func (*ItemHooksWithHook_ItemRequestBuilder) Delete ¶
func (m *ItemHooksWithHook_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemHooksWithHook_ItemRequestBuilder) Deliveries() *ItemHooksItemDeliveriesRequestBuilder
Deliveries the deliveries property returns a *ItemHooksItemDeliveriesRequestBuilder when successful
func (*ItemHooksWithHook_ItemRequestBuilder) Get ¶
func (m *ItemHooksWithHook_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrgHookable, error)
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 ¶
func (m *ItemHooksWithHook_ItemRequestBuilder) Patch(ctx context.Context, body ItemHooksItemWithHook_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrgHookable, error)
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 ¶
func (m *ItemHooksWithHook_ItemRequestBuilder) Pings() *ItemHooksItemPingsRequestBuilder
Pings the pings property returns a *ItemHooksItemPingsRequestBuilder when successful
func (*ItemHooksWithHook_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemHooksWithHook_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemHooksWithHook_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemHooksWithHook_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemHooksItemWithHook_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemHooksWithHook_ItemRequestBuilder) WithUrl(rawUrl string) *ItemHooksWithHook_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemHooksWithHook_ItemRequestBuilder when successful
type ItemInstallationRequestBuilder ¶
type ItemInstallationRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemInstallationRequestBuilder builds and executes requests for operations under \orgs\{org}\installation
func NewItemInstallationRequestBuilder ¶
func NewItemInstallationRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInstallationRequestBuilder
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) Get ¶
func (m *ItemInstallationRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Installationable, error)
Get enables an authenticated GitHub App to find the organization's installation information.You must use a [JWT](https://docs.github.com/enterprise-server@3.13/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. returns a Installationable when successful API method documentation
func (*ItemInstallationRequestBuilder) ToGetRequestInformation ¶
func (m *ItemInstallationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemInstallationRequestBuilder) WithUrl(rawUrl string) *ItemInstallationRequestBuilder
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 ¶
func (m *ItemInstallationsGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemInstallationsGetResponse) GetInstallations ¶
func (m *ItemInstallationsGetResponse) GetInstallations() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Installationable
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 ¶
func (m *ItemInstallationsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemInstallationsGetResponse) SetInstallations(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Installationable)
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 ItemInstallationsGetResponseable ¶
type ItemInstallationsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetInstallations() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Installationable GetTotalCount() *int32 SetInstallations(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Installationable) SetTotalCount(value *int32) }
type ItemInstallationsRequestBuilder ¶
type ItemInstallationsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemInstallationsRequestBuilder builds and executes requests for operations under \orgs\{org}\installations
func NewItemInstallationsRequestBuilder ¶
func NewItemInstallationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInstallationsRequestBuilder
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 ¶
func (m *ItemInstallationsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemInstallationsRequestBuilderGetQueryParameters]) (ItemInstallationsGetResponseable, error)
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 ¶
func (m *ItemInstallationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemInstallationsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemInstallationsRequestBuilder) WithUrl(rawUrl string) *ItemInstallationsRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
type ItemIssuesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemIssuesRequestBuilder builds and executes requests for operations under \orgs\{org}\issues
func NewItemIssuesRequestBuilder ¶
func NewItemIssuesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemIssuesRequestBuilder
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 ¶
func (m *ItemIssuesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemIssuesRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Issueable, error)
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.13/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.13/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 ¶
func (m *ItemIssuesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemIssuesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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.13/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 ¶
func (m *ItemIssuesRequestBuilder) WithUrl(rawUrl string) *ItemIssuesRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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.13/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.13/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 ¶
func (m *ItemItemItemWithEnablementPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemItemItemWithEnablementPostRequestBody) Serialize ¶
func (m *ItemItemItemWithEnablementPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ItemItemItemWithEnablementPostRequestBodyable ¶
type ItemItemItemWithEnablementPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemItemWithEnablementItemRequestBuilder ¶
type ItemItemWithEnablementItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemWithEnablementItemRequestBuilder builds and executes requests for operations under \orgs\{org}\{security_product}\{enablement}
func NewItemItemWithEnablementItemRequestBuilder ¶
func NewItemItemWithEnablementItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemWithEnablementItemRequestBuilder
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 ¶
func (m *ItemItemWithEnablementItemRequestBuilder) Post(ctx context.Context, body ItemItemItemWithEnablementPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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.13/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. API method documentation
func (*ItemItemWithEnablementItemRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemWithEnablementItemRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemItemWithEnablementPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."The authenticated user must be an organization owner or be member of a team with the security manager role to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint. returns a *RequestInformation when successful
func (*ItemItemWithEnablementItemRequestBuilder) WithUrl ¶
func (m *ItemItemWithEnablementItemRequestBuilder) WithUrl(rawUrl string) *ItemItemWithEnablementItemRequestBuilder
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 ¶
type ItemMembersRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemMembersRequestBuilder builds and executes requests for operations under \orgs\{org}\members
func NewItemMembersRequestBuilder ¶
func NewItemMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersRequestBuilder
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 ¶
func (m *ItemMembersRequestBuilder) ByUsername(username string) *ItemMembersWithUsernameItemRequestBuilder
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 ¶
func (m *ItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemMembersRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SimpleUserable, error)
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 ¶
func (m *ItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemMembersRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemMembersRequestBuilder) WithUrl(rawUrl string) *ItemMembersRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func NewItemMembersWithUsernameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersWithUsernameItemRequestBuilder
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 ¶
func (m *ItemMembersWithUsernameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemMembersWithUsernameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Get check if a user is, publicly or privately, a member of the organization. API method documentation
func (*ItemMembersWithUsernameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemMembersWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemMembersWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation check if a user is, publicly or privately, a member of the organization. returns a *RequestInformation when successful
func (*ItemMembersWithUsernameItemRequestBuilder) WithUrl ¶
func (m *ItemMembersWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *ItemMembersWithUsernameItemRequestBuilder
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 ¶
func (m *ItemMembershipsItemWithUsernamePutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemMembershipsItemWithUsernamePutRequestBody) Serialize ¶
func (m *ItemMembershipsItemWithUsernamePutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ItemMembershipsItemWithUsernamePutRequestBodyable ¶
type ItemMembershipsItemWithUsernamePutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemMembershipsRequestBuilder ¶
type ItemMembershipsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemMembershipsRequestBuilder builds and executes requests for operations under \orgs\{org}\memberships
func NewItemMembershipsRequestBuilder ¶
func NewItemMembershipsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembershipsRequestBuilder
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 ¶
func (m *ItemMembershipsRequestBuilder) ByUsername(username string) *ItemMembershipsWithUsernameItemRequestBuilder
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 ¶
func NewItemMembershipsWithUsernameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembershipsWithUsernameItemRequestBuilder
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 ¶
func (m *ItemMembershipsWithUsernameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemMembershipsWithUsernameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrgMembershipable, error)
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 ¶
func (m *ItemMembershipsWithUsernameItemRequestBuilder) Put(ctx context.Context, body ItemMembershipsItemWithUsernamePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrgMembershipable, error)
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.13/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 ¶
func (m *ItemMembershipsWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemMembershipsWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemMembershipsWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemMembershipsItemWithUsernamePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemMembershipsWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *ItemMembershipsWithUsernameItemRequestBuilder
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 ¶
func NewItemMigrationsItemArchiveRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsItemArchiveRequestBuilder
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 ¶
func (m *ItemMigrationsItemArchiveRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemMigrationsItemArchiveRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemMigrationsItemArchiveRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a previous migration archive. Migration archives are automatically deleted after seven days. returns a *RequestInformation when successful
func (*ItemMigrationsItemArchiveRequestBuilder) ToGetRequestInformation ¶
func (m *ItemMigrationsItemArchiveRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation fetches the URL to a migration archive. returns a *RequestInformation when successful
func (*ItemMigrationsItemArchiveRequestBuilder) WithUrl ¶
func (m *ItemMigrationsItemArchiveRequestBuilder) WithUrl(rawUrl string) *ItemMigrationsItemArchiveRequestBuilder
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 ¶
func NewItemMigrationsItemReposItemLockRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsItemReposItemLockRequestBuilder
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 ¶
func (m *ItemMigrationsItemReposItemLockRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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.13/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 ¶
func (m *ItemMigrationsItemReposItemLockRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemMigrationsItemReposItemLockRequestBuilder) WithUrl(rawUrl string) *ItemMigrationsItemReposItemLockRequestBuilder
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 ¶
func NewItemMigrationsItemReposRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsItemReposRequestBuilder
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 ¶
func (m *ItemMigrationsItemReposRequestBuilder) ByRepo_name(repo_name string) *ItemMigrationsItemReposWithRepo_nameItemRequestBuilder
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 ¶
func (m *ItemMigrationsItemReposWithRepo_nameItemRequestBuilder) Lock() *ItemMigrationsItemReposItemLockRequestBuilder
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 ¶
func NewItemMigrationsItemRepositoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsItemRepositoriesRequestBuilder
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 ¶
func (m *ItemMigrationsItemRepositoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemMigrationsItemRepositoriesRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable, error)
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 ¶
func (m *ItemMigrationsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemMigrationsItemRepositoriesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list all the repositories for this organization migration. returns a *RequestInformation when successful
func (*ItemMigrationsItemRepositoriesRequestBuilder) WithUrl ¶
func (m *ItemMigrationsItemRepositoriesRequestBuilder) WithUrl(rawUrl string) *ItemMigrationsItemRepositoriesRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func (m *ItemMigrationsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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 ¶
func (m *ItemMigrationsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
type ItemMigrationsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemMigrationsRequestBuilder builds and executes requests for operations under \orgs\{org}\migrations
func NewItemMigrationsRequestBuilder ¶
func NewItemMigrationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsRequestBuilder
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 ¶
func (m *ItemMigrationsRequestBuilder) ByMigration_id(migration_id int32) *ItemMigrationsWithMigration_ItemRequestBuilder
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 ¶
func (m *ItemMigrationsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemMigrationsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Migrationable, error)
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 ¶
func (m *ItemMigrationsRequestBuilder) Post(ctx context.Context, body ItemMigrationsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Migrationable, error)
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.13/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 ¶
func (m *ItemMigrationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemMigrationsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemMigrationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemMigrationsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemMigrationsRequestBuilder) WithUrl(rawUrl string) *ItemMigrationsRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func NewItemMigrationsWithMigration_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsWithMigration_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 ¶
func (m *ItemMigrationsWithMigration_ItemRequestBuilder) Archive() *ItemMigrationsItemArchiveRequestBuilder
Archive the archive property returns a *ItemMigrationsItemArchiveRequestBuilder when successful
func (*ItemMigrationsWithMigration_ItemRequestBuilder) Get ¶
func (m *ItemMigrationsWithMigration_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemMigrationsWithMigration_ItemRequestBuilderGetQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Migrationable, error)
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 ¶
func (m *ItemMigrationsWithMigration_ItemRequestBuilder) Repos() *ItemMigrationsItemReposRequestBuilder
Repos the repos property returns a *ItemMigrationsItemReposRequestBuilder when successful
func (*ItemMigrationsWithMigration_ItemRequestBuilder) Repositories ¶
func (m *ItemMigrationsWithMigration_ItemRequestBuilder) Repositories() *ItemMigrationsItemRepositoriesRequestBuilder
Repositories the repositories property returns a *ItemMigrationsItemRepositoriesRequestBuilder when successful
func (*ItemMigrationsWithMigration_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemMigrationsWithMigration_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemMigrationsWithMigration_ItemRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemMigrationsWithMigration_ItemRequestBuilder) WithUrl(rawUrl string) *ItemMigrationsWithMigration_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *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 ¶
func (m *ItemOutside_collaboratorsItemWithUsername422Error) Error() string
Error the primary error message. returns a string when successful
func (*ItemOutside_collaboratorsItemWithUsername422Error) GetAdditionalData ¶
func (m *ItemOutside_collaboratorsItemWithUsername422Error) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data 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 ¶
func (m *ItemOutside_collaboratorsItemWithUsername422Error) GetDocumentationUrl() *string
GetDocumentationUrl gets the documentation_url property value. The documentation_url property returns a *string when successful
func (*ItemOutside_collaboratorsItemWithUsername422Error) GetFieldDeserializers ¶
func (m *ItemOutside_collaboratorsItemWithUsername422Error) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemOutside_collaboratorsItemWithUsername422Error) GetMessage ¶
func (m *ItemOutside_collaboratorsItemWithUsername422Error) GetMessage() *string
GetMessage gets the message property value. The message property returns a *string when successful
func (*ItemOutside_collaboratorsItemWithUsername422Error) Serialize ¶
func (m *ItemOutside_collaboratorsItemWithUsername422Error) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemOutside_collaboratorsItemWithUsername422Error) SetMessage(value *string)
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 ¶
func (m *ItemOutside_collaboratorsItemWithUsernamePutRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data 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 ¶
func (m *ItemOutside_collaboratorsItemWithUsernamePutRequestBody) GetAsync() *bool
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 ¶
func (m *ItemOutside_collaboratorsItemWithUsernamePutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemOutside_collaboratorsItemWithUsernamePutRequestBody) Serialize ¶
func (m *ItemOutside_collaboratorsItemWithUsernamePutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemOutside_collaboratorsItemWithUsernamePutRequestBody) SetAsync(value *bool)
SetAsync sets the async property value. When set to `true`, the request will be performed asynchronously. Returns a 202 status code when the job is successfully queued.
type ItemOutside_collaboratorsItemWithUsernamePutRequestBodyable ¶
type ItemOutside_collaboratorsItemWithUsernamePutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAsync() *bool SetAsync(value *bool) }
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 ¶
func (m *ItemOutside_collaboratorsItemWithUsernamePutResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemOutside_collaboratorsItemWithUsernamePutResponse) Serialize ¶
func (m *ItemOutside_collaboratorsItemWithUsernamePutResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
type ItemOutside_collaboratorsItemWithUsernamePutResponseable ¶
type ItemOutside_collaboratorsItemWithUsernamePutResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
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 ¶
func NewItemOutside_collaboratorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOutside_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 ¶
func (m *ItemOutside_collaboratorsRequestBuilder) ByUsername(username string) *ItemOutside_collaboratorsWithUsernameItemRequestBuilder
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 ¶
func (m *ItemOutside_collaboratorsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemOutside_collaboratorsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SimpleUserable, error)
Get list all users who are outside collaborators of an organization. returns a []SimpleUserable when successful API method documentation
func (*ItemOutside_collaboratorsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemOutside_collaboratorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemOutside_collaboratorsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list all users who are outside collaborators of an organization. returns a *RequestInformation when successful
func (*ItemOutside_collaboratorsRequestBuilder) WithUrl ¶
func (m *ItemOutside_collaboratorsRequestBuilder) WithUrl(rawUrl string) *ItemOutside_collaboratorsRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func (m *ItemOutside_collaboratorsWithUsernameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemOutside_collaboratorsWithUsernameItemRequestBuilder) Put(ctx context.Context, body ItemOutside_collaboratorsItemWithUsernamePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemOutside_collaboratorsItemWithUsernamePutResponseable, error)
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.13/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.13/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 ¶
func (m *ItemOutside_collaboratorsWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemOutside_collaboratorsWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemOutside_collaboratorsItemWithUsernamePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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.13/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 ¶
func (m *ItemOutside_collaboratorsWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *ItemOutside_collaboratorsWithUsernameItemRequestBuilder
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 ¶
func NewItemPackagesItemItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemRestoreRequestBuilder
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 ¶
func (m *ItemPackagesItemItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPackagesItemItemRestoreRequestBuilderPostQueryParameters]) error
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.13/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.13/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 ¶
func (m *ItemPackagesItemItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPackagesItemItemRestoreRequestBuilderPostQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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.13/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful
func (*ItemPackagesItemItemRestoreRequestBuilder) WithUrl ¶
func (m *ItemPackagesItemItemRestoreRequestBuilder) WithUrl(rawUrl string) *ItemPackagesItemItemRestoreRequestBuilder
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.13/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.13/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 ¶
func (m *ItemPackagesItemItemVersionsItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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.13/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.13/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 ¶
func (m *ItemPackagesItemItemVersionsItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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.13/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful
func (*ItemPackagesItemItemVersionsItemRestoreRequestBuilder) WithUrl ¶
func (m *ItemPackagesItemItemVersionsItemRestoreRequestBuilder) WithUrl(rawUrl string) *ItemPackagesItemItemVersionsItemRestoreRequestBuilder
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 ¶
func NewItemPackagesItemItemVersionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsRequestBuilder
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 ¶
func (m *ItemPackagesItemItemVersionsRequestBuilder) ByPackage_version_id(package_version_id int32) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
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 ¶
func (m *ItemPackagesItemItemVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPackagesItemItemVersionsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PackageVersionable, error)
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.13/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 ¶
func (m *ItemPackagesItemItemVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPackagesItemItemVersionsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful
func (*ItemPackagesItemItemVersionsRequestBuilder) WithUrl ¶
func (m *ItemPackagesItemItemVersionsRequestBuilder) WithUrl(rawUrl string) *ItemPackagesItemItemVersionsRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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.13/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 ¶
func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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.13/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.13/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 ¶
func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PackageVersionable, error)
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.13/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 ¶
func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Restore() *ItemPackagesItemItemVersionsItemRestoreRequestBuilder
Restore the restore property returns a *ItemPackagesItemItemVersionsItemRestoreRequestBuilder when successful
func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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.13/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful
func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful
func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) WithUrl ¶
func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) WithUrl(rawUrl string) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *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 ¶
func NewItemPackagesItemWithPackage_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemWithPackage_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 ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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.13/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.13/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 ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PackageEscapedable, error)
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.13/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 ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) Restore() *ItemPackagesItemItemRestoreRequestBuilder
Restore the restore property returns a *ItemPackagesItemItemRestoreRequestBuilder when successful
func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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.13/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful
func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful
func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Versions ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) Versions() *ItemPackagesItemItemVersionsRequestBuilder
Versions the versions property returns a *ItemPackagesItemItemVersionsRequestBuilder when successful
func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) WithUrl ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) WithUrl(rawUrl string) *ItemPackagesItemWithPackage_nameItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemPackagesItemWithPackage_nameItemRequestBuilder when successful
type ItemPackagesRequestBuilder ¶
type ItemPackagesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemPackagesRequestBuilder builds and executes requests for operations under \orgs\{org}\packages
func NewItemPackagesRequestBuilder ¶
func NewItemPackagesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesRequestBuilder
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 ¶
func (m *ItemPackagesRequestBuilder) ByPackage_type(package_type string) *ItemPackagesWithPackage_typeItemRequestBuilder
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 ¶
func (m *ItemPackagesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPackagesRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.PackageEscapedable, error)
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.13/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 ¶
func (m *ItemPackagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPackagesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." returns a *RequestInformation when successful
func (*ItemPackagesRequestBuilder) WithUrl ¶
func (m *ItemPackagesRequestBuilder) WithUrl(rawUrl string) *ItemPackagesRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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.13/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.13/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 ¶
func NewItemPackagesWithPackage_typeItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesWithPackage_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 ¶
func (m *ItemPackagesWithPackage_typeItemRequestBuilder) ByPackage_name(package_name string) *ItemPackagesItemWithPackage_nameItemRequestBuilder
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 ¶
func (m *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable, error)
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 ¶
func (m *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder) WithUrl(rawUrl string) *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func (m *ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data 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 ¶
func (m *ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) GetReason ¶
func (m *ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) GetReason() *string
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 ¶
func (m *ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) SetAdditionalData ¶
func (m *ItemPersonalAccessTokenRequestsItemWithPat_request_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.
func (*ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) SetReason ¶
func (m *ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) SetReason(value *string)
SetReason sets the reason property value. Reason for approving or denying the request. Max 1024 characters.
type ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBodyable ¶
type ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetReason() *string SetReason(value *string) }
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 ¶
func (m *ItemPersonalAccessTokenRequestsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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 ¶
func (m *ItemPersonalAccessTokenRequestsPostRequestBody) GetReason() *string
GetReason gets the reason property value. Reason for approving or denying the requests. Max 1024 characters. returns a *string when successful
func (*ItemPersonalAccessTokenRequestsPostRequestBody) Serialize ¶
func (m *ItemPersonalAccessTokenRequestsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemPersonalAccessTokenRequestsPostRequestBody) SetReason(value *string)
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 ¶
func (m *ItemPersonalAccessTokenRequestsPostResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemPersonalAccessTokenRequestsPostResponse) Serialize ¶
func (m *ItemPersonalAccessTokenRequestsPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ItemPersonalAccessTokenRequestsPostResponseable ¶
type ItemPersonalAccessTokenRequestsPostResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemPersonalAccessTokenRequestsRequestBuilder ¶
type ItemPersonalAccessTokenRequestsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemPersonalAccessTokenRequestsRequestBuilder builds and executes requests for operations under \orgs\{org}\personal-access-token-requests
func NewItemPersonalAccessTokenRequestsRequestBuilder ¶
func NewItemPersonalAccessTokenRequestsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokenRequestsRequestBuilder
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 ¶
func (m *ItemPersonalAccessTokenRequestsRequestBuilder) ByPat_request_id(pat_request_id int32) *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder
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 ¶
func (m *ItemPersonalAccessTokenRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPersonalAccessTokenRequestsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationProgrammaticAccessGrantRequestable, error)
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 ¶
func (m *ItemPersonalAccessTokenRequestsRequestBuilder) Post(ctx context.Context, body ItemPersonalAccessTokenRequestsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemPersonalAccessTokenRequestsPostResponseable, error)
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 ¶
func (m *ItemPersonalAccessTokenRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPersonalAccessTokenRequestsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemPersonalAccessTokenRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemPersonalAccessTokenRequestsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemPersonalAccessTokenRequestsRequestBuilder) WithUrl(rawUrl string) *ItemPersonalAccessTokenRequestsRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func (m *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder) Post(ctx context.Context, body ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder) Repositories() *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder
Repositories the repositories property returns a *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder when successful
func (*ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder) ToPostRequestInformation ¶
func (m *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder) WithUrl(rawUrl string) *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *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 ¶
func (m *ItemPersonalAccessTokensItemRepositoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPersonalAccessTokensItemRepositoriesRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable, error)
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 ¶
func (m *ItemPersonalAccessTokensItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPersonalAccessTokensItemRepositoriesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemPersonalAccessTokensItemRepositoriesRequestBuilder) WithUrl(rawUrl string) *ItemPersonalAccessTokensItemRepositoriesRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func (m *ItemPersonalAccessTokensItemWithPat_PostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data 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 ¶
func (m *ItemPersonalAccessTokensItemWithPat_PostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemPersonalAccessTokensItemWithPat_PostRequestBody) Serialize ¶
func (m *ItemPersonalAccessTokensItemWithPat_PostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ItemPersonalAccessTokensItemWithPat_PostRequestBodyable ¶
type ItemPersonalAccessTokensItemWithPat_PostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
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 ¶
func (m *ItemPersonalAccessTokensPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemPersonalAccessTokensPostRequestBody) GetPatIds ¶
func (m *ItemPersonalAccessTokensPostRequestBody) GetPatIds() []int32
GetPatIds gets the pat_ids property value. The IDs of the fine-grained personal access tokens. returns a []int32 when successful
func (*ItemPersonalAccessTokensPostRequestBody) Serialize ¶
func (m *ItemPersonalAccessTokensPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemPersonalAccessTokensPostRequestBody) SetAdditionalData ¶
func (m *ItemPersonalAccessTokensPostRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemPersonalAccessTokensPostRequestBody) SetPatIds ¶
func (m *ItemPersonalAccessTokensPostRequestBody) SetPatIds(value []int32)
SetPatIds sets the pat_ids property value. The IDs of the fine-grained personal access tokens.
type ItemPersonalAccessTokensPostRequestBodyable ¶
type ItemPersonalAccessTokensPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetPatIds() []int32 SetPatIds(value []int32) }
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 ¶
func (m *ItemPersonalAccessTokensPostResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemPersonalAccessTokensPostResponse) Serialize ¶
func (m *ItemPersonalAccessTokensPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ItemPersonalAccessTokensPostResponseable ¶
type ItemPersonalAccessTokensPostResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemPersonalAccessTokensRequestBuilder ¶
type ItemPersonalAccessTokensRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemPersonalAccessTokensRequestBuilder builds and executes requests for operations under \orgs\{org}\personal-access-tokens
func NewItemPersonalAccessTokensRequestBuilder ¶
func NewItemPersonalAccessTokensRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokensRequestBuilder
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 ¶
func (m *ItemPersonalAccessTokensRequestBuilder) ByPat_id(pat_id int32) *ItemPersonalAccessTokensWithPat_ItemRequestBuilder
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 ¶
func (m *ItemPersonalAccessTokensRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPersonalAccessTokensRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationProgrammaticAccessGrantable, error)
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 ¶
func (m *ItemPersonalAccessTokensRequestBuilder) Post(ctx context.Context, body ItemPersonalAccessTokensPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemPersonalAccessTokensPostResponseable, error)
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 ¶
func (m *ItemPersonalAccessTokensRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPersonalAccessTokensRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemPersonalAccessTokensRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemPersonalAccessTokensPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemPersonalAccessTokensRequestBuilder) WithUrl(rawUrl string) *ItemPersonalAccessTokensRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func NewItemPersonalAccessTokensWithPat_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokensWithPat_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 ¶
func (m *ItemPersonalAccessTokensWithPat_ItemRequestBuilder) Post(ctx context.Context, body ItemPersonalAccessTokensItemWithPat_PostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemPersonalAccessTokensWithPat_ItemRequestBuilder) Repositories() *ItemPersonalAccessTokensItemRepositoriesRequestBuilder
Repositories the repositories property returns a *ItemPersonalAccessTokensItemRepositoriesRequestBuilder when successful
func (*ItemPersonalAccessTokensWithPat_ItemRequestBuilder) ToPostRequestInformation ¶
func (m *ItemPersonalAccessTokensWithPat_ItemRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemPersonalAccessTokensItemWithPat_PostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemPersonalAccessTokensWithPat_ItemRequestBuilder) WithUrl(rawUrl string) *ItemPersonalAccessTokensWithPat_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *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 ¶
func (m *ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*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 ¶
func (m *ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetEnforcement() *string
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 ¶
func (m *ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) Serialize ¶
func (m *ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetAdditionalData ¶
func (m *ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
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 ¶
func (m *ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBody) SetEnforcement(value *string)
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 ¶
type ItemPreReceiveHooksRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemPreReceiveHooksRequestBuilder builds and executes requests for operations under \orgs\{org}\pre-receive-hooks
func NewItemPreReceiveHooksRequestBuilder ¶
func NewItemPreReceiveHooksRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPreReceiveHooksRequestBuilder
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 ¶
func (m *ItemPreReceiveHooksRequestBuilder) ByPre_receive_hook_id(pre_receive_hook_id int32) *ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder
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 ¶
func (m *ItemPreReceiveHooksRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPreReceiveHooksRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrgPreReceiveHookable, error)
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 ¶
func (m *ItemPreReceiveHooksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPreReceiveHooksRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemPreReceiveHooksRequestBuilder) WithUrl(rawUrl string) *ItemPreReceiveHooksRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func (m *ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrgPreReceiveHookable, error)
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) Get ¶
func (m *ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrgPreReceiveHookable, error)
Get get a pre-receive hook for an organization returns a OrgPreReceiveHookable when successful API method documentation
func (*ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Patch ¶
func (m *ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) Patch(ctx context.Context, body ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrgPreReceiveHookable, error)
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 ¶
func (m *ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation removes any overrides for this hook at the org level for this org. returns a *RequestInformation when successful
func (*ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
returns a *RequestInformation when successful
func (*ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemPreReceiveHooksItemWithPre_receive_hook_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder) WithUrl(rawUrl string) *ItemPreReceiveHooksWithPre_receive_hook_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *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 ¶
func (m *ItemProjectsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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 ¶
func (m *ItemProjectsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemProjectsPostRequestBody) SetAdditionalData ¶
func (m *ItemProjectsPostRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemProjectsPostRequestBody) SetBody ¶
func (m *ItemProjectsPostRequestBody) SetBody(value *string)
SetBody sets the body property value. The description of the project.
func (*ItemProjectsPostRequestBody) SetName ¶
func (m *ItemProjectsPostRequestBody) SetName(value *string)
SetName sets the name property value. The name of the project.
type ItemProjectsPostRequestBodyable ¶
type ItemProjectsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBody() *string GetName() *string SetBody(value *string) SetName(value *string) }
type ItemProjectsRequestBuilder ¶
type ItemProjectsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemProjectsRequestBuilder builds and executes requests for operations under \orgs\{org}\projects
func NewItemProjectsRequestBuilder ¶
func NewItemProjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemProjectsRequestBuilder
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 ¶
func (m *ItemProjectsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemProjectsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Projectable, error)
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 ¶
func (m *ItemProjectsRequestBuilder) Post(ctx context.Context, body ItemProjectsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Projectable, error)
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 ¶
func (m *ItemProjectsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemProjectsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemProjectsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemProjectsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemProjectsRequestBuilder) WithUrl(rawUrl string) *ItemProjectsRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ItemPropertiesRequestBuilder ¶
type ItemPropertiesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemPropertiesRequestBuilder builds and executes requests for operations under \orgs\{org}\properties
func NewItemPropertiesRequestBuilder ¶
func NewItemPropertiesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPropertiesRequestBuilder
NewItemPropertiesRequestBuilder instantiates a new ItemPropertiesRequestBuilder and sets the default values.
func NewItemPropertiesRequestBuilderInternal ¶
func NewItemPropertiesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPropertiesRequestBuilder
NewItemPropertiesRequestBuilderInternal instantiates a new ItemPropertiesRequestBuilder and sets the default values.
func (*ItemPropertiesRequestBuilder) Schema ¶
func (m *ItemPropertiesRequestBuilder) Schema() *ItemPropertiesSchemaRequestBuilder
Schema the schema property returns a *ItemPropertiesSchemaRequestBuilder when successful
func (*ItemPropertiesRequestBuilder) Values ¶
func (m *ItemPropertiesRequestBuilder) Values() *ItemPropertiesValuesRequestBuilder
Values the values property returns a *ItemPropertiesValuesRequestBuilder when successful
type ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody ¶
type ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody struct {
// contains filtered or unexported fields
}
func NewItemPropertiesSchemaItemWithCustom_property_namePutRequestBody ¶
func NewItemPropertiesSchemaItemWithCustom_property_namePutRequestBody() *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody
NewItemPropertiesSchemaItemWithCustom_property_namePutRequestBody instantiates a new ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody and sets the default values.
func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetAdditionalData ¶
func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetAllowedValues ¶
func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetAllowedValues() []string
GetAllowedValues gets the allowed_values property value. An ordered list of the allowed values of the property.The property can have up to 200 allowed values. returns a []string when successful
func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetDefaultValue ¶
func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetDefaultValue() ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_valueable
GetDefaultValue gets the default_value property value. Default value of the property returns a ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_valueable when successful
func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetDescription ¶
func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetDescription() *string
GetDescription gets the description property value. Short description of the property returns a *string when successful
func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetFieldDeserializers ¶
func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetRequired ¶
func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetRequired() *bool
GetRequired gets the required property value. Whether the property is required. returns a *bool when successful
func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) Serialize ¶
func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) SetAdditionalData ¶
func (m *ItemPropertiesSchemaItemWithCustom_property_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 (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) SetAllowedValues ¶
func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) SetAllowedValues(value []string)
SetAllowedValues sets the allowed_values property value. An ordered list of the allowed values of the property.The property can have up to 200 allowed values.
func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) SetDefaultValue ¶
func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) SetDefaultValue(value ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_valueable)
SetDefaultValue sets the default_value property value. Default value of the property
func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) SetDescription ¶
func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) SetDescription(value *string)
SetDescription sets the description property value. Short description of the property
func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) SetRequired ¶
func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) SetRequired(value *bool)
SetRequired sets the required property value. Whether the property is required.
type ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value ¶
type ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value struct {
// contains filtered or unexported fields
}
ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value composed type wrapper for classes string
func NewItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value ¶
func NewItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value() *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value
NewItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value instantiates a new ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value and sets the default values.
func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value) GetFieldDeserializers ¶
func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value) GetIsComposedType ¶
func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type returns a bool when successful
func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value) GetString ¶
func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value) GetString() *string
GetString gets the string property value. Composed type representation for type string returns a *string when successful
func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value) Serialize ¶
func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value) SetString ¶
func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_value) SetString(value *string)
SetString sets the string property value. Composed type representation for type string
type ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_valueable ¶
type ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_valueable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetString() *string SetString(value *string) }
type ItemPropertiesSchemaItemWithCustom_property_namePutRequestBodyable ¶
type ItemPropertiesSchemaItemWithCustom_property_namePutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAllowedValues() []string GetDefaultValue() ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_valueable GetDescription() *string GetRequired() *bool SetAllowedValues(value []string) SetDefaultValue(value ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody_WithCustom_property_namePutRequestBody_default_valueable) SetDescription(value *string) SetRequired(value *bool) }
type ItemPropertiesSchemaPatchRequestBody ¶
type ItemPropertiesSchemaPatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemPropertiesSchemaPatchRequestBody ¶
func NewItemPropertiesSchemaPatchRequestBody() *ItemPropertiesSchemaPatchRequestBody
NewItemPropertiesSchemaPatchRequestBody instantiates a new ItemPropertiesSchemaPatchRequestBody and sets the default values.
func (*ItemPropertiesSchemaPatchRequestBody) GetAdditionalData ¶
func (m *ItemPropertiesSchemaPatchRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemPropertiesSchemaPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemPropertiesSchemaPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemPropertiesSchemaPatchRequestBody) GetProperties ¶
func (m *ItemPropertiesSchemaPatchRequestBody) GetProperties() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CustomPropertyable
GetProperties gets the properties property value. The array of custom properties to create or update. returns a []CustomPropertyable when successful
func (*ItemPropertiesSchemaPatchRequestBody) Serialize ¶
func (m *ItemPropertiesSchemaPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemPropertiesSchemaPatchRequestBody) SetAdditionalData ¶
func (m *ItemPropertiesSchemaPatchRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemPropertiesSchemaPatchRequestBody) SetProperties ¶
func (m *ItemPropertiesSchemaPatchRequestBody) SetProperties(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CustomPropertyable)
SetProperties sets the properties property value. The array of custom properties to create or update.
type ItemPropertiesSchemaPatchRequestBodyable ¶
type ItemPropertiesSchemaPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetProperties() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CustomPropertyable SetProperties(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CustomPropertyable) }
type ItemPropertiesSchemaRequestBuilder ¶
type ItemPropertiesSchemaRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemPropertiesSchemaRequestBuilder builds and executes requests for operations under \orgs\{org}\properties\schema
func NewItemPropertiesSchemaRequestBuilder ¶
func NewItemPropertiesSchemaRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPropertiesSchemaRequestBuilder
NewItemPropertiesSchemaRequestBuilder instantiates a new ItemPropertiesSchemaRequestBuilder and sets the default values.
func NewItemPropertiesSchemaRequestBuilderInternal ¶
func NewItemPropertiesSchemaRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPropertiesSchemaRequestBuilder
NewItemPropertiesSchemaRequestBuilderInternal instantiates a new ItemPropertiesSchemaRequestBuilder and sets the default values.
func (*ItemPropertiesSchemaRequestBuilder) ByCustom_property_name ¶
func (m *ItemPropertiesSchemaRequestBuilder) ByCustom_property_name(custom_property_name string) *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder
ByCustom_property_name gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.properties.schema.item collection returns a *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder when successful
func (*ItemPropertiesSchemaRequestBuilder) Get ¶
func (m *ItemPropertiesSchemaRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CustomPropertyable, error)
Get gets all custom properties defined for an organization.Organization members can read these properties. returns a []CustomPropertyable when successful returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemPropertiesSchemaRequestBuilder) Patch ¶
func (m *ItemPropertiesSchemaRequestBuilder) Patch(ctx context.Context, body ItemPropertiesSchemaPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CustomPropertyable, error)
Patch creates new or updates existing custom properties defined for an organization in a batch.To use this endpoint, the authenticated user must be one of: - An administrator for the organization. - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. returns a []CustomPropertyable when successful returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemPropertiesSchemaRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPropertiesSchemaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets all custom properties defined for an organization.Organization members can read these properties. returns a *RequestInformation when successful
func (*ItemPropertiesSchemaRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemPropertiesSchemaRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemPropertiesSchemaPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation creates new or updates existing custom properties defined for an organization in a batch.To use this endpoint, the authenticated user must be one of: - An administrator for the organization. - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. returns a *RequestInformation when successful
func (*ItemPropertiesSchemaRequestBuilder) WithUrl ¶
func (m *ItemPropertiesSchemaRequestBuilder) WithUrl(rawUrl string) *ItemPropertiesSchemaRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemPropertiesSchemaRequestBuilder when successful
type ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder ¶
type ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\properties\schema\{custom_property_name}
func NewItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder ¶
func NewItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder
NewItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder instantiates a new ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder and sets the default values.
func NewItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderInternal ¶
func NewItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder
NewItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderInternal instantiates a new ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder and sets the default values.
func (*ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) Delete ¶
func (m *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete removes a custom property that is defined for an organization.To use this endpoint, the authenticated user must be one of: - An administrator for the organization. - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) Get ¶
func (m *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CustomPropertyable, error)
Get gets a custom property that is defined for an organization.Organization members can read these properties. returns a CustomPropertyable when successful returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) Put ¶
func (m *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) Put(ctx context.Context, body ItemPropertiesSchemaItemWithCustom_property_namePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CustomPropertyable, error)
Put creates a new or updates an existing custom property that is defined for an organization.To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. returns a CustomPropertyable when successful returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation removes a custom property that is defined for an organization.To use this endpoint, the authenticated user must be one of: - An administrator for the organization. - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. returns a *RequestInformation when successful
func (*ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a custom property that is defined for an organization.Organization members can read these properties. returns a *RequestInformation when successful
func (*ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemPropertiesSchemaItemWithCustom_property_namePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation creates a new or updates an existing custom property that is defined for an organization.To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permission of `custom_properties_org_definitions_manager` in the organization. returns a *RequestInformation when successful
func (*ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) WithUrl ¶
func (m *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) WithUrl(rawUrl string) *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder when successful
type ItemPropertiesValuesPatchRequestBody ¶
type ItemPropertiesValuesPatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemPropertiesValuesPatchRequestBody ¶
func NewItemPropertiesValuesPatchRequestBody() *ItemPropertiesValuesPatchRequestBody
NewItemPropertiesValuesPatchRequestBody instantiates a new ItemPropertiesValuesPatchRequestBody and sets the default values.
func (*ItemPropertiesValuesPatchRequestBody) GetAdditionalData ¶
func (m *ItemPropertiesValuesPatchRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemPropertiesValuesPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemPropertiesValuesPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemPropertiesValuesPatchRequestBody) GetProperties ¶
func (m *ItemPropertiesValuesPatchRequestBody) GetProperties() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CustomPropertyValueable
GetProperties gets the properties property value. List of custom property names and associated values to apply to the repositories. returns a []CustomPropertyValueable when successful
func (*ItemPropertiesValuesPatchRequestBody) GetRepositoryNames ¶
func (m *ItemPropertiesValuesPatchRequestBody) GetRepositoryNames() []string
GetRepositoryNames gets the repository_names property value. The names of repositories that the custom property values will be applied to. returns a []string when successful
func (*ItemPropertiesValuesPatchRequestBody) Serialize ¶
func (m *ItemPropertiesValuesPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemPropertiesValuesPatchRequestBody) SetAdditionalData ¶
func (m *ItemPropertiesValuesPatchRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemPropertiesValuesPatchRequestBody) SetProperties ¶
func (m *ItemPropertiesValuesPatchRequestBody) SetProperties(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CustomPropertyValueable)
SetProperties sets the properties property value. List of custom property names and associated values to apply to the repositories.
func (*ItemPropertiesValuesPatchRequestBody) SetRepositoryNames ¶
func (m *ItemPropertiesValuesPatchRequestBody) SetRepositoryNames(value []string)
SetRepositoryNames sets the repository_names property value. The names of repositories that the custom property values will be applied to.
type ItemPropertiesValuesPatchRequestBodyable ¶
type ItemPropertiesValuesPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetProperties() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CustomPropertyValueable GetRepositoryNames() []string SetProperties(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CustomPropertyValueable) SetRepositoryNames(value []string) }
type ItemPropertiesValuesRequestBuilder ¶
type ItemPropertiesValuesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemPropertiesValuesRequestBuilder builds and executes requests for operations under \orgs\{org}\properties\values
func NewItemPropertiesValuesRequestBuilder ¶
func NewItemPropertiesValuesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPropertiesValuesRequestBuilder
NewItemPropertiesValuesRequestBuilder instantiates a new ItemPropertiesValuesRequestBuilder and sets the default values.
func NewItemPropertiesValuesRequestBuilderInternal ¶
func NewItemPropertiesValuesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPropertiesValuesRequestBuilder
NewItemPropertiesValuesRequestBuilderInternal instantiates a new ItemPropertiesValuesRequestBuilder and sets the default values.
func (*ItemPropertiesValuesRequestBuilder) Get ¶
func (m *ItemPropertiesValuesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPropertiesValuesRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrgRepoCustomPropertyValuesable, error)
Get lists organization repositories with all of their custom property values.Organization members can read these properties. returns a []OrgRepoCustomPropertyValuesable when successful returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code API method documentation
func (*ItemPropertiesValuesRequestBuilder) Patch ¶
func (m *ItemPropertiesValuesRequestBuilder) Patch(ctx context.Context, body ItemPropertiesValuesPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Patch create new or update existing custom property values for repositories in a batch that belong to an organization.Each target repository will have its custom property values updated to match the values provided in the request.A maximum of 30 repositories can be updated in a single request.Using a value of `null` for a custom property will remove or 'unset' the property value from the repository.To use this endpoint, the authenticated user must be one of: - An administrator for the organization. - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_values_editor` in the organization. returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationError error when the service returns a 422 status code API method documentation
func (*ItemPropertiesValuesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPropertiesValuesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPropertiesValuesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists organization repositories with all of their custom property values.Organization members can read these properties. returns a *RequestInformation when successful
func (*ItemPropertiesValuesRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemPropertiesValuesRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemPropertiesValuesPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation create new or update existing custom property values for repositories in a batch that belong to an organization.Each target repository will have its custom property values updated to match the values provided in the request.A maximum of 30 repositories can be updated in a single request.Using a value of `null` for a custom property will remove or 'unset' the property value from the repository.To use this endpoint, the authenticated user must be one of: - An administrator for the organization. - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_values_editor` in the organization. returns a *RequestInformation when successful
func (*ItemPropertiesValuesRequestBuilder) WithUrl ¶
func (m *ItemPropertiesValuesRequestBuilder) WithUrl(rawUrl string) *ItemPropertiesValuesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemPropertiesValuesRequestBuilder when successful
type ItemPropertiesValuesRequestBuilderGetQueryParameters ¶
type ItemPropertiesValuesRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // Finds repositories in the organization with a query containing one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub Enterprise Server. The REST API supports the same qualifiers as the web interface for GitHub Enterprise Server. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/enterprise-server@3.13/rest/search/search#constructing-a-search-query). See "[Searching for repositories](https://docs.github.com/enterprise-server@3.13/articles/searching-for-repositories/)" for a detailed list of qualifiers. Repository_query *string `uriparametername:"repository_query"` }
ItemPropertiesValuesRequestBuilderGetQueryParameters lists organization repositories with all of their custom property values.Organization members can read these properties.
type ItemPublic_membersRequestBuilder ¶
type ItemPublic_membersRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemPublic_membersRequestBuilder builds and executes requests for operations under \orgs\{org}\public_members
func NewItemPublic_membersRequestBuilder ¶
func NewItemPublic_membersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPublic_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 ¶
func (m *ItemPublic_membersRequestBuilder) ByUsername(username string) *ItemPublic_membersWithUsernameItemRequestBuilder
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 ¶
func (m *ItemPublic_membersRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPublic_membersRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SimpleUserable, error)
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 ¶
func (m *ItemPublic_membersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemPublic_membersRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation members of an organization can choose to have their membership publicized or not. returns a *RequestInformation when successful
func (*ItemPublic_membersRequestBuilder) WithUrl ¶
func (m *ItemPublic_membersRequestBuilder) WithUrl(rawUrl string) *ItemPublic_membersRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func NewItemPublic_membersWithUsernameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPublic_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 ¶
func (m *ItemPublic_membersWithUsernameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemPublic_membersWithUsernameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Get check if the provided user is a public member of the organization. API method documentation
func (*ItemPublic_membersWithUsernameItemRequestBuilder) Put ¶
func (m *ItemPublic_membersWithUsernameItemRequestBuilder) Put(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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.13/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 ¶
func (m *ItemPublic_membersWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemPublic_membersWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation check if the provided user is a public member of the organization. returns a *RequestInformation when successful
func (*ItemPublic_membersWithUsernameItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemPublic_membersWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/rest/guides/getting-started-with-the-rest-api#http-method)." returns a *RequestInformation when successful
func (*ItemPublic_membersWithUsernameItemRequestBuilder) WithUrl ¶
func (m *ItemPublic_membersWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *ItemPublic_membersWithUsernameItemRequestBuilder
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 ¶
func (m *ItemReposPostRequestBody) GetCustomProperties() ItemReposPostRequestBody_custom_propertiesable
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 ¶
func (m *ItemReposPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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.13/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 ¶
func (m *ItemReposPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemReposPostRequestBody) SetCustomProperties(value ItemReposPostRequestBody_custom_propertiesable)
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.13/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 ¶
func (m *ItemReposPostRequestBody_custom_properties) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemReposPostRequestBody_custom_properties) Serialize ¶
func (m *ItemReposPostRequestBody_custom_properties) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ItemReposPostRequestBody_custom_propertiesable ¶
type ItemReposPostRequestBody_custom_propertiesable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
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 ¶
type ItemReposRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemReposRequestBuilder builds and executes requests for operations under \orgs\{org}\repos
func NewItemReposRequestBuilder ¶
func NewItemReposRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemReposRequestBuilder
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 ¶
func (m *ItemReposRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemReposRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable, error)
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.13/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 ¶
func (m *ItemReposRequestBuilder) Post(ctx context.Context, body ItemReposPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.FullRepositoryable, error)
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 ¶
func (m *ItemReposRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemReposRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." returns a *RequestInformation when successful
func (*ItemReposRequestBuilder) ToPostRequestInformation ¶
func (m *ItemReposRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemReposPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemReposRequestBuilder) WithUrl(rawUrl string) *ItemReposRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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.13/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 ¶
func NewItemRepositoryFineGrainedPermissionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRepositoryFineGrainedPermissionsRequestBuilder
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 ¶
func (m *ItemRepositoryFineGrainedPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryFineGrainedPermissionable, error)
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.13/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 ¶
func (m *ItemRepositoryFineGrainedPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemRepositoryFineGrainedPermissionsRequestBuilder) WithUrl(rawUrl string) *ItemRepositoryFineGrainedPermissionsRequestBuilder
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 ¶
func (m *ItemRulesetsItemWithRuleset_PutRequestBody) GetBypassActors() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRulesetBypassActorable
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 ¶
func (m *ItemRulesetsItemWithRuleset_PutRequestBody) GetConditions() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrgRulesetConditionsable
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 ¶
func (m *ItemRulesetsItemWithRuleset_PutRequestBody) GetEnforcement() *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRuleEnforcement
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 ¶
func (m *ItemRulesetsItemWithRuleset_PutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetName ¶
func (m *ItemRulesetsItemWithRuleset_PutRequestBody) GetName() *string
GetName gets the name property value. The name of the ruleset. returns a *string when successful
func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetRules ¶
func (m *ItemRulesetsItemWithRuleset_PutRequestBody) GetRules() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRuleable
GetRules gets the rules property value. An array of rules within the ruleset. returns a []RepositoryRuleable when successful
func (*ItemRulesetsItemWithRuleset_PutRequestBody) Serialize ¶
func (m *ItemRulesetsItemWithRuleset_PutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemRulesetsItemWithRuleset_PutRequestBody) SetBypassActors(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRulesetBypassActorable)
SetBypassActors sets the bypass_actors property value. The actors that can bypass the rules in this ruleset
func (*ItemRulesetsItemWithRuleset_PutRequestBody) SetConditions ¶
func (m *ItemRulesetsItemWithRuleset_PutRequestBody) SetConditions(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrgRulesetConditionsable)
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 ¶
func (m *ItemRulesetsItemWithRuleset_PutRequestBody) SetEnforcement(value *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRuleEnforcement)
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 ¶
func (m *ItemRulesetsItemWithRuleset_PutRequestBody) SetName(value *string)
SetName sets the name property value. The name of the ruleset.
func (*ItemRulesetsItemWithRuleset_PutRequestBody) SetRules ¶
func (m *ItemRulesetsItemWithRuleset_PutRequestBody) SetRules(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRuleable)
SetRules sets the rules property value. An array of rules within the ruleset.
type ItemRulesetsItemWithRuleset_PutRequestBodyable ¶
type ItemRulesetsItemWithRuleset_PutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBypassActors() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRulesetBypassActorable GetConditions() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrgRulesetConditionsable GetEnforcement() *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRuleEnforcement GetName() *string GetRules() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRuleable SetBypassActors(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRulesetBypassActorable) SetConditions(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrgRulesetConditionsable) SetEnforcement(value *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRuleEnforcement) SetName(value *string) SetRules(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRuleable) }
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 ¶
func (m *ItemRulesetsPostRequestBody) GetBypassActors() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRulesetBypassActorable
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 ¶
func (m *ItemRulesetsPostRequestBody) GetConditions() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrgRulesetConditionsable
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 ¶
func (m *ItemRulesetsPostRequestBody) GetEnforcement() *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRuleEnforcement
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 ¶
func (m *ItemRulesetsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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 ¶
func (m *ItemRulesetsPostRequestBody) GetRules() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRuleable
GetRules gets the rules property value. An array of rules within the ruleset. returns a []RepositoryRuleable when successful
func (*ItemRulesetsPostRequestBody) Serialize ¶
func (m *ItemRulesetsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemRulesetsPostRequestBody) SetBypassActors(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRulesetBypassActorable)
SetBypassActors sets the bypass_actors property value. The actors that can bypass the rules in this ruleset
func (*ItemRulesetsPostRequestBody) SetConditions ¶
func (m *ItemRulesetsPostRequestBody) SetConditions(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrgRulesetConditionsable)
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 ¶
func (m *ItemRulesetsPostRequestBody) SetEnforcement(value *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRuleEnforcement)
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 ¶
func (m *ItemRulesetsPostRequestBody) SetRules(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRuleable)
SetRules sets the rules property value. An array of rules within the ruleset.
type ItemRulesetsPostRequestBodyable ¶
type ItemRulesetsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBypassActors() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRulesetBypassActorable GetConditions() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrgRulesetConditionsable GetEnforcement() *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRuleEnforcement GetName() *string GetRules() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRuleable SetBypassActors(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRulesetBypassActorable) SetConditions(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrgRulesetConditionsable) SetEnforcement(value *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRuleEnforcement) SetName(value *string) SetRules(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRuleable) }
type ItemRulesetsRequestBuilder ¶
type ItemRulesetsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemRulesetsRequestBuilder builds and executes requests for operations under \orgs\{org}\rulesets
func NewItemRulesetsRequestBuilder ¶
func NewItemRulesetsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRulesetsRequestBuilder
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 ¶
func (m *ItemRulesetsRequestBuilder) ByRuleset_id(ruleset_id int32) *ItemRulesetsWithRuleset_ItemRequestBuilder
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 ¶
func (m *ItemRulesetsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemRulesetsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRulesetable, error)
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 ¶
func (m *ItemRulesetsRequestBuilder) Post(ctx context.Context, body ItemRulesetsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRulesetable, error)
Post create a repository ruleset for an organization. returns a RepositoryRulesetable when successful returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation
func (*ItemRulesetsRequestBuilder) RuleSuites ¶
func (m *ItemRulesetsRequestBuilder) RuleSuites() *ItemRulesetsRuleSuitesRequestBuilder
RuleSuites the ruleSuites property returns a *ItemRulesetsRuleSuitesRequestBuilder when successful
func (*ItemRulesetsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemRulesetsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemRulesetsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation get all the repository rulesets for an organization. returns a *RequestInformation when successful
func (*ItemRulesetsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemRulesetsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemRulesetsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation create a repository ruleset for an organization. returns a *RequestInformation when successful
func (*ItemRulesetsRequestBuilder) WithUrl ¶
func (m *ItemRulesetsRequestBuilder) WithUrl(rawUrl string) *ItemRulesetsRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` }
ItemRulesetsRequestBuilderGetQueryParameters get all the repository rulesets for an organization.
type ItemRulesetsRuleSuitesRequestBuilder ¶
type ItemRulesetsRuleSuitesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemRulesetsRuleSuitesRequestBuilder builds and executes requests for operations under \orgs\{org}\rulesets\rule-suites
func NewItemRulesetsRuleSuitesRequestBuilder ¶
func NewItemRulesetsRuleSuitesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRulesetsRuleSuitesRequestBuilder
NewItemRulesetsRuleSuitesRequestBuilder instantiates a new ItemRulesetsRuleSuitesRequestBuilder and sets the default values.
func NewItemRulesetsRuleSuitesRequestBuilderInternal ¶
func NewItemRulesetsRuleSuitesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRulesetsRuleSuitesRequestBuilder
NewItemRulesetsRuleSuitesRequestBuilderInternal instantiates a new ItemRulesetsRuleSuitesRequestBuilder and sets the default values.
func (*ItemRulesetsRuleSuitesRequestBuilder) ByRule_suite_id ¶
func (m *ItemRulesetsRuleSuitesRequestBuilder) ByRule_suite_id(rule_suite_id int32) *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder
ByRule_suite_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.orgs.item.rulesets.ruleSuites.item collection returns a *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder when successful
func (*ItemRulesetsRuleSuitesRequestBuilder) Get ¶
func (m *ItemRulesetsRuleSuitesRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemRulesetsRuleSuitesRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RuleSuitesable, error)
Get lists suites of rule evaluations at the organization level.For more information, see "[Managing rulesets for repositories in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets)." returns a []RuleSuitesable when successful returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation
func (*ItemRulesetsRuleSuitesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemRulesetsRuleSuitesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemRulesetsRuleSuitesRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists suites of rule evaluations at the organization level.For more information, see "[Managing rulesets for repositories in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets)." returns a *RequestInformation when successful
func (*ItemRulesetsRuleSuitesRequestBuilder) WithUrl ¶
func (m *ItemRulesetsRuleSuitesRequestBuilder) WithUrl(rawUrl string) *ItemRulesetsRuleSuitesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemRulesetsRuleSuitesRequestBuilder when successful
type ItemRulesetsRuleSuitesRequestBuilderGetQueryParameters ¶
type ItemRulesetsRuleSuitesRequestBuilderGetQueryParameters struct { // The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. Actor_name *string `uriparametername:"actor_name"` // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Per_page *int32 `uriparametername:"per_page"` // The name of the ref. Cannot contain wildcard characters. When specified, only rule evaluations triggered for this ref will be returned. Ref *string `uriparametername:"ref"` // The name of the repository to filter on. When specified, only rule evaluations from this repository will be returned. Repository_name *int32 `uriparametername:"repository_name"` // The rule results to filter on. When specified, only suites with this result will be returned. Rule_suite_result *i31c30ddb6562bcb87dda14919ea43ceb1ab0722affb3dc558b9a6559aaa54f67.GetRule_suite_resultQueryParameterType `uriparametername:"rule_suite_result"` // The time period to filter by.For example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours). Time_period *i31c30ddb6562bcb87dda14919ea43ceb1ab0722affb3dc558b9a6559aaa54f67.GetTime_periodQueryParameterType `uriparametername:"time_period"` }
ItemRulesetsRuleSuitesRequestBuilderGetQueryParameters lists suites of rule evaluations at the organization level.For more information, see "[Managing rulesets for repositories in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets)."
type ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder ¶
type ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\rulesets\rule-suites\{rule_suite_id}
func NewItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder ¶
func NewItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder
NewItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder instantiates a new ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder and sets the default values.
func NewItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilderInternal ¶
func NewItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder
NewItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilderInternal instantiates a new ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder and sets the default values.
func (*ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder) Get ¶
func (m *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RuleSuiteable, error)
Get gets information about a suite of rule evaluations from within an organization.For more information, see "[Managing rulesets for repositories in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets)." returns a RuleSuiteable when successful returns a BasicError error when the service returns a 404 status code returns a BasicError error when the service returns a 500 status code API method documentation
func (*ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets information about a suite of rule evaluations from within an organization.For more information, see "[Managing rulesets for repositories in your organization](https://docs.github.com/enterprise-server@3.13/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets)." returns a *RequestInformation when successful
func (*ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder) WithUrl ¶
func (m *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder) WithUrl(rawUrl string) *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder when successful
type ItemRulesetsWithRuleset_ItemRequestBuilder ¶
type ItemRulesetsWithRuleset_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemRulesetsWithRuleset_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\rulesets\{ruleset_id}
func NewItemRulesetsWithRuleset_ItemRequestBuilder ¶
func NewItemRulesetsWithRuleset_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRulesetsWithRuleset_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 ¶
func (m *ItemRulesetsWithRuleset_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemRulesetsWithRuleset_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRulesetable, error)
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 ¶
func (m *ItemRulesetsWithRuleset_ItemRequestBuilder) Put(ctx context.Context, body ItemRulesetsItemWithRuleset_PutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RepositoryRulesetable, error)
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 ¶
func (m *ItemRulesetsWithRuleset_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation delete a ruleset for an organization. returns a *RequestInformation when successful
func (*ItemRulesetsWithRuleset_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemRulesetsWithRuleset_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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) ToPutRequestInformation ¶
func (m *ItemRulesetsWithRuleset_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemRulesetsItemWithRuleset_PutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation update a ruleset for an organization. returns a *RequestInformation when successful
func (*ItemRulesetsWithRuleset_ItemRequestBuilder) WithUrl ¶
func (m *ItemRulesetsWithRuleset_ItemRequestBuilder) WithUrl(rawUrl string) *ItemRulesetsWithRuleset_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *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 ¶
func NewItemSecretScanningAlertsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecretScanningAlertsRequestBuilder
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 ¶
func (m *ItemSecretScanningAlertsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemSecretScanningAlertsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationSecretScanningAlertable, error)
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 ¶
func (m *ItemSecretScanningAlertsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemSecretScanningAlertsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemSecretScanningAlertsRequestBuilder) WithUrl(rawUrl string) *ItemSecretScanningAlertsRequestBuilder
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.13/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.13/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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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.13/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"` // A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. Validity *string `uriparametername:"validity"` }
ItemSecretScanningAlertsRequestBuilderGetQueryParameters lists secret scanning alerts for eligible repositories in an organization, from newest to oldest.The authenticated user must be an administrator or security manager for the organization to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. If this endpoint is only used with public repositories, the token can use the `public_repo` scope instead.
type ItemSecretScanningRequestBuilder ¶
type ItemSecretScanningRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemSecretScanningRequestBuilder builds and executes requests for operations under \orgs\{org}\secret-scanning
func NewItemSecretScanningRequestBuilder ¶
func NewItemSecretScanningRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecretScanningRequestBuilder
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 ¶
func (m *ItemSecretScanningRequestBuilder) Alerts() *ItemSecretScanningAlertsRequestBuilder
Alerts the alerts property returns a *ItemSecretScanningAlertsRequestBuilder when successful
type ItemSecurityManagersRequestBuilder ¶
type ItemSecurityManagersRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemSecurityManagersRequestBuilder builds and executes requests for operations under \orgs\{org}\security-managers
func NewItemSecurityManagersRequestBuilder ¶
func NewItemSecurityManagersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecurityManagersRequestBuilder
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 ¶
func (m *ItemSecurityManagersRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.TeamSimpleable, error)
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.13/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 ¶
func (m *ItemSecurityManagersRequestBuilder) Teams() *ItemSecurityManagersTeamsRequestBuilder
Teams the teams property returns a *ItemSecurityManagersTeamsRequestBuilder when successful
func (*ItemSecurityManagersRequestBuilder) ToGetRequestInformation ¶
func (m *ItemSecurityManagersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemSecurityManagersRequestBuilder) WithUrl(rawUrl string) *ItemSecurityManagersRequestBuilder
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 ¶
func NewItemSecurityManagersTeamsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecurityManagersTeamsRequestBuilder
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 ¶
func (m *ItemSecurityManagersTeamsRequestBuilder) ByTeam_slug(team_slug string) *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder
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 ¶
func (m *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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.13/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 ¶
func (m *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) Put(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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.13/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 ¶
func (m *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) WithUrl(rawUrl string) *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder
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 ¶
func NewItemSettingsBillingAdvancedSecurityRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingAdvancedSecurityRequestBuilder
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 ¶
func (m *ItemSettingsBillingAdvancedSecurityRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemSettingsBillingAdvancedSecurityRequestBuilderGetQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.AdvancedSecurityActiveCommittersable, error)
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 API method documentation
func (*ItemSettingsBillingAdvancedSecurityRequestBuilder) ToGetRequestInformation ¶
func (m *ItemSettingsBillingAdvancedSecurityRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemSettingsBillingAdvancedSecurityRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemSettingsBillingAdvancedSecurityRequestBuilder) WithUrl(rawUrl string) *ItemSettingsBillingAdvancedSecurityRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
type ItemSettingsBillingRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemSettingsBillingRequestBuilder builds and executes requests for operations under \orgs\{org}\settings\billing
func NewItemSettingsBillingRequestBuilder ¶
func NewItemSettingsBillingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingRequestBuilder
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 ¶
func (m *ItemSettingsBillingRequestBuilder) AdvancedSecurity() *ItemSettingsBillingAdvancedSecurityRequestBuilder
AdvancedSecurity the advancedSecurity property returns a *ItemSettingsBillingAdvancedSecurityRequestBuilder when successful
type ItemSettingsRequestBuilder ¶
type ItemSettingsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemSettingsRequestBuilder builds and executes requests for operations under \orgs\{org}\settings
func NewItemSettingsRequestBuilder ¶
func NewItemSettingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsRequestBuilder
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 ¶
func (m *ItemSettingsRequestBuilder) Billing() *ItemSettingsBillingRequestBuilder
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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data 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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody) Serialize ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody) SetAdditionalData ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
type ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBodyable ¶
type ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) ByReaction_id(reaction_id int32) *ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder
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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Reactionable, error)
Get list the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.13/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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) Post(ctx context.Context, body ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Reactionable, error)
Post create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.13/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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list the reactions to a [team discussion comment](https://docs.github.com/enterprise-server@3.13/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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation create a reaction to a [team discussion comment](https://docs.github.com/enterprise-server@3.13/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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder
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.13/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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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.13/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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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.13/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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetBody ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetBody() *string
GetBody gets the body property value. The discussion comment's body text. returns a *string when successful
func (*ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) Serialize ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) SetAdditionalData ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) SetBody ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) SetBody(value *string)
SetBody sets the body property value. The discussion comment's body text.
type ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyable ¶
type ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBody() *string SetBody(value *string) }
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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data 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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsPostRequestBody) GetBody() *string
GetBody gets the body property value. The discussion comment's body text. returns a *string when successful
func (*ItemTeamsItemDiscussionsItemCommentsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemTeamsItemDiscussionsItemCommentsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemTeamsItemDiscussionsItemCommentsPostRequestBody) Serialize ¶
func (m *ItemTeamsItemDiscussionsItemCommentsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsPostRequestBody) SetBody(value *string)
SetBody sets the body property value. The discussion comment's body text.
type ItemTeamsItemDiscussionsItemCommentsPostRequestBodyable ¶
type ItemTeamsItemDiscussionsItemCommentsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBody() *string SetBody(value *string) }
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 ¶
func NewItemTeamsItemDiscussionsItemCommentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsRequestBuilder
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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsRequestBuilder) ByComment_number(comment_number int32) *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder
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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemTeamsItemDiscussionsItemCommentsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.TeamDiscussionCommentable, error)
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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsRequestBuilder) Post(ctx context.Context, body ItemTeamsItemDiscussionsItemCommentsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.TeamDiscussionCommentable, error)
Post creates a new comment on a team discussion.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/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.13/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.13/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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemTeamsItemDiscussionsItemCommentsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamsItemDiscussionsItemCommentsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation creates a new comment on a team discussion.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/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.13/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.13/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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemDiscussionsItemCommentsRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.TeamDiscussionCommentable, error)
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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Patch(ctx context.Context, body ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.TeamDiscussionCommentable, error)
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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Reactions() *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder
Reactions the reactions property returns a *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder when successful
func (*ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *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 ¶
func (m *ItemTeamsItemDiscussionsItemReactionsPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data 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 ¶
func (m *ItemTeamsItemDiscussionsItemReactionsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemTeamsItemDiscussionsItemReactionsPostRequestBody) Serialize ¶
func (m *ItemTeamsItemDiscussionsItemReactionsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemTeamsItemDiscussionsItemReactionsPostRequestBody) SetAdditionalData ¶
func (m *ItemTeamsItemDiscussionsItemReactionsPostRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
type ItemTeamsItemDiscussionsItemReactionsPostRequestBodyable ¶
type ItemTeamsItemDiscussionsItemReactionsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
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 ¶
func NewItemTeamsItemDiscussionsItemReactionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemReactionsRequestBuilder
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 ¶
func (m *ItemTeamsItemDiscussionsItemReactionsRequestBuilder) ByReaction_id(reaction_id int32) *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder
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 ¶
func (m *ItemTeamsItemDiscussionsItemReactionsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemTeamsItemDiscussionsItemReactionsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Reactionable, error)
Get list the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.13/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 ¶
func (m *ItemTeamsItemDiscussionsItemReactionsRequestBuilder) Post(ctx context.Context, body ItemTeamsItemDiscussionsItemReactionsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Reactionable, error)
Post create a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.13/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 ¶
func (m *ItemTeamsItemDiscussionsItemReactionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemTeamsItemDiscussionsItemReactionsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list the reactions to a [team discussion](https://docs.github.com/enterprise-server@3.13/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 ¶
func (m *ItemTeamsItemDiscussionsItemReactionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamsItemDiscussionsItemReactionsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation create a reaction to a [team discussion](https://docs.github.com/enterprise-server@3.13/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 ¶
func (m *ItemTeamsItemDiscussionsItemReactionsRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemDiscussionsItemReactionsRequestBuilder
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.13/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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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.13/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 ¶
func (m *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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.13/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 ¶
func (m *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *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 ¶
func (m *ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetBody ¶
func (m *ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetBody() *string
GetBody gets the body property value. The discussion post's body text. returns a *string when successful
func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetTitle ¶
func (m *ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetTitle() *string
GetTitle gets the title property value. The discussion post's title. returns a *string when successful
func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) Serialize ¶
func (m *ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) SetAdditionalData ¶
func (m *ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) SetBody ¶
func (m *ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) SetBody(value *string)
SetBody sets the body property value. The discussion post's body text.
func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) SetTitle ¶
func (m *ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) SetTitle(value *string)
SetTitle sets the title property value. The discussion post's title.
type ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBodyable ¶
type ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBody() *string GetTitle() *string SetBody(value *string) SetTitle(value *string) }
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 ¶
func (m *ItemTeamsItemDiscussionsPostRequestBody) GetBody() *string
GetBody gets the body property value. The discussion post's body text. returns a *string when successful
func (*ItemTeamsItemDiscussionsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemTeamsItemDiscussionsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemTeamsItemDiscussionsPostRequestBody) GetPrivate ¶
func (m *ItemTeamsItemDiscussionsPostRequestBody) GetPrivate() *bool
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 ¶
func (m *ItemTeamsItemDiscussionsPostRequestBody) GetTitle() *string
GetTitle gets the title property value. The discussion post's title. returns a *string when successful
func (*ItemTeamsItemDiscussionsPostRequestBody) Serialize ¶
func (m *ItemTeamsItemDiscussionsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemTeamsItemDiscussionsPostRequestBody) SetBody(value *string)
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 ¶
func NewItemTeamsItemDiscussionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsRequestBuilder
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 ¶
func (m *ItemTeamsItemDiscussionsRequestBuilder) ByDiscussion_number(discussion_number int32) *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder
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 ¶
func (m *ItemTeamsItemDiscussionsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemTeamsItemDiscussionsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.TeamDiscussionable, error)
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 ¶
func (m *ItemTeamsItemDiscussionsRequestBuilder) Post(ctx context.Context, body ItemTeamsItemDiscussionsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.TeamDiscussionable, error)
Post creates a new discussion post on a team's page.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/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.13/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.13/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 ¶
func (m *ItemTeamsItemDiscussionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemTeamsItemDiscussionsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemTeamsItemDiscussionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamsItemDiscussionsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation creates a new discussion post on a team's page.This endpoint triggers [notifications](https://docs.github.com/enterprise-server@3.13/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.13/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.13/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 ¶
func (m *ItemTeamsItemDiscussionsRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemDiscussionsRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Comments() *ItemTeamsItemDiscussionsItemCommentsRequestBuilder
Comments the comments property returns a *ItemTeamsItemDiscussionsItemCommentsRequestBuilder when successful
func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Delete ¶
func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.TeamDiscussionable, error)
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 ¶
func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Patch(ctx context.Context, body ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.TeamDiscussionable, error)
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 ¶
func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Reactions() *ItemTeamsItemDiscussionsItemReactionsRequestBuilder
Reactions the reactions property returns a *ItemTeamsItemDiscussionsItemReactionsRequestBuilder when successful
func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *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 ¶
func (m *ItemTeamsItemExternalGroupsPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemTeamsItemExternalGroupsPatchRequestBody) GetGroupId ¶
func (m *ItemTeamsItemExternalGroupsPatchRequestBody) GetGroupId() *int32
GetGroupId gets the group_id property value. External Group Id returns a *int32 when successful
func (*ItemTeamsItemExternalGroupsPatchRequestBody) Serialize ¶
func (m *ItemTeamsItemExternalGroupsPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ItemTeamsItemExternalGroupsPatchRequestBodyable ¶
type ItemTeamsItemExternalGroupsPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetGroupId() *int32 SetGroupId(value *int32) }
type ItemTeamsItemExternalGroupsRequestBuilder ¶
type ItemTeamsItemExternalGroupsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemTeamsItemExternalGroupsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\external-groups
func NewItemTeamsItemExternalGroupsRequestBuilder ¶
func NewItemTeamsItemExternalGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemExternalGroupsRequestBuilder
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 ¶
func (m *ItemTeamsItemExternalGroupsRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. API method documentation
func (*ItemTeamsItemExternalGroupsRequestBuilder) Get ¶
func (m *ItemTeamsItemExternalGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ExternalGroupsable, error)
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.13/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation. returns a ExternalGroupsable when successful API method documentation
func (*ItemTeamsItemExternalGroupsRequestBuilder) Patch ¶
func (m *ItemTeamsItemExternalGroupsRequestBuilder) Patch(ctx context.Context, body ItemTeamsItemExternalGroupsPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ExternalGroupable, error)
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.13/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation. returns a ExternalGroupable when successful API method documentation
func (*ItemTeamsItemExternalGroupsRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemTeamsItemExternalGroupsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/github/getting-started-with-github/githubs-products) in the GitHub Help documentation. returns a *RequestInformation when successful
func (*ItemTeamsItemExternalGroupsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemTeamsItemExternalGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation. returns a *RequestInformation when successful
func (*ItemTeamsItemExternalGroupsRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemTeamsItemExternalGroupsRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemTeamsItemExternalGroupsPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/github/getting-started-with-github/githubs-products)" in the GitHub Help documentation. returns a *RequestInformation when successful
func (*ItemTeamsItemExternalGroupsRequestBuilder) WithUrl ¶
func (m *ItemTeamsItemExternalGroupsRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemExternalGroupsRequestBuilder
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 ¶
type ItemTeamsItemMembersRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemTeamsItemMembersRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\members
func NewItemTeamsItemMembersRequestBuilder ¶
func NewItemTeamsItemMembersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemMembersRequestBuilder
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 ¶
func (m *ItemTeamsItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemTeamsItemMembersRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SimpleUserable, error)
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 ¶
func (m *ItemTeamsItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemTeamsItemMembersRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemTeamsItemMembersRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemMembersRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func (m *ItemTeamsItemMembershipsItemWithUsernamePutRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data 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 ¶
func (m *ItemTeamsItemMembershipsItemWithUsernamePutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemTeamsItemMembershipsItemWithUsernamePutRequestBody) Serialize ¶
func (m *ItemTeamsItemMembershipsItemWithUsernamePutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemTeamsItemMembershipsItemWithUsernamePutRequestBody) SetAdditionalData ¶
func (m *ItemTeamsItemMembershipsItemWithUsernamePutRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
type ItemTeamsItemMembershipsItemWithUsernamePutRequestBodyable ¶
type ItemTeamsItemMembershipsItemWithUsernamePutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemTeamsItemMembershipsRequestBuilder ¶
type ItemTeamsItemMembershipsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemTeamsItemMembershipsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\memberships
func NewItemTeamsItemMembershipsRequestBuilder ¶
func NewItemTeamsItemMembershipsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemMembershipsRequestBuilder
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 ¶
func (m *ItemTeamsItemMembershipsRequestBuilder) ByUsername(username string) *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder
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 ¶
func (m *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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.13/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.13/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 ¶
func (m *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.TeamMembershipable, error)
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.13/rest/teams/teams#create-a-team). returns a TeamMembershipable when successful API method documentation
func (*ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) Put ¶
func (m *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) Put(ctx context.Context, body ItemTeamsItemMembershipsItemWithUsernamePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.TeamMembershipable, error)
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.13/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.13/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 ¶
func (m *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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.13/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 ¶
func (m *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/rest/teams/teams#create-a-team). returns a *RequestInformation when successful
func (*ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemTeamsItemMembershipsItemWithUsernamePutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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.13/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 ¶
func (m *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder
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 ¶
func (m *ItemTeamsItemProjectsItemWithProject_403Error) Error() string
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 ¶
func (m *ItemTeamsItemProjectsItemWithProject_403Error) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemTeamsItemProjectsItemWithProject_403Error) GetMessage ¶
func (m *ItemTeamsItemProjectsItemWithProject_403Error) GetMessage() *string
GetMessage gets the message property value. The message property returns a *string when successful
func (*ItemTeamsItemProjectsItemWithProject_403Error) Serialize ¶
func (m *ItemTeamsItemProjectsItemWithProject_403Error) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemTeamsItemProjectsItemWithProject_403Error) SetMessage(value *string)
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 ¶
func (m *ItemTeamsItemProjectsItemWithProject_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 (*ItemTeamsItemProjectsItemWithProject_PutRequestBody) GetFieldDeserializers ¶
func (m *ItemTeamsItemProjectsItemWithProject_PutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemTeamsItemProjectsItemWithProject_PutRequestBody) Serialize ¶
func (m *ItemTeamsItemProjectsItemWithProject_PutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ItemTeamsItemProjectsItemWithProject_PutRequestBodyable ¶
type ItemTeamsItemProjectsItemWithProject_PutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
type ItemTeamsItemProjectsRequestBuilder ¶
type ItemTeamsItemProjectsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemTeamsItemProjectsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\projects
func NewItemTeamsItemProjectsRequestBuilder ¶
func NewItemTeamsItemProjectsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemProjectsRequestBuilder
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 ¶
func (m *ItemTeamsItemProjectsRequestBuilder) ByProject_id(project_id int32) *ItemTeamsItemProjectsWithProject_ItemRequestBuilder
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 ¶
func (m *ItemTeamsItemProjectsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemTeamsItemProjectsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.TeamProjectable, error)
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 ¶
func (m *ItemTeamsItemProjectsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemTeamsItemProjectsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemTeamsItemProjectsRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemProjectsRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func NewItemTeamsItemProjectsWithProject_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemProjectsWithProject_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 ¶
func (m *ItemTeamsItemProjectsWithProject_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemTeamsItemProjectsWithProject_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.TeamProjectable, error)
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 ¶
func (m *ItemTeamsItemProjectsWithProject_ItemRequestBuilder) Put(ctx context.Context, body ItemTeamsItemProjectsItemWithProject_PutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemTeamsItemProjectsWithProject_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemTeamsItemProjectsWithProject_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemTeamsItemProjectsWithProject_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemTeamsItemProjectsItemWithProject_PutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemTeamsItemProjectsWithProject_ItemRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemProjectsWithProject_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *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 ¶
func (m *ItemTeamsItemReposItemItemWithRepoPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemTeamsItemReposItemItemWithRepoPutRequestBody) GetPermission ¶
func (m *ItemTeamsItemReposItemItemWithRepoPutRequestBody) GetPermission() *string
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 ¶
func (m *ItemTeamsItemReposItemItemWithRepoPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemTeamsItemReposItemItemWithRepoPutRequestBody) SetPermission(value *string)
SetPermission sets the permission property value. The permission to grant the team on this repository. We accept the following permissions to be set: `pull`, `triage`, `push`, `maintain`, `admin` and you can also specify a custom repository role name, if the owning organization has defined any. If no permission is specified, the team's `permission` attribute will be used to determine what permission to grant the team on this repository.
type ItemTeamsItemReposItemItemWithRepoPutRequestBodyable ¶
type ItemTeamsItemReposItemItemWithRepoPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetPermission() *string SetPermission(value *string) }
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 ¶
func NewItemTeamsItemReposItemWithRepoItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemReposItemWithRepoItemRequestBuilder
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 ¶
func (m *ItemTeamsItemReposItemWithRepoItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemTeamsItemReposItemWithRepoItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.TeamRepositoryable, error)
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.13/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 ¶
func (m *ItemTeamsItemReposItemWithRepoItemRequestBuilder) Put(ctx context.Context, body ItemTeamsItemReposItemItemWithRepoPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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.13/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.13/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 ¶
func (m *ItemTeamsItemReposItemWithRepoItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemTeamsItemReposItemWithRepoItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *ItemTeamsItemReposItemWithRepoItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemTeamsItemReposItemItemWithRepoPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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.13/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 ¶
func (m *ItemTeamsItemReposItemWithRepoItemRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemReposItemWithRepoItemRequestBuilder
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 ¶
type ItemTeamsItemReposRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemTeamsItemReposRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\repos
func NewItemTeamsItemReposRequestBuilder ¶
func NewItemTeamsItemReposRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemReposRequestBuilder
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 ¶
func (m *ItemTeamsItemReposRequestBuilder) ByOwner(owner string) *ItemTeamsItemReposWithOwnerItemRequestBuilder
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 ¶
func (m *ItemTeamsItemReposRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemTeamsItemReposRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.MinimalRepositoryable, error)
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 ¶
func (m *ItemTeamsItemReposRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemTeamsItemReposRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemTeamsItemReposRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemReposRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func NewItemTeamsItemReposWithOwnerItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemReposWithOwnerItemRequestBuilder
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 ¶
func (m *ItemTeamsItemReposWithOwnerItemRequestBuilder) ByRepo(repo string) *ItemTeamsItemReposItemWithRepoItemRequestBuilder
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 ¶
type ItemTeamsItemTeamsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemTeamsItemTeamsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\teams
func NewItemTeamsItemTeamsRequestBuilder ¶
func NewItemTeamsItemTeamsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemTeamsRequestBuilder
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 ¶
func (m *ItemTeamsItemTeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemTeamsItemTeamsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Teamable, error)
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 ¶
func (m *ItemTeamsItemTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemTeamsItemTeamsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemTeamsItemTeamsRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemTeamsRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) GetDescription() *string
GetDescription gets the description property value. The description of the team. returns a *string when successful
func (*ItemTeamsItemWithTeam_slugPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemTeamsItemWithTeam_slugPatchRequestBody) GetName ¶
func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) GetName() *string
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 ¶
func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) SetName(value *string)
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 ¶
func (m *ItemTeamsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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.13/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.13/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 ¶
func (m *ItemTeamsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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.13/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.13/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 ¶
type ItemTeamsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemTeamsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams
func NewItemTeamsRequestBuilder ¶
func NewItemTeamsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsRequestBuilder
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 ¶
func (m *ItemTeamsRequestBuilder) ByTeam_slug(team_slug string) *ItemTeamsWithTeam_slugItemRequestBuilder
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 ¶
func (m *ItemTeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemTeamsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Teamable, error)
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 ¶
func (m *ItemTeamsRequestBuilder) Post(ctx context.Context, body ItemTeamsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.TeamFullable, error)
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.13/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.13/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 ¶
func (m *ItemTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemTeamsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all teams in an organization that are visible to the authenticated user. returns a *RequestInformation when successful
func (*ItemTeamsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemTeamsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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.13/github/setting-up-and-managing-organizations-and-teams/about-teams)". returns a *RequestInformation when successful
func (*ItemTeamsRequestBuilder) WithUrl ¶
func (m *ItemTeamsRequestBuilder) WithUrl(rawUrl string) *ItemTeamsRequestBuilder
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.13/rest/using-the-rest-api/using-pagination-in-the-rest-api)." Page *int32 `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.13/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 ¶
func NewItemTeamsWithTeam_slugItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsWithTeam_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 ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Discussions() *ItemTeamsItemDiscussionsRequestBuilder
Discussions the discussions property returns a *ItemTeamsItemDiscussionsRequestBuilder when successful
func (*ItemTeamsWithTeam_slugItemRequestBuilder) ExternalGroups ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) ExternalGroups() *ItemTeamsItemExternalGroupsRequestBuilder
ExternalGroups the externalGroups property returns a *ItemTeamsItemExternalGroupsRequestBuilder when successful
func (*ItemTeamsWithTeam_slugItemRequestBuilder) Get ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.TeamFullable, error)
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 ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Members() *ItemTeamsItemMembersRequestBuilder
Members the members property returns a *ItemTeamsItemMembersRequestBuilder when successful
func (*ItemTeamsWithTeam_slugItemRequestBuilder) Memberships ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Memberships() *ItemTeamsItemMembershipsRequestBuilder
Memberships the memberships property returns a *ItemTeamsItemMembershipsRequestBuilder when successful
func (*ItemTeamsWithTeam_slugItemRequestBuilder) Patch ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Patch(ctx context.Context, body ItemTeamsItemWithTeam_slugPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.TeamFullable, error)
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 ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Projects() *ItemTeamsItemProjectsRequestBuilder
Projects the projects property returns a *ItemTeamsItemProjectsRequestBuilder when successful
func (*ItemTeamsWithTeam_slugItemRequestBuilder) Repos ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Repos() *ItemTeamsItemReposRequestBuilder
Repos the repos property returns a *ItemTeamsItemReposRequestBuilder when successful
func (*ItemTeamsWithTeam_slugItemRequestBuilder) Teams ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Teams() *ItemTeamsItemTeamsRequestBuilder
Teams the teams property returns a *ItemTeamsItemTeamsRequestBuilder when successful
func (*ItemTeamsWithTeam_slugItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemTeamsItemWithTeam_slugPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) WithUrl(rawUrl string) *ItemTeamsWithTeam_slugItemRequestBuilder
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 ¶
func (m *ItemWithOrgDeleteResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemWithOrgDeleteResponse) Serialize ¶
func (m *ItemWithOrgDeleteResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ItemWithOrgDeleteResponseable ¶
type ItemWithOrgDeleteResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
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.13/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.13/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.13/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.13/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 ¶
func (m *ItemWithOrgPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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.13/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.13/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.13/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.13/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) GetSecretScanningPushProtectionCustomLink ¶
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.13/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 ¶
func (m *ItemWithOrgPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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.13/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.13/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.13/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.13/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.13/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.13/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.13/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.13/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) SetSecretScanningPushProtectionCustomLink ¶
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.13/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 ¶
func NewItemWithSecurity_productItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemWithSecurity_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 ¶
func (m *ItemWithSecurity_productItemRequestBuilder) ByEnablement(enablement string) *ItemItemWithEnablementItemRequestBuilder
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 ¶
type OrgsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
OrgsRequestBuilder builds and executes requests for operations under \orgs
func NewOrgsRequestBuilder ¶
func NewOrgsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *OrgsRequestBuilder
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 ¶
func (m *OrgsRequestBuilder) ByOrg(org string) *WithOrgItemRequestBuilder
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 ¶
type WithOrgItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
WithOrgItemRequestBuilder builds and executes requests for operations under \orgs\{org}
func NewWithOrgItemRequestBuilder ¶
func NewWithOrgItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithOrgItemRequestBuilder
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 ¶
func (m *WithOrgItemRequestBuilder) Actions() *ItemActionsRequestBuilder
Actions the actions property returns a *ItemActionsRequestBuilder when successful
func (*WithOrgItemRequestBuilder) Announcement ¶
func (m *WithOrgItemRequestBuilder) Announcement() *ItemAnnouncementRequestBuilder
Announcement the announcement property returns a *ItemAnnouncementRequestBuilder when successful
func (*WithOrgItemRequestBuilder) AuditLog ¶
func (m *WithOrgItemRequestBuilder) AuditLog() *ItemAuditLogRequestBuilder
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 ¶
func (m *WithOrgItemRequestBuilder) CodeScanning() *ItemCodeScanningRequestBuilder
CodeScanning the codeScanning property returns a *ItemCodeScanningRequestBuilder when successful
func (*WithOrgItemRequestBuilder) CustomRepositoryRoles ¶
func (m *WithOrgItemRequestBuilder) CustomRepositoryRoles() *ItemCustomRepositoryRolesRequestBuilder
CustomRepositoryRoles the customRepositoryRoles property returns a *ItemCustomRepositoryRolesRequestBuilder when successful
func (*WithOrgItemRequestBuilder) Delete ¶
func (m *WithOrgItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemWithOrgDeleteResponseable, error)
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.13/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 ¶
func (m *WithOrgItemRequestBuilder) Dependabot() *ItemDependabotRequestBuilder
Dependabot the dependabot property returns a *ItemDependabotRequestBuilder when successful
func (*WithOrgItemRequestBuilder) Docker ¶
func (m *WithOrgItemRequestBuilder) Docker() *ItemDockerRequestBuilder
Docker the docker property returns a *ItemDockerRequestBuilder when successful
func (*WithOrgItemRequestBuilder) Events ¶
func (m *WithOrgItemRequestBuilder) Events() *ItemEventsRequestBuilder
Events the events property returns a *ItemEventsRequestBuilder when successful
func (*WithOrgItemRequestBuilder) ExternalGroup ¶
func (m *WithOrgItemRequestBuilder) ExternalGroup() *ItemExternalGroupRequestBuilder
ExternalGroup the externalGroup property returns a *ItemExternalGroupRequestBuilder when successful
func (*WithOrgItemRequestBuilder) ExternalGroups ¶
func (m *WithOrgItemRequestBuilder) ExternalGroups() *ItemExternalGroupsRequestBuilder
ExternalGroups the externalGroups property returns a *ItemExternalGroupsRequestBuilder when successful
func (*WithOrgItemRequestBuilder) Get ¶
func (m *WithOrgItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationFullable, error)
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.13/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 ¶
func (m *WithOrgItemRequestBuilder) Hooks() *ItemHooksRequestBuilder
Hooks the hooks property returns a *ItemHooksRequestBuilder when successful
func (*WithOrgItemRequestBuilder) Installation ¶
func (m *WithOrgItemRequestBuilder) Installation() *ItemInstallationRequestBuilder
Installation the installation property returns a *ItemInstallationRequestBuilder when successful
func (*WithOrgItemRequestBuilder) Installations ¶
func (m *WithOrgItemRequestBuilder) Installations() *ItemInstallationsRequestBuilder
Installations the installations property returns a *ItemInstallationsRequestBuilder when successful
func (*WithOrgItemRequestBuilder) Issues ¶
func (m *WithOrgItemRequestBuilder) Issues() *ItemIssuesRequestBuilder
Issues the issues property returns a *ItemIssuesRequestBuilder when successful
func (*WithOrgItemRequestBuilder) Members ¶
func (m *WithOrgItemRequestBuilder) Members() *ItemMembersRequestBuilder
Members the members property returns a *ItemMembersRequestBuilder when successful
func (*WithOrgItemRequestBuilder) Memberships ¶
func (m *WithOrgItemRequestBuilder) Memberships() *ItemMembershipsRequestBuilder
Memberships the memberships property returns a *ItemMembershipsRequestBuilder when successful
func (*WithOrgItemRequestBuilder) Migrations ¶
func (m *WithOrgItemRequestBuilder) Migrations() *ItemMigrationsRequestBuilder
Migrations the migrations property returns a *ItemMigrationsRequestBuilder when successful
func (*WithOrgItemRequestBuilder) Outside_collaborators ¶
func (m *WithOrgItemRequestBuilder) Outside_collaborators() *ItemOutside_collaboratorsRequestBuilder
Outside_collaborators the outside_collaborators property returns a *ItemOutside_collaboratorsRequestBuilder when successful
func (*WithOrgItemRequestBuilder) Packages ¶
func (m *WithOrgItemRequestBuilder) Packages() *ItemPackagesRequestBuilder
Packages the packages property returns a *ItemPackagesRequestBuilder when successful
func (*WithOrgItemRequestBuilder) Patch ¶
func (m *WithOrgItemRequestBuilder) Patch(ctx context.Context, body ItemWithOrgPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationFullable, error)
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 ¶
func (m *WithOrgItemRequestBuilder) PersonalAccessTokenRequests() *ItemPersonalAccessTokenRequestsRequestBuilder
PersonalAccessTokenRequests the personalAccessTokenRequests property returns a *ItemPersonalAccessTokenRequestsRequestBuilder when successful
func (*WithOrgItemRequestBuilder) PersonalAccessTokens ¶
func (m *WithOrgItemRequestBuilder) PersonalAccessTokens() *ItemPersonalAccessTokensRequestBuilder
PersonalAccessTokens the personalAccessTokens property returns a *ItemPersonalAccessTokensRequestBuilder when successful
func (*WithOrgItemRequestBuilder) PreReceiveHooks ¶
func (m *WithOrgItemRequestBuilder) PreReceiveHooks() *ItemPreReceiveHooksRequestBuilder
PreReceiveHooks the preReceiveHooks property returns a *ItemPreReceiveHooksRequestBuilder when successful
func (*WithOrgItemRequestBuilder) Projects ¶
func (m *WithOrgItemRequestBuilder) Projects() *ItemProjectsRequestBuilder
Projects the projects property returns a *ItemProjectsRequestBuilder when successful
func (*WithOrgItemRequestBuilder) Properties ¶
func (m *WithOrgItemRequestBuilder) Properties() *ItemPropertiesRequestBuilder
Properties the properties property returns a *ItemPropertiesRequestBuilder when successful
func (*WithOrgItemRequestBuilder) Public_members ¶
func (m *WithOrgItemRequestBuilder) Public_members() *ItemPublic_membersRequestBuilder
Public_members the public_members property returns a *ItemPublic_membersRequestBuilder when successful
func (*WithOrgItemRequestBuilder) Repos ¶
func (m *WithOrgItemRequestBuilder) Repos() *ItemReposRequestBuilder
Repos the repos property returns a *ItemReposRequestBuilder when successful
func (*WithOrgItemRequestBuilder) RepositoryFineGrainedPermissions ¶
func (m *WithOrgItemRequestBuilder) RepositoryFineGrainedPermissions() *ItemRepositoryFineGrainedPermissionsRequestBuilder
RepositoryFineGrainedPermissions the repositoryFineGrainedPermissions property returns a *ItemRepositoryFineGrainedPermissionsRequestBuilder when successful
func (*WithOrgItemRequestBuilder) Rulesets ¶
func (m *WithOrgItemRequestBuilder) Rulesets() *ItemRulesetsRequestBuilder
Rulesets the rulesets property returns a *ItemRulesetsRequestBuilder when successful
func (*WithOrgItemRequestBuilder) SecretScanning ¶
func (m *WithOrgItemRequestBuilder) SecretScanning() *ItemSecretScanningRequestBuilder
SecretScanning the secretScanning property returns a *ItemSecretScanningRequestBuilder when successful
func (*WithOrgItemRequestBuilder) SecurityManagers ¶
func (m *WithOrgItemRequestBuilder) SecurityManagers() *ItemSecurityManagersRequestBuilder
SecurityManagers the securityManagers property returns a *ItemSecurityManagersRequestBuilder when successful
func (*WithOrgItemRequestBuilder) Settings ¶
func (m *WithOrgItemRequestBuilder) Settings() *ItemSettingsRequestBuilder
Settings the settings property returns a *ItemSettingsRequestBuilder when successful
func (*WithOrgItemRequestBuilder) Teams ¶
func (m *WithOrgItemRequestBuilder) Teams() *ItemTeamsRequestBuilder
Teams the teams property returns a *ItemTeamsRequestBuilder when successful
func (*WithOrgItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *WithOrgItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/site-policy/github-terms/github-terms-of-service returns a *RequestInformation when successful
func (*WithOrgItemRequestBuilder) ToGetRequestInformation ¶
func (m *WithOrgItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.13/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 ¶
func (m *WithOrgItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemWithOrgPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *WithOrgItemRequestBuilder) WithUrl(rawUrl string) *WithOrgItemRequestBuilder
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
¶
- item_actions_cache_request_builder.go
- item_actions_cache_usage_by_repository_get_response.go
- item_actions_cache_usage_by_repository_request_builder.go
- item_actions_cache_usage_request_builder.go
- item_actions_oidc_customization_request_builder.go
- item_actions_oidc_customization_sub_request_builder.go
- item_actions_oidc_request_builder.go
- item_actions_permissions_put_request_body.go
- item_actions_permissions_repositories_get_response.go
- item_actions_permissions_repositories_put_request_body.go
- item_actions_permissions_repositories_request_builder.go
- item_actions_permissions_repositories_with_repository_escaped_item_request_builder.go
- item_actions_permissions_request_builder.go
- item_actions_permissions_selected_actions_request_builder.go
- item_actions_permissions_workflow_request_builder.go
- item_actions_request_builder.go
- item_actions_runner_groups_get_response.go
- item_actions_runner_groups_item_repositories_get_response.go
- item_actions_runner_groups_item_repositories_put_request_body.go
- item_actions_runner_groups_item_repositories_request_builder.go
- item_actions_runner_groups_item_repositories_with_repository_escaped_item_request_builder.go
- item_actions_runner_groups_item_runners_get_response.go
- item_actions_runner_groups_item_runners_put_request_body.go
- item_actions_runner_groups_item_runners_request_builder.go
- item_actions_runner_groups_item_runners_with_runner_escaped_item_request_builder.go
- item_actions_runner_groups_item_with_runner_escaped_group_escaped_patch_request_body.go
- item_actions_runner_groups_post_request_body.go
- item_actions_runner_groups_request_builder.go
- item_actions_runner_groups_with_runner_escaped_group_escaped_item_request_builder.go
- item_actions_runners_downloads_request_builder.go
- item_actions_runners_generate_jitconfig_post_request_body.go
- item_actions_runners_generate_jitconfig_post_response.go
- item_actions_runners_generate_jitconfig_request_builder.go
- item_actions_runners_get_response.go
- item_actions_runners_item_labels_delete_response.go
- item_actions_runners_item_labels_get_response.go
- item_actions_runners_item_labels_item_with_name_delete_response.go
- item_actions_runners_item_labels_post_request_body.go
- item_actions_runners_item_labels_post_response.go
- item_actions_runners_item_labels_put_request_body.go
- item_actions_runners_item_labels_put_response.go
- item_actions_runners_item_labels_request_builder.go
- item_actions_runners_item_labels_with_name_item_request_builder.go
- item_actions_runners_registration_token_request_builder.go
- item_actions_runners_remove_token_request_builder.go
- item_actions_runners_request_builder.go
- item_actions_runners_with_runner_escaped_item_request_builder.go
- item_actions_secrets_get_response.go
- item_actions_secrets_item_repositories_get_response.go
- item_actions_secrets_item_repositories_put_request_body.go
- item_actions_secrets_item_repositories_request_builder.go
- item_actions_secrets_item_repositories_with_repository_escaped_item_request_builder.go
- item_actions_secrets_item_with_secret_escaped_name_put_request_body.go
- item_actions_secrets_public_key_request_builder.go
- item_actions_secrets_request_builder.go
- item_actions_secrets_with_secret_escaped_name_item_request_builder.go
- item_actions_variables_get_response.go
- item_actions_variables_item_repositories_get_response.go
- item_actions_variables_item_repositories_put_request_body.go
- item_actions_variables_item_repositories_request_builder.go
- item_actions_variables_item_repositories_with_repository_escaped_item_request_builder.go
- item_actions_variables_item_with_name_patch_request_body.go
- item_actions_variables_post_request_body.go
- item_actions_variables_request_builder.go
- item_actions_variables_with_name_item_request_builder.go
- item_announcement_request_builder.go
- item_audit_log_request_builder.go
- item_code_scanning_alerts_request_builder.go
- item_code_scanning_request_builder.go
- item_custom_repository_roles_get_response.go
- item_custom_repository_roles_request_builder.go
- item_custom_repository_roles_with_role_escaped_item_request_builder.go
- item_dependabot_alerts_request_builder.go
- item_dependabot_request_builder.go
- item_dependabot_secrets_get_response.go
- item_dependabot_secrets_item_repositories_get_response.go
- item_dependabot_secrets_item_repositories_put_request_body.go
- item_dependabot_secrets_item_repositories_request_builder.go
- item_dependabot_secrets_item_repositories_with_repository_escaped_item_request_builder.go
- item_dependabot_secrets_item_with_secret_escaped_name_put_request_body.go
- item_dependabot_secrets_public_key_request_builder.go
- item_dependabot_secrets_request_builder.go
- item_dependabot_secrets_with_secret_escaped_name_item_request_builder.go
- item_docker_conflicts_request_builder.go
- item_docker_request_builder.go
- item_events_request_builder.go
- item_external_group_request_builder.go
- item_external_group_with_group_escaped_item_request_builder.go
- item_external_groups_request_builder.go
- item_hooks_item_config_patch_request_body.go
- item_hooks_item_config_request_builder.go
- item_hooks_item_deliveries_item_attempts_post_response.go
- item_hooks_item_deliveries_item_attempts_request_builder.go
- item_hooks_item_deliveries_request_builder.go
- item_hooks_item_deliveries_with_delivery_escaped_item_request_builder.go
- item_hooks_item_pings_request_builder.go
- item_hooks_item_with_hook_escaped_patch_request_body.go
- item_hooks_item_with_hook_escaped_patch_request_body_escaped_config.go
- item_hooks_post_request_body.go
- item_hooks_post_request_body_escaped_config.go
- item_hooks_request_builder.go
- item_hooks_with_hook_escaped_item_request_builder.go
- item_installation_request_builder.go
- item_installations_get_response.go
- item_installations_request_builder.go
- item_issues_request_builder.go
- item_item_item_with_enablement_post_request_body.go
- item_item_with_enablement_item_request_builder.go
- item_members_request_builder.go
- item_members_with_username_item_request_builder.go
- item_memberships_item_with_username_put_request_body.go
- item_memberships_request_builder.go
- item_memberships_with_username_item_request_builder.go
- item_migrations_item_archive_request_builder.go
- item_migrations_item_repos_item_lock_request_builder.go
- item_migrations_item_repos_request_builder.go
- item_migrations_item_repos_with_repo_escaped_name_item_request_builder.go
- item_migrations_item_repositories_request_builder.go
- item_migrations_post_request_body.go
- item_migrations_request_builder.go
- item_migrations_with_migration_escaped_item_request_builder.go
- item_outside_escaped_collaborators_item_with_username422_error.go
- item_outside_escaped_collaborators_item_with_username_put_request_body.go
- item_outside_escaped_collaborators_item_with_username_put_response.go
- item_outside_escaped_collaborators_request_builder.go
- item_outside_escaped_collaborators_with_username_item_request_builder.go
- item_packages_item_item_restore_request_builder.go
- item_packages_item_item_versions_item_restore_request_builder.go
- item_packages_item_item_versions_request_builder.go
- item_packages_item_item_versions_with_package_escaped_version_escaped_item_request_builder.go
- item_packages_item_with_package_escaped_name_item_request_builder.go
- item_packages_request_builder.go
- item_packages_with_package_escaped_type_item_request_builder.go
- item_personal_access_token_requests_item_repositories_request_builder.go
- item_personal_access_token_requests_item_with_pat_escaped_request_escaped_post_request_body.go
- item_personal_access_token_requests_post_request_body.go
- item_personal_access_token_requests_post_response.go
- item_personal_access_token_requests_request_builder.go
- item_personal_access_token_requests_with_pat_escaped_request_escaped_item_request_builder.go
- item_personal_access_tokens_item_repositories_request_builder.go
- item_personal_access_tokens_item_with_pat_escaped_post_request_body.go
- item_personal_access_tokens_post_request_body.go
- item_personal_access_tokens_post_response.go
- item_personal_access_tokens_request_builder.go
- item_personal_access_tokens_with_pat_escaped_item_request_builder.go
- item_pre_receive_hooks_item_with_pre_escaped_receive_escaped_hook_escaped_patch_request_body.go
- item_pre_receive_hooks_request_builder.go
- item_pre_receive_hooks_with_pre_escaped_receive_escaped_hook_escaped_item_request_builder.go
- item_projects_post_request_body.go
- item_projects_request_builder.go
- item_properties_request_builder.go
- item_properties_schema_item_with_custom_escaped_property_escaped_name_put_request_body.go
- item_properties_schema_patch_request_body.go
- item_properties_schema_request_builder.go
- item_properties_schema_with_custom_escaped_property_escaped_name_item_request_builder.go
- item_properties_values_patch_request_body.go
- item_properties_values_request_builder.go
- item_public_escaped_members_request_builder.go
- item_public_escaped_members_with_username_item_request_builder.go
- item_repos_post_request_body.go
- item_repos_post_request_body_escaped_custom_escaped_properties.go
- item_repos_request_builder.go
- item_repository_fine_grained_permissions_request_builder.go
- item_rulesets_item_with_ruleset_escaped_put_request_body.go
- item_rulesets_post_request_body.go
- item_rulesets_request_builder.go
- item_rulesets_rule_suites_request_builder.go
- item_rulesets_rule_suites_with_rule_escaped_suite_escaped_item_request_builder.go
- item_rulesets_with_ruleset_escaped_item_request_builder.go
- item_secret_scanning_alerts_request_builder.go
- item_secret_scanning_request_builder.go
- item_security_managers_request_builder.go
- item_security_managers_teams_request_builder.go
- item_security_managers_teams_with_team_escaped_slug_item_request_builder.go
- item_settings_billing_advanced_security_request_builder.go
- item_settings_billing_request_builder.go
- item_settings_request_builder.go
- item_teams_item_discussions_item_comments_item_reactions_post_request_body.go
- item_teams_item_discussions_item_comments_item_reactions_request_builder.go
- item_teams_item_discussions_item_comments_item_reactions_with_reaction_escaped_item_request_builder.go
- item_teams_item_discussions_item_comments_item_with_comment_escaped_number_patch_request_body.go
- item_teams_item_discussions_item_comments_post_request_body.go
- item_teams_item_discussions_item_comments_request_builder.go
- item_teams_item_discussions_item_comments_with_comment_escaped_number_item_request_builder.go
- item_teams_item_discussions_item_reactions_post_request_body.go
- item_teams_item_discussions_item_reactions_request_builder.go
- item_teams_item_discussions_item_reactions_with_reaction_escaped_item_request_builder.go
- item_teams_item_discussions_item_with_discussion_escaped_number_patch_request_body.go
- item_teams_item_discussions_post_request_body.go
- item_teams_item_discussions_request_builder.go
- item_teams_item_discussions_with_discussion_escaped_number_item_request_builder.go
- item_teams_item_external_groups_patch_request_body.go
- item_teams_item_external_groups_request_builder.go
- item_teams_item_members_request_builder.go
- item_teams_item_memberships_item_with_username_put_request_body.go
- item_teams_item_memberships_request_builder.go
- item_teams_item_memberships_with_username_item_request_builder.go
- item_teams_item_projects_item_with_project_escaped_403_error.go
- item_teams_item_projects_item_with_project_escaped_put_request_body.go
- item_teams_item_projects_request_builder.go
- item_teams_item_projects_with_project_escaped_item_request_builder.go
- item_teams_item_repos_item_item_with_repo_put_request_body.go
- item_teams_item_repos_item_with_repo_item_request_builder.go
- item_teams_item_repos_request_builder.go
- item_teams_item_repos_with_owner_item_request_builder.go
- item_teams_item_teams_request_builder.go
- item_teams_item_with_team_escaped_slug_patch_request_body.go
- item_teams_post_request_body.go
- item_teams_request_builder.go
- item_teams_with_team_escaped_slug_item_request_builder.go
- item_with_org_delete_response.go
- item_with_org_patch_request_body.go
- item_with_security_escaped_product_item_request_builder.go
- orgs_request_builder.go
- with_org_item_request_builder.go