Documentation
¶
Index ¶
- func CreateInteractionLimitsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateInteractionLimitsResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsCacheUsageByRepositoryGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsCacheUsageByRepositoryResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsPermissionsPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsPermissionsRepositoriesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsPermissionsRepositoriesPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsPermissionsRepositoriesResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersGenerateJitconfigPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersGenerateJitconfigPostResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersGenerateJitconfigResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersItemLabelsDeleteResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersItemLabelsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersItemLabelsItemWithNameDeleteResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersItemLabelsItemWithNameResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersItemLabelsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersItemLabelsPostResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersItemLabelsPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersItemLabelsPutResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersItemLabelsResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsSecretsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsSecretsItemRepositoriesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsSecretsItemRepositoriesResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsSecretsResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsVariablesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsVariablesItemRepositoriesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsVariablesItemRepositoriesPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsVariablesItemRepositoriesResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsVariablesItemWithNamePatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsVariablesPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsVariablesResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCodespacesAccessPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCodespacesAccessSelected_usersDeleteRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCodespacesAccessSelected_usersPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCodespacesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCodespacesResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCodespacesSecretsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCodespacesSecretsItemRepositoriesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCodespacesSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCodespacesSecretsItemRepositoriesResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCodespacesSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCodespacesSecretsResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCopilotBillingSeatsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCopilotBillingSeatsResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCopilotBillingSelected_teamsDeleteRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCopilotBillingSelected_teamsDeleteResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCopilotBillingSelected_teamsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCopilotBillingSelected_teamsPostResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCopilotBillingSelected_teamsResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCopilotBillingSelected_usersDeleteRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCopilotBillingSelected_usersDeleteResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCopilotBillingSelected_usersPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCopilotBillingSelected_usersPostResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCopilotBillingSelected_usersResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemDependabotSecretsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemDependabotSecretsItemRepositoriesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemDependabotSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemDependabotSecretsItemRepositoriesResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemDependabotSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemDependabotSecretsResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemHooksItemConfigPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemHooksItemDeliveriesItemAttemptsPostResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemHooksItemDeliveriesItemAttemptsResponseFromDiscriminatorValue(...) (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 CreateItemInstallationsResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemInteractionLimitsGetResponseMember1FromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemInvitationsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemItemItemWithEnablementPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemMembersItemCodespacesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemMembersItemCodespacesItemWithCodespace_nameDeleteResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemMembersItemCodespacesItemWithCodespace_nameResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemMembersItemCodespacesResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemMembershipsItemWithUsernamePutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemMigrationsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemOrganizationRolesGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemOrganizationRolesItemWithRole_PatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemOrganizationRolesPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemOrganizationRolesResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemOutside_collaboratorsItemWithUsername422ErrorFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemOutside_collaboratorsItemWithUsernamePutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemOutside_collaboratorsItemWithUsernamePutResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemOutside_collaboratorsItemWithUsernameResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemPersonalAccessTokenRequestsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemPersonalAccessTokenRequestsPostResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemPersonalAccessTokenRequestsResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemPersonalAccessTokensItemWithPat_PostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemPersonalAccessTokensPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemPersonalAccessTokensPostResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemPersonalAccessTokensResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemProjectsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemPropertiesSchemaItemWithCustom_property_namePutRequestBodyFromDiscriminatorValue(...) (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 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, ...)
- func CreateItemWithOrgResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateOrganizationFull422ErrorFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type InteractionLimitsGetResponse
- func (m *InteractionLimitsGetResponse) GetFieldDeserializers() ...
- func (m *InteractionLimitsGetResponse) GetInteractionLimitResponse() ...
- func (m *InteractionLimitsGetResponse) GetIsComposedType() bool
- func (m *InteractionLimitsGetResponse) GetItemInteractionLimitsGetResponseMember1() ItemInteractionLimitsGetResponseMember1able
- func (m *InteractionLimitsGetResponse) Serialize(...) error
- func (m *InteractionLimitsGetResponse) SetInteractionLimitResponse(...)
- func (m *InteractionLimitsGetResponse) SetItemInteractionLimitsGetResponseMember1(value ItemInteractionLimitsGetResponseMember1able)
- type InteractionLimitsGetResponseable
- type InteractionLimitsResponse
- func (m *InteractionLimitsResponse) GetFieldDeserializers() ...
- func (m *InteractionLimitsResponse) GetInteractionLimitResponse() ...
- func (m *InteractionLimitsResponse) GetIsComposedType() bool
- func (m *InteractionLimitsResponse) GetItemInteractionLimitsGetResponseMember1() ItemInteractionLimitsGetResponseMember1able
- func (m *InteractionLimitsResponse) Serialize(...) error
- func (m *InteractionLimitsResponse) SetInteractionLimitResponse(...)
- func (m *InteractionLimitsResponse) SetItemInteractionLimitsGetResponseMember1(value ItemInteractionLimitsGetResponseMember1able)
- type InteractionLimitsResponseable
- 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, ...) (ItemActionsCacheUsageByRepositoryResponseable, error)
- func (m *ItemActionsCacheUsageByRepositoryRequestBuilder) GetAsUsageByRepositoryGetResponse(ctx context.Context, ...) (ItemActionsCacheUsageByRepositoryGetResponseable, error)
- func (m *ItemActionsCacheUsageByRepositoryRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsCacheUsageByRepositoryRequestBuilder) WithUrl(rawUrl string) *ItemActionsCacheUsageByRepositoryRequestBuilder
- type ItemActionsCacheUsageByRepositoryRequestBuilderGetQueryParameters
- type ItemActionsCacheUsageByRepositoryRequestBuilderGetRequestConfiguration
- type ItemActionsCacheUsageByRepositoryResponse
- type ItemActionsCacheUsageByRepositoryResponseable
- type ItemActionsCacheUsageRequestBuilder
- type ItemActionsCacheUsageRequestBuilderGetRequestConfiguration
- 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 ItemActionsOidcCustomizationSubRequestBuilderGetRequestConfiguration
- type ItemActionsOidcCustomizationSubRequestBuilderPutRequestConfiguration
- 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 string) *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder
- func (m *ItemActionsPermissionsRepositoriesRequestBuilder) ByRepository_idInteger(repository_id int32) *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder
- func (m *ItemActionsPermissionsRepositoriesRequestBuilder) Get(ctx context.Context, ...) (ItemActionsPermissionsRepositoriesResponseable, error)
- func (m *ItemActionsPermissionsRepositoriesRequestBuilder) GetAsRepositoriesGetResponse(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 ItemActionsPermissionsRepositoriesRequestBuilderGetRequestConfiguration
- type ItemActionsPermissionsRepositoriesRequestBuilderPutRequestConfiguration
- type ItemActionsPermissionsRepositoriesResponse
- type ItemActionsPermissionsRepositoriesResponseable
- 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 ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration
- type ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration
- 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 ItemActionsPermissionsRequestBuilderGetRequestConfiguration
- type ItemActionsPermissionsRequestBuilderPutRequestConfiguration
- 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 ItemActionsPermissionsSelectedActionsRequestBuilderGetRequestConfiguration
- type ItemActionsPermissionsSelectedActionsRequestBuilderPutRequestConfiguration
- 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 ItemActionsPermissionsWorkflowRequestBuilderGetRequestConfiguration
- type ItemActionsPermissionsWorkflowRequestBuilderPutRequestConfiguration
- type ItemActionsRequestBuilder
- func (m *ItemActionsRequestBuilder) Cache() *ItemActionsCacheRequestBuilder
- func (m *ItemActionsRequestBuilder) Oidc() *ItemActionsOidcRequestBuilder
- func (m *ItemActionsRequestBuilder) Permissions() *ItemActionsPermissionsRequestBuilder
- func (m *ItemActionsRequestBuilder) Runners() *ItemActionsRunnersRequestBuilder
- func (m *ItemActionsRequestBuilder) Secrets() *ItemActionsSecretsRequestBuilder
- func (m *ItemActionsRequestBuilder) Variables() *ItemActionsVariablesRequestBuilder
- type ItemActionsRunnersDownloadsRequestBuilder
- func (m *ItemActionsRunnersDownloadsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersDownloadsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersDownloadsRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersDownloadsRequestBuilder
- type ItemActionsRunnersDownloadsRequestBuilderGetRequestConfiguration
- 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() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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, ...) (ItemActionsRunnersGenerateJitconfigResponseable, error)
- func (m *ItemActionsRunnersGenerateJitconfigRequestBuilder) PostAsGenerateJitconfigPostResponse(ctx context.Context, ...) (ItemActionsRunnersGenerateJitconfigPostResponseable, error)
- func (m *ItemActionsRunnersGenerateJitconfigRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersGenerateJitconfigRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersGenerateJitconfigRequestBuilder
- type ItemActionsRunnersGenerateJitconfigRequestBuilderPostRequestConfiguration
- type ItemActionsRunnersGenerateJitconfigResponse
- type ItemActionsRunnersGenerateJitconfigResponseable
- type ItemActionsRunnersGetResponse
- func (m *ItemActionsRunnersGetResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnersGetResponse) GetFieldDeserializers() ...
- func (m *ItemActionsRunnersGetResponse) GetRunners() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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 ItemActionsRunnersItemLabelsItemWithNameResponse
- type ItemActionsRunnersItemLabelsItemWithNameResponseable
- 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, ...) (ItemActionsRunnersItemLabelsResponseable, error)
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) DeleteAsLabelsDeleteResponse(ctx context.Context, ...) (ItemActionsRunnersItemLabelsDeleteResponseable, error)
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) Get(ctx context.Context, ...) (ItemActionsRunnersItemLabelsResponseable, error)
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) GetAsLabelsGetResponse(ctx context.Context, ...) (ItemActionsRunnersItemLabelsGetResponseable, error)
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) Post(ctx context.Context, body ItemActionsRunnersItemLabelsPostRequestBodyable, ...) (ItemActionsRunnersItemLabelsResponseable, error)
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) PostAsLabelsPostResponse(ctx context.Context, body ItemActionsRunnersItemLabelsPostRequestBodyable, ...) (ItemActionsRunnersItemLabelsPostResponseable, error)
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) Put(ctx context.Context, body ItemActionsRunnersItemLabelsPutRequestBodyable, ...) (ItemActionsRunnersItemLabelsResponseable, error)
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) PutAsLabelsPutResponse(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 ItemActionsRunnersItemLabelsRequestBuilderDeleteRequestConfiguration
- type ItemActionsRunnersItemLabelsRequestBuilderGetRequestConfiguration
- type ItemActionsRunnersItemLabelsRequestBuilderPostRequestConfiguration
- type ItemActionsRunnersItemLabelsRequestBuilderPutRequestConfiguration
- type ItemActionsRunnersItemLabelsResponse
- type ItemActionsRunnersItemLabelsResponseable
- type ItemActionsRunnersItemLabelsWithNameItemRequestBuilder
- func NewItemActionsRunnersItemLabelsWithNameItemRequestBuilder(rawUrl string, ...) *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder
- func NewItemActionsRunnersItemLabelsWithNameItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder
- func (m *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) Delete(ctx context.Context, ...) (ItemActionsRunnersItemLabelsItemWithNameResponseable, error)
- func (m *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) DeleteAsWithNameDeleteResponse(ctx context.Context, ...) (ItemActionsRunnersItemLabelsItemWithNameDeleteResponseable, error)
- func (m *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder
- type ItemActionsRunnersItemLabelsWithNameItemRequestBuilderDeleteRequestConfiguration
- type ItemActionsRunnersRegistrationTokenRequestBuilder
- func (m *ItemActionsRunnersRegistrationTokenRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersRegistrationTokenRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersRegistrationTokenRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersRegistrationTokenRequestBuilder
- type ItemActionsRunnersRegistrationTokenRequestBuilderPostRequestConfiguration
- type ItemActionsRunnersRemoveTokenRequestBuilder
- func (m *ItemActionsRunnersRemoveTokenRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersRemoveTokenRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersRemoveTokenRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersRemoveTokenRequestBuilder
- type ItemActionsRunnersRemoveTokenRequestBuilderPostRequestConfiguration
- type ItemActionsRunnersRequestBuilder
- func (m *ItemActionsRunnersRequestBuilder) ByRunner_id(runner_id string) *ItemActionsRunnersWithRunner_ItemRequestBuilder
- func (m *ItemActionsRunnersRequestBuilder) ByRunner_idInteger(runner_id int32) *ItemActionsRunnersWithRunner_ItemRequestBuilder
- func (m *ItemActionsRunnersRequestBuilder) Downloads() *ItemActionsRunnersDownloadsRequestBuilder
- func (m *ItemActionsRunnersRequestBuilder) GenerateJitconfig() *ItemActionsRunnersGenerateJitconfigRequestBuilder
- func (m *ItemActionsRunnersRequestBuilder) Get(ctx context.Context, ...) (ItemActionsRunnersResponseable, error)
- func (m *ItemActionsRunnersRequestBuilder) GetAsRunnersGetResponse(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 ItemActionsRunnersRequestBuilderGetRequestConfiguration
- type ItemActionsRunnersResponse
- type ItemActionsRunnersResponseable
- type ItemActionsRunnersWithRunner_ItemRequestBuilder
- func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) Get(ctx context.Context, ...) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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 ItemActionsRunnersWithRunner_ItemRequestBuilderDeleteRequestConfiguration
- type ItemActionsRunnersWithRunner_ItemRequestBuilderGetRequestConfiguration
- 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 string) *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *ItemActionsSecretsItemRepositoriesRequestBuilder) ByRepository_idInteger(repository_id int32) *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *ItemActionsSecretsItemRepositoriesRequestBuilder) Get(ctx context.Context, ...) (ItemActionsSecretsItemRepositoriesResponseable, error)
- func (m *ItemActionsSecretsItemRepositoriesRequestBuilder) GetAsRepositoriesGetResponse(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 ItemActionsSecretsItemRepositoriesRequestBuilderGetRequestConfiguration
- type ItemActionsSecretsItemRepositoriesRequestBuilderPutRequestConfiguration
- type ItemActionsSecretsItemRepositoriesResponse
- type ItemActionsSecretsItemRepositoriesResponseable
- 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 ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration
- type ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration
- 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 ItemActionsSecretsPublicKeyRequestBuilderGetRequestConfiguration
- type ItemActionsSecretsRequestBuilder
- func (m *ItemActionsSecretsRequestBuilder) BySecret_name(secret_name string) *ItemActionsSecretsWithSecret_nameItemRequestBuilder
- func (m *ItemActionsSecretsRequestBuilder) Get(ctx context.Context, ...) (ItemActionsSecretsResponseable, error)
- func (m *ItemActionsSecretsRequestBuilder) GetAsSecretsGetResponse(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 ItemActionsSecretsRequestBuilderGetRequestConfiguration
- type ItemActionsSecretsResponse
- type ItemActionsSecretsResponseable
- 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 ItemActionsSecretsWithSecret_nameItemRequestBuilderDeleteRequestConfiguration
- type ItemActionsSecretsWithSecret_nameItemRequestBuilderGetRequestConfiguration
- type ItemActionsSecretsWithSecret_nameItemRequestBuilderPutRequestConfiguration
- 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 string) *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *ItemActionsVariablesItemRepositoriesRequestBuilder) ByRepository_idInteger(repository_id int32) *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *ItemActionsVariablesItemRepositoriesRequestBuilder) Get(ctx context.Context, ...) (ItemActionsVariablesItemRepositoriesResponseable, error)
- func (m *ItemActionsVariablesItemRepositoriesRequestBuilder) GetAsRepositoriesGetResponse(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 ItemActionsVariablesItemRepositoriesRequestBuilderGetRequestConfiguration
- type ItemActionsVariablesItemRepositoriesRequestBuilderPutRequestConfiguration
- type ItemActionsVariablesItemRepositoriesResponse
- type ItemActionsVariablesItemRepositoriesResponseable
- 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 ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration
- type ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration
- 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, ...) (ItemActionsVariablesResponseable, error)
- func (m *ItemActionsVariablesRequestBuilder) GetAsVariablesGetResponse(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 ItemActionsVariablesRequestBuilderGetRequestConfiguration
- type ItemActionsVariablesRequestBuilderPostRequestConfiguration
- type ItemActionsVariablesResponse
- type ItemActionsVariablesResponseable
- 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 ItemActionsVariablesWithNameItemRequestBuilderDeleteRequestConfiguration
- type ItemActionsVariablesWithNameItemRequestBuilderGetRequestConfiguration
- type ItemActionsVariablesWithNameItemRequestBuilderPatchRequestConfiguration
- type ItemBlocksRequestBuilder
- func (m *ItemBlocksRequestBuilder) ByUsername(username string) *ItemBlocksWithUsernameItemRequestBuilder
- func (m *ItemBlocksRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemBlocksRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemBlocksRequestBuilder) WithUrl(rawUrl string) *ItemBlocksRequestBuilder
- type ItemBlocksRequestBuilderGetQueryParameters
- type ItemBlocksRequestBuilderGetRequestConfiguration
- type ItemBlocksWithUsernameItemRequestBuilder
- func (m *ItemBlocksWithUsernameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemBlocksWithUsernameItemRequestBuilder) Get(ctx context.Context, ...) error
- func (m *ItemBlocksWithUsernameItemRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemBlocksWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemBlocksWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemBlocksWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemBlocksWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *ItemBlocksWithUsernameItemRequestBuilder
- type ItemBlocksWithUsernameItemRequestBuilderDeleteRequestConfiguration
- type ItemBlocksWithUsernameItemRequestBuilderGetRequestConfiguration
- type ItemBlocksWithUsernameItemRequestBuilderPutRequestConfiguration
- type ItemCodeScanningAlertsRequestBuilder
- type ItemCodeScanningAlertsRequestBuilderGetQueryParameters
- type ItemCodeScanningAlertsRequestBuilderGetRequestConfiguration
- type ItemCodeScanningRequestBuilder
- type ItemCodespacesAccessPutRequestBody
- func (m *ItemCodespacesAccessPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemCodespacesAccessPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemCodespacesAccessPutRequestBody) GetSelectedUsernames() []string
- func (m *ItemCodespacesAccessPutRequestBody) Serialize(...) error
- func (m *ItemCodespacesAccessPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemCodespacesAccessPutRequestBody) SetSelectedUsernames(value []string)
- type ItemCodespacesAccessPutRequestBodyable
- type ItemCodespacesAccessRequestBuilder
- func (m *ItemCodespacesAccessRequestBuilder) Put(ctx context.Context, body ItemCodespacesAccessPutRequestBodyable, ...) error
- func (m *ItemCodespacesAccessRequestBuilder) Selected_users() *ItemCodespacesAccessSelected_usersRequestBuilder
- func (m *ItemCodespacesAccessRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemCodespacesAccessPutRequestBodyable, ...) (...)
- func (m *ItemCodespacesAccessRequestBuilder) WithUrl(rawUrl string) *ItemCodespacesAccessRequestBuilder
- type ItemCodespacesAccessRequestBuilderPutRequestConfiguration
- type ItemCodespacesAccessSelected_usersDeleteRequestBody
- func (m *ItemCodespacesAccessSelected_usersDeleteRequestBody) GetAdditionalData() map[string]any
- func (m *ItemCodespacesAccessSelected_usersDeleteRequestBody) GetFieldDeserializers() ...
- func (m *ItemCodespacesAccessSelected_usersDeleteRequestBody) GetSelectedUsernames() []string
- func (m *ItemCodespacesAccessSelected_usersDeleteRequestBody) Serialize(...) error
- func (m *ItemCodespacesAccessSelected_usersDeleteRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemCodespacesAccessSelected_usersDeleteRequestBody) SetSelectedUsernames(value []string)
- type ItemCodespacesAccessSelected_usersDeleteRequestBodyable
- type ItemCodespacesAccessSelected_usersPostRequestBody
- func (m *ItemCodespacesAccessSelected_usersPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemCodespacesAccessSelected_usersPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemCodespacesAccessSelected_usersPostRequestBody) GetSelectedUsernames() []string
- func (m *ItemCodespacesAccessSelected_usersPostRequestBody) Serialize(...) error
- func (m *ItemCodespacesAccessSelected_usersPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemCodespacesAccessSelected_usersPostRequestBody) SetSelectedUsernames(value []string)
- type ItemCodespacesAccessSelected_usersPostRequestBodyable
- type ItemCodespacesAccessSelected_usersRequestBuilder
- func (m *ItemCodespacesAccessSelected_usersRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemCodespacesAccessSelected_usersRequestBuilder) Post(ctx context.Context, ...) error
- func (m *ItemCodespacesAccessSelected_usersRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemCodespacesAccessSelected_usersRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemCodespacesAccessSelected_usersRequestBuilder) WithUrl(rawUrl string) *ItemCodespacesAccessSelected_usersRequestBuilder
- type ItemCodespacesAccessSelected_usersRequestBuilderDeleteRequestConfiguration
- type ItemCodespacesAccessSelected_usersRequestBuilderPostRequestConfiguration
- type ItemCodespacesGetResponse
- func (m *ItemCodespacesGetResponse) GetAdditionalData() map[string]any
- func (m *ItemCodespacesGetResponse) GetCodespaces() ...
- func (m *ItemCodespacesGetResponse) GetFieldDeserializers() ...
- func (m *ItemCodespacesGetResponse) GetTotalCount() *int32
- func (m *ItemCodespacesGetResponse) Serialize(...) error
- func (m *ItemCodespacesGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemCodespacesGetResponse) SetCodespaces(...)
- func (m *ItemCodespacesGetResponse) SetTotalCount(value *int32)
- type ItemCodespacesGetResponseable
- type ItemCodespacesRequestBuilder
- func (m *ItemCodespacesRequestBuilder) Access() *ItemCodespacesAccessRequestBuilder
- func (m *ItemCodespacesRequestBuilder) Get(ctx context.Context, ...) (ItemCodespacesResponseable, error)
- func (m *ItemCodespacesRequestBuilder) GetAsCodespacesGetResponse(ctx context.Context, ...) (ItemCodespacesGetResponseable, error)
- func (m *ItemCodespacesRequestBuilder) Secrets() *ItemCodespacesSecretsRequestBuilder
- func (m *ItemCodespacesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemCodespacesRequestBuilder) WithUrl(rawUrl string) *ItemCodespacesRequestBuilder
- type ItemCodespacesRequestBuilderGetQueryParameters
- type ItemCodespacesRequestBuilderGetRequestConfiguration
- type ItemCodespacesResponse
- type ItemCodespacesResponseable
- type ItemCodespacesSecretsGetResponse
- func (m *ItemCodespacesSecretsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemCodespacesSecretsGetResponse) GetFieldDeserializers() ...
- func (m *ItemCodespacesSecretsGetResponse) GetSecrets() ...
- func (m *ItemCodespacesSecretsGetResponse) GetTotalCount() *int32
- func (m *ItemCodespacesSecretsGetResponse) Serialize(...) error
- func (m *ItemCodespacesSecretsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemCodespacesSecretsGetResponse) SetSecrets(...)
- func (m *ItemCodespacesSecretsGetResponse) SetTotalCount(value *int32)
- type ItemCodespacesSecretsGetResponseable
- type ItemCodespacesSecretsItemRepositoriesGetResponse
- func (m *ItemCodespacesSecretsItemRepositoriesGetResponse) GetAdditionalData() map[string]any
- func (m *ItemCodespacesSecretsItemRepositoriesGetResponse) GetFieldDeserializers() ...
- func (m *ItemCodespacesSecretsItemRepositoriesGetResponse) GetRepositories() ...
- func (m *ItemCodespacesSecretsItemRepositoriesGetResponse) GetTotalCount() *int32
- func (m *ItemCodespacesSecretsItemRepositoriesGetResponse) Serialize(...) error
- func (m *ItemCodespacesSecretsItemRepositoriesGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemCodespacesSecretsItemRepositoriesGetResponse) SetRepositories(...)
- func (m *ItemCodespacesSecretsItemRepositoriesGetResponse) SetTotalCount(value *int32)
- type ItemCodespacesSecretsItemRepositoriesGetResponseable
- type ItemCodespacesSecretsItemRepositoriesPutRequestBody
- func (m *ItemCodespacesSecretsItemRepositoriesPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemCodespacesSecretsItemRepositoriesPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemCodespacesSecretsItemRepositoriesPutRequestBody) GetSelectedRepositoryIds() []int32
- func (m *ItemCodespacesSecretsItemRepositoriesPutRequestBody) Serialize(...) error
- func (m *ItemCodespacesSecretsItemRepositoriesPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemCodespacesSecretsItemRepositoriesPutRequestBody) SetSelectedRepositoryIds(value []int32)
- type ItemCodespacesSecretsItemRepositoriesPutRequestBodyable
- type ItemCodespacesSecretsItemRepositoriesRequestBuilder
- func (m *ItemCodespacesSecretsItemRepositoriesRequestBuilder) ByRepository_id(repository_id string) *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *ItemCodespacesSecretsItemRepositoriesRequestBuilder) ByRepository_idInteger(repository_id int32) *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *ItemCodespacesSecretsItemRepositoriesRequestBuilder) Get(ctx context.Context, ...) (ItemCodespacesSecretsItemRepositoriesResponseable, error)
- func (m *ItemCodespacesSecretsItemRepositoriesRequestBuilder) GetAsRepositoriesGetResponse(ctx context.Context, ...) (ItemCodespacesSecretsItemRepositoriesGetResponseable, error)
- func (m *ItemCodespacesSecretsItemRepositoriesRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemCodespacesSecretsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemCodespacesSecretsItemRepositoriesRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemCodespacesSecretsItemRepositoriesRequestBuilder) WithUrl(rawUrl string) *ItemCodespacesSecretsItemRepositoriesRequestBuilder
- type ItemCodespacesSecretsItemRepositoriesRequestBuilderGetQueryParameters
- type ItemCodespacesSecretsItemRepositoriesRequestBuilderGetRequestConfiguration
- type ItemCodespacesSecretsItemRepositoriesRequestBuilderPutRequestConfiguration
- type ItemCodespacesSecretsItemRepositoriesResponse
- type ItemCodespacesSecretsItemRepositoriesResponseable
- type ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- func NewItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder(rawUrl string, ...) *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- func NewItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) WithUrl(rawUrl string) *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- type ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration
- type ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration
- type ItemCodespacesSecretsItemWithSecret_namePutRequestBody
- func (m *ItemCodespacesSecretsItemWithSecret_namePutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemCodespacesSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue() *string
- func (m *ItemCodespacesSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers() ...
- func (m *ItemCodespacesSecretsItemWithSecret_namePutRequestBody) GetKeyId() *string
- func (m *ItemCodespacesSecretsItemWithSecret_namePutRequestBody) GetSelectedRepositoryIds() []int32
- func (m *ItemCodespacesSecretsItemWithSecret_namePutRequestBody) Serialize(...) error
- func (m *ItemCodespacesSecretsItemWithSecret_namePutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemCodespacesSecretsItemWithSecret_namePutRequestBody) SetEncryptedValue(value *string)
- func (m *ItemCodespacesSecretsItemWithSecret_namePutRequestBody) SetKeyId(value *string)
- func (m *ItemCodespacesSecretsItemWithSecret_namePutRequestBody) SetSelectedRepositoryIds(value []int32)
- type ItemCodespacesSecretsItemWithSecret_namePutRequestBodyable
- type ItemCodespacesSecretsPublicKeyRequestBuilder
- func (m *ItemCodespacesSecretsPublicKeyRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemCodespacesSecretsPublicKeyRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemCodespacesSecretsPublicKeyRequestBuilder) WithUrl(rawUrl string) *ItemCodespacesSecretsPublicKeyRequestBuilder
- type ItemCodespacesSecretsPublicKeyRequestBuilderGetRequestConfiguration
- type ItemCodespacesSecretsRequestBuilder
- func (m *ItemCodespacesSecretsRequestBuilder) BySecret_name(secret_name string) *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder
- func (m *ItemCodespacesSecretsRequestBuilder) Get(ctx context.Context, ...) (ItemCodespacesSecretsResponseable, error)
- func (m *ItemCodespacesSecretsRequestBuilder) GetAsSecretsGetResponse(ctx context.Context, ...) (ItemCodespacesSecretsGetResponseable, error)
- func (m *ItemCodespacesSecretsRequestBuilder) PublicKey() *ItemCodespacesSecretsPublicKeyRequestBuilder
- func (m *ItemCodespacesSecretsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemCodespacesSecretsRequestBuilder) WithUrl(rawUrl string) *ItemCodespacesSecretsRequestBuilder
- type ItemCodespacesSecretsRequestBuilderGetQueryParameters
- type ItemCodespacesSecretsRequestBuilderGetRequestConfiguration
- type ItemCodespacesSecretsResponse
- type ItemCodespacesSecretsResponseable
- type ItemCodespacesSecretsWithSecret_nameItemRequestBuilder
- func NewItemCodespacesSecretsWithSecret_nameItemRequestBuilder(rawUrl string, ...) *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder
- func NewItemCodespacesSecretsWithSecret_nameItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder
- func (m *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) Put(ctx context.Context, ...) (...)
- func (m *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) Repositories() *ItemCodespacesSecretsItemRepositoriesRequestBuilder
- func (m *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) WithUrl(rawUrl string) *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder
- type ItemCodespacesSecretsWithSecret_nameItemRequestBuilderDeleteRequestConfiguration
- type ItemCodespacesSecretsWithSecret_nameItemRequestBuilderGetRequestConfiguration
- type ItemCodespacesSecretsWithSecret_nameItemRequestBuilderPutRequestConfiguration
- type ItemCopilotBillingRequestBuilder
- func (m *ItemCopilotBillingRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemCopilotBillingRequestBuilder) Seats() *ItemCopilotBillingSeatsRequestBuilder
- func (m *ItemCopilotBillingRequestBuilder) Selected_teams() *ItemCopilotBillingSelected_teamsRequestBuilder
- func (m *ItemCopilotBillingRequestBuilder) Selected_users() *ItemCopilotBillingSelected_usersRequestBuilder
- func (m *ItemCopilotBillingRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemCopilotBillingRequestBuilder) WithUrl(rawUrl string) *ItemCopilotBillingRequestBuilder
- type ItemCopilotBillingRequestBuilderGetRequestConfiguration
- type ItemCopilotBillingSeatsGetResponse
- func (m *ItemCopilotBillingSeatsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemCopilotBillingSeatsGetResponse) GetFieldDeserializers() ...
- func (m *ItemCopilotBillingSeatsGetResponse) GetSeats() ...
- func (m *ItemCopilotBillingSeatsGetResponse) GetTotalSeats() *int32
- func (m *ItemCopilotBillingSeatsGetResponse) Serialize(...) error
- func (m *ItemCopilotBillingSeatsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemCopilotBillingSeatsGetResponse) SetSeats(...)
- func (m *ItemCopilotBillingSeatsGetResponse) SetTotalSeats(value *int32)
- type ItemCopilotBillingSeatsGetResponseable
- type ItemCopilotBillingSeatsRequestBuilder
- func (m *ItemCopilotBillingSeatsRequestBuilder) Get(ctx context.Context, ...) (ItemCopilotBillingSeatsResponseable, error)
- func (m *ItemCopilotBillingSeatsRequestBuilder) GetAsSeatsGetResponse(ctx context.Context, ...) (ItemCopilotBillingSeatsGetResponseable, error)
- func (m *ItemCopilotBillingSeatsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemCopilotBillingSeatsRequestBuilder) WithUrl(rawUrl string) *ItemCopilotBillingSeatsRequestBuilder
- type ItemCopilotBillingSeatsRequestBuilderGetQueryParameters
- type ItemCopilotBillingSeatsRequestBuilderGetRequestConfiguration
- type ItemCopilotBillingSeatsResponse
- type ItemCopilotBillingSeatsResponseable
- type ItemCopilotBillingSelected_teamsDeleteRequestBody
- func (m *ItemCopilotBillingSelected_teamsDeleteRequestBody) GetAdditionalData() map[string]any
- func (m *ItemCopilotBillingSelected_teamsDeleteRequestBody) GetFieldDeserializers() ...
- func (m *ItemCopilotBillingSelected_teamsDeleteRequestBody) GetSelectedTeams() []string
- func (m *ItemCopilotBillingSelected_teamsDeleteRequestBody) Serialize(...) error
- func (m *ItemCopilotBillingSelected_teamsDeleteRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemCopilotBillingSelected_teamsDeleteRequestBody) SetSelectedTeams(value []string)
- type ItemCopilotBillingSelected_teamsDeleteRequestBodyable
- type ItemCopilotBillingSelected_teamsDeleteResponse
- func (m *ItemCopilotBillingSelected_teamsDeleteResponse) GetAdditionalData() map[string]any
- func (m *ItemCopilotBillingSelected_teamsDeleteResponse) GetFieldDeserializers() ...
- func (m *ItemCopilotBillingSelected_teamsDeleteResponse) GetSeatsCancelled() *int32
- func (m *ItemCopilotBillingSelected_teamsDeleteResponse) Serialize(...) error
- func (m *ItemCopilotBillingSelected_teamsDeleteResponse) SetAdditionalData(value map[string]any)
- func (m *ItemCopilotBillingSelected_teamsDeleteResponse) SetSeatsCancelled(value *int32)
- type ItemCopilotBillingSelected_teamsDeleteResponseable
- type ItemCopilotBillingSelected_teamsPostRequestBody
- func (m *ItemCopilotBillingSelected_teamsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemCopilotBillingSelected_teamsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemCopilotBillingSelected_teamsPostRequestBody) GetSelectedTeams() []string
- func (m *ItemCopilotBillingSelected_teamsPostRequestBody) Serialize(...) error
- func (m *ItemCopilotBillingSelected_teamsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemCopilotBillingSelected_teamsPostRequestBody) SetSelectedTeams(value []string)
- type ItemCopilotBillingSelected_teamsPostRequestBodyable
- type ItemCopilotBillingSelected_teamsPostResponse
- func (m *ItemCopilotBillingSelected_teamsPostResponse) GetAdditionalData() map[string]any
- func (m *ItemCopilotBillingSelected_teamsPostResponse) GetFieldDeserializers() ...
- func (m *ItemCopilotBillingSelected_teamsPostResponse) GetSeatsCreated() *int32
- func (m *ItemCopilotBillingSelected_teamsPostResponse) Serialize(...) error
- func (m *ItemCopilotBillingSelected_teamsPostResponse) SetAdditionalData(value map[string]any)
- func (m *ItemCopilotBillingSelected_teamsPostResponse) SetSeatsCreated(value *int32)
- type ItemCopilotBillingSelected_teamsPostResponseable
- type ItemCopilotBillingSelected_teamsRequestBuilder
- func (m *ItemCopilotBillingSelected_teamsRequestBuilder) Delete(ctx context.Context, ...) (ItemCopilotBillingSelected_teamsResponseable, error)
- func (m *ItemCopilotBillingSelected_teamsRequestBuilder) DeleteAsSelected_teamsDeleteResponse(ctx context.Context, ...) (ItemCopilotBillingSelected_teamsDeleteResponseable, error)
- func (m *ItemCopilotBillingSelected_teamsRequestBuilder) Post(ctx context.Context, body ItemCopilotBillingSelected_teamsPostRequestBodyable, ...) (ItemCopilotBillingSelected_teamsResponseable, error)
- func (m *ItemCopilotBillingSelected_teamsRequestBuilder) PostAsSelected_teamsPostResponse(ctx context.Context, body ItemCopilotBillingSelected_teamsPostRequestBodyable, ...) (ItemCopilotBillingSelected_teamsPostResponseable, error)
- func (m *ItemCopilotBillingSelected_teamsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemCopilotBillingSelected_teamsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCopilotBillingSelected_teamsPostRequestBodyable, ...) (...)
- func (m *ItemCopilotBillingSelected_teamsRequestBuilder) WithUrl(rawUrl string) *ItemCopilotBillingSelected_teamsRequestBuilder
- type ItemCopilotBillingSelected_teamsRequestBuilderDeleteRequestConfiguration
- type ItemCopilotBillingSelected_teamsRequestBuilderPostRequestConfiguration
- type ItemCopilotBillingSelected_teamsResponse
- type ItemCopilotBillingSelected_teamsResponseable
- type ItemCopilotBillingSelected_usersDeleteRequestBody
- func (m *ItemCopilotBillingSelected_usersDeleteRequestBody) GetAdditionalData() map[string]any
- func (m *ItemCopilotBillingSelected_usersDeleteRequestBody) GetFieldDeserializers() ...
- func (m *ItemCopilotBillingSelected_usersDeleteRequestBody) GetSelectedUsernames() []string
- func (m *ItemCopilotBillingSelected_usersDeleteRequestBody) Serialize(...) error
- func (m *ItemCopilotBillingSelected_usersDeleteRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemCopilotBillingSelected_usersDeleteRequestBody) SetSelectedUsernames(value []string)
- type ItemCopilotBillingSelected_usersDeleteRequestBodyable
- type ItemCopilotBillingSelected_usersDeleteResponse
- func (m *ItemCopilotBillingSelected_usersDeleteResponse) GetAdditionalData() map[string]any
- func (m *ItemCopilotBillingSelected_usersDeleteResponse) GetFieldDeserializers() ...
- func (m *ItemCopilotBillingSelected_usersDeleteResponse) GetSeatsCancelled() *int32
- func (m *ItemCopilotBillingSelected_usersDeleteResponse) Serialize(...) error
- func (m *ItemCopilotBillingSelected_usersDeleteResponse) SetAdditionalData(value map[string]any)
- func (m *ItemCopilotBillingSelected_usersDeleteResponse) SetSeatsCancelled(value *int32)
- type ItemCopilotBillingSelected_usersDeleteResponseable
- type ItemCopilotBillingSelected_usersPostRequestBody
- func (m *ItemCopilotBillingSelected_usersPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemCopilotBillingSelected_usersPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemCopilotBillingSelected_usersPostRequestBody) GetSelectedUsernames() []string
- func (m *ItemCopilotBillingSelected_usersPostRequestBody) Serialize(...) error
- func (m *ItemCopilotBillingSelected_usersPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemCopilotBillingSelected_usersPostRequestBody) SetSelectedUsernames(value []string)
- type ItemCopilotBillingSelected_usersPostRequestBodyable
- type ItemCopilotBillingSelected_usersPostResponse
- func (m *ItemCopilotBillingSelected_usersPostResponse) GetAdditionalData() map[string]any
- func (m *ItemCopilotBillingSelected_usersPostResponse) GetFieldDeserializers() ...
- func (m *ItemCopilotBillingSelected_usersPostResponse) GetSeatsCreated() *int32
- func (m *ItemCopilotBillingSelected_usersPostResponse) Serialize(...) error
- func (m *ItemCopilotBillingSelected_usersPostResponse) SetAdditionalData(value map[string]any)
- func (m *ItemCopilotBillingSelected_usersPostResponse) SetSeatsCreated(value *int32)
- type ItemCopilotBillingSelected_usersPostResponseable
- type ItemCopilotBillingSelected_usersRequestBuilder
- func (m *ItemCopilotBillingSelected_usersRequestBuilder) Delete(ctx context.Context, ...) (ItemCopilotBillingSelected_usersResponseable, error)
- func (m *ItemCopilotBillingSelected_usersRequestBuilder) DeleteAsSelected_usersDeleteResponse(ctx context.Context, ...) (ItemCopilotBillingSelected_usersDeleteResponseable, error)
- func (m *ItemCopilotBillingSelected_usersRequestBuilder) Post(ctx context.Context, body ItemCopilotBillingSelected_usersPostRequestBodyable, ...) (ItemCopilotBillingSelected_usersResponseable, error)
- func (m *ItemCopilotBillingSelected_usersRequestBuilder) PostAsSelected_usersPostResponse(ctx context.Context, body ItemCopilotBillingSelected_usersPostRequestBodyable, ...) (ItemCopilotBillingSelected_usersPostResponseable, error)
- func (m *ItemCopilotBillingSelected_usersRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemCopilotBillingSelected_usersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCopilotBillingSelected_usersPostRequestBodyable, ...) (...)
- func (m *ItemCopilotBillingSelected_usersRequestBuilder) WithUrl(rawUrl string) *ItemCopilotBillingSelected_usersRequestBuilder
- type ItemCopilotBillingSelected_usersRequestBuilderDeleteRequestConfiguration
- type ItemCopilotBillingSelected_usersRequestBuilderPostRequestConfiguration
- type ItemCopilotBillingSelected_usersResponse
- type ItemCopilotBillingSelected_usersResponseable
- type ItemCopilotRequestBuilder
- type ItemDependabotAlertsRequestBuilder
- type ItemDependabotAlertsRequestBuilderGetQueryParameters
- type ItemDependabotAlertsRequestBuilderGetRequestConfiguration
- 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 string) *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *ItemDependabotSecretsItemRepositoriesRequestBuilder) ByRepository_idInteger(repository_id int32) *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder
- func (m *ItemDependabotSecretsItemRepositoriesRequestBuilder) Get(ctx context.Context, ...) (ItemDependabotSecretsItemRepositoriesResponseable, error)
- func (m *ItemDependabotSecretsItemRepositoriesRequestBuilder) GetAsRepositoriesGetResponse(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 ItemDependabotSecretsItemRepositoriesRequestBuilderGetRequestConfiguration
- type ItemDependabotSecretsItemRepositoriesRequestBuilderPutRequestConfiguration
- type ItemDependabotSecretsItemRepositoriesResponse
- type ItemDependabotSecretsItemRepositoriesResponseable
- 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 ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration
- type ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration
- 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 ItemDependabotSecretsPublicKeyRequestBuilderGetRequestConfiguration
- type ItemDependabotSecretsRequestBuilder
- func (m *ItemDependabotSecretsRequestBuilder) BySecret_name(secret_name string) *ItemDependabotSecretsWithSecret_nameItemRequestBuilder
- func (m *ItemDependabotSecretsRequestBuilder) Get(ctx context.Context, ...) (ItemDependabotSecretsResponseable, error)
- func (m *ItemDependabotSecretsRequestBuilder) GetAsSecretsGetResponse(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 ItemDependabotSecretsRequestBuilderGetRequestConfiguration
- type ItemDependabotSecretsResponse
- type ItemDependabotSecretsResponseable
- 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 ItemDependabotSecretsWithSecret_nameItemRequestBuilderDeleteRequestConfiguration
- type ItemDependabotSecretsWithSecret_nameItemRequestBuilderGetRequestConfiguration
- type ItemDependabotSecretsWithSecret_nameItemRequestBuilderPutRequestConfiguration
- type ItemDockerConflictsRequestBuilder
- type ItemDockerConflictsRequestBuilderGetRequestConfiguration
- type ItemDockerRequestBuilder
- type ItemEventsRequestBuilder
- func (m *ItemEventsRequestBuilder) Get(ctx context.Context, ...) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Eventable, ...)
- func (m *ItemEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemEventsRequestBuilder) WithUrl(rawUrl string) *ItemEventsRequestBuilder
- type ItemEventsRequestBuilderGetQueryParameters
- type ItemEventsRequestBuilderGetRequestConfiguration
- type ItemFailed_invitationsRequestBuilder
- type ItemFailed_invitationsRequestBuilderGetQueryParameters
- type ItemFailed_invitationsRequestBuilderGetRequestConfiguration
- 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 ItemHooksItemConfigRequestBuilderGetRequestConfiguration
- type ItemHooksItemConfigRequestBuilderPatchRequestConfiguration
- 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, ...) (ItemHooksItemDeliveriesItemAttemptsResponseable, error)
- func (m *ItemHooksItemDeliveriesItemAttemptsRequestBuilder) PostAsAttemptsPostResponse(ctx context.Context, ...) (ItemHooksItemDeliveriesItemAttemptsPostResponseable, error)
- func (m *ItemHooksItemDeliveriesItemAttemptsRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemHooksItemDeliveriesItemAttemptsRequestBuilder) WithUrl(rawUrl string) *ItemHooksItemDeliveriesItemAttemptsRequestBuilder
- type ItemHooksItemDeliveriesItemAttemptsRequestBuilderPostRequestConfiguration
- type ItemHooksItemDeliveriesItemAttemptsResponse
- type ItemHooksItemDeliveriesItemAttemptsResponseable
- type ItemHooksItemDeliveriesRequestBuilder
- func (m *ItemHooksItemDeliveriesRequestBuilder) ByDelivery_id(delivery_id string) *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder
- func (m *ItemHooksItemDeliveriesRequestBuilder) ByDelivery_idInteger(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 ItemHooksItemDeliveriesRequestBuilderGetRequestConfiguration
- 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 ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilderGetRequestConfiguration
- type ItemHooksItemPingsRequestBuilder
- type ItemHooksItemPingsRequestBuilderPostRequestConfiguration
- 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 string) *ItemHooksWithHook_ItemRequestBuilder
- func (m *ItemHooksRequestBuilder) ByHook_idInteger(hook_id int32) *ItemHooksWithHook_ItemRequestBuilder
- func (m *ItemHooksRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemHooksRequestBuilder) Post(ctx context.Context, body ItemHooksPostRequestBodyable, ...) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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 ItemHooksRequestBuilderGetRequestConfiguration
- type ItemHooksRequestBuilderPostRequestConfiguration
- 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, ...) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrgHookable, ...)
- func (m *ItemHooksWithHook_ItemRequestBuilder) Patch(ctx context.Context, body ItemHooksItemWithHook_PatchRequestBodyable, ...) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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 ItemHooksWithHook_ItemRequestBuilderDeleteRequestConfiguration
- type ItemHooksWithHook_ItemRequestBuilderGetRequestConfiguration
- type ItemHooksWithHook_ItemRequestBuilderPatchRequestConfiguration
- type ItemInstallationRequestBuilder
- type ItemInstallationRequestBuilderGetRequestConfiguration
- 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, ...) (ItemInstallationsResponseable, error)
- func (m *ItemInstallationsRequestBuilder) GetAsInstallationsGetResponse(ctx context.Context, ...) (ItemInstallationsGetResponseable, error)
- func (m *ItemInstallationsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemInstallationsRequestBuilder) WithUrl(rawUrl string) *ItemInstallationsRequestBuilder
- type ItemInstallationsRequestBuilderGetQueryParameters
- type ItemInstallationsRequestBuilderGetRequestConfiguration
- type ItemInstallationsResponse
- type ItemInstallationsResponseable
- type ItemInteractionLimitsGetResponseMember1
- type ItemInteractionLimitsGetResponseMember1able
- type ItemInteractionLimitsRequestBuilder
- func (m *ItemInteractionLimitsRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemInteractionLimitsRequestBuilder) Get(ctx context.Context, ...) (InteractionLimitsResponseable, error)
- func (m *ItemInteractionLimitsRequestBuilder) GetAsInteractionLimitsGetResponse(ctx context.Context, ...) (InteractionLimitsGetResponseable, error)
- func (m *ItemInteractionLimitsRequestBuilder) Put(ctx context.Context, ...) (...)
- func (m *ItemInteractionLimitsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemInteractionLimitsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemInteractionLimitsRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemInteractionLimitsRequestBuilder) WithUrl(rawUrl string) *ItemInteractionLimitsRequestBuilder
- type ItemInteractionLimitsRequestBuilderDeleteRequestConfiguration
- type ItemInteractionLimitsRequestBuilderGetRequestConfiguration
- type ItemInteractionLimitsRequestBuilderPutRequestConfiguration
- type ItemInvitationsItemTeamsRequestBuilder
- func (m *ItemInvitationsItemTeamsRequestBuilder) Get(ctx context.Context, ...) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Teamable, ...)
- func (m *ItemInvitationsItemTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemInvitationsItemTeamsRequestBuilder) WithUrl(rawUrl string) *ItemInvitationsItemTeamsRequestBuilder
- type ItemInvitationsItemTeamsRequestBuilderGetQueryParameters
- type ItemInvitationsItemTeamsRequestBuilderGetRequestConfiguration
- type ItemInvitationsPostRequestBody
- func (m *ItemInvitationsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemInvitationsPostRequestBody) GetEmail() *string
- func (m *ItemInvitationsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemInvitationsPostRequestBody) GetInviteeId() *int32
- func (m *ItemInvitationsPostRequestBody) GetTeamIds() []int32
- func (m *ItemInvitationsPostRequestBody) Serialize(...) error
- func (m *ItemInvitationsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemInvitationsPostRequestBody) SetEmail(value *string)
- func (m *ItemInvitationsPostRequestBody) SetInviteeId(value *int32)
- func (m *ItemInvitationsPostRequestBody) SetTeamIds(value []int32)
- type ItemInvitationsPostRequestBodyable
- type ItemInvitationsRequestBuilder
- func (m *ItemInvitationsRequestBuilder) ByInvitation_id(invitation_id string) *ItemInvitationsWithInvitation_ItemRequestBuilder
- func (m *ItemInvitationsRequestBuilder) ByInvitation_idInteger(invitation_id int32) *ItemInvitationsWithInvitation_ItemRequestBuilder
- func (m *ItemInvitationsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemInvitationsRequestBuilder) Post(ctx context.Context, body ItemInvitationsPostRequestBodyable, ...) (...)
- func (m *ItemInvitationsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemInvitationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemInvitationsPostRequestBodyable, ...) (...)
- func (m *ItemInvitationsRequestBuilder) WithUrl(rawUrl string) *ItemInvitationsRequestBuilder
- type ItemInvitationsRequestBuilderGetQueryParameters
- type ItemInvitationsRequestBuilderGetRequestConfiguration
- type ItemInvitationsRequestBuilderPostRequestConfiguration
- type ItemInvitationsWithInvitation_ItemRequestBuilder
- func (m *ItemInvitationsWithInvitation_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemInvitationsWithInvitation_ItemRequestBuilder) Teams() *ItemInvitationsItemTeamsRequestBuilder
- func (m *ItemInvitationsWithInvitation_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemInvitationsWithInvitation_ItemRequestBuilder) WithUrl(rawUrl string) *ItemInvitationsWithInvitation_ItemRequestBuilder
- type ItemInvitationsWithInvitation_ItemRequestBuilderDeleteRequestConfiguration
- type ItemIssuesRequestBuilder
- func (m *ItemIssuesRequestBuilder) Get(ctx context.Context, ...) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Issueable, ...)
- func (m *ItemIssuesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemIssuesRequestBuilder) WithUrl(rawUrl string) *ItemIssuesRequestBuilder
- type ItemIssuesRequestBuilderGetQueryParameters
- type ItemIssuesRequestBuilderGetRequestConfiguration
- 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 ItemItemWithEnablementItemRequestBuilderPostRequestConfiguration
- type ItemMembersItemCodespacesGetResponse
- func (m *ItemMembersItemCodespacesGetResponse) GetAdditionalData() map[string]any
- func (m *ItemMembersItemCodespacesGetResponse) GetCodespaces() ...
- func (m *ItemMembersItemCodespacesGetResponse) GetFieldDeserializers() ...
- func (m *ItemMembersItemCodespacesGetResponse) GetTotalCount() *int32
- func (m *ItemMembersItemCodespacesGetResponse) Serialize(...) error
- func (m *ItemMembersItemCodespacesGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemMembersItemCodespacesGetResponse) SetCodespaces(...)
- func (m *ItemMembersItemCodespacesGetResponse) SetTotalCount(value *int32)
- type ItemMembersItemCodespacesGetResponseable
- type ItemMembersItemCodespacesItemStopRequestBuilder
- func (m *ItemMembersItemCodespacesItemStopRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemMembersItemCodespacesItemStopRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemMembersItemCodespacesItemStopRequestBuilder) WithUrl(rawUrl string) *ItemMembersItemCodespacesItemStopRequestBuilder
- type ItemMembersItemCodespacesItemStopRequestBuilderPostRequestConfiguration
- type ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse
- func (m *ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse) GetAdditionalData() map[string]any
- func (m *ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse) GetFieldDeserializers() ...
- func (m *ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse) Serialize(...) error
- func (m *ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse) SetAdditionalData(value map[string]any)
- type ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponseable
- type ItemMembersItemCodespacesItemWithCodespace_nameResponse
- type ItemMembersItemCodespacesItemWithCodespace_nameResponseable
- type ItemMembersItemCodespacesRequestBuilder
- func (m *ItemMembersItemCodespacesRequestBuilder) ByCodespace_name(codespace_name string) *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder
- func (m *ItemMembersItemCodespacesRequestBuilder) Get(ctx context.Context, ...) (ItemMembersItemCodespacesResponseable, error)
- func (m *ItemMembersItemCodespacesRequestBuilder) GetAsCodespacesGetResponse(ctx context.Context, ...) (ItemMembersItemCodespacesGetResponseable, error)
- func (m *ItemMembersItemCodespacesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemMembersItemCodespacesRequestBuilder) WithUrl(rawUrl string) *ItemMembersItemCodespacesRequestBuilder
- type ItemMembersItemCodespacesRequestBuilderGetQueryParameters
- type ItemMembersItemCodespacesRequestBuilderGetRequestConfiguration
- type ItemMembersItemCodespacesResponse
- type ItemMembersItemCodespacesResponseable
- type ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder
- func NewItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder(rawUrl string, ...) *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder
- func NewItemMembersItemCodespacesWithCodespace_nameItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder
- func (m *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder) Delete(ctx context.Context, ...) (ItemMembersItemCodespacesItemWithCodespace_nameResponseable, error)
- func (m *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder) DeleteAsWithCodespace_nameDeleteResponse(ctx context.Context, ...) (ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponseable, error)
- func (m *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder) Stop() *ItemMembersItemCodespacesItemStopRequestBuilder
- func (m *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder) WithUrl(rawUrl string) *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder
- type ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilderDeleteRequestConfiguration
- type ItemMembersItemCopilotRequestBuilder
- type ItemMembersItemCopilotRequestBuilderGetRequestConfiguration
- 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 ItemMembersRequestBuilderGetRequestConfiguration
- type ItemMembersWithUsernameItemRequestBuilder
- func (m *ItemMembersWithUsernameItemRequestBuilder) Codespaces() *ItemMembersItemCodespacesRequestBuilder
- func (m *ItemMembersWithUsernameItemRequestBuilder) Copilot() *ItemMembersItemCopilotRequestBuilder
- 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 ItemMembersWithUsernameItemRequestBuilderDeleteRequestConfiguration
- type ItemMembersWithUsernameItemRequestBuilderGetRequestConfiguration
- 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 ItemMembershipsWithUsernameItemRequestBuilderDeleteRequestConfiguration
- type ItemMembershipsWithUsernameItemRequestBuilderGetRequestConfiguration
- type ItemMembershipsWithUsernameItemRequestBuilderPutRequestConfiguration
- type ItemMigrationsItemArchiveRequestBuilder
- func (m *ItemMigrationsItemArchiveRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemMigrationsItemArchiveRequestBuilder) Get(ctx context.Context, ...) ([]byte, error)
- func (m *ItemMigrationsItemArchiveRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemMigrationsItemArchiveRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemMigrationsItemArchiveRequestBuilder) WithUrl(rawUrl string) *ItemMigrationsItemArchiveRequestBuilder
- type ItemMigrationsItemArchiveRequestBuilderDeleteRequestConfiguration
- type ItemMigrationsItemArchiveRequestBuilderGetRequestConfiguration
- 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 ItemMigrationsItemReposItemLockRequestBuilderDeleteRequestConfiguration
- 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 ItemMigrationsItemRepositoriesRequestBuilderGetRequestConfiguration
- 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 string) *ItemMigrationsWithMigration_ItemRequestBuilder
- func (m *ItemMigrationsRequestBuilder) ByMigration_idInteger(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 ItemMigrationsRequestBuilderGetRequestConfiguration
- type ItemMigrationsRequestBuilderPostRequestConfiguration
- 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 ItemMigrationsWithMigration_ItemRequestBuilderGetRequestConfiguration
- type ItemOrganizationFineGrainedPermissionsRequestBuilder
- func (m *ItemOrganizationFineGrainedPermissionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemOrganizationFineGrainedPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemOrganizationFineGrainedPermissionsRequestBuilder) WithUrl(rawUrl string) *ItemOrganizationFineGrainedPermissionsRequestBuilder
- type ItemOrganizationFineGrainedPermissionsRequestBuilderGetRequestConfiguration
- type ItemOrganizationRolesGetResponse
- func (m *ItemOrganizationRolesGetResponse) GetAdditionalData() map[string]any
- func (m *ItemOrganizationRolesGetResponse) GetFieldDeserializers() ...
- func (m *ItemOrganizationRolesGetResponse) GetRoles() ...
- func (m *ItemOrganizationRolesGetResponse) GetTotalCount() *int32
- func (m *ItemOrganizationRolesGetResponse) Serialize(...) error
- func (m *ItemOrganizationRolesGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemOrganizationRolesGetResponse) SetRoles(...)
- func (m *ItemOrganizationRolesGetResponse) SetTotalCount(value *int32)
- type ItemOrganizationRolesGetResponseable
- type ItemOrganizationRolesItemTeamsRequestBuilder
- func (m *ItemOrganizationRolesItemTeamsRequestBuilder) Get(ctx context.Context, ...) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Teamable, ...)
- func (m *ItemOrganizationRolesItemTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemOrganizationRolesItemTeamsRequestBuilder) WithUrl(rawUrl string) *ItemOrganizationRolesItemTeamsRequestBuilder
- type ItemOrganizationRolesItemTeamsRequestBuilderGetQueryParameters
- type ItemOrganizationRolesItemTeamsRequestBuilderGetRequestConfiguration
- type ItemOrganizationRolesItemUsersRequestBuilder
- func (m *ItemOrganizationRolesItemUsersRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemOrganizationRolesItemUsersRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemOrganizationRolesItemUsersRequestBuilder) WithUrl(rawUrl string) *ItemOrganizationRolesItemUsersRequestBuilder
- type ItemOrganizationRolesItemUsersRequestBuilderGetQueryParameters
- type ItemOrganizationRolesItemUsersRequestBuilderGetRequestConfiguration
- type ItemOrganizationRolesItemWithRole_PatchRequestBody
- func (m *ItemOrganizationRolesItemWithRole_PatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemOrganizationRolesItemWithRole_PatchRequestBody) GetDescription() *string
- func (m *ItemOrganizationRolesItemWithRole_PatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemOrganizationRolesItemWithRole_PatchRequestBody) GetName() *string
- func (m *ItemOrganizationRolesItemWithRole_PatchRequestBody) GetPermissions() []string
- func (m *ItemOrganizationRolesItemWithRole_PatchRequestBody) Serialize(...) error
- func (m *ItemOrganizationRolesItemWithRole_PatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemOrganizationRolesItemWithRole_PatchRequestBody) SetDescription(value *string)
- func (m *ItemOrganizationRolesItemWithRole_PatchRequestBody) SetName(value *string)
- func (m *ItemOrganizationRolesItemWithRole_PatchRequestBody) SetPermissions(value []string)
- type ItemOrganizationRolesItemWithRole_PatchRequestBodyable
- type ItemOrganizationRolesPostRequestBody
- func (m *ItemOrganizationRolesPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemOrganizationRolesPostRequestBody) GetDescription() *string
- func (m *ItemOrganizationRolesPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemOrganizationRolesPostRequestBody) GetName() *string
- func (m *ItemOrganizationRolesPostRequestBody) GetPermissions() []string
- func (m *ItemOrganizationRolesPostRequestBody) Serialize(...) error
- func (m *ItemOrganizationRolesPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemOrganizationRolesPostRequestBody) SetDescription(value *string)
- func (m *ItemOrganizationRolesPostRequestBody) SetName(value *string)
- func (m *ItemOrganizationRolesPostRequestBody) SetPermissions(value []string)
- type ItemOrganizationRolesPostRequestBodyable
- type ItemOrganizationRolesRequestBuilder
- func (m *ItemOrganizationRolesRequestBuilder) ByRole_id(role_id string) *ItemOrganizationRolesWithRole_ItemRequestBuilder
- func (m *ItemOrganizationRolesRequestBuilder) ByRole_idInteger(role_id int32) *ItemOrganizationRolesWithRole_ItemRequestBuilder
- func (m *ItemOrganizationRolesRequestBuilder) Get(ctx context.Context, ...) (ItemOrganizationRolesResponseable, error)
- func (m *ItemOrganizationRolesRequestBuilder) GetAsOrganizationRolesGetResponse(ctx context.Context, ...) (ItemOrganizationRolesGetResponseable, error)
- func (m *ItemOrganizationRolesRequestBuilder) Post(ctx context.Context, body ItemOrganizationRolesPostRequestBodyable, ...) (...)
- func (m *ItemOrganizationRolesRequestBuilder) Teams() *ItemOrganizationRolesTeamsRequestBuilder
- func (m *ItemOrganizationRolesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemOrganizationRolesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemOrganizationRolesPostRequestBodyable, ...) (...)
- func (m *ItemOrganizationRolesRequestBuilder) Users() *ItemOrganizationRolesUsersRequestBuilder
- func (m *ItemOrganizationRolesRequestBuilder) WithUrl(rawUrl string) *ItemOrganizationRolesRequestBuilder
- type ItemOrganizationRolesRequestBuilderGetRequestConfiguration
- type ItemOrganizationRolesRequestBuilderPostRequestConfiguration
- type ItemOrganizationRolesResponse
- type ItemOrganizationRolesResponseable
- type ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder
- func NewItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder(rawUrl string, ...) *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder
- func NewItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder
- func (m *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder) WithUrl(rawUrl string) *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder
- type ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilderDeleteRequestConfiguration
- type ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilderPutRequestConfiguration
- type ItemOrganizationRolesTeamsRequestBuilder
- type ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder
- func NewItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder(rawUrl string, ...) *ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder
- func NewItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder
- func (m *ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder) ByRole_id(role_id string) *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder
- func (m *ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder) ByRole_idInteger(role_id int32) *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder
- func (m *ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder) WithUrl(rawUrl string) *ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder
- type ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilderDeleteRequestConfiguration
- type ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder
- func NewItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder(rawUrl string, ...) *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder
- func NewItemOrganizationRolesUsersItemWithRole_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder
- func (m *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder) WithUrl(rawUrl string) *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder
- type ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilderDeleteRequestConfiguration
- type ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilderPutRequestConfiguration
- type ItemOrganizationRolesUsersRequestBuilder
- type ItemOrganizationRolesUsersWithUsernameItemRequestBuilder
- func NewItemOrganizationRolesUsersWithUsernameItemRequestBuilder(rawUrl string, ...) *ItemOrganizationRolesUsersWithUsernameItemRequestBuilder
- func NewItemOrganizationRolesUsersWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemOrganizationRolesUsersWithUsernameItemRequestBuilder
- func (m *ItemOrganizationRolesUsersWithUsernameItemRequestBuilder) ByRole_id(role_id string) *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder
- func (m *ItemOrganizationRolesUsersWithUsernameItemRequestBuilder) ByRole_idInteger(role_id int32) *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder
- func (m *ItemOrganizationRolesUsersWithUsernameItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemOrganizationRolesUsersWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemOrganizationRolesUsersWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *ItemOrganizationRolesUsersWithUsernameItemRequestBuilder
- type ItemOrganizationRolesUsersWithUsernameItemRequestBuilderDeleteRequestConfiguration
- type ItemOrganizationRolesWithRole_ItemRequestBuilder
- func (m *ItemOrganizationRolesWithRole_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemOrganizationRolesWithRole_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemOrganizationRolesWithRole_ItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *ItemOrganizationRolesWithRole_ItemRequestBuilder) Teams() *ItemOrganizationRolesItemTeamsRequestBuilder
- func (m *ItemOrganizationRolesWithRole_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemOrganizationRolesWithRole_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemOrganizationRolesWithRole_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemOrganizationRolesWithRole_ItemRequestBuilder) Users() *ItemOrganizationRolesItemUsersRequestBuilder
- func (m *ItemOrganizationRolesWithRole_ItemRequestBuilder) WithUrl(rawUrl string) *ItemOrganizationRolesWithRole_ItemRequestBuilder
- type ItemOrganizationRolesWithRole_ItemRequestBuilderDeleteRequestConfiguration
- type ItemOrganizationRolesWithRole_ItemRequestBuilderGetRequestConfiguration
- type ItemOrganizationRolesWithRole_ItemRequestBuilderPatchRequestConfiguration
- 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_collaboratorsItemWithUsernameResponse
- type ItemOutside_collaboratorsItemWithUsernameResponseable
- 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_collaboratorsRequestBuilderGetRequestConfiguration
- 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_collaboratorsItemWithUsernameResponseable, error)
- func (m *ItemOutside_collaboratorsWithUsernameItemRequestBuilder) PutAsWithUsernamePutResponse(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 ItemOutside_collaboratorsWithUsernameItemRequestBuilderDeleteRequestConfiguration
- type ItemOutside_collaboratorsWithUsernameItemRequestBuilderPutRequestConfiguration
- 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 ItemPackagesItemItemRestoreRequestBuilderPostRequestConfiguration
- 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 ItemPackagesItemItemVersionsItemRestoreRequestBuilderPostRequestConfiguration
- type ItemPackagesItemItemVersionsRequestBuilder
- func (m *ItemPackagesItemItemVersionsRequestBuilder) ByPackage_version_id(package_version_id string) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
- func (m *ItemPackagesItemItemVersionsRequestBuilder) ByPackage_version_idInteger(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 ItemPackagesItemItemVersionsRequestBuilderGetRequestConfiguration
- 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 ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderDeleteRequestConfiguration
- type ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderGetRequestConfiguration
- 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 ItemPackagesItemWithPackage_nameItemRequestBuilderDeleteRequestConfiguration
- type ItemPackagesItemWithPackage_nameItemRequestBuilderGetRequestConfiguration
- 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 ItemPackagesRequestBuilderGetRequestConfiguration
- 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 ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderGetRequestConfiguration
- 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 string) *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder
- func (m *ItemPersonalAccessTokenRequestsRequestBuilder) ByPat_request_idInteger(pat_request_id int32) *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder
- func (m *ItemPersonalAccessTokenRequestsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemPersonalAccessTokenRequestsRequestBuilder) Post(ctx context.Context, body ItemPersonalAccessTokenRequestsPostRequestBodyable, ...) (ItemPersonalAccessTokenRequestsResponseable, error)
- func (m *ItemPersonalAccessTokenRequestsRequestBuilder) PostAsPersonalAccessTokenRequestsPostResponse(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 ItemPersonalAccessTokenRequestsRequestBuilderGetRequestConfiguration
- type ItemPersonalAccessTokenRequestsRequestBuilderPostRequestConfiguration
- type ItemPersonalAccessTokenRequestsResponse
- type ItemPersonalAccessTokenRequestsResponseable
- 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 ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilderPostRequestConfiguration
- 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 ItemPersonalAccessTokensItemRepositoriesRequestBuilderGetRequestConfiguration
- 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 string) *ItemPersonalAccessTokensWithPat_ItemRequestBuilder
- func (m *ItemPersonalAccessTokensRequestBuilder) ByPat_idInteger(pat_id int32) *ItemPersonalAccessTokensWithPat_ItemRequestBuilder
- func (m *ItemPersonalAccessTokensRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemPersonalAccessTokensRequestBuilder) Post(ctx context.Context, body ItemPersonalAccessTokensPostRequestBodyable, ...) (ItemPersonalAccessTokensResponseable, error)
- func (m *ItemPersonalAccessTokensRequestBuilder) PostAsPersonalAccessTokensPostResponse(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 ItemPersonalAccessTokensRequestBuilderGetRequestConfiguration
- type ItemPersonalAccessTokensRequestBuilderPostRequestConfiguration
- type ItemPersonalAccessTokensResponse
- type ItemPersonalAccessTokensResponseable
- 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 ItemPersonalAccessTokensWithPat_ItemRequestBuilderPostRequestConfiguration
- 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, ...) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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 ItemProjectsRequestBuilderGetRequestConfiguration
- type ItemProjectsRequestBuilderPostRequestConfiguration
- 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() *string
- 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(value *string)
- func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) SetDescription(value *string)
- func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) SetRequired(value *bool)
- 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 ItemPropertiesSchemaRequestBuilderGetRequestConfiguration
- type ItemPropertiesSchemaRequestBuilderPatchRequestConfiguration
- 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 ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderDeleteRequestConfiguration
- type ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderGetRequestConfiguration
- type ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderPutRequestConfiguration
- 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 ItemPropertiesValuesRequestBuilderGetRequestConfiguration
- type ItemPropertiesValuesRequestBuilderPatchRequestConfiguration
- 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_membersRequestBuilderGetRequestConfiguration
- 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 ItemPublic_membersWithUsernameItemRequestBuilderDeleteRequestConfiguration
- type ItemPublic_membersWithUsernameItemRequestBuilderGetRequestConfiguration
- type ItemPublic_membersWithUsernameItemRequestBuilderPutRequestConfiguration
- 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 ItemReposRequestBuilderGetRequestConfiguration
- type ItemReposRequestBuilderPostRequestConfiguration
- 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 string) *ItemRulesetsWithRuleset_ItemRequestBuilder
- func (m *ItemRulesetsRequestBuilder) ByRuleset_idInteger(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 ItemRulesetsRequestBuilderGetRequestConfiguration
- type ItemRulesetsRequestBuilderPostRequestConfiguration
- type ItemRulesetsRuleSuitesRequestBuilder
- func (m *ItemRulesetsRuleSuitesRequestBuilder) ByRule_suite_id(rule_suite_id string) *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder
- func (m *ItemRulesetsRuleSuitesRequestBuilder) ByRule_suite_idInteger(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 ItemRulesetsRuleSuitesRequestBuilderGetRequestConfiguration
- 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 ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilderGetRequestConfiguration
- 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 ItemRulesetsWithRuleset_ItemRequestBuilderDeleteRequestConfiguration
- type ItemRulesetsWithRuleset_ItemRequestBuilderGetRequestConfiguration
- type ItemRulesetsWithRuleset_ItemRequestBuilderPutRequestConfiguration
- 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 ItemSecretScanningAlertsRequestBuilderGetRequestConfiguration
- type ItemSecretScanningRequestBuilder
- type ItemSecurityAdvisoriesRequestBuilder
- type ItemSecurityAdvisoriesRequestBuilderGetQueryParameters
- type ItemSecurityAdvisoriesRequestBuilderGetRequestConfiguration
- 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 ItemSecurityManagersRequestBuilderGetRequestConfiguration
- 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 ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilderDeleteRequestConfiguration
- type ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilderPutRequestConfiguration
- type ItemSettingsBillingActionsRequestBuilder
- func (m *ItemSettingsBillingActionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemSettingsBillingActionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemSettingsBillingActionsRequestBuilder) WithUrl(rawUrl string) *ItemSettingsBillingActionsRequestBuilder
- type ItemSettingsBillingActionsRequestBuilderGetRequestConfiguration
- type ItemSettingsBillingPackagesRequestBuilder
- func (m *ItemSettingsBillingPackagesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemSettingsBillingPackagesRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemSettingsBillingPackagesRequestBuilder) WithUrl(rawUrl string) *ItemSettingsBillingPackagesRequestBuilder
- type ItemSettingsBillingPackagesRequestBuilderGetRequestConfiguration
- type ItemSettingsBillingRequestBuilder
- func (m *ItemSettingsBillingRequestBuilder) Actions() *ItemSettingsBillingActionsRequestBuilder
- func (m *ItemSettingsBillingRequestBuilder) Packages() *ItemSettingsBillingPackagesRequestBuilder
- func (m *ItemSettingsBillingRequestBuilder) SharedStorage() *ItemSettingsBillingSharedStorageRequestBuilder
- type ItemSettingsBillingSharedStorageRequestBuilder
- func (m *ItemSettingsBillingSharedStorageRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemSettingsBillingSharedStorageRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemSettingsBillingSharedStorageRequestBuilder) WithUrl(rawUrl string) *ItemSettingsBillingSharedStorageRequestBuilder
- type ItemSettingsBillingSharedStorageRequestBuilderGetRequestConfiguration
- 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 string) ...
- func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) ByReaction_idInteger(reaction_id int32) ...
- func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) Post(ctx context.Context, ...) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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 ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderGetRequestConfiguration
- type ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderPostRequestConfiguration
- 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 ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilderDeleteRequestConfiguration
- 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 string) *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder
- func (m *ItemTeamsItemDiscussionsItemCommentsRequestBuilder) ByComment_numberInteger(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 ItemTeamsItemDiscussionsItemCommentsRequestBuilderGetRequestConfiguration
- type ItemTeamsItemDiscussionsItemCommentsRequestBuilderPostRequestConfiguration
- 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 ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderDeleteRequestConfiguration
- type ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderGetRequestConfiguration
- type ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderPatchRequestConfiguration
- 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 string) *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder
- func (m *ItemTeamsItemDiscussionsItemReactionsRequestBuilder) ByReaction_idInteger(reaction_id int32) *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder
- func (m *ItemTeamsItemDiscussionsItemReactionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemDiscussionsItemReactionsRequestBuilder) Post(ctx context.Context, ...) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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 ItemTeamsItemDiscussionsItemReactionsRequestBuilderGetRequestConfiguration
- type ItemTeamsItemDiscussionsItemReactionsRequestBuilderPostRequestConfiguration
- 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 ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilderDeleteRequestConfiguration
- 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 string) *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder
- func (m *ItemTeamsItemDiscussionsRequestBuilder) ByDiscussion_numberInteger(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 ItemTeamsItemDiscussionsRequestBuilderGetRequestConfiguration
- type ItemTeamsItemDiscussionsRequestBuilderPostRequestConfiguration
- 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 ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderDeleteRequestConfiguration
- type ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderGetRequestConfiguration
- type ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderPatchRequestConfiguration
- type ItemTeamsItemInvitationsRequestBuilder
- func (m *ItemTeamsItemInvitationsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemInvitationsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemInvitationsRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemInvitationsRequestBuilder
- type ItemTeamsItemInvitationsRequestBuilderGetQueryParameters
- type ItemTeamsItemInvitationsRequestBuilderGetRequestConfiguration
- type ItemTeamsItemMembersRequestBuilder
- type ItemTeamsItemMembersRequestBuilderGetQueryParameters
- type ItemTeamsItemMembersRequestBuilderGetRequestConfiguration
- 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 ItemTeamsItemMembershipsWithUsernameItemRequestBuilderDeleteRequestConfiguration
- type ItemTeamsItemMembershipsWithUsernameItemRequestBuilderGetRequestConfiguration
- type ItemTeamsItemMembershipsWithUsernameItemRequestBuilderPutRequestConfiguration
- 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 string) *ItemTeamsItemProjectsWithProject_ItemRequestBuilder
- func (m *ItemTeamsItemProjectsRequestBuilder) ByProject_idInteger(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 ItemTeamsItemProjectsRequestBuilderGetRequestConfiguration
- 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 ItemTeamsItemProjectsWithProject_ItemRequestBuilderDeleteRequestConfiguration
- type ItemTeamsItemProjectsWithProject_ItemRequestBuilderGetRequestConfiguration
- type ItemTeamsItemProjectsWithProject_ItemRequestBuilderPutRequestConfiguration
- 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 ItemTeamsItemReposItemWithRepoItemRequestBuilderDeleteRequestConfiguration
- type ItemTeamsItemReposItemWithRepoItemRequestBuilderGetRequestConfiguration
- type ItemTeamsItemReposItemWithRepoItemRequestBuilderPutRequestConfiguration
- 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 ItemTeamsItemReposRequestBuilderGetRequestConfiguration
- type ItemTeamsItemReposWithOwnerItemRequestBuilder
- type ItemTeamsItemTeamsRequestBuilder
- func (m *ItemTeamsItemTeamsRequestBuilder) Get(ctx context.Context, ...) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Teamable, ...)
- func (m *ItemTeamsItemTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemTeamsItemTeamsRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemTeamsRequestBuilder
- type ItemTeamsItemTeamsRequestBuilderGetQueryParameters
- type ItemTeamsItemTeamsRequestBuilderGetRequestConfiguration
- 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) 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) 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, ...) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Teamable, ...)
- func (m *ItemTeamsRequestBuilder) Post(ctx context.Context, body ItemTeamsPostRequestBodyable, ...) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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 ItemTeamsRequestBuilderGetRequestConfiguration
- type ItemTeamsRequestBuilderPostRequestConfiguration
- type ItemTeamsWithTeam_slugItemRequestBuilder
- func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Discussions() *ItemTeamsItemDiscussionsRequestBuilder
- func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Get(ctx context.Context, ...) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamFullable, ...)
- func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Invitations() *ItemTeamsItemInvitationsRequestBuilder
- func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Members() *ItemTeamsItemMembersRequestBuilder
- func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Memberships() *ItemTeamsItemMembershipsRequestBuilder
- func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Patch(ctx context.Context, body ItemTeamsItemWithTeam_slugPatchRequestBodyable, ...) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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 ItemTeamsWithTeam_slugItemRequestBuilderDeleteRequestConfiguration
- type ItemTeamsWithTeam_slugItemRequestBuilderGetRequestConfiguration
- type ItemTeamsWithTeam_slugItemRequestBuilderPatchRequestConfiguration
- 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) GetMembersCanCreatePrivatePages() *bool
- func (m *ItemWithOrgPatchRequestBody) GetMembersCanCreatePrivateRepositories() *bool
- func (m *ItemWithOrgPatchRequestBody) GetMembersCanCreatePublicPages() *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) SetMembersCanCreatePrivatePages(value *bool)
- func (m *ItemWithOrgPatchRequestBody) SetMembersCanCreatePrivateRepositories(value *bool)
- func (m *ItemWithOrgPatchRequestBody) SetMembersCanCreatePublicPages(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 ItemWithOrgResponse
- type ItemWithOrgResponseable
- type ItemWithSecurity_productItemRequestBuilder
- type OrganizationFull422Error
- func (m *OrganizationFull422Error) GetFieldDeserializers() ...
- func (m *OrganizationFull422Error) GetIsComposedType() bool
- func (m *OrganizationFull422Error) GetValidationError() ...
- func (m *OrganizationFull422Error) GetValidationErrorSimple() ...
- func (m *OrganizationFull422Error) Serialize(...) error
- func (m *OrganizationFull422Error) SetValidationError(...)
- func (m *OrganizationFull422Error) SetValidationErrorSimple(...)
- type OrganizationFull422Errorable
- type OrgsRequestBuilder
- type WithOrgItemRequestBuilder
- func (m *WithOrgItemRequestBuilder) Actions() *ItemActionsRequestBuilder
- func (m *WithOrgItemRequestBuilder) Blocks() *ItemBlocksRequestBuilder
- func (m *WithOrgItemRequestBuilder) BySecurity_product(security_product string) *ItemWithSecurity_productItemRequestBuilder
- func (m *WithOrgItemRequestBuilder) CodeScanning() *ItemCodeScanningRequestBuilder
- func (m *WithOrgItemRequestBuilder) Codespaces() *ItemCodespacesRequestBuilder
- func (m *WithOrgItemRequestBuilder) Copilot() *ItemCopilotRequestBuilder
- func (m *WithOrgItemRequestBuilder) Delete(ctx context.Context, ...) (ItemWithOrgResponseable, error)
- func (m *WithOrgItemRequestBuilder) DeleteAsWithOrgDeleteResponse(ctx context.Context, ...) (ItemWithOrgDeleteResponseable, error)
- func (m *WithOrgItemRequestBuilder) Dependabot() *ItemDependabotRequestBuilder
- func (m *WithOrgItemRequestBuilder) Docker() *ItemDockerRequestBuilder
- func (m *WithOrgItemRequestBuilder) Events() *ItemEventsRequestBuilder
- func (m *WithOrgItemRequestBuilder) Failed_invitations() *ItemFailed_invitationsRequestBuilder
- 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) InteractionLimits() *ItemInteractionLimitsRequestBuilder
- func (m *WithOrgItemRequestBuilder) Invitations() *ItemInvitationsRequestBuilder
- func (m *WithOrgItemRequestBuilder) Issues() *ItemIssuesRequestBuilder
- func (m *WithOrgItemRequestBuilder) Members() *ItemMembersRequestBuilder
- func (m *WithOrgItemRequestBuilder) Memberships() *ItemMembershipsRequestBuilder
- func (m *WithOrgItemRequestBuilder) Migrations() *ItemMigrationsRequestBuilder
- func (m *WithOrgItemRequestBuilder) OrganizationFineGrainedPermissions() *ItemOrganizationFineGrainedPermissionsRequestBuilder
- func (m *WithOrgItemRequestBuilder) OrganizationRoles() *ItemOrganizationRolesRequestBuilder
- 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) Projects() *ItemProjectsRequestBuilder
- func (m *WithOrgItemRequestBuilder) Properties() *ItemPropertiesRequestBuilder
- func (m *WithOrgItemRequestBuilder) Public_members() *ItemPublic_membersRequestBuilder
- func (m *WithOrgItemRequestBuilder) Repos() *ItemReposRequestBuilder
- func (m *WithOrgItemRequestBuilder) Rulesets() *ItemRulesetsRequestBuilder
- func (m *WithOrgItemRequestBuilder) SecretScanning() *ItemSecretScanningRequestBuilder
- func (m *WithOrgItemRequestBuilder) SecurityAdvisories() *ItemSecurityAdvisoriesRequestBuilder
- 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
- type WithOrgItemRequestBuilderDeleteRequestConfiguration
- type WithOrgItemRequestBuilderGetRequestConfiguration
- type WithOrgItemRequestBuilderPatchRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateInteractionLimitsGetResponseFromDiscriminatorValue ¶
func CreateInteractionLimitsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateInteractionLimitsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateInteractionLimitsResponseFromDiscriminatorValue ¶
func CreateInteractionLimitsResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateInteractionLimitsResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsCacheUsageByRepositoryGetResponseFromDiscriminatorValue ¶
func CreateItemActionsCacheUsageByRepositoryGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsCacheUsageByRepositoryGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsCacheUsageByRepositoryResponseFromDiscriminatorValue ¶
func CreateItemActionsCacheUsageByRepositoryResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsCacheUsageByRepositoryResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsPermissionsPutRequestBodyFromDiscriminatorValue ¶
func CreateItemActionsPermissionsPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsPermissionsPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsPermissionsRepositoriesGetResponseFromDiscriminatorValue ¶
func CreateItemActionsPermissionsRepositoriesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsPermissionsRepositoriesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsPermissionsRepositoriesPutRequestBodyFromDiscriminatorValue ¶
func CreateItemActionsPermissionsRepositoriesPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsPermissionsRepositoriesPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsPermissionsRepositoriesResponseFromDiscriminatorValue ¶
func CreateItemActionsPermissionsRepositoriesResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsPermissionsRepositoriesResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsRunnersGenerateJitconfigPostRequestBodyFromDiscriminatorValue ¶
func CreateItemActionsRunnersGenerateJitconfigPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersGenerateJitconfigPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsRunnersGenerateJitconfigPostResponseFromDiscriminatorValue ¶
func CreateItemActionsRunnersGenerateJitconfigPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersGenerateJitconfigPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsRunnersGenerateJitconfigResponseFromDiscriminatorValue ¶
func CreateItemActionsRunnersGenerateJitconfigResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersGenerateJitconfigResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsRunnersGetResponseFromDiscriminatorValue ¶
func CreateItemActionsRunnersGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsRunnersItemLabelsDeleteResponseFromDiscriminatorValue ¶
func CreateItemActionsRunnersItemLabelsDeleteResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersItemLabelsDeleteResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsRunnersItemLabelsGetResponseFromDiscriminatorValue ¶
func CreateItemActionsRunnersItemLabelsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersItemLabelsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsRunnersItemLabelsItemWithNameDeleteResponseFromDiscriminatorValue ¶
func CreateItemActionsRunnersItemLabelsItemWithNameDeleteResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersItemLabelsItemWithNameDeleteResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsRunnersItemLabelsItemWithNameResponseFromDiscriminatorValue ¶
func CreateItemActionsRunnersItemLabelsItemWithNameResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersItemLabelsItemWithNameResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsRunnersItemLabelsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemActionsRunnersItemLabelsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersItemLabelsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsRunnersItemLabelsPostResponseFromDiscriminatorValue ¶
func CreateItemActionsRunnersItemLabelsPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersItemLabelsPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsRunnersItemLabelsPutRequestBodyFromDiscriminatorValue ¶
func CreateItemActionsRunnersItemLabelsPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersItemLabelsPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsRunnersItemLabelsPutResponseFromDiscriminatorValue ¶
func CreateItemActionsRunnersItemLabelsPutResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersItemLabelsPutResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsRunnersItemLabelsResponseFromDiscriminatorValue ¶
func CreateItemActionsRunnersItemLabelsResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersItemLabelsResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsRunnersResponseFromDiscriminatorValue ¶
func CreateItemActionsRunnersResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsSecretsGetResponseFromDiscriminatorValue ¶
func CreateItemActionsSecretsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsSecretsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsSecretsItemRepositoriesGetResponseFromDiscriminatorValue ¶
func CreateItemActionsSecretsItemRepositoriesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsSecretsItemRepositoriesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue ¶
func CreateItemActionsSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsSecretsItemRepositoriesResponseFromDiscriminatorValue ¶
func CreateItemActionsSecretsItemRepositoriesResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsSecretsItemRepositoriesResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue ¶
func CreateItemActionsSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsSecretsResponseFromDiscriminatorValue ¶
func CreateItemActionsSecretsResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsSecretsResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsVariablesGetResponseFromDiscriminatorValue ¶
func CreateItemActionsVariablesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsVariablesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsVariablesItemRepositoriesGetResponseFromDiscriminatorValue ¶
func CreateItemActionsVariablesItemRepositoriesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsVariablesItemRepositoriesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsVariablesItemRepositoriesPutRequestBodyFromDiscriminatorValue ¶
func CreateItemActionsVariablesItemRepositoriesPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsVariablesItemRepositoriesPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsVariablesItemRepositoriesResponseFromDiscriminatorValue ¶
func CreateItemActionsVariablesItemRepositoriesResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsVariablesItemRepositoriesResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsVariablesItemWithNamePatchRequestBodyFromDiscriminatorValue ¶
func CreateItemActionsVariablesItemWithNamePatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsVariablesItemWithNamePatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsVariablesPostRequestBodyFromDiscriminatorValue ¶
func CreateItemActionsVariablesPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsVariablesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemActionsVariablesResponseFromDiscriminatorValue ¶
func CreateItemActionsVariablesResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsVariablesResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemCodespacesAccessPutRequestBodyFromDiscriminatorValue ¶
func CreateItemCodespacesAccessPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCodespacesAccessPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemCodespacesAccessSelected_usersDeleteRequestBodyFromDiscriminatorValue ¶
func CreateItemCodespacesAccessSelected_usersDeleteRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCodespacesAccessSelected_usersDeleteRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemCodespacesAccessSelected_usersPostRequestBodyFromDiscriminatorValue ¶
func CreateItemCodespacesAccessSelected_usersPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCodespacesAccessSelected_usersPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemCodespacesGetResponseFromDiscriminatorValue ¶
func CreateItemCodespacesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCodespacesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemCodespacesResponseFromDiscriminatorValue ¶
func CreateItemCodespacesResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCodespacesResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemCodespacesSecretsGetResponseFromDiscriminatorValue ¶
func CreateItemCodespacesSecretsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCodespacesSecretsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemCodespacesSecretsItemRepositoriesGetResponseFromDiscriminatorValue ¶
func CreateItemCodespacesSecretsItemRepositoriesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCodespacesSecretsItemRepositoriesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemCodespacesSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue ¶
func CreateItemCodespacesSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCodespacesSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemCodespacesSecretsItemRepositoriesResponseFromDiscriminatorValue ¶
func CreateItemCodespacesSecretsItemRepositoriesResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCodespacesSecretsItemRepositoriesResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemCodespacesSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue ¶
func CreateItemCodespacesSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCodespacesSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemCodespacesSecretsResponseFromDiscriminatorValue ¶
func CreateItemCodespacesSecretsResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCodespacesSecretsResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemCopilotBillingSeatsGetResponseFromDiscriminatorValue ¶
func CreateItemCopilotBillingSeatsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCopilotBillingSeatsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemCopilotBillingSeatsResponseFromDiscriminatorValue ¶
func CreateItemCopilotBillingSeatsResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCopilotBillingSeatsResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemCopilotBillingSelected_teamsDeleteRequestBodyFromDiscriminatorValue ¶
func CreateItemCopilotBillingSelected_teamsDeleteRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCopilotBillingSelected_teamsDeleteRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemCopilotBillingSelected_teamsDeleteResponseFromDiscriminatorValue ¶
func CreateItemCopilotBillingSelected_teamsDeleteResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCopilotBillingSelected_teamsDeleteResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemCopilotBillingSelected_teamsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemCopilotBillingSelected_teamsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCopilotBillingSelected_teamsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemCopilotBillingSelected_teamsPostResponseFromDiscriminatorValue ¶
func CreateItemCopilotBillingSelected_teamsPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCopilotBillingSelected_teamsPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemCopilotBillingSelected_teamsResponseFromDiscriminatorValue ¶
func CreateItemCopilotBillingSelected_teamsResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCopilotBillingSelected_teamsResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemCopilotBillingSelected_usersDeleteRequestBodyFromDiscriminatorValue ¶
func CreateItemCopilotBillingSelected_usersDeleteRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCopilotBillingSelected_usersDeleteRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemCopilotBillingSelected_usersDeleteResponseFromDiscriminatorValue ¶
func CreateItemCopilotBillingSelected_usersDeleteResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCopilotBillingSelected_usersDeleteResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemCopilotBillingSelected_usersPostRequestBodyFromDiscriminatorValue ¶
func CreateItemCopilotBillingSelected_usersPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCopilotBillingSelected_usersPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemCopilotBillingSelected_usersPostResponseFromDiscriminatorValue ¶
func CreateItemCopilotBillingSelected_usersPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCopilotBillingSelected_usersPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemCopilotBillingSelected_usersResponseFromDiscriminatorValue ¶
func CreateItemCopilotBillingSelected_usersResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCopilotBillingSelected_usersResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemDependabotSecretsGetResponseFromDiscriminatorValue ¶
func CreateItemDependabotSecretsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemDependabotSecretsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemDependabotSecretsItemRepositoriesGetResponseFromDiscriminatorValue ¶
func CreateItemDependabotSecretsItemRepositoriesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemDependabotSecretsItemRepositoriesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemDependabotSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue ¶
func CreateItemDependabotSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemDependabotSecretsItemRepositoriesPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemDependabotSecretsItemRepositoriesResponseFromDiscriminatorValue ¶
func CreateItemDependabotSecretsItemRepositoriesResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemDependabotSecretsItemRepositoriesResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemDependabotSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue ¶
func CreateItemDependabotSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemDependabotSecretsItemWithSecret_namePutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemDependabotSecretsResponseFromDiscriminatorValue ¶
func CreateItemDependabotSecretsResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemDependabotSecretsResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemHooksItemConfigPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemHooksItemConfigPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemHooksItemConfigPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemHooksItemDeliveriesItemAttemptsPostResponseFromDiscriminatorValue ¶
func CreateItemHooksItemDeliveriesItemAttemptsPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemHooksItemDeliveriesItemAttemptsPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemHooksItemDeliveriesItemAttemptsResponseFromDiscriminatorValue ¶
func CreateItemHooksItemDeliveriesItemAttemptsResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemHooksItemDeliveriesItemAttemptsResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
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
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
func CreateItemHooksPostRequestBodyFromDiscriminatorValue ¶
func CreateItemHooksPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemHooksPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
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
func CreateItemInstallationsGetResponseFromDiscriminatorValue ¶
func CreateItemInstallationsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemInstallationsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemInstallationsResponseFromDiscriminatorValue ¶
func CreateItemInstallationsResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemInstallationsResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemInteractionLimitsGetResponseMember1FromDiscriminatorValue ¶
func CreateItemInteractionLimitsGetResponseMember1FromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemInteractionLimitsGetResponseMember1FromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemInvitationsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemInvitationsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemInvitationsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemItemItemWithEnablementPostRequestBodyFromDiscriminatorValue ¶
func CreateItemItemItemWithEnablementPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemItemItemWithEnablementPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemMembersItemCodespacesGetResponseFromDiscriminatorValue ¶
func CreateItemMembersItemCodespacesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemMembersItemCodespacesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemMembersItemCodespacesItemWithCodespace_nameDeleteResponseFromDiscriminatorValue ¶
func CreateItemMembersItemCodespacesItemWithCodespace_nameDeleteResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemMembersItemCodespacesItemWithCodespace_nameDeleteResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemMembersItemCodespacesItemWithCodespace_nameResponseFromDiscriminatorValue ¶
func CreateItemMembersItemCodespacesItemWithCodespace_nameResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemMembersItemCodespacesItemWithCodespace_nameResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemMembersItemCodespacesResponseFromDiscriminatorValue ¶
func CreateItemMembersItemCodespacesResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemMembersItemCodespacesResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemMembershipsItemWithUsernamePutRequestBodyFromDiscriminatorValue ¶
func CreateItemMembershipsItemWithUsernamePutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemMembershipsItemWithUsernamePutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemMigrationsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemMigrationsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemMigrationsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemOrganizationRolesGetResponseFromDiscriminatorValue ¶
func CreateItemOrganizationRolesGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemOrganizationRolesGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemOrganizationRolesItemWithRole_PatchRequestBodyFromDiscriminatorValue ¶
func CreateItemOrganizationRolesItemWithRole_PatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemOrganizationRolesItemWithRole_PatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemOrganizationRolesPostRequestBodyFromDiscriminatorValue ¶
func CreateItemOrganizationRolesPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemOrganizationRolesPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemOrganizationRolesResponseFromDiscriminatorValue ¶
func CreateItemOrganizationRolesResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemOrganizationRolesResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemOutside_collaboratorsItemWithUsername422ErrorFromDiscriminatorValue ¶
func CreateItemOutside_collaboratorsItemWithUsername422ErrorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemOutside_collaboratorsItemWithUsername422ErrorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemOutside_collaboratorsItemWithUsernamePutRequestBodyFromDiscriminatorValue ¶
func CreateItemOutside_collaboratorsItemWithUsernamePutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemOutside_collaboratorsItemWithUsernamePutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemOutside_collaboratorsItemWithUsernamePutResponseFromDiscriminatorValue ¶
func CreateItemOutside_collaboratorsItemWithUsernamePutResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemOutside_collaboratorsItemWithUsernamePutResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemOutside_collaboratorsItemWithUsernameResponseFromDiscriminatorValue ¶
func CreateItemOutside_collaboratorsItemWithUsernameResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemOutside_collaboratorsItemWithUsernameResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBodyFromDiscriminatorValue ¶
func CreateItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemPersonalAccessTokenRequestsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemPersonalAccessTokenRequestsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemPersonalAccessTokenRequestsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemPersonalAccessTokenRequestsPostResponseFromDiscriminatorValue ¶
func CreateItemPersonalAccessTokenRequestsPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemPersonalAccessTokenRequestsPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemPersonalAccessTokenRequestsResponseFromDiscriminatorValue ¶
func CreateItemPersonalAccessTokenRequestsResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemPersonalAccessTokenRequestsResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemPersonalAccessTokensItemWithPat_PostRequestBodyFromDiscriminatorValue ¶
func CreateItemPersonalAccessTokensItemWithPat_PostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemPersonalAccessTokensItemWithPat_PostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemPersonalAccessTokensPostRequestBodyFromDiscriminatorValue ¶
func CreateItemPersonalAccessTokensPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemPersonalAccessTokensPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemPersonalAccessTokensPostResponseFromDiscriminatorValue ¶
func CreateItemPersonalAccessTokensPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemPersonalAccessTokensPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemPersonalAccessTokensResponseFromDiscriminatorValue ¶
func CreateItemPersonalAccessTokensResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemPersonalAccessTokensResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemProjectsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemProjectsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemProjectsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemPropertiesSchemaItemWithCustom_property_namePutRequestBodyFromDiscriminatorValue ¶
func CreateItemPropertiesSchemaItemWithCustom_property_namePutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemPropertiesSchemaItemWithCustom_property_namePutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemPropertiesSchemaPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemPropertiesSchemaPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemPropertiesSchemaPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemPropertiesValuesPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemPropertiesValuesPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemPropertiesValuesPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemReposPostRequestBodyFromDiscriminatorValue ¶
func CreateItemReposPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemReposPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
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
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
func CreateItemRulesetsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemRulesetsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemRulesetsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemTeamsItemDiscussionsItemCommentsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemTeamsItemDiscussionsItemCommentsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemTeamsItemDiscussionsItemCommentsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemTeamsItemDiscussionsItemReactionsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemTeamsItemDiscussionsItemReactionsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemTeamsItemDiscussionsItemReactionsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemTeamsItemDiscussionsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemTeamsItemDiscussionsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemTeamsItemDiscussionsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemTeamsItemMembershipsItemWithUsernamePutRequestBodyFromDiscriminatorValue ¶
func CreateItemTeamsItemMembershipsItemWithUsernamePutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemTeamsItemMembershipsItemWithUsernamePutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemTeamsItemProjectsItemWithProject_403ErrorFromDiscriminatorValue ¶
func CreateItemTeamsItemProjectsItemWithProject_403ErrorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemTeamsItemProjectsItemWithProject_403ErrorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemTeamsItemProjectsItemWithProject_PutRequestBodyFromDiscriminatorValue ¶
func CreateItemTeamsItemProjectsItemWithProject_PutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemTeamsItemProjectsItemWithProject_PutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemTeamsItemReposItemItemWithRepoPutRequestBodyFromDiscriminatorValue ¶
func CreateItemTeamsItemReposItemItemWithRepoPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemTeamsItemReposItemItemWithRepoPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemTeamsItemWithTeam_slugPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemTeamsItemWithTeam_slugPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemTeamsItemWithTeam_slugPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemTeamsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemTeamsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemTeamsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemWithOrgDeleteResponseFromDiscriminatorValue ¶
func CreateItemWithOrgDeleteResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemWithOrgDeleteResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemWithOrgPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemWithOrgPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemWithOrgPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateItemWithOrgResponseFromDiscriminatorValue ¶
func CreateItemWithOrgResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemWithOrgResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
func CreateOrganizationFull422ErrorFromDiscriminatorValue ¶
func CreateOrganizationFull422ErrorFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateOrganizationFull422ErrorFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value
Types ¶
type InteractionLimitsGetResponse ¶
type InteractionLimitsGetResponse struct {
// contains filtered or unexported fields
}
InteractionLimitsGetResponse composed type wrapper for classes interactionLimitResponse, ItemInteractionLimitsGetResponseMember1
func NewInteractionLimitsGetResponse ¶
func NewInteractionLimitsGetResponse() *InteractionLimitsGetResponse
NewInteractionLimitsGetResponse instantiates a new interactionLimitsGetResponse and sets the default values.
func (*InteractionLimitsGetResponse) GetFieldDeserializers ¶
func (m *InteractionLimitsGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*InteractionLimitsGetResponse) GetInteractionLimitResponse ¶
func (m *InteractionLimitsGetResponse) GetInteractionLimitResponse() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.InteractionLimitResponseable
GetInteractionLimitResponse gets the interactionLimitResponse property value. Composed type representation for type interactionLimitResponse
func (*InteractionLimitsGetResponse) GetIsComposedType ¶
func (m *InteractionLimitsGetResponse) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type
func (*InteractionLimitsGetResponse) GetItemInteractionLimitsGetResponseMember1 ¶
func (m *InteractionLimitsGetResponse) GetItemInteractionLimitsGetResponseMember1() ItemInteractionLimitsGetResponseMember1able
GetItemInteractionLimitsGetResponseMember1 gets the ItemInteractionLimitsGetResponseMember1 property value. Composed type representation for type ItemInteractionLimitsGetResponseMember1
func (*InteractionLimitsGetResponse) Serialize ¶
func (m *InteractionLimitsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*InteractionLimitsGetResponse) SetInteractionLimitResponse ¶
func (m *InteractionLimitsGetResponse) SetInteractionLimitResponse(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.InteractionLimitResponseable)
SetInteractionLimitResponse sets the interactionLimitResponse property value. Composed type representation for type interactionLimitResponse
func (*InteractionLimitsGetResponse) SetItemInteractionLimitsGetResponseMember1 ¶
func (m *InteractionLimitsGetResponse) SetItemInteractionLimitsGetResponseMember1(value ItemInteractionLimitsGetResponseMember1able)
SetItemInteractionLimitsGetResponseMember1 sets the ItemInteractionLimitsGetResponseMember1 property value. Composed type representation for type ItemInteractionLimitsGetResponseMember1
type InteractionLimitsGetResponseable ¶
type InteractionLimitsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetInteractionLimitResponse() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.InteractionLimitResponseable GetItemInteractionLimitsGetResponseMember1() ItemInteractionLimitsGetResponseMember1able SetInteractionLimitResponse(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.InteractionLimitResponseable) SetItemInteractionLimitsGetResponseMember1(value ItemInteractionLimitsGetResponseMember1able) }
InteractionLimitsGetResponseable
type InteractionLimitsResponse ¶
type InteractionLimitsResponse struct {
// contains filtered or unexported fields
}
InteractionLimitsResponse composed type wrapper for classes interactionLimitResponse, ItemInteractionLimitsGetResponseMember1
func NewInteractionLimitsResponse ¶
func NewInteractionLimitsResponse() *InteractionLimitsResponse
NewInteractionLimitsResponse instantiates a new interactionLimitsResponse and sets the default values.
func (*InteractionLimitsResponse) GetFieldDeserializers ¶
func (m *InteractionLimitsResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*InteractionLimitsResponse) GetInteractionLimitResponse ¶
func (m *InteractionLimitsResponse) GetInteractionLimitResponse() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.InteractionLimitResponseable
GetInteractionLimitResponse gets the interactionLimitResponse property value. Composed type representation for type interactionLimitResponse
func (*InteractionLimitsResponse) GetIsComposedType ¶
func (m *InteractionLimitsResponse) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type
func (*InteractionLimitsResponse) GetItemInteractionLimitsGetResponseMember1 ¶
func (m *InteractionLimitsResponse) GetItemInteractionLimitsGetResponseMember1() ItemInteractionLimitsGetResponseMember1able
GetItemInteractionLimitsGetResponseMember1 gets the ItemInteractionLimitsGetResponseMember1 property value. Composed type representation for type ItemInteractionLimitsGetResponseMember1
func (*InteractionLimitsResponse) Serialize ¶
func (m *InteractionLimitsResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*InteractionLimitsResponse) SetInteractionLimitResponse ¶
func (m *InteractionLimitsResponse) SetInteractionLimitResponse(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.InteractionLimitResponseable)
SetInteractionLimitResponse sets the interactionLimitResponse property value. Composed type representation for type interactionLimitResponse
func (*InteractionLimitsResponse) SetItemInteractionLimitsGetResponseMember1 ¶
func (m *InteractionLimitsResponse) SetItemInteractionLimitsGetResponseMember1(value ItemInteractionLimitsGetResponseMember1able)
SetItemInteractionLimitsGetResponseMember1 sets the ItemInteractionLimitsGetResponseMember1 property value. Composed type representation for type ItemInteractionLimitsGetResponseMember1
type InteractionLimitsResponseable ¶
type InteractionLimitsResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetInteractionLimitResponse() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.InteractionLimitResponseable GetItemInteractionLimitsGetResponseMember1() ItemInteractionLimitsGetResponseMember1able SetInteractionLimitResponse(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.InteractionLimitResponseable) SetItemInteractionLimitsGetResponseMember1(value ItemInteractionLimitsGetResponseMember1able) }
InteractionLimitsResponseable
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 CacheRequestBuilder and sets the default values.
func NewItemActionsCacheRequestBuilderInternal ¶
func NewItemActionsCacheRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsCacheRequestBuilder
NewItemActionsCacheRequestBuilderInternal instantiates a new CacheRequestBuilder and sets the default values.
func (*ItemActionsCacheRequestBuilder) Usage ¶
func (m *ItemActionsCacheRequestBuilder) Usage() *ItemActionsCacheUsageRequestBuilder
Usage the usage property
func (*ItemActionsCacheRequestBuilder) UsageByRepository ¶
func (m *ItemActionsCacheRequestBuilder) UsageByRepository() *ItemActionsCacheUsageByRepositoryRequestBuilder
UsageByRepository the usageByRepository property
type ItemActionsCacheUsageByRepositoryGetResponse ¶
type ItemActionsCacheUsageByRepositoryGetResponse struct {
// contains filtered or unexported fields
}
ItemActionsCacheUsageByRepositoryGetResponse
func NewItemActionsCacheUsageByRepositoryGetResponse ¶
func NewItemActionsCacheUsageByRepositoryGetResponse() *ItemActionsCacheUsageByRepositoryGetResponse
NewItemActionsCacheUsageByRepositoryGetResponse instantiates a new ItemActionsCacheUsageByRepositoryGetResponse and sets the default values.
func (*ItemActionsCacheUsageByRepositoryGetResponse) GetAdditionalData ¶
func (m *ItemActionsCacheUsageByRepositoryGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsCacheUsageByRepositoryGetResponse) GetFieldDeserializers ¶
func (m *ItemActionsCacheUsageByRepositoryGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemActionsCacheUsageByRepositoryGetResponse) GetRepositoryCacheUsages ¶
func (m *ItemActionsCacheUsageByRepositoryGetResponse) GetRepositoryCacheUsages() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ActionsCacheUsageByRepositoryable
GetRepositoryCacheUsages gets the repository_cache_usages property value. The repository_cache_usages property
func (*ItemActionsCacheUsageByRepositoryGetResponse) GetTotalCount ¶
func (m *ItemActionsCacheUsageByRepositoryGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property
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 []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ActionsCacheUsageByRepositoryable GetTotalCount() *int32 SetRepositoryCacheUsages(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ActionsCacheUsageByRepositoryable) SetTotalCount(value *int32) }
ItemActionsCacheUsageByRepositoryGetResponseable
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 UsageByRepositoryRequestBuilder and sets the default values.
func NewItemActionsCacheUsageByRepositoryRequestBuilderInternal ¶
func NewItemActionsCacheUsageByRepositoryRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsCacheUsageByRepositoryRequestBuilder
NewItemActionsCacheUsageByRepositoryRequestBuilderInternal instantiates a new UsageByRepositoryRequestBuilder and sets the default values.
func (*ItemActionsCacheUsageByRepositoryRequestBuilder) Get ¶
func (m *ItemActionsCacheUsageByRepositoryRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemActionsCacheUsageByRepositoryRequestBuilderGetRequestConfiguration) (ItemActionsCacheUsageByRepositoryResponseable, 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.You must authenticate using an access token with the `read:org` scope to use this endpoint. GitHub Apps must have the `organization_admistration:read` permission to use this endpoint. Deprecated: This method is obsolete. Use GetAsUsageByRepositoryGetResponse instead. API method documentation
func (*ItemActionsCacheUsageByRepositoryRequestBuilder) GetAsUsageByRepositoryGetResponse ¶
func (m *ItemActionsCacheUsageByRepositoryRequestBuilder) GetAsUsageByRepositoryGetResponse(ctx context.Context, requestConfiguration *ItemActionsCacheUsageByRepositoryRequestBuilderGetRequestConfiguration) (ItemActionsCacheUsageByRepositoryGetResponseable, error)
GetAsUsageByRepositoryGetResponse 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.You must authenticate using an access token with the `read:org` scope to use this endpoint. GitHub Apps must have the `organization_admistration:read` permission to use this endpoint. API method documentation
func (*ItemActionsCacheUsageByRepositoryRequestBuilder) ToGetRequestInformation ¶
func (m *ItemActionsCacheUsageByRepositoryRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemActionsCacheUsageByRepositoryRequestBuilderGetRequestConfiguration) (*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.You must authenticate using an access token with the `read:org` scope to use this endpoint. GitHub Apps must have the `organization_admistration:read` permission to use this endpoint.
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.
type ItemActionsCacheUsageByRepositoryRequestBuilderGetQueryParameters ¶
type ItemActionsCacheUsageByRepositoryRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). 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.You must authenticate using an access token with the `read:org` scope to use this endpoint. GitHub Apps must have the `organization_admistration:read` permission to use this endpoint.
type ItemActionsCacheUsageByRepositoryRequestBuilderGetRequestConfiguration ¶
type ItemActionsCacheUsageByRepositoryRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemActionsCacheUsageByRepositoryRequestBuilderGetQueryParameters }
ItemActionsCacheUsageByRepositoryRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsCacheUsageByRepositoryResponse ¶
type ItemActionsCacheUsageByRepositoryResponse struct {
ItemActionsCacheUsageByRepositoryGetResponse
}
ItemActionsCacheUsageByRepositoryResponse Deprecated: This class is obsolete. Use usageByRepositoryGetResponse instead.
func NewItemActionsCacheUsageByRepositoryResponse ¶
func NewItemActionsCacheUsageByRepositoryResponse() *ItemActionsCacheUsageByRepositoryResponse
NewItemActionsCacheUsageByRepositoryResponse instantiates a new ItemActionsCacheUsageByRepositoryResponse and sets the default values.
type ItemActionsCacheUsageByRepositoryResponseable ¶
type ItemActionsCacheUsageByRepositoryResponseable interface { ItemActionsCacheUsageByRepositoryGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemActionsCacheUsageByRepositoryResponseable Deprecated: This class is obsolete. Use usageByRepositoryGetResponse instead.
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 UsageRequestBuilder and sets the default values.
func NewItemActionsCacheUsageRequestBuilderInternal ¶
func NewItemActionsCacheUsageRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsCacheUsageRequestBuilder
NewItemActionsCacheUsageRequestBuilderInternal instantiates a new UsageRequestBuilder and sets the default values.
func (*ItemActionsCacheUsageRequestBuilder) Get ¶
func (m *ItemActionsCacheUsageRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemActionsCacheUsageRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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.You must authenticate using an access token with the `read:org` scope to use this endpoint. GitHub Apps must have the `organization_admistration:read` permission to use this endpoint. API method documentation
func (*ItemActionsCacheUsageRequestBuilder) ToGetRequestInformation ¶
func (m *ItemActionsCacheUsageRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemActionsCacheUsageRequestBuilderGetRequestConfiguration) (*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.You must authenticate using an access token with the `read:org` scope to use this endpoint. GitHub Apps must have the `organization_admistration:read` permission to use this endpoint.
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.
type ItemActionsCacheUsageRequestBuilderGetRequestConfiguration ¶
type ItemActionsCacheUsageRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsCacheUsageRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 CustomizationRequestBuilder and sets the default values.
func NewItemActionsOidcCustomizationRequestBuilderInternal ¶
func NewItemActionsOidcCustomizationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsOidcCustomizationRequestBuilder
NewItemActionsOidcCustomizationRequestBuilderInternal instantiates a new CustomizationRequestBuilder and sets the default values.
func (*ItemActionsOidcCustomizationRequestBuilder) Sub ¶
func (m *ItemActionsOidcCustomizationRequestBuilder) Sub() *ItemActionsOidcCustomizationSubRequestBuilder
Sub the sub property
type ItemActionsOidcCustomizationSubRequestBuilder ¶
type ItemActionsOidcCustomizationSubRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsOidcCustomizationSubRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\oidc\customization\sub
func NewItemActionsOidcCustomizationSubRequestBuilder ¶
func NewItemActionsOidcCustomizationSubRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsOidcCustomizationSubRequestBuilder
NewItemActionsOidcCustomizationSubRequestBuilder instantiates a new SubRequestBuilder and sets the default values.
func NewItemActionsOidcCustomizationSubRequestBuilderInternal ¶
func NewItemActionsOidcCustomizationSubRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsOidcCustomizationSubRequestBuilder
NewItemActionsOidcCustomizationSubRequestBuilderInternal instantiates a new SubRequestBuilder and sets the default values.
func (*ItemActionsOidcCustomizationSubRequestBuilder) Get ¶
func (m *ItemActionsOidcCustomizationSubRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemActionsOidcCustomizationSubRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OidcCustomSubable, error)
Get gets the customization template for an OpenID Connect (OIDC) subject claim.You must authenticate using an access token with the `read:org` scope to use this endpoint.GitHub Apps must have the `organization_administration:write` permission to use this endpoint. API method documentation
func (*ItemActionsOidcCustomizationSubRequestBuilder) Put ¶
func (m *ItemActionsOidcCustomizationSubRequestBuilder) Put(ctx context.Context, body i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OidcCustomSubable, requestConfiguration *ItemActionsOidcCustomizationSubRequestBuilderPutRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.EmptyObjectable, error)
Put creates or updates the customization template for an OpenID Connect (OIDC) subject claim.You must authenticate using an access token with the `write:org` scope to use this endpoint.GitHub Apps must have the `admin:org` permission to use this endpoint. API method documentation
func (*ItemActionsOidcCustomizationSubRequestBuilder) ToGetRequestInformation ¶
func (m *ItemActionsOidcCustomizationSubRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemActionsOidcCustomizationSubRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the customization template for an OpenID Connect (OIDC) subject claim.You must authenticate using an access token with the `read:org` scope to use this endpoint.GitHub Apps must have the `organization_administration:write` permission to use this endpoint.
func (*ItemActionsOidcCustomizationSubRequestBuilder) ToPutRequestInformation ¶
func (m *ItemActionsOidcCustomizationSubRequestBuilder) ToPutRequestInformation(ctx context.Context, body i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OidcCustomSubable, requestConfiguration *ItemActionsOidcCustomizationSubRequestBuilderPutRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation creates or updates the customization template for an OpenID Connect (OIDC) subject claim.You must authenticate using an access token with the `write:org` scope to use this endpoint.GitHub Apps must have the `admin:org` permission to use this endpoint.
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.
type ItemActionsOidcCustomizationSubRequestBuilderGetRequestConfiguration ¶
type ItemActionsOidcCustomizationSubRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsOidcCustomizationSubRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsOidcCustomizationSubRequestBuilderPutRequestConfiguration ¶
type ItemActionsOidcCustomizationSubRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsOidcCustomizationSubRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 OidcRequestBuilder and sets the default values.
func NewItemActionsOidcRequestBuilderInternal ¶
func NewItemActionsOidcRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsOidcRequestBuilder
NewItemActionsOidcRequestBuilderInternal instantiates a new OidcRequestBuilder and sets the default values.
func (*ItemActionsOidcRequestBuilder) Customization ¶
func (m *ItemActionsOidcRequestBuilder) Customization() *ItemActionsOidcCustomizationRequestBuilder
Customization the customization property
type ItemActionsPermissionsPutRequestBody ¶
type ItemActionsPermissionsPutRequestBody struct {
// contains filtered or unexported fields
}
ItemActionsPermissionsPutRequestBody
func NewItemActionsPermissionsPutRequestBody ¶
func NewItemActionsPermissionsPutRequestBody() *ItemActionsPermissionsPutRequestBody
NewItemActionsPermissionsPutRequestBody instantiates a new ItemActionsPermissionsPutRequestBody and sets the default values.
func (*ItemActionsPermissionsPutRequestBody) GetAdditionalData ¶
func (m *ItemActionsPermissionsPutRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsPermissionsPutRequestBody) GetAllowedActions ¶
func (m *ItemActionsPermissionsPutRequestBody) GetAllowedActions() *i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.AllowedActions
GetAllowedActions gets the allowed_actions property value. The permissions policy that controls the actions and reusable workflows that are allowed to run.
func (*ItemActionsPermissionsPutRequestBody) GetEnabledRepositories ¶
func (m *ItemActionsPermissionsPutRequestBody) GetEnabledRepositories() *i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.EnabledRepositories
GetEnabledRepositories gets the enabled_repositories property value. The policy that controls the repositories in the organization that are allowed to run GitHub Actions.
func (*ItemActionsPermissionsPutRequestBody) GetFieldDeserializers ¶
func (m *ItemActionsPermissionsPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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 *i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.AllowedActions)
SetAllowedActions sets the allowed_actions property value. The permissions policy that controls the actions and reusable workflows that are allowed to run.
func (*ItemActionsPermissionsPutRequestBody) SetEnabledRepositories ¶
func (m *ItemActionsPermissionsPutRequestBody) SetEnabledRepositories(value *i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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() *i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.AllowedActions GetEnabledRepositories() *i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.EnabledRepositories SetAllowedActions(value *i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.AllowedActions) SetEnabledRepositories(value *i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.EnabledRepositories) }
ItemActionsPermissionsPutRequestBodyable
type ItemActionsPermissionsRepositoriesGetResponse ¶
type ItemActionsPermissionsRepositoriesGetResponse struct {
// contains filtered or unexported fields
}
ItemActionsPermissionsRepositoriesGetResponse
func NewItemActionsPermissionsRepositoriesGetResponse ¶
func NewItemActionsPermissionsRepositoriesGetResponse() *ItemActionsPermissionsRepositoriesGetResponse
NewItemActionsPermissionsRepositoriesGetResponse instantiates a new ItemActionsPermissionsRepositoriesGetResponse and sets the default values.
func (*ItemActionsPermissionsRepositoriesGetResponse) GetAdditionalData ¶
func (m *ItemActionsPermissionsRepositoriesGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsPermissionsRepositoriesGetResponse) GetFieldDeserializers ¶
func (m *ItemActionsPermissionsRepositoriesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemActionsPermissionsRepositoriesGetResponse) GetRepositories ¶
func (m *ItemActionsPermissionsRepositoriesGetResponse) GetRepositories() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Repositoryable
GetRepositories gets the repositories property value. The repositories property
func (*ItemActionsPermissionsRepositoriesGetResponse) GetTotalCount ¶
func (m *ItemActionsPermissionsRepositoriesGetResponse) GetTotalCount() *float64
GetTotalCount gets the total_count property value. The total_count property
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 []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Repositoryable GetTotalCount() *float64 SetRepositories(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Repositoryable) SetTotalCount(value *float64) }
ItemActionsPermissionsRepositoriesGetResponseable
type ItemActionsPermissionsRepositoriesPutRequestBody ¶
type ItemActionsPermissionsRepositoriesPutRequestBody struct {
// contains filtered or unexported fields
}
ItemActionsPermissionsRepositoriesPutRequestBody
func NewItemActionsPermissionsRepositoriesPutRequestBody ¶
func NewItemActionsPermissionsRepositoriesPutRequestBody() *ItemActionsPermissionsRepositoriesPutRequestBody
NewItemActionsPermissionsRepositoriesPutRequestBody instantiates a new ItemActionsPermissionsRepositoriesPutRequestBody and sets the default values.
func (*ItemActionsPermissionsRepositoriesPutRequestBody) GetAdditionalData ¶
func (m *ItemActionsPermissionsRepositoriesPutRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsPermissionsRepositoriesPutRequestBody) GetFieldDeserializers ¶
func (m *ItemActionsPermissionsRepositoriesPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemActionsPermissionsRepositoriesPutRequestBody) GetSelectedRepositoryIds ¶
func (m *ItemActionsPermissionsRepositoriesPutRequestBody) GetSelectedRepositoryIds() []int32
GetSelectedRepositoryIds gets the selected_repository_ids property value. List of repository IDs to enable for GitHub Actions.
func (*ItemActionsPermissionsRepositoriesPutRequestBody) Serialize ¶
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) }
ItemActionsPermissionsRepositoriesPutRequestBodyable
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 RepositoriesRequestBuilder and sets the default values.
func NewItemActionsPermissionsRepositoriesRequestBuilderInternal ¶
func NewItemActionsPermissionsRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsRepositoriesRequestBuilder
NewItemActionsPermissionsRepositoriesRequestBuilderInternal instantiates a new RepositoriesRequestBuilder and sets the default values.
func (*ItemActionsPermissionsRepositoriesRequestBuilder) ByRepository_id ¶
func (m *ItemActionsPermissionsRepositoriesRequestBuilder) ByRepository_id(repository_id string) *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder
ByRepository_id gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.actions.permissions.repositories.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.
func (*ItemActionsPermissionsRepositoriesRequestBuilder) ByRepository_idInteger ¶
func (m *ItemActionsPermissionsRepositoriesRequestBuilder) ByRepository_idInteger(repository_id int32) *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder
ByRepository_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.actions.permissions.repositories.item collection
func (*ItemActionsPermissionsRepositoriesRequestBuilder) Get ¶
func (m *ItemActionsPermissionsRepositoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemActionsPermissionsRepositoriesRequestBuilderGetRequestConfiguration) (ItemActionsPermissionsRepositoriesResponseable, 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)."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. Deprecated: This method is obsolete. Use GetAsRepositoriesGetResponse instead. API method documentation
func (*ItemActionsPermissionsRepositoriesRequestBuilder) GetAsRepositoriesGetResponse ¶
func (m *ItemActionsPermissionsRepositoriesRequestBuilder) GetAsRepositoriesGetResponse(ctx context.Context, requestConfiguration *ItemActionsPermissionsRepositoriesRequestBuilderGetRequestConfiguration) (ItemActionsPermissionsRepositoriesGetResponseable, error)
GetAsRepositoriesGetResponse 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)."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. API method documentation
func (*ItemActionsPermissionsRepositoriesRequestBuilder) Put ¶
func (m *ItemActionsPermissionsRepositoriesRequestBuilder) Put(ctx context.Context, body ItemActionsPermissionsRepositoriesPutRequestBodyable, requestConfiguration *ItemActionsPermissionsRepositoriesRequestBuilderPutRequestConfiguration) 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)."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. API method documentation
func (*ItemActionsPermissionsRepositoriesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemActionsPermissionsRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemActionsPermissionsRepositoriesRequestBuilderGetRequestConfiguration) (*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)."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.
func (*ItemActionsPermissionsRepositoriesRequestBuilder) ToPutRequestInformation ¶
func (m *ItemActionsPermissionsRepositoriesRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsPermissionsRepositoriesPutRequestBodyable, requestConfiguration *ItemActionsPermissionsRepositoriesRequestBuilderPutRequestConfiguration) (*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)."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.
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.
type ItemActionsPermissionsRepositoriesRequestBuilderGetQueryParameters ¶
type ItemActionsPermissionsRepositoriesRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). 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)."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.
type ItemActionsPermissionsRepositoriesRequestBuilderGetRequestConfiguration ¶
type ItemActionsPermissionsRepositoriesRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemActionsPermissionsRepositoriesRequestBuilderGetQueryParameters }
ItemActionsPermissionsRepositoriesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsPermissionsRepositoriesRequestBuilderPutRequestConfiguration ¶
type ItemActionsPermissionsRepositoriesRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsPermissionsRepositoriesRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsPermissionsRepositoriesResponse ¶
type ItemActionsPermissionsRepositoriesResponse struct {
ItemActionsPermissionsRepositoriesGetResponse
}
ItemActionsPermissionsRepositoriesResponse Deprecated: This class is obsolete. Use repositoriesGetResponse instead.
func NewItemActionsPermissionsRepositoriesResponse ¶
func NewItemActionsPermissionsRepositoriesResponse() *ItemActionsPermissionsRepositoriesResponse
NewItemActionsPermissionsRepositoriesResponse instantiates a new ItemActionsPermissionsRepositoriesResponse and sets the default values.
type ItemActionsPermissionsRepositoriesResponseable ¶
type ItemActionsPermissionsRepositoriesResponseable interface { ItemActionsPermissionsRepositoriesGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemActionsPermissionsRepositoriesResponseable Deprecated: This class is obsolete. Use repositoriesGetResponse instead.
type ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder ¶
type ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\permissions\repositories\{repository_id}
func NewItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder ¶
func NewItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder
NewItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder instantiates a new WithRepository_ItemRequestBuilder and sets the default values.
func NewItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilderInternal ¶
func NewItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder
NewItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilderInternal instantiates a new WithRepository_ItemRequestBuilder and sets the default values.
func (*ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) Delete ¶
func (m *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration) 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)."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. API method documentation
func (*ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) Put ¶
func (m *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) Put(ctx context.Context, requestConfiguration *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration) 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)."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. API method documentation
func (*ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration) (*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)."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.
func (*ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration) (*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)."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.
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.
type ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration ¶
type ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration ¶
type ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsPermissionsRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 PermissionsRequestBuilder and sets the default values.
func NewItemActionsPermissionsRequestBuilderInternal ¶
func NewItemActionsPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsRequestBuilder
NewItemActionsPermissionsRequestBuilderInternal instantiates a new PermissionsRequestBuilder and sets the default values.
func (*ItemActionsPermissionsRequestBuilder) Get ¶
func (m *ItemActionsPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemActionsPermissionsRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ActionsOrganizationPermissionsable, error)
Get gets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows 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. API method documentation
func (*ItemActionsPermissionsRequestBuilder) Put ¶
func (m *ItemActionsPermissionsRequestBuilder) Put(ctx context.Context, body ItemActionsPermissionsPutRequestBodyable, requestConfiguration *ItemActionsPermissionsRequestBuilderPutRequestConfiguration) error
Put sets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows 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. API method documentation
func (*ItemActionsPermissionsRequestBuilder) Repositories ¶
func (m *ItemActionsPermissionsRequestBuilder) Repositories() *ItemActionsPermissionsRepositoriesRequestBuilder
Repositories the repositories property
func (*ItemActionsPermissionsRequestBuilder) SelectedActions ¶
func (m *ItemActionsPermissionsRequestBuilder) SelectedActions() *ItemActionsPermissionsSelectedActionsRequestBuilder
SelectedActions the selectedActions property
func (*ItemActionsPermissionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemActionsPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemActionsPermissionsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows 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.
func (*ItemActionsPermissionsRequestBuilder) ToPutRequestInformation ¶
func (m *ItemActionsPermissionsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsPermissionsPutRequestBodyable, requestConfiguration *ItemActionsPermissionsRequestBuilderPutRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation sets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows 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.
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.
func (*ItemActionsPermissionsRequestBuilder) Workflow ¶
func (m *ItemActionsPermissionsRequestBuilder) Workflow() *ItemActionsPermissionsWorkflowRequestBuilder
Workflow the workflow property
type ItemActionsPermissionsRequestBuilderGetRequestConfiguration ¶
type ItemActionsPermissionsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsPermissionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsPermissionsRequestBuilderPutRequestConfiguration ¶
type ItemActionsPermissionsRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsPermissionsRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 SelectedActionsRequestBuilder and sets the default values.
func NewItemActionsPermissionsSelectedActionsRequestBuilderInternal ¶
func NewItemActionsPermissionsSelectedActionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsSelectedActionsRequestBuilder
NewItemActionsPermissionsSelectedActionsRequestBuilderInternal instantiates a new SelectedActionsRequestBuilder and sets the default values.
func (*ItemActionsPermissionsSelectedActionsRequestBuilder) Get ¶
func (m *ItemActionsPermissionsSelectedActionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemActionsPermissionsSelectedActionsRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SelectedActionsable, error)
Get gets the selected actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).""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. API method documentation
func (*ItemActionsPermissionsSelectedActionsRequestBuilder) Put ¶
func (m *ItemActionsPermissionsSelectedActionsRequestBuilder) Put(ctx context.Context, body i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SelectedActionsable, requestConfiguration *ItemActionsPermissionsSelectedActionsRequestBuilderPutRequestConfiguration) error
Put sets the actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."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. API method documentation
func (*ItemActionsPermissionsSelectedActionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemActionsPermissionsSelectedActionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemActionsPermissionsSelectedActionsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the selected actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization).""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.
func (*ItemActionsPermissionsSelectedActionsRequestBuilder) ToPutRequestInformation ¶
func (m *ItemActionsPermissionsSelectedActionsRequestBuilder) ToPutRequestInformation(ctx context.Context, body i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SelectedActionsable, requestConfiguration *ItemActionsPermissionsSelectedActionsRequestBuilderPutRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation sets the actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."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.
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.
type ItemActionsPermissionsSelectedActionsRequestBuilderGetRequestConfiguration ¶
type ItemActionsPermissionsSelectedActionsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsPermissionsSelectedActionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsPermissionsSelectedActionsRequestBuilderPutRequestConfiguration ¶
type ItemActionsPermissionsSelectedActionsRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsPermissionsSelectedActionsRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 WorkflowRequestBuilder and sets the default values.
func NewItemActionsPermissionsWorkflowRequestBuilderInternal ¶
func NewItemActionsPermissionsWorkflowRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsWorkflowRequestBuilder
NewItemActionsPermissionsWorkflowRequestBuilderInternal instantiates a new WorkflowRequestBuilder and sets the default values.
func (*ItemActionsPermissionsWorkflowRequestBuilder) Get ¶
func (m *ItemActionsPermissionsWorkflowRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemActionsPermissionsWorkflowRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-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. API method documentation
func (*ItemActionsPermissionsWorkflowRequestBuilder) Put ¶
func (m *ItemActionsPermissionsWorkflowRequestBuilder) Put(ctx context.Context, body i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ActionsSetDefaultWorkflowPermissionsable, requestConfiguration *ItemActionsPermissionsWorkflowRequestBuilderPutRequestConfiguration) 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/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-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. API method documentation
func (*ItemActionsPermissionsWorkflowRequestBuilder) ToGetRequestInformation ¶
func (m *ItemActionsPermissionsWorkflowRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemActionsPermissionsWorkflowRequestBuilderGetRequestConfiguration) (*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/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-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.
func (*ItemActionsPermissionsWorkflowRequestBuilder) ToPutRequestInformation ¶
func (m *ItemActionsPermissionsWorkflowRequestBuilder) ToPutRequestInformation(ctx context.Context, body i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ActionsSetDefaultWorkflowPermissionsable, requestConfiguration *ItemActionsPermissionsWorkflowRequestBuilderPutRequestConfiguration) (*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/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#setting-the-permissions-of-the-github_token-for-your-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.
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.
type ItemActionsPermissionsWorkflowRequestBuilderGetRequestConfiguration ¶
type ItemActionsPermissionsWorkflowRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsPermissionsWorkflowRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsPermissionsWorkflowRequestBuilderPutRequestConfiguration ¶
type ItemActionsPermissionsWorkflowRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsPermissionsWorkflowRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 ActionsRequestBuilder and sets the default values.
func NewItemActionsRequestBuilderInternal ¶
func NewItemActionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRequestBuilder
NewItemActionsRequestBuilderInternal instantiates a new ActionsRequestBuilder and sets the default values.
func (*ItemActionsRequestBuilder) Cache ¶
func (m *ItemActionsRequestBuilder) Cache() *ItemActionsCacheRequestBuilder
Cache the cache property
func (*ItemActionsRequestBuilder) Oidc ¶
func (m *ItemActionsRequestBuilder) Oidc() *ItemActionsOidcRequestBuilder
Oidc the oidc property
func (*ItemActionsRequestBuilder) Permissions ¶
func (m *ItemActionsRequestBuilder) Permissions() *ItemActionsPermissionsRequestBuilder
Permissions the permissions property
func (*ItemActionsRequestBuilder) Runners ¶
func (m *ItemActionsRequestBuilder) Runners() *ItemActionsRunnersRequestBuilder
Runners the runners property
func (*ItemActionsRequestBuilder) Secrets ¶
func (m *ItemActionsRequestBuilder) Secrets() *ItemActionsSecretsRequestBuilder
Secrets the secrets property
func (*ItemActionsRequestBuilder) Variables ¶
func (m *ItemActionsRequestBuilder) Variables() *ItemActionsVariablesRequestBuilder
Variables the variables property
type ItemActionsRunnersDownloadsRequestBuilder ¶
type ItemActionsRunnersDownloadsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsRunnersDownloadsRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\runners\downloads
func NewItemActionsRunnersDownloadsRequestBuilder ¶
func NewItemActionsRunnersDownloadsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersDownloadsRequestBuilder
NewItemActionsRunnersDownloadsRequestBuilder instantiates a new DownloadsRequestBuilder and sets the default values.
func NewItemActionsRunnersDownloadsRequestBuilderInternal ¶
func NewItemActionsRunnersDownloadsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersDownloadsRequestBuilder
NewItemActionsRunnersDownloadsRequestBuilderInternal instantiates a new DownloadsRequestBuilder and sets the default values.
func (*ItemActionsRunnersDownloadsRequestBuilder) Get ¶
func (m *ItemActionsRunnersDownloadsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemActionsRunnersDownloadsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RunnerApplicationable, error)
Get lists binaries for the runner application that you can download and run.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. API method documentation
func (*ItemActionsRunnersDownloadsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemActionsRunnersDownloadsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemActionsRunnersDownloadsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists binaries for the runner application that you can download and run.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.
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.
type ItemActionsRunnersDownloadsRequestBuilderGetRequestConfiguration ¶
type ItemActionsRunnersDownloadsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsRunnersDownloadsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsRunnersGenerateJitconfigPostRequestBody ¶
type ItemActionsRunnersGenerateJitconfigPostRequestBody struct {
// contains filtered or unexported fields
}
ItemActionsRunnersGenerateJitconfigPostRequestBody
func NewItemActionsRunnersGenerateJitconfigPostRequestBody ¶
func NewItemActionsRunnersGenerateJitconfigPostRequestBody() *ItemActionsRunnersGenerateJitconfigPostRequestBody
NewItemActionsRunnersGenerateJitconfigPostRequestBody instantiates a new ItemActionsRunnersGenerateJitconfigPostRequestBody and sets the default values.
func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetAdditionalData ¶
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.
func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetFieldDeserializers ¶
func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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.
func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetName ¶
func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetName() *string
GetName gets the name property value. The name of the new runner.
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.
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.
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) }
ItemActionsRunnersGenerateJitconfigPostRequestBodyable
type ItemActionsRunnersGenerateJitconfigPostResponse ¶
type ItemActionsRunnersGenerateJitconfigPostResponse struct {
// contains filtered or unexported fields
}
ItemActionsRunnersGenerateJitconfigPostResponse
func NewItemActionsRunnersGenerateJitconfigPostResponse ¶
func NewItemActionsRunnersGenerateJitconfigPostResponse() *ItemActionsRunnersGenerateJitconfigPostResponse
NewItemActionsRunnersGenerateJitconfigPostResponse instantiates a new ItemActionsRunnersGenerateJitconfigPostResponse and sets the default values.
func (*ItemActionsRunnersGenerateJitconfigPostResponse) GetAdditionalData ¶
func (m *ItemActionsRunnersGenerateJitconfigPostResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsRunnersGenerateJitconfigPostResponse) GetEncodedJitConfig ¶
func (m *ItemActionsRunnersGenerateJitconfigPostResponse) GetEncodedJitConfig() *string
GetEncodedJitConfig gets the encoded_jit_config property value. The base64 encoded runner configuration.
func (*ItemActionsRunnersGenerateJitconfigPostResponse) GetFieldDeserializers ¶
func (m *ItemActionsRunnersGenerateJitconfigPostResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemActionsRunnersGenerateJitconfigPostResponse) GetRunner ¶
func (m *ItemActionsRunnersGenerateJitconfigPostResponse) GetRunner() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Runnerable
GetRunner gets the runner property value. A self hosted runner
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 i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Runnerable)
SetRunner sets the runner property value. A self hosted runner
type ItemActionsRunnersGenerateJitconfigPostResponseable ¶
type ItemActionsRunnersGenerateJitconfigPostResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetEncodedJitConfig() *string GetRunner() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Runnerable SetEncodedJitConfig(value *string) SetRunner(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Runnerable) }
ItemActionsRunnersGenerateJitconfigPostResponseable
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 GenerateJitconfigRequestBuilder and sets the default values.
func NewItemActionsRunnersGenerateJitconfigRequestBuilderInternal ¶
func NewItemActionsRunnersGenerateJitconfigRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersGenerateJitconfigRequestBuilder
NewItemActionsRunnersGenerateJitconfigRequestBuilderInternal instantiates a new GenerateJitconfigRequestBuilder and sets the default values.
func (*ItemActionsRunnersGenerateJitconfigRequestBuilder) Post ¶
func (m *ItemActionsRunnersGenerateJitconfigRequestBuilder) Post(ctx context.Context, body ItemActionsRunnersGenerateJitconfigPostRequestBodyable, requestConfiguration *ItemActionsRunnersGenerateJitconfigRequestBuilderPostRequestConfiguration) (ItemActionsRunnersGenerateJitconfigResponseable, error)
Post generates a configuration that can be passed to the runner application at startup.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. Deprecated: This method is obsolete. Use PostAsGenerateJitconfigPostResponse instead. API method documentation
func (*ItemActionsRunnersGenerateJitconfigRequestBuilder) PostAsGenerateJitconfigPostResponse ¶
func (m *ItemActionsRunnersGenerateJitconfigRequestBuilder) PostAsGenerateJitconfigPostResponse(ctx context.Context, body ItemActionsRunnersGenerateJitconfigPostRequestBodyable, requestConfiguration *ItemActionsRunnersGenerateJitconfigRequestBuilderPostRequestConfiguration) (ItemActionsRunnersGenerateJitconfigPostResponseable, error)
PostAsGenerateJitconfigPostResponse generates a configuration that can be passed to the runner application at startup.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. API method documentation
func (*ItemActionsRunnersGenerateJitconfigRequestBuilder) ToPostRequestInformation ¶
func (m *ItemActionsRunnersGenerateJitconfigRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemActionsRunnersGenerateJitconfigPostRequestBodyable, requestConfiguration *ItemActionsRunnersGenerateJitconfigRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation generates a configuration that can be passed to the runner application at startup.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.
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.
type ItemActionsRunnersGenerateJitconfigRequestBuilderPostRequestConfiguration ¶
type ItemActionsRunnersGenerateJitconfigRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsRunnersGenerateJitconfigRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsRunnersGenerateJitconfigResponse ¶
type ItemActionsRunnersGenerateJitconfigResponse struct {
ItemActionsRunnersGenerateJitconfigPostResponse
}
ItemActionsRunnersGenerateJitconfigResponse Deprecated: This class is obsolete. Use generateJitconfigPostResponse instead.
func NewItemActionsRunnersGenerateJitconfigResponse ¶
func NewItemActionsRunnersGenerateJitconfigResponse() *ItemActionsRunnersGenerateJitconfigResponse
NewItemActionsRunnersGenerateJitconfigResponse instantiates a new ItemActionsRunnersGenerateJitconfigResponse and sets the default values.
type ItemActionsRunnersGenerateJitconfigResponseable ¶
type ItemActionsRunnersGenerateJitconfigResponseable interface { ItemActionsRunnersGenerateJitconfigPostResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemActionsRunnersGenerateJitconfigResponseable Deprecated: This class is obsolete. Use generateJitconfigPostResponse instead.
type ItemActionsRunnersGetResponse ¶
type ItemActionsRunnersGetResponse struct {
// contains filtered or unexported fields
}
ItemActionsRunnersGetResponse
func NewItemActionsRunnersGetResponse ¶
func NewItemActionsRunnersGetResponse() *ItemActionsRunnersGetResponse
NewItemActionsRunnersGetResponse instantiates a new ItemActionsRunnersGetResponse and sets the default values.
func (*ItemActionsRunnersGetResponse) GetAdditionalData ¶
func (m *ItemActionsRunnersGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsRunnersGetResponse) GetFieldDeserializers ¶
func (m *ItemActionsRunnersGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemActionsRunnersGetResponse) GetRunners ¶
func (m *ItemActionsRunnersGetResponse) GetRunners() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Runnerable
GetRunners gets the runners property value. The runners property
func (*ItemActionsRunnersGetResponse) GetTotalCount ¶
func (m *ItemActionsRunnersGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property
func (*ItemActionsRunnersGetResponse) Serialize ¶
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 []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Runnerable GetTotalCount() *int32 SetRunners(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Runnerable) SetTotalCount(value *int32) }
ItemActionsRunnersGetResponseable
type ItemActionsRunnersItemLabelsDeleteResponse ¶
type ItemActionsRunnersItemLabelsDeleteResponse struct {
// contains filtered or unexported fields
}
ItemActionsRunnersItemLabelsDeleteResponse
func NewItemActionsRunnersItemLabelsDeleteResponse ¶
func NewItemActionsRunnersItemLabelsDeleteResponse() *ItemActionsRunnersItemLabelsDeleteResponse
NewItemActionsRunnersItemLabelsDeleteResponse instantiates a new ItemActionsRunnersItemLabelsDeleteResponse and sets the default values.
func (*ItemActionsRunnersItemLabelsDeleteResponse) GetAdditionalData ¶
func (m *ItemActionsRunnersItemLabelsDeleteResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsRunnersItemLabelsDeleteResponse) GetFieldDeserializers ¶
func (m *ItemActionsRunnersItemLabelsDeleteResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemActionsRunnersItemLabelsDeleteResponse) GetLabels ¶
func (m *ItemActionsRunnersItemLabelsDeleteResponse) GetLabels() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RunnerLabelable
GetLabels gets the labels property value. The labels property
func (*ItemActionsRunnersItemLabelsDeleteResponse) GetTotalCount ¶
func (m *ItemActionsRunnersItemLabelsDeleteResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property
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 []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RunnerLabelable GetTotalCount() *int32 SetLabels(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RunnerLabelable) SetTotalCount(value *int32) }
ItemActionsRunnersItemLabelsDeleteResponseable
type ItemActionsRunnersItemLabelsGetResponse ¶
type ItemActionsRunnersItemLabelsGetResponse struct {
// contains filtered or unexported fields
}
ItemActionsRunnersItemLabelsGetResponse
func NewItemActionsRunnersItemLabelsGetResponse ¶
func NewItemActionsRunnersItemLabelsGetResponse() *ItemActionsRunnersItemLabelsGetResponse
NewItemActionsRunnersItemLabelsGetResponse instantiates a new ItemActionsRunnersItemLabelsGetResponse and sets the default values.
func (*ItemActionsRunnersItemLabelsGetResponse) GetAdditionalData ¶
func (m *ItemActionsRunnersItemLabelsGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsRunnersItemLabelsGetResponse) GetFieldDeserializers ¶
func (m *ItemActionsRunnersItemLabelsGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemActionsRunnersItemLabelsGetResponse) GetLabels ¶
func (m *ItemActionsRunnersItemLabelsGetResponse) GetLabels() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RunnerLabelable
GetLabels gets the labels property value. The labels property
func (*ItemActionsRunnersItemLabelsGetResponse) GetTotalCount ¶
func (m *ItemActionsRunnersItemLabelsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property
func (*ItemActionsRunnersItemLabelsGetResponse) Serialize ¶
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 []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RunnerLabelable GetTotalCount() *int32 SetLabels(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RunnerLabelable) SetTotalCount(value *int32) }
ItemActionsRunnersItemLabelsGetResponseable
type ItemActionsRunnersItemLabelsItemWithNameDeleteResponse ¶
type ItemActionsRunnersItemLabelsItemWithNameDeleteResponse struct {
// contains filtered or unexported fields
}
ItemActionsRunnersItemLabelsItemWithNameDeleteResponse
func NewItemActionsRunnersItemLabelsItemWithNameDeleteResponse ¶
func NewItemActionsRunnersItemLabelsItemWithNameDeleteResponse() *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse
NewItemActionsRunnersItemLabelsItemWithNameDeleteResponse instantiates a new ItemActionsRunnersItemLabelsItemWithNameDeleteResponse and sets the default values.
func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetAdditionalData ¶
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.
func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetFieldDeserializers ¶
func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetLabels ¶
func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetLabels() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RunnerLabelable
GetLabels gets the labels property value. The labels property
func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetTotalCount ¶
func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property
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 []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RunnerLabelable GetTotalCount() *int32 SetLabels(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RunnerLabelable) SetTotalCount(value *int32) }
ItemActionsRunnersItemLabelsItemWithNameDeleteResponseable
type ItemActionsRunnersItemLabelsItemWithNameResponse ¶
type ItemActionsRunnersItemLabelsItemWithNameResponse struct {
ItemActionsRunnersItemLabelsItemWithNameDeleteResponse
}
ItemActionsRunnersItemLabelsItemWithNameResponse Deprecated: This class is obsolete. Use WithNameDeleteResponse instead.
func NewItemActionsRunnersItemLabelsItemWithNameResponse ¶
func NewItemActionsRunnersItemLabelsItemWithNameResponse() *ItemActionsRunnersItemLabelsItemWithNameResponse
NewItemActionsRunnersItemLabelsItemWithNameResponse instantiates a new ItemActionsRunnersItemLabelsItemWithNameResponse and sets the default values.
type ItemActionsRunnersItemLabelsItemWithNameResponseable ¶
type ItemActionsRunnersItemLabelsItemWithNameResponseable interface { ItemActionsRunnersItemLabelsItemWithNameDeleteResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemActionsRunnersItemLabelsItemWithNameResponseable Deprecated: This class is obsolete. Use WithNameDeleteResponse instead.
type ItemActionsRunnersItemLabelsPostRequestBody ¶
type ItemActionsRunnersItemLabelsPostRequestBody struct {
// contains filtered or unexported fields
}
ItemActionsRunnersItemLabelsPostRequestBody
func NewItemActionsRunnersItemLabelsPostRequestBody ¶
func NewItemActionsRunnersItemLabelsPostRequestBody() *ItemActionsRunnersItemLabelsPostRequestBody
NewItemActionsRunnersItemLabelsPostRequestBody instantiates a new ItemActionsRunnersItemLabelsPostRequestBody and sets the default values.
func (*ItemActionsRunnersItemLabelsPostRequestBody) GetAdditionalData ¶
func (m *ItemActionsRunnersItemLabelsPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsRunnersItemLabelsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemActionsRunnersItemLabelsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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.
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) }
ItemActionsRunnersItemLabelsPostRequestBodyable
type ItemActionsRunnersItemLabelsPostResponse ¶
type ItemActionsRunnersItemLabelsPostResponse struct {
// contains filtered or unexported fields
}
ItemActionsRunnersItemLabelsPostResponse
func NewItemActionsRunnersItemLabelsPostResponse ¶
func NewItemActionsRunnersItemLabelsPostResponse() *ItemActionsRunnersItemLabelsPostResponse
NewItemActionsRunnersItemLabelsPostResponse instantiates a new ItemActionsRunnersItemLabelsPostResponse and sets the default values.
func (*ItemActionsRunnersItemLabelsPostResponse) GetAdditionalData ¶
func (m *ItemActionsRunnersItemLabelsPostResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsRunnersItemLabelsPostResponse) GetFieldDeserializers ¶
func (m *ItemActionsRunnersItemLabelsPostResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemActionsRunnersItemLabelsPostResponse) GetLabels ¶
func (m *ItemActionsRunnersItemLabelsPostResponse) GetLabels() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RunnerLabelable
GetLabels gets the labels property value. The labels property
func (*ItemActionsRunnersItemLabelsPostResponse) GetTotalCount ¶
func (m *ItemActionsRunnersItemLabelsPostResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property
func (*ItemActionsRunnersItemLabelsPostResponse) Serialize ¶
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 []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RunnerLabelable GetTotalCount() *int32 SetLabels(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RunnerLabelable) SetTotalCount(value *int32) }
ItemActionsRunnersItemLabelsPostResponseable
type ItemActionsRunnersItemLabelsPutRequestBody ¶
type ItemActionsRunnersItemLabelsPutRequestBody struct {
// contains filtered or unexported fields
}
ItemActionsRunnersItemLabelsPutRequestBody
func NewItemActionsRunnersItemLabelsPutRequestBody ¶
func NewItemActionsRunnersItemLabelsPutRequestBody() *ItemActionsRunnersItemLabelsPutRequestBody
NewItemActionsRunnersItemLabelsPutRequestBody instantiates a new ItemActionsRunnersItemLabelsPutRequestBody and sets the default values.
func (*ItemActionsRunnersItemLabelsPutRequestBody) GetAdditionalData ¶
func (m *ItemActionsRunnersItemLabelsPutRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsRunnersItemLabelsPutRequestBody) GetFieldDeserializers ¶
func (m *ItemActionsRunnersItemLabelsPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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.
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) }
ItemActionsRunnersItemLabelsPutRequestBodyable
type ItemActionsRunnersItemLabelsPutResponse ¶
type ItemActionsRunnersItemLabelsPutResponse struct {
// contains filtered or unexported fields
}
ItemActionsRunnersItemLabelsPutResponse
func NewItemActionsRunnersItemLabelsPutResponse ¶
func NewItemActionsRunnersItemLabelsPutResponse() *ItemActionsRunnersItemLabelsPutResponse
NewItemActionsRunnersItemLabelsPutResponse instantiates a new ItemActionsRunnersItemLabelsPutResponse and sets the default values.
func (*ItemActionsRunnersItemLabelsPutResponse) GetAdditionalData ¶
func (m *ItemActionsRunnersItemLabelsPutResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsRunnersItemLabelsPutResponse) GetFieldDeserializers ¶
func (m *ItemActionsRunnersItemLabelsPutResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemActionsRunnersItemLabelsPutResponse) GetLabels ¶
func (m *ItemActionsRunnersItemLabelsPutResponse) GetLabels() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RunnerLabelable
GetLabels gets the labels property value. The labels property
func (*ItemActionsRunnersItemLabelsPutResponse) GetTotalCount ¶
func (m *ItemActionsRunnersItemLabelsPutResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property
func (*ItemActionsRunnersItemLabelsPutResponse) Serialize ¶
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 []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RunnerLabelable GetTotalCount() *int32 SetLabels(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RunnerLabelable) SetTotalCount(value *int32) }
ItemActionsRunnersItemLabelsPutResponseable
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 LabelsRequestBuilder and sets the default values.
func NewItemActionsRunnersItemLabelsRequestBuilderInternal ¶
func NewItemActionsRunnersItemLabelsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersItemLabelsRequestBuilder
NewItemActionsRunnersItemLabelsRequestBuilderInternal instantiates a new LabelsRequestBuilder and sets the default values.
func (*ItemActionsRunnersItemLabelsRequestBuilder) ByName ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) ByName(name string) *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder
ByName gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.actions.runners.item.labels.item collection
func (*ItemActionsRunnersItemLabelsRequestBuilder) Delete ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemActionsRunnersItemLabelsRequestBuilderDeleteRequestConfiguration) (ItemActionsRunnersItemLabelsResponseable, error)
Delete remove all custom labels from a self-hosted runner configured in anorganization. Returns the remaining read-only labels from the runner.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. Deprecated: This method is obsolete. Use DeleteAsLabelsDeleteResponse instead. API method documentation
func (*ItemActionsRunnersItemLabelsRequestBuilder) DeleteAsLabelsDeleteResponse ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) DeleteAsLabelsDeleteResponse(ctx context.Context, requestConfiguration *ItemActionsRunnersItemLabelsRequestBuilderDeleteRequestConfiguration) (ItemActionsRunnersItemLabelsDeleteResponseable, error)
DeleteAsLabelsDeleteResponse remove all custom labels from a self-hosted runner configured in anorganization. Returns the remaining read-only labels from the runner.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. API method documentation
func (*ItemActionsRunnersItemLabelsRequestBuilder) Get ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemActionsRunnersItemLabelsRequestBuilderGetRequestConfiguration) (ItemActionsRunnersItemLabelsResponseable, error)
Get lists all labels for a self-hosted runner configured in an organization.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. Deprecated: This method is obsolete. Use GetAsLabelsGetResponse instead. API method documentation
func (*ItemActionsRunnersItemLabelsRequestBuilder) GetAsLabelsGetResponse ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) GetAsLabelsGetResponse(ctx context.Context, requestConfiguration *ItemActionsRunnersItemLabelsRequestBuilderGetRequestConfiguration) (ItemActionsRunnersItemLabelsGetResponseable, error)
GetAsLabelsGetResponse lists all labels for a self-hosted runner configured in an organization.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. API method documentation
func (*ItemActionsRunnersItemLabelsRequestBuilder) Post ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) Post(ctx context.Context, body ItemActionsRunnersItemLabelsPostRequestBodyable, requestConfiguration *ItemActionsRunnersItemLabelsRequestBuilderPostRequestConfiguration) (ItemActionsRunnersItemLabelsResponseable, error)
Post add custom labels to a self-hosted runner configured in an organization.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. Deprecated: This method is obsolete. Use PostAsLabelsPostResponse instead. API method documentation
func (*ItemActionsRunnersItemLabelsRequestBuilder) PostAsLabelsPostResponse ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) PostAsLabelsPostResponse(ctx context.Context, body ItemActionsRunnersItemLabelsPostRequestBodyable, requestConfiguration *ItemActionsRunnersItemLabelsRequestBuilderPostRequestConfiguration) (ItemActionsRunnersItemLabelsPostResponseable, error)
PostAsLabelsPostResponse add custom labels to a self-hosted runner configured in an organization.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. API method documentation
func (*ItemActionsRunnersItemLabelsRequestBuilder) Put ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) Put(ctx context.Context, body ItemActionsRunnersItemLabelsPutRequestBodyable, requestConfiguration *ItemActionsRunnersItemLabelsRequestBuilderPutRequestConfiguration) (ItemActionsRunnersItemLabelsResponseable, error)
Put remove all previous custom labels and set the new custom labels for a specificself-hosted runner configured in an organization.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. Deprecated: This method is obsolete. Use PutAsLabelsPutResponse instead. API method documentation
func (*ItemActionsRunnersItemLabelsRequestBuilder) PutAsLabelsPutResponse ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) PutAsLabelsPutResponse(ctx context.Context, body ItemActionsRunnersItemLabelsPutRequestBodyable, requestConfiguration *ItemActionsRunnersItemLabelsRequestBuilderPutRequestConfiguration) (ItemActionsRunnersItemLabelsPutResponseable, error)
PutAsLabelsPutResponse remove all previous custom labels and set the new custom labels for a specificself-hosted runner configured in an organization.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. API method documentation
func (*ItemActionsRunnersItemLabelsRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemActionsRunnersItemLabelsRequestBuilderDeleteRequestConfiguration) (*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.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.
func (*ItemActionsRunnersItemLabelsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemActionsRunnersItemLabelsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all labels for a self-hosted runner configured in an organization.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.
func (*ItemActionsRunnersItemLabelsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemActionsRunnersItemLabelsPostRequestBodyable, requestConfiguration *ItemActionsRunnersItemLabelsRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation add custom labels to a self-hosted runner configured in an organization.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.
func (*ItemActionsRunnersItemLabelsRequestBuilder) ToPutRequestInformation ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsRunnersItemLabelsPutRequestBodyable, requestConfiguration *ItemActionsRunnersItemLabelsRequestBuilderPutRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation remove all previous custom labels and set the new custom labels for a specificself-hosted runner configured in an organization.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.
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.
type ItemActionsRunnersItemLabelsRequestBuilderDeleteRequestConfiguration ¶
type ItemActionsRunnersItemLabelsRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsRunnersItemLabelsRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsRunnersItemLabelsRequestBuilderGetRequestConfiguration ¶
type ItemActionsRunnersItemLabelsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsRunnersItemLabelsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsRunnersItemLabelsRequestBuilderPostRequestConfiguration ¶
type ItemActionsRunnersItemLabelsRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsRunnersItemLabelsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsRunnersItemLabelsRequestBuilderPutRequestConfiguration ¶
type ItemActionsRunnersItemLabelsRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsRunnersItemLabelsRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsRunnersItemLabelsResponse ¶
type ItemActionsRunnersItemLabelsResponse struct {
ItemActionsRunnersItemLabelsGetResponse
}
ItemActionsRunnersItemLabelsResponse Deprecated: This class is obsolete. Use labelsGetResponse instead.
func NewItemActionsRunnersItemLabelsResponse ¶
func NewItemActionsRunnersItemLabelsResponse() *ItemActionsRunnersItemLabelsResponse
NewItemActionsRunnersItemLabelsResponse instantiates a new ItemActionsRunnersItemLabelsResponse and sets the default values.
type ItemActionsRunnersItemLabelsResponseable ¶
type ItemActionsRunnersItemLabelsResponseable interface { ItemActionsRunnersItemLabelsGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemActionsRunnersItemLabelsResponseable Deprecated: This class is obsolete. Use labelsGetResponse instead.
type ItemActionsRunnersItemLabelsWithNameItemRequestBuilder ¶
type ItemActionsRunnersItemLabelsWithNameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsRunnersItemLabelsWithNameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\runners\{runner_id}\labels\{name}
func NewItemActionsRunnersItemLabelsWithNameItemRequestBuilder ¶
func NewItemActionsRunnersItemLabelsWithNameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder
NewItemActionsRunnersItemLabelsWithNameItemRequestBuilder instantiates a new WithNameItemRequestBuilder and sets the default values.
func NewItemActionsRunnersItemLabelsWithNameItemRequestBuilderInternal ¶
func NewItemActionsRunnersItemLabelsWithNameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder
NewItemActionsRunnersItemLabelsWithNameItemRequestBuilderInternal instantiates a new WithNameItemRequestBuilder and sets the default values.
func (*ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) Delete ¶
func (m *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemActionsRunnersItemLabelsWithNameItemRequestBuilderDeleteRequestConfiguration) (ItemActionsRunnersItemLabelsItemWithNameResponseable, 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.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. Deprecated: This method is obsolete. Use DeleteAsWithNameDeleteResponse instead. API method documentation
func (*ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) DeleteAsWithNameDeleteResponse ¶
func (m *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) DeleteAsWithNameDeleteResponse(ctx context.Context, requestConfiguration *ItemActionsRunnersItemLabelsWithNameItemRequestBuilderDeleteRequestConfiguration) (ItemActionsRunnersItemLabelsItemWithNameDeleteResponseable, error)
DeleteAsWithNameDeleteResponse 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.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. API method documentation
func (*ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemActionsRunnersItemLabelsWithNameItemRequestBuilderDeleteRequestConfiguration) (*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.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.
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.
type ItemActionsRunnersItemLabelsWithNameItemRequestBuilderDeleteRequestConfiguration ¶
type ItemActionsRunnersItemLabelsWithNameItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsRunnersItemLabelsWithNameItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 RegistrationTokenRequestBuilder and sets the default values.
func NewItemActionsRunnersRegistrationTokenRequestBuilderInternal ¶
func NewItemActionsRunnersRegistrationTokenRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersRegistrationTokenRequestBuilder
NewItemActionsRunnersRegistrationTokenRequestBuilderInternal instantiates a new RegistrationTokenRequestBuilder and sets the default values.
func (*ItemActionsRunnersRegistrationTokenRequestBuilder) Post ¶
func (m *ItemActionsRunnersRegistrationTokenRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemActionsRunnersRegistrationTokenRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.AuthenticationTokenable, error)
Post returns a token that you can pass to the `config` script. The token expires after one hour.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.Example using registration token: Configure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.```./config.sh --url https://github.com/octo-org --token TOKEN``` API method documentation
func (*ItemActionsRunnersRegistrationTokenRequestBuilder) ToPostRequestInformation ¶
func (m *ItemActionsRunnersRegistrationTokenRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemActionsRunnersRegistrationTokenRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation returns a token that you can pass to the `config` script. The token expires after one hour.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.Example using registration token: Configure your self-hosted runner, replacing `TOKEN` with the registration token provided by this endpoint.```./config.sh --url https://github.com/octo-org --token TOKEN```
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.
type ItemActionsRunnersRegistrationTokenRequestBuilderPostRequestConfiguration ¶
type ItemActionsRunnersRegistrationTokenRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsRunnersRegistrationTokenRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 RemoveTokenRequestBuilder and sets the default values.
func NewItemActionsRunnersRemoveTokenRequestBuilderInternal ¶
func NewItemActionsRunnersRemoveTokenRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersRemoveTokenRequestBuilder
NewItemActionsRunnersRemoveTokenRequestBuilderInternal instantiates a new RemoveTokenRequestBuilder and sets the default values.
func (*ItemActionsRunnersRemoveTokenRequestBuilder) Post ¶
func (m *ItemActionsRunnersRemoveTokenRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemActionsRunnersRemoveTokenRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.Example using remove token:To remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by thisendpoint.```./config.sh remove --token TOKEN``` API method documentation
func (*ItemActionsRunnersRemoveTokenRequestBuilder) ToPostRequestInformation ¶
func (m *ItemActionsRunnersRemoveTokenRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemActionsRunnersRemoveTokenRequestBuilderPostRequestConfiguration) (*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.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.Example using remove token:To remove your self-hosted runner from an organization, replace `TOKEN` with the remove token provided by thisendpoint.```./config.sh remove --token TOKEN```
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.
type ItemActionsRunnersRemoveTokenRequestBuilderPostRequestConfiguration ¶
type ItemActionsRunnersRemoveTokenRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsRunnersRemoveTokenRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 RunnersRequestBuilder and sets the default values.
func NewItemActionsRunnersRequestBuilderInternal ¶
func NewItemActionsRunnersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersRequestBuilder
NewItemActionsRunnersRequestBuilderInternal instantiates a new RunnersRequestBuilder and sets the default values.
func (*ItemActionsRunnersRequestBuilder) ByRunner_id ¶
func (m *ItemActionsRunnersRequestBuilder) ByRunner_id(runner_id string) *ItemActionsRunnersWithRunner_ItemRequestBuilder
ByRunner_id gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.actions.runners.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.
func (*ItemActionsRunnersRequestBuilder) ByRunner_idInteger ¶
func (m *ItemActionsRunnersRequestBuilder) ByRunner_idInteger(runner_id int32) *ItemActionsRunnersWithRunner_ItemRequestBuilder
ByRunner_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.actions.runners.item collection
func (*ItemActionsRunnersRequestBuilder) Downloads ¶
func (m *ItemActionsRunnersRequestBuilder) Downloads() *ItemActionsRunnersDownloadsRequestBuilder
Downloads the downloads property
func (*ItemActionsRunnersRequestBuilder) GenerateJitconfig ¶
func (m *ItemActionsRunnersRequestBuilder) GenerateJitconfig() *ItemActionsRunnersGenerateJitconfigRequestBuilder
GenerateJitconfig the generateJitconfig property
func (*ItemActionsRunnersRequestBuilder) Get ¶
func (m *ItemActionsRunnersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemActionsRunnersRequestBuilderGetRequestConfiguration) (ItemActionsRunnersResponseable, error)
Get lists all self-hosted runners configured in an organization.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. Deprecated: This method is obsolete. Use GetAsRunnersGetResponse instead. API method documentation
func (*ItemActionsRunnersRequestBuilder) GetAsRunnersGetResponse ¶
func (m *ItemActionsRunnersRequestBuilder) GetAsRunnersGetResponse(ctx context.Context, requestConfiguration *ItemActionsRunnersRequestBuilderGetRequestConfiguration) (ItemActionsRunnersGetResponseable, error)
GetAsRunnersGetResponse lists all self-hosted runners configured in an organization.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. API method documentation
func (*ItemActionsRunnersRequestBuilder) RegistrationToken ¶
func (m *ItemActionsRunnersRequestBuilder) RegistrationToken() *ItemActionsRunnersRegistrationTokenRequestBuilder
RegistrationToken the registrationToken property
func (*ItemActionsRunnersRequestBuilder) RemoveToken ¶
func (m *ItemActionsRunnersRequestBuilder) RemoveToken() *ItemActionsRunnersRemoveTokenRequestBuilder
RemoveToken the removeToken property
func (*ItemActionsRunnersRequestBuilder) ToGetRequestInformation ¶
func (m *ItemActionsRunnersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemActionsRunnersRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all self-hosted runners configured in an organization.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.
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.
type ItemActionsRunnersRequestBuilderGetQueryParameters ¶
type ItemActionsRunnersRequestBuilderGetQueryParameters struct { // The name of a self-hosted runner. Name *string `uriparametername:"name"` // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemActionsRunnersRequestBuilderGetQueryParameters lists all self-hosted runners configured in an organization.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.
type ItemActionsRunnersRequestBuilderGetRequestConfiguration ¶
type ItemActionsRunnersRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemActionsRunnersRequestBuilderGetQueryParameters }
ItemActionsRunnersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsRunnersResponse ¶
type ItemActionsRunnersResponse struct {
ItemActionsRunnersGetResponse
}
ItemActionsRunnersResponse Deprecated: This class is obsolete. Use runnersGetResponse instead.
func NewItemActionsRunnersResponse ¶
func NewItemActionsRunnersResponse() *ItemActionsRunnersResponse
NewItemActionsRunnersResponse instantiates a new ItemActionsRunnersResponse and sets the default values.
type ItemActionsRunnersResponseable ¶
type ItemActionsRunnersResponseable interface { ItemActionsRunnersGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemActionsRunnersResponseable Deprecated: This class is obsolete. Use runnersGetResponse instead.
type ItemActionsRunnersWithRunner_ItemRequestBuilder ¶
type ItemActionsRunnersWithRunner_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsRunnersWithRunner_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\runners\{runner_id}
func NewItemActionsRunnersWithRunner_ItemRequestBuilder ¶
func NewItemActionsRunnersWithRunner_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersWithRunner_ItemRequestBuilder
NewItemActionsRunnersWithRunner_ItemRequestBuilder instantiates a new WithRunner_ItemRequestBuilder and sets the default values.
func NewItemActionsRunnersWithRunner_ItemRequestBuilderInternal ¶
func NewItemActionsRunnersWithRunner_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersWithRunner_ItemRequestBuilder
NewItemActionsRunnersWithRunner_ItemRequestBuilderInternal instantiates a new WithRunner_ItemRequestBuilder and sets the default values.
func (*ItemActionsRunnersWithRunner_ItemRequestBuilder) Delete ¶
func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemActionsRunnersWithRunner_ItemRequestBuilderDeleteRequestConfiguration) 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.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. API method documentation
func (*ItemActionsRunnersWithRunner_ItemRequestBuilder) Get ¶
func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemActionsRunnersWithRunner_ItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Runnerable, error)
Get gets a specific self-hosted runner configured in an organization.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints. API method documentation
func (*ItemActionsRunnersWithRunner_ItemRequestBuilder) Labels ¶
func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) Labels() *ItemActionsRunnersItemLabelsRequestBuilder
Labels the labels property
func (*ItemActionsRunnersWithRunner_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemActionsRunnersWithRunner_ItemRequestBuilderDeleteRequestConfiguration) (*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.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.
func (*ItemActionsRunnersWithRunner_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemActionsRunnersWithRunner_ItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a specific self-hosted runner configured in an organization.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `administration` permission for repositories and the `organization_self_hosted_runners` permission for organizations.Authenticated users must have admin access to repositories or organizations, or the `manage_runners:enterprise` scope for enterprises, to use these endpoints.
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.
type ItemActionsRunnersWithRunner_ItemRequestBuilderDeleteRequestConfiguration ¶
type ItemActionsRunnersWithRunner_ItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsRunnersWithRunner_ItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsRunnersWithRunner_ItemRequestBuilderGetRequestConfiguration ¶
type ItemActionsRunnersWithRunner_ItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsRunnersWithRunner_ItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsSecretsGetResponse ¶
type ItemActionsSecretsGetResponse struct {
// contains filtered or unexported fields
}
ItemActionsSecretsGetResponse
func NewItemActionsSecretsGetResponse ¶
func NewItemActionsSecretsGetResponse() *ItemActionsSecretsGetResponse
NewItemActionsSecretsGetResponse instantiates a new ItemActionsSecretsGetResponse and sets the default values.
func (*ItemActionsSecretsGetResponse) GetAdditionalData ¶
func (m *ItemActionsSecretsGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsSecretsGetResponse) GetFieldDeserializers ¶
func (m *ItemActionsSecretsGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemActionsSecretsGetResponse) GetSecrets ¶
func (m *ItemActionsSecretsGetResponse) GetSecrets() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationActionsSecretable
GetSecrets gets the secrets property value. The secrets property
func (*ItemActionsSecretsGetResponse) GetTotalCount ¶
func (m *ItemActionsSecretsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property
func (*ItemActionsSecretsGetResponse) Serialize ¶
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 []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationActionsSecretable GetTotalCount() *int32 SetSecrets(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationActionsSecretable) SetTotalCount(value *int32) }
ItemActionsSecretsGetResponseable
type ItemActionsSecretsItemRepositoriesGetResponse ¶
type ItemActionsSecretsItemRepositoriesGetResponse struct {
// contains filtered or unexported fields
}
ItemActionsSecretsItemRepositoriesGetResponse
func NewItemActionsSecretsItemRepositoriesGetResponse ¶
func NewItemActionsSecretsItemRepositoriesGetResponse() *ItemActionsSecretsItemRepositoriesGetResponse
NewItemActionsSecretsItemRepositoriesGetResponse instantiates a new ItemActionsSecretsItemRepositoriesGetResponse and sets the default values.
func (*ItemActionsSecretsItemRepositoriesGetResponse) GetAdditionalData ¶
func (m *ItemActionsSecretsItemRepositoriesGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsSecretsItemRepositoriesGetResponse) GetFieldDeserializers ¶
func (m *ItemActionsSecretsItemRepositoriesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemActionsSecretsItemRepositoriesGetResponse) GetRepositories ¶
func (m *ItemActionsSecretsItemRepositoriesGetResponse) GetRepositories() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable
GetRepositories gets the repositories property value. The repositories property
func (*ItemActionsSecretsItemRepositoriesGetResponse) GetTotalCount ¶
func (m *ItemActionsSecretsItemRepositoriesGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property
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 []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable GetTotalCount() *int32 SetRepositories(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable) SetTotalCount(value *int32) }
ItemActionsSecretsItemRepositoriesGetResponseable
type ItemActionsSecretsItemRepositoriesPutRequestBody ¶
type ItemActionsSecretsItemRepositoriesPutRequestBody struct {
// contains filtered or unexported fields
}
ItemActionsSecretsItemRepositoriesPutRequestBody
func NewItemActionsSecretsItemRepositoriesPutRequestBody ¶
func NewItemActionsSecretsItemRepositoriesPutRequestBody() *ItemActionsSecretsItemRepositoriesPutRequestBody
NewItemActionsSecretsItemRepositoriesPutRequestBody instantiates a new ItemActionsSecretsItemRepositoriesPutRequestBody and sets the default values.
func (*ItemActionsSecretsItemRepositoriesPutRequestBody) GetAdditionalData ¶
func (m *ItemActionsSecretsItemRepositoriesPutRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsSecretsItemRepositoriesPutRequestBody) GetFieldDeserializers ¶
func (m *ItemActionsSecretsItemRepositoriesPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemActionsSecretsItemRepositoriesPutRequestBody) GetSelectedRepositoryIds ¶
func (m *ItemActionsSecretsItemRepositoriesPutRequestBody) GetSelectedRepositoryIds() []int32
GetSelectedRepositoryIds gets the selected_repository_ids property value. An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Add selected repository to an organization secret](https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints.
func (*ItemActionsSecretsItemRepositoriesPutRequestBody) Serialize ¶
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/rest/actions/secrets#add-selected-repository-to-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints.
type ItemActionsSecretsItemRepositoriesPutRequestBodyable ¶
type ItemActionsSecretsItemRepositoriesPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSelectedRepositoryIds() []int32 SetSelectedRepositoryIds(value []int32) }
ItemActionsSecretsItemRepositoriesPutRequestBodyable
type ItemActionsSecretsItemRepositoriesRequestBuilder ¶
type ItemActionsSecretsItemRepositoriesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsSecretsItemRepositoriesRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\secrets\{secret_name}\repositories
func NewItemActionsSecretsItemRepositoriesRequestBuilder ¶
func NewItemActionsSecretsItemRepositoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsSecretsItemRepositoriesRequestBuilder
NewItemActionsSecretsItemRepositoriesRequestBuilder instantiates a new RepositoriesRequestBuilder and sets the default values.
func NewItemActionsSecretsItemRepositoriesRequestBuilderInternal ¶
func NewItemActionsSecretsItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsSecretsItemRepositoriesRequestBuilder
NewItemActionsSecretsItemRepositoriesRequestBuilderInternal instantiates a new RepositoriesRequestBuilder and sets the default values.
func (*ItemActionsSecretsItemRepositoriesRequestBuilder) ByRepository_id ¶
func (m *ItemActionsSecretsItemRepositoriesRequestBuilder) ByRepository_id(repository_id string) *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder
ByRepository_id gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.actions.secrets.item.repositories.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.
func (*ItemActionsSecretsItemRepositoriesRequestBuilder) ByRepository_idInteger ¶
func (m *ItemActionsSecretsItemRepositoriesRequestBuilder) ByRepository_idInteger(repository_id int32) *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder
ByRepository_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.actions.secrets.item.repositories.item collection
func (*ItemActionsSecretsItemRepositoriesRequestBuilder) Get ¶
func (m *ItemActionsSecretsItemRepositoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemActionsSecretsItemRepositoriesRequestBuilderGetRequestConfiguration) (ItemActionsSecretsItemRepositoriesResponseable, error)
Get lists all repositories that have been selected when the `visibility`for repository access to a secret is set to `selected`.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `secrets` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets. Deprecated: This method is obsolete. Use GetAsRepositoriesGetResponse instead. API method documentation
func (*ItemActionsSecretsItemRepositoriesRequestBuilder) GetAsRepositoriesGetResponse ¶
func (m *ItemActionsSecretsItemRepositoriesRequestBuilder) GetAsRepositoriesGetResponse(ctx context.Context, requestConfiguration *ItemActionsSecretsItemRepositoriesRequestBuilderGetRequestConfiguration) (ItemActionsSecretsItemRepositoriesGetResponseable, error)
GetAsRepositoriesGetResponse lists all repositories that have been selected when the `visibility`for repository access to a secret is set to `selected`.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `secrets` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets. API method documentation
func (*ItemActionsSecretsItemRepositoriesRequestBuilder) Put ¶
func (m *ItemActionsSecretsItemRepositoriesRequestBuilder) Put(ctx context.Context, body ItemActionsSecretsItemRepositoriesPutRequestBodyable, requestConfiguration *ItemActionsSecretsItemRepositoriesRequestBuilderPutRequestConfiguration) 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/rest/actions/secrets#create-or-update-an-organization-secret).You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `secrets` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets. API method documentation
func (*ItemActionsSecretsItemRepositoriesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemActionsSecretsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemActionsSecretsItemRepositoriesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all repositories that have been selected when the `visibility`for repository access to a secret is set to `selected`.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `secrets` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets.
func (*ItemActionsSecretsItemRepositoriesRequestBuilder) ToPutRequestInformation ¶
func (m *ItemActionsSecretsItemRepositoriesRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsSecretsItemRepositoriesPutRequestBodyable, requestConfiguration *ItemActionsSecretsItemRepositoriesRequestBuilderPutRequestConfiguration) (*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/rest/actions/secrets#create-or-update-an-organization-secret).You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `secrets` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets.
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.
type ItemActionsSecretsItemRepositoriesRequestBuilderGetQueryParameters ¶
type ItemActionsSecretsItemRepositoriesRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). 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`.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `secrets` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets.
type ItemActionsSecretsItemRepositoriesRequestBuilderGetRequestConfiguration ¶
type ItemActionsSecretsItemRepositoriesRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemActionsSecretsItemRepositoriesRequestBuilderGetQueryParameters }
ItemActionsSecretsItemRepositoriesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsSecretsItemRepositoriesRequestBuilderPutRequestConfiguration ¶
type ItemActionsSecretsItemRepositoriesRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsSecretsItemRepositoriesRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsSecretsItemRepositoriesResponse ¶
type ItemActionsSecretsItemRepositoriesResponse struct {
ItemActionsSecretsItemRepositoriesGetResponse
}
ItemActionsSecretsItemRepositoriesResponse Deprecated: This class is obsolete. Use repositoriesGetResponse instead.
func NewItemActionsSecretsItemRepositoriesResponse ¶
func NewItemActionsSecretsItemRepositoriesResponse() *ItemActionsSecretsItemRepositoriesResponse
NewItemActionsSecretsItemRepositoriesResponse instantiates a new ItemActionsSecretsItemRepositoriesResponse and sets the default values.
type ItemActionsSecretsItemRepositoriesResponseable ¶
type ItemActionsSecretsItemRepositoriesResponseable interface { ItemActionsSecretsItemRepositoriesGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemActionsSecretsItemRepositoriesResponseable Deprecated: This class is obsolete. Use repositoriesGetResponse instead.
type ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder ¶
type ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\secrets\{secret_name}\repositories\{repository_id}
func NewItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder ¶
func NewItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder
NewItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder instantiates a new WithRepository_ItemRequestBuilder and sets the default values.
func NewItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal ¶
func NewItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder
NewItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal instantiates a new WithRepository_ItemRequestBuilder and sets the default values.
func (*ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Delete ¶
func (m *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration) 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/rest/actions/secrets#create-or-update-an-organization-secret).You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `secrets` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets. API method documentation
func (*ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Put ¶
func (m *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Put(ctx context.Context, requestConfiguration *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration) 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/rest/actions/secrets#create-or-update-an-organization-secret).You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `secrets` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets. API method documentation
func (*ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration) (*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/rest/actions/secrets#create-or-update-an-organization-secret).You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `secrets` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets.
func (*ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration) (*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/rest/actions/secrets#create-or-update-an-organization-secret).You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `secrets` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets.
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.
type ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration ¶
type ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration ¶
type ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsSecretsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsSecretsItemWithSecret_namePutRequestBody ¶
type ItemActionsSecretsItemWithSecret_namePutRequestBody struct {
// contains filtered or unexported fields
}
ItemActionsSecretsItemWithSecret_namePutRequestBody
func NewItemActionsSecretsItemWithSecret_namePutRequestBody ¶
func NewItemActionsSecretsItemWithSecret_namePutRequestBody() *ItemActionsSecretsItemWithSecret_namePutRequestBody
NewItemActionsSecretsItemWithSecret_namePutRequestBody instantiates a new ItemActionsSecretsItemWithSecret_namePutRequestBody and sets the default values.
func (*ItemActionsSecretsItemWithSecret_namePutRequestBody) GetAdditionalData ¶
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.
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/rest/actions/secrets#get-an-organization-public-key) endpoint.
func (*ItemActionsSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers ¶
func (m *ItemActionsSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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.
func (*ItemActionsSecretsItemWithSecret_namePutRequestBody) GetSelectedRepositoryIds ¶
func (m *ItemActionsSecretsItemWithSecret_namePutRequestBody) GetSelectedRepositoryIds() []int32
GetSelectedRepositoryIds gets the selected_repository_ids property value. An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints.
func (*ItemActionsSecretsItemWithSecret_namePutRequestBody) Serialize ¶
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/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/rest/actions/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret) endpoints.
type ItemActionsSecretsItemWithSecret_namePutRequestBodyable ¶
type ItemActionsSecretsItemWithSecret_namePutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetEncryptedValue() *string GetKeyId() *string GetSelectedRepositoryIds() []int32 SetEncryptedValue(value *string) SetKeyId(value *string) SetSelectedRepositoryIds(value []int32) }
ItemActionsSecretsItemWithSecret_namePutRequestBodyable
type ItemActionsSecretsPublicKeyRequestBuilder ¶
type ItemActionsSecretsPublicKeyRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsSecretsPublicKeyRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\secrets\public-key
func NewItemActionsSecretsPublicKeyRequestBuilder ¶
func NewItemActionsSecretsPublicKeyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsSecretsPublicKeyRequestBuilder
NewItemActionsSecretsPublicKeyRequestBuilder instantiates a new PublicKeyRequestBuilder and sets the default values.
func NewItemActionsSecretsPublicKeyRequestBuilderInternal ¶
func NewItemActionsSecretsPublicKeyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsSecretsPublicKeyRequestBuilder
NewItemActionsSecretsPublicKeyRequestBuilderInternal instantiates a new PublicKeyRequestBuilder and sets the default values.
func (*ItemActionsSecretsPublicKeyRequestBuilder) Get ¶
func (m *ItemActionsSecretsPublicKeyRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemActionsSecretsPublicKeyRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `secrets` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets. API method documentation
func (*ItemActionsSecretsPublicKeyRequestBuilder) ToGetRequestInformation ¶
func (m *ItemActionsSecretsPublicKeyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemActionsSecretsPublicKeyRequestBuilderGetRequestConfiguration) (*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.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `secrets` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets.
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.
type ItemActionsSecretsPublicKeyRequestBuilderGetRequestConfiguration ¶
type ItemActionsSecretsPublicKeyRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsSecretsPublicKeyRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 SecretsRequestBuilder and sets the default values.
func NewItemActionsSecretsRequestBuilderInternal ¶
func NewItemActionsSecretsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsSecretsRequestBuilder
NewItemActionsSecretsRequestBuilderInternal instantiates a new SecretsRequestBuilder and sets the default values.
func (*ItemActionsSecretsRequestBuilder) BySecret_name ¶
func (m *ItemActionsSecretsRequestBuilder) BySecret_name(secret_name string) *ItemActionsSecretsWithSecret_nameItemRequestBuilder
BySecret_name gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.actions.secrets.item collection
func (*ItemActionsSecretsRequestBuilder) Get ¶
func (m *ItemActionsSecretsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemActionsSecretsRequestBuilderGetRequestConfiguration) (ItemActionsSecretsResponseable, error)
Get lists all secrets available in an organization without revealing theirencrypted values.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `secrets` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets. Deprecated: This method is obsolete. Use GetAsSecretsGetResponse instead. API method documentation
func (*ItemActionsSecretsRequestBuilder) GetAsSecretsGetResponse ¶
func (m *ItemActionsSecretsRequestBuilder) GetAsSecretsGetResponse(ctx context.Context, requestConfiguration *ItemActionsSecretsRequestBuilderGetRequestConfiguration) (ItemActionsSecretsGetResponseable, error)
GetAsSecretsGetResponse lists all secrets available in an organization without revealing theirencrypted values.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `secrets` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets. API method documentation
func (*ItemActionsSecretsRequestBuilder) PublicKey ¶
func (m *ItemActionsSecretsRequestBuilder) PublicKey() *ItemActionsSecretsPublicKeyRequestBuilder
PublicKey the publicKey property
func (*ItemActionsSecretsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemActionsSecretsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemActionsSecretsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all secrets available in an organization without revealing theirencrypted values.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `secrets` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets.
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.
type ItemActionsSecretsRequestBuilderGetQueryParameters ¶
type ItemActionsSecretsRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemActionsSecretsRequestBuilderGetQueryParameters lists all secrets available in an organization without revealing theirencrypted values.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `secrets` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets.
type ItemActionsSecretsRequestBuilderGetRequestConfiguration ¶
type ItemActionsSecretsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemActionsSecretsRequestBuilderGetQueryParameters }
ItemActionsSecretsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsSecretsResponse ¶
type ItemActionsSecretsResponse struct {
ItemActionsSecretsGetResponse
}
ItemActionsSecretsResponse Deprecated: This class is obsolete. Use secretsGetResponse instead.
func NewItemActionsSecretsResponse ¶
func NewItemActionsSecretsResponse() *ItemActionsSecretsResponse
NewItemActionsSecretsResponse instantiates a new ItemActionsSecretsResponse and sets the default values.
type ItemActionsSecretsResponseable ¶
type ItemActionsSecretsResponseable interface { ItemActionsSecretsGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemActionsSecretsResponseable Deprecated: This class is obsolete. Use secretsGetResponse instead.
type ItemActionsSecretsWithSecret_nameItemRequestBuilder ¶
type ItemActionsSecretsWithSecret_nameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsSecretsWithSecret_nameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\secrets\{secret_name}
func NewItemActionsSecretsWithSecret_nameItemRequestBuilder ¶
func NewItemActionsSecretsWithSecret_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsSecretsWithSecret_nameItemRequestBuilder
NewItemActionsSecretsWithSecret_nameItemRequestBuilder instantiates a new WithSecret_nameItemRequestBuilder and sets the default values.
func NewItemActionsSecretsWithSecret_nameItemRequestBuilderInternal ¶
func NewItemActionsSecretsWithSecret_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsSecretsWithSecret_nameItemRequestBuilder
NewItemActionsSecretsWithSecret_nameItemRequestBuilderInternal instantiates a new WithSecret_nameItemRequestBuilder and sets the default values.
func (*ItemActionsSecretsWithSecret_nameItemRequestBuilder) Delete ¶
func (m *ItemActionsSecretsWithSecret_nameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemActionsSecretsWithSecret_nameItemRequestBuilderDeleteRequestConfiguration) error
Delete deletes a secret in an organization using the secret name.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `secrets` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets. API method documentation
func (*ItemActionsSecretsWithSecret_nameItemRequestBuilder) Get ¶
func (m *ItemActionsSecretsWithSecret_nameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemActionsSecretsWithSecret_nameItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationActionsSecretable, error)
Get gets a single organization secret without revealing its encrypted value.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `secrets` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets. API method documentation
func (*ItemActionsSecretsWithSecret_nameItemRequestBuilder) Put ¶
func (m *ItemActionsSecretsWithSecret_nameItemRequestBuilder) Put(ctx context.Context, body ItemActionsSecretsItemWithSecret_namePutRequestBodyable, requestConfiguration *ItemActionsSecretsWithSecret_nameItemRequestBuilderPutRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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/rest/guides/encrypting-secrets-for-the-rest-api)."You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `secrets` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets. API method documentation
func (*ItemActionsSecretsWithSecret_nameItemRequestBuilder) Repositories ¶
func (m *ItemActionsSecretsWithSecret_nameItemRequestBuilder) Repositories() *ItemActionsSecretsItemRepositoriesRequestBuilder
Repositories the repositories property
func (*ItemActionsSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemActionsSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemActionsSecretsWithSecret_nameItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a secret in an organization using the secret name.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `secrets` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets.
func (*ItemActionsSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemActionsSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemActionsSecretsWithSecret_nameItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a single organization secret without revealing its encrypted value.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `secrets` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets.
func (*ItemActionsSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemActionsSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsSecretsItemWithSecret_namePutRequestBodyable, requestConfiguration *ItemActionsSecretsWithSecret_nameItemRequestBuilderPutRequestConfiguration) (*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/rest/guides/encrypting-secrets-for-the-rest-api)."You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `secrets` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read secrets.
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.
type ItemActionsSecretsWithSecret_nameItemRequestBuilderDeleteRequestConfiguration ¶
type ItemActionsSecretsWithSecret_nameItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsSecretsWithSecret_nameItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsSecretsWithSecret_nameItemRequestBuilderGetRequestConfiguration ¶
type ItemActionsSecretsWithSecret_nameItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsSecretsWithSecret_nameItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsSecretsWithSecret_nameItemRequestBuilderPutRequestConfiguration ¶
type ItemActionsSecretsWithSecret_nameItemRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsSecretsWithSecret_nameItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsVariablesGetResponse ¶
type ItemActionsVariablesGetResponse struct {
// contains filtered or unexported fields
}
ItemActionsVariablesGetResponse
func NewItemActionsVariablesGetResponse ¶
func NewItemActionsVariablesGetResponse() *ItemActionsVariablesGetResponse
NewItemActionsVariablesGetResponse instantiates a new ItemActionsVariablesGetResponse and sets the default values.
func (*ItemActionsVariablesGetResponse) GetAdditionalData ¶
func (m *ItemActionsVariablesGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsVariablesGetResponse) GetFieldDeserializers ¶
func (m *ItemActionsVariablesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemActionsVariablesGetResponse) GetTotalCount ¶
func (m *ItemActionsVariablesGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property
func (*ItemActionsVariablesGetResponse) GetVariables ¶
func (m *ItemActionsVariablesGetResponse) GetVariables() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationActionsVariableable
GetVariables gets the variables property value. The variables property
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 []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationActionsVariableable)
SetVariables sets the variables property value. The variables property
type ItemActionsVariablesGetResponseable ¶
type ItemActionsVariablesGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetTotalCount() *int32 GetVariables() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationActionsVariableable SetTotalCount(value *int32) SetVariables(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationActionsVariableable) }
ItemActionsVariablesGetResponseable
type ItemActionsVariablesItemRepositoriesGetResponse ¶
type ItemActionsVariablesItemRepositoriesGetResponse struct {
// contains filtered or unexported fields
}
ItemActionsVariablesItemRepositoriesGetResponse
func NewItemActionsVariablesItemRepositoriesGetResponse ¶
func NewItemActionsVariablesItemRepositoriesGetResponse() *ItemActionsVariablesItemRepositoriesGetResponse
NewItemActionsVariablesItemRepositoriesGetResponse instantiates a new ItemActionsVariablesItemRepositoriesGetResponse and sets the default values.
func (*ItemActionsVariablesItemRepositoriesGetResponse) GetAdditionalData ¶
func (m *ItemActionsVariablesItemRepositoriesGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsVariablesItemRepositoriesGetResponse) GetFieldDeserializers ¶
func (m *ItemActionsVariablesItemRepositoriesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemActionsVariablesItemRepositoriesGetResponse) GetRepositories ¶
func (m *ItemActionsVariablesItemRepositoriesGetResponse) GetRepositories() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable
GetRepositories gets the repositories property value. The repositories property
func (*ItemActionsVariablesItemRepositoriesGetResponse) GetTotalCount ¶
func (m *ItemActionsVariablesItemRepositoriesGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property
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 []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable GetTotalCount() *int32 SetRepositories(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable) SetTotalCount(value *int32) }
ItemActionsVariablesItemRepositoriesGetResponseable
type ItemActionsVariablesItemRepositoriesPutRequestBody ¶
type ItemActionsVariablesItemRepositoriesPutRequestBody struct {
// contains filtered or unexported fields
}
ItemActionsVariablesItemRepositoriesPutRequestBody
func NewItemActionsVariablesItemRepositoriesPutRequestBody ¶
func NewItemActionsVariablesItemRepositoriesPutRequestBody() *ItemActionsVariablesItemRepositoriesPutRequestBody
NewItemActionsVariablesItemRepositoriesPutRequestBody instantiates a new ItemActionsVariablesItemRepositoriesPutRequestBody and sets the default values.
func (*ItemActionsVariablesItemRepositoriesPutRequestBody) GetAdditionalData ¶
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.
func (*ItemActionsVariablesItemRepositoriesPutRequestBody) GetFieldDeserializers ¶
func (m *ItemActionsVariablesItemRepositoriesPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemActionsVariablesItemRepositoriesPutRequestBody) GetSelectedRepositoryIds ¶
func (m *ItemActionsVariablesItemRepositoriesPutRequestBody) GetSelectedRepositoryIds() []int32
GetSelectedRepositoryIds gets the selected_repository_ids property value. The IDs of the repositories that can access the organization variable.
func (*ItemActionsVariablesItemRepositoriesPutRequestBody) Serialize ¶
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) }
ItemActionsVariablesItemRepositoriesPutRequestBodyable
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 RepositoriesRequestBuilder and sets the default values.
func NewItemActionsVariablesItemRepositoriesRequestBuilderInternal ¶
func NewItemActionsVariablesItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsVariablesItemRepositoriesRequestBuilder
NewItemActionsVariablesItemRepositoriesRequestBuilderInternal instantiates a new RepositoriesRequestBuilder and sets the default values.
func (*ItemActionsVariablesItemRepositoriesRequestBuilder) ByRepository_id ¶
func (m *ItemActionsVariablesItemRepositoriesRequestBuilder) ByRepository_id(repository_id string) *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder
ByRepository_id gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.actions.variables.item.repositories.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.
func (*ItemActionsVariablesItemRepositoriesRequestBuilder) ByRepository_idInteger ¶
func (m *ItemActionsVariablesItemRepositoriesRequestBuilder) ByRepository_idInteger(repository_id int32) *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder
ByRepository_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.actions.variables.item.repositories.item collection
func (*ItemActionsVariablesItemRepositoriesRequestBuilder) Get ¶
func (m *ItemActionsVariablesItemRepositoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemActionsVariablesItemRepositoriesRequestBuilderGetRequestConfiguration) (ItemActionsVariablesItemRepositoriesResponseable, error)
Get lists all repositories that can access an organization variablethat is available to selected repositories.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `organization_actions_variables:read` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read variables. Deprecated: This method is obsolete. Use GetAsRepositoriesGetResponse instead. API method documentation
func (*ItemActionsVariablesItemRepositoriesRequestBuilder) GetAsRepositoriesGetResponse ¶
func (m *ItemActionsVariablesItemRepositoriesRequestBuilder) GetAsRepositoriesGetResponse(ctx context.Context, requestConfiguration *ItemActionsVariablesItemRepositoriesRequestBuilderGetRequestConfiguration) (ItemActionsVariablesItemRepositoriesGetResponseable, error)
GetAsRepositoriesGetResponse lists all repositories that can access an organization variablethat is available to selected repositories.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `organization_actions_variables:read` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read variables. API method documentation
func (*ItemActionsVariablesItemRepositoriesRequestBuilder) Put ¶
func (m *ItemActionsVariablesItemRepositoriesRequestBuilder) Put(ctx context.Context, body ItemActionsVariablesItemRepositoriesPutRequestBodyable, requestConfiguration *ItemActionsVariablesItemRepositoriesRequestBuilderPutRequestConfiguration) 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`.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `organization_actions_variables:write` organization permission to use thisendpoint.Authenticated users must have collaborator access to a repository to create, update, or read variables. API method documentation
func (*ItemActionsVariablesItemRepositoriesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemActionsVariablesItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemActionsVariablesItemRepositoriesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all repositories that can access an organization variablethat is available to selected repositories.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `organization_actions_variables:read` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read variables.
func (*ItemActionsVariablesItemRepositoriesRequestBuilder) ToPutRequestInformation ¶
func (m *ItemActionsVariablesItemRepositoriesRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsVariablesItemRepositoriesPutRequestBodyable, requestConfiguration *ItemActionsVariablesItemRepositoriesRequestBuilderPutRequestConfiguration) (*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`.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `organization_actions_variables:write` organization permission to use thisendpoint.Authenticated users must have collaborator access to a repository to create, update, or read variables.
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.
type ItemActionsVariablesItemRepositoriesRequestBuilderGetQueryParameters ¶
type ItemActionsVariablesItemRepositoriesRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemActionsVariablesItemRepositoriesRequestBuilderGetQueryParameters lists all repositories that can access an organization variablethat is available to selected repositories.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `organization_actions_variables:read` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read variables.
type ItemActionsVariablesItemRepositoriesRequestBuilderGetRequestConfiguration ¶
type ItemActionsVariablesItemRepositoriesRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemActionsVariablesItemRepositoriesRequestBuilderGetQueryParameters }
ItemActionsVariablesItemRepositoriesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsVariablesItemRepositoriesRequestBuilderPutRequestConfiguration ¶
type ItemActionsVariablesItemRepositoriesRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsVariablesItemRepositoriesRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsVariablesItemRepositoriesResponse ¶
type ItemActionsVariablesItemRepositoriesResponse struct {
ItemActionsVariablesItemRepositoriesGetResponse
}
ItemActionsVariablesItemRepositoriesResponse Deprecated: This class is obsolete. Use repositoriesGetResponse instead.
func NewItemActionsVariablesItemRepositoriesResponse ¶
func NewItemActionsVariablesItemRepositoriesResponse() *ItemActionsVariablesItemRepositoriesResponse
NewItemActionsVariablesItemRepositoriesResponse instantiates a new ItemActionsVariablesItemRepositoriesResponse and sets the default values.
type ItemActionsVariablesItemRepositoriesResponseable ¶
type ItemActionsVariablesItemRepositoriesResponseable interface { ItemActionsVariablesItemRepositoriesGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemActionsVariablesItemRepositoriesResponseable Deprecated: This class is obsolete. Use repositoriesGetResponse instead.
type ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder ¶
type ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\variables\{name}\repositories\{repository_id}
func NewItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder ¶
func NewItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder
NewItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder instantiates a new WithRepository_ItemRequestBuilder and sets the default values.
func NewItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilderInternal ¶
func NewItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder
NewItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilderInternal instantiates a new WithRepository_ItemRequestBuilder and sets the default values.
func (*ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) Delete ¶
func (m *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration) 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`.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `organization_actions_variables:write` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read variables. API method documentation
func (*ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) Put ¶
func (m *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) Put(ctx context.Context, requestConfiguration *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration) 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`.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `organization_actions_variables:write` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read variables. API method documentation
func (*ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration) (*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`.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `organization_actions_variables:write` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read variables.
func (*ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration) (*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`.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `organization_actions_variables:write` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read variables.
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.
type ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration ¶
type ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration ¶
type ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsVariablesItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsVariablesItemWithNamePatchRequestBody ¶
type ItemActionsVariablesItemWithNamePatchRequestBody struct {
// contains filtered or unexported fields
}
ItemActionsVariablesItemWithNamePatchRequestBody
func NewItemActionsVariablesItemWithNamePatchRequestBody ¶
func NewItemActionsVariablesItemWithNamePatchRequestBody() *ItemActionsVariablesItemWithNamePatchRequestBody
NewItemActionsVariablesItemWithNamePatchRequestBody instantiates a new ItemActionsVariablesItemWithNamePatchRequestBody and sets the default values.
func (*ItemActionsVariablesItemWithNamePatchRequestBody) GetAdditionalData ¶
func (m *ItemActionsVariablesItemWithNamePatchRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsVariablesItemWithNamePatchRequestBody) GetFieldDeserializers ¶
func (m *ItemActionsVariablesItemWithNamePatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemActionsVariablesItemWithNamePatchRequestBody) GetName ¶
func (m *ItemActionsVariablesItemWithNamePatchRequestBody) GetName() *string
GetName gets the name property value. The name of the variable.
func (*ItemActionsVariablesItemWithNamePatchRequestBody) GetSelectedRepositoryIds ¶
func (m *ItemActionsVariablesItemWithNamePatchRequestBody) GetSelectedRepositoryIds() []int32
GetSelectedRepositoryIds gets the selected_repository_ids property value. An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`.
func (*ItemActionsVariablesItemWithNamePatchRequestBody) GetValue ¶
func (m *ItemActionsVariablesItemWithNamePatchRequestBody) GetValue() *string
GetValue gets the value property value. The value of the variable.
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) }
ItemActionsVariablesItemWithNamePatchRequestBodyable
type ItemActionsVariablesPostRequestBody ¶
type ItemActionsVariablesPostRequestBody struct {
// contains filtered or unexported fields
}
ItemActionsVariablesPostRequestBody
func NewItemActionsVariablesPostRequestBody ¶
func NewItemActionsVariablesPostRequestBody() *ItemActionsVariablesPostRequestBody
NewItemActionsVariablesPostRequestBody instantiates a new ItemActionsVariablesPostRequestBody and sets the default values.
func (*ItemActionsVariablesPostRequestBody) GetAdditionalData ¶
func (m *ItemActionsVariablesPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsVariablesPostRequestBody) GetFieldDeserializers ¶
func (m *ItemActionsVariablesPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemActionsVariablesPostRequestBody) GetName ¶
func (m *ItemActionsVariablesPostRequestBody) GetName() *string
GetName gets the name property value. The name of the variable.
func (*ItemActionsVariablesPostRequestBody) GetSelectedRepositoryIds ¶
func (m *ItemActionsVariablesPostRequestBody) GetSelectedRepositoryIds() []int32
GetSelectedRepositoryIds gets the selected_repository_ids property value. An array of repository ids that can access the organization variable. You can only provide a list of repository ids when the `visibility` is set to `selected`.
func (*ItemActionsVariablesPostRequestBody) GetValue ¶
func (m *ItemActionsVariablesPostRequestBody) GetValue() *string
GetValue gets the value property value. The value of the variable.
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) }
ItemActionsVariablesPostRequestBodyable
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 VariablesRequestBuilder and sets the default values.
func NewItemActionsVariablesRequestBuilderInternal ¶
func NewItemActionsVariablesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsVariablesRequestBuilder
NewItemActionsVariablesRequestBuilderInternal instantiates a new VariablesRequestBuilder and sets the default values.
func (*ItemActionsVariablesRequestBuilder) ByName ¶
func (m *ItemActionsVariablesRequestBuilder) ByName(name string) *ItemActionsVariablesWithNameItemRequestBuilder
ByName gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.actions.variables.item collection
func (*ItemActionsVariablesRequestBuilder) Get ¶
func (m *ItemActionsVariablesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemActionsVariablesRequestBuilderGetRequestConfiguration) (ItemActionsVariablesResponseable, error)
Get lists all organization variables.You must authenticate using an access token with the `admin:org` scope to use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `organization_actions_variables:read` organization permission to use this endpoint. Authenticated users must have collaborator access to a repository to create, update, or read variables. Deprecated: This method is obsolete. Use GetAsVariablesGetResponse instead. API method documentation
func (*ItemActionsVariablesRequestBuilder) GetAsVariablesGetResponse ¶
func (m *ItemActionsVariablesRequestBuilder) GetAsVariablesGetResponse(ctx context.Context, requestConfiguration *ItemActionsVariablesRequestBuilderGetRequestConfiguration) (ItemActionsVariablesGetResponseable, error)
GetAsVariablesGetResponse lists all organization variables.You must authenticate using an access token with the `admin:org` scope to use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `organization_actions_variables:read` organization permission to use this endpoint. Authenticated users must have collaborator access to a repository to create, update, or read variables. API method documentation
func (*ItemActionsVariablesRequestBuilder) Post ¶
func (m *ItemActionsVariablesRequestBuilder) Post(ctx context.Context, body ItemActionsVariablesPostRequestBodyable, requestConfiguration *ItemActionsVariablesRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.EmptyObjectable, error)
Post creates an organization variable that you can reference in a GitHub Actions workflow.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `organization_actions_variables:write` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read variables. API method documentation
func (*ItemActionsVariablesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemActionsVariablesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemActionsVariablesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all organization variables.You must authenticate using an access token with the `admin:org` scope to use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `organization_actions_variables:read` organization permission to use this endpoint. Authenticated users must have collaborator access to a repository to create, update, or read variables.
func (*ItemActionsVariablesRequestBuilder) ToPostRequestInformation ¶
func (m *ItemActionsVariablesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemActionsVariablesPostRequestBodyable, requestConfiguration *ItemActionsVariablesRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation creates an organization variable that you can reference in a GitHub Actions workflow.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `organization_actions_variables:write` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read variables.
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.
type ItemActionsVariablesRequestBuilderGetQueryParameters ¶
type ItemActionsVariablesRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 30). Per_page *int32 `uriparametername:"per_page"` }
ItemActionsVariablesRequestBuilderGetQueryParameters lists all organization variables.You must authenticate using an access token with the `admin:org` scope to use this endpoint. If the repository is private, you must use an access token with the `repo` scope. GitHub Apps must have the `organization_actions_variables:read` organization permission to use this endpoint. Authenticated users must have collaborator access to a repository to create, update, or read variables.
type ItemActionsVariablesRequestBuilderGetRequestConfiguration ¶
type ItemActionsVariablesRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemActionsVariablesRequestBuilderGetQueryParameters }
ItemActionsVariablesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsVariablesRequestBuilderPostRequestConfiguration ¶
type ItemActionsVariablesRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsVariablesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsVariablesResponse ¶
type ItemActionsVariablesResponse struct {
ItemActionsVariablesGetResponse
}
ItemActionsVariablesResponse Deprecated: This class is obsolete. Use variablesGetResponse instead.
func NewItemActionsVariablesResponse ¶
func NewItemActionsVariablesResponse() *ItemActionsVariablesResponse
NewItemActionsVariablesResponse instantiates a new ItemActionsVariablesResponse and sets the default values.
type ItemActionsVariablesResponseable ¶
type ItemActionsVariablesResponseable interface { ItemActionsVariablesGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemActionsVariablesResponseable Deprecated: This class is obsolete. Use variablesGetResponse instead.
type ItemActionsVariablesWithNameItemRequestBuilder ¶
type ItemActionsVariablesWithNameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsVariablesWithNameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\actions\variables\{name}
func NewItemActionsVariablesWithNameItemRequestBuilder ¶
func NewItemActionsVariablesWithNameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsVariablesWithNameItemRequestBuilder
NewItemActionsVariablesWithNameItemRequestBuilder instantiates a new WithNameItemRequestBuilder and sets the default values.
func NewItemActionsVariablesWithNameItemRequestBuilderInternal ¶
func NewItemActionsVariablesWithNameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsVariablesWithNameItemRequestBuilder
NewItemActionsVariablesWithNameItemRequestBuilderInternal instantiates a new WithNameItemRequestBuilder and sets the default values.
func (*ItemActionsVariablesWithNameItemRequestBuilder) Delete ¶
func (m *ItemActionsVariablesWithNameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemActionsVariablesWithNameItemRequestBuilderDeleteRequestConfiguration) error
Delete deletes an organization variable using the variable name.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `organization_actions_variables:write` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read variables. API method documentation
func (*ItemActionsVariablesWithNameItemRequestBuilder) Get ¶
func (m *ItemActionsVariablesWithNameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemActionsVariablesWithNameItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationActionsVariableable, error)
Get gets a specific variable in an organization.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `organization_actions_variables:read` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read variables. API method documentation
func (*ItemActionsVariablesWithNameItemRequestBuilder) Patch ¶
func (m *ItemActionsVariablesWithNameItemRequestBuilder) Patch(ctx context.Context, body ItemActionsVariablesItemWithNamePatchRequestBodyable, requestConfiguration *ItemActionsVariablesWithNameItemRequestBuilderPatchRequestConfiguration) error
Patch updates an organization variable that you can reference in a GitHub Actions workflow.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `organization_actions_variables:write` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read variables. API method documentation
func (*ItemActionsVariablesWithNameItemRequestBuilder) Repositories ¶
func (m *ItemActionsVariablesWithNameItemRequestBuilder) Repositories() *ItemActionsVariablesItemRepositoriesRequestBuilder
Repositories the repositories property
func (*ItemActionsVariablesWithNameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemActionsVariablesWithNameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemActionsVariablesWithNameItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes an organization variable using the variable name.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `organization_actions_variables:write` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read variables.
func (*ItemActionsVariablesWithNameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemActionsVariablesWithNameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemActionsVariablesWithNameItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a specific variable in an organization.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `organization_actions_variables:read` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read variables.
func (*ItemActionsVariablesWithNameItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemActionsVariablesWithNameItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemActionsVariablesItemWithNamePatchRequestBodyable, requestConfiguration *ItemActionsVariablesWithNameItemRequestBuilderPatchRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation updates an organization variable that you can reference in a GitHub Actions workflow.You must authenticate using an access token with the `admin:org` scope to use this endpoint.If the repository is private, you must use an access token with the `repo` scope.GitHub Apps must have the `organization_actions_variables:write` organization permission to use this endpoint.Authenticated users must have collaborator access to a repository to create, update, or read variables.
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.
type ItemActionsVariablesWithNameItemRequestBuilderDeleteRequestConfiguration ¶
type ItemActionsVariablesWithNameItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsVariablesWithNameItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsVariablesWithNameItemRequestBuilderGetRequestConfiguration ¶
type ItemActionsVariablesWithNameItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsVariablesWithNameItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemActionsVariablesWithNameItemRequestBuilderPatchRequestConfiguration ¶
type ItemActionsVariablesWithNameItemRequestBuilderPatchRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemActionsVariablesWithNameItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemBlocksRequestBuilder ¶
type ItemBlocksRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemBlocksRequestBuilder builds and executes requests for operations under \orgs\{org}\blocks
func NewItemBlocksRequestBuilder ¶
func NewItemBlocksRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemBlocksRequestBuilder
NewItemBlocksRequestBuilder instantiates a new BlocksRequestBuilder and sets the default values.
func NewItemBlocksRequestBuilderInternal ¶
func NewItemBlocksRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemBlocksRequestBuilder
NewItemBlocksRequestBuilderInternal instantiates a new BlocksRequestBuilder and sets the default values.
func (*ItemBlocksRequestBuilder) ByUsername ¶
func (m *ItemBlocksRequestBuilder) ByUsername(username string) *ItemBlocksWithUsernameItemRequestBuilder
ByUsername gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.blocks.item collection
func (*ItemBlocksRequestBuilder) Get ¶
func (m *ItemBlocksRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBlocksRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SimpleUserable, error)
Get list the users blocked by an organization. API method documentation
func (*ItemBlocksRequestBuilder) ToGetRequestInformation ¶
func (m *ItemBlocksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemBlocksRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list the users blocked by an organization.
func (*ItemBlocksRequestBuilder) WithUrl ¶
func (m *ItemBlocksRequestBuilder) WithUrl(rawUrl string) *ItemBlocksRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemBlocksRequestBuilderGetQueryParameters ¶
type ItemBlocksRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemBlocksRequestBuilderGetQueryParameters list the users blocked by an organization.
type ItemBlocksRequestBuilderGetRequestConfiguration ¶
type ItemBlocksRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemBlocksRequestBuilderGetQueryParameters }
ItemBlocksRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemBlocksWithUsernameItemRequestBuilder ¶
type ItemBlocksWithUsernameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemBlocksWithUsernameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\blocks\{username}
func NewItemBlocksWithUsernameItemRequestBuilder ¶
func NewItemBlocksWithUsernameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemBlocksWithUsernameItemRequestBuilder
NewItemBlocksWithUsernameItemRequestBuilder instantiates a new WithUsernameItemRequestBuilder and sets the default values.
func NewItemBlocksWithUsernameItemRequestBuilderInternal ¶
func NewItemBlocksWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemBlocksWithUsernameItemRequestBuilder
NewItemBlocksWithUsernameItemRequestBuilderInternal instantiates a new WithUsernameItemRequestBuilder and sets the default values.
func (*ItemBlocksWithUsernameItemRequestBuilder) Delete ¶
func (m *ItemBlocksWithUsernameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemBlocksWithUsernameItemRequestBuilderDeleteRequestConfiguration) error
Delete unblocks the given user on behalf of the specified organization. API method documentation
func (*ItemBlocksWithUsernameItemRequestBuilder) Get ¶
func (m *ItemBlocksWithUsernameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemBlocksWithUsernameItemRequestBuilderGetRequestConfiguration) error
Get returns a 204 if the given user is blocked by the given organization. Returns a 404 if the organization is not blocking the user, or if the user account has been identified as spam by GitHub. API method documentation
func (*ItemBlocksWithUsernameItemRequestBuilder) Put ¶
func (m *ItemBlocksWithUsernameItemRequestBuilder) Put(ctx context.Context, requestConfiguration *ItemBlocksWithUsernameItemRequestBuilderPutRequestConfiguration) error
Put blocks the given user on behalf of the specified organization and returns a 204. If the organization cannot block the given user a 422 is returned. API method documentation
func (*ItemBlocksWithUsernameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemBlocksWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemBlocksWithUsernameItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation unblocks the given user on behalf of the specified organization.
func (*ItemBlocksWithUsernameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemBlocksWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemBlocksWithUsernameItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation returns a 204 if the given user is blocked by the given organization. Returns a 404 if the organization is not blocking the user, or if the user account has been identified as spam by GitHub.
func (*ItemBlocksWithUsernameItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemBlocksWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *ItemBlocksWithUsernameItemRequestBuilderPutRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation blocks the given user on behalf of the specified organization and returns a 204. If the organization cannot block the given user a 422 is returned.
func (*ItemBlocksWithUsernameItemRequestBuilder) WithUrl ¶
func (m *ItemBlocksWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *ItemBlocksWithUsernameItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemBlocksWithUsernameItemRequestBuilderDeleteRequestConfiguration ¶
type ItemBlocksWithUsernameItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemBlocksWithUsernameItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemBlocksWithUsernameItemRequestBuilderGetRequestConfiguration ¶
type ItemBlocksWithUsernameItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemBlocksWithUsernameItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemBlocksWithUsernameItemRequestBuilderPutRequestConfiguration ¶
type ItemBlocksWithUsernameItemRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemBlocksWithUsernameItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 AlertsRequestBuilder and sets the default values.
func NewItemCodeScanningAlertsRequestBuilderInternal ¶
func NewItemCodeScanningAlertsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodeScanningAlertsRequestBuilder
NewItemCodeScanningAlertsRequestBuilderInternal instantiates a new AlertsRequestBuilder and sets the default values.
func (*ItemCodeScanningAlertsRequestBuilder) Get ¶
func (m *ItemCodeScanningAlertsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCodeScanningAlertsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."To use this endpoint, you must be an owner or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.For public repositories, you may instead use the `public_repo` scope. API method documentation
func (*ItemCodeScanningAlertsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemCodeScanningAlertsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCodeScanningAlertsRequestBuilderGetRequestConfiguration) (*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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."To use this endpoint, you must be an owner or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.For public repositories, you may instead use the `public_repo` scope.
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.
type ItemCodeScanningAlertsRequestBuilderGetQueryParameters ¶
type ItemCodeScanningAlertsRequestBuilderGetQueryParameters struct { // A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. After *string `uriparametername:"after"` // A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. Before *string `uriparametername:"before"` // The direction to sort the results by. // Deprecated: This property is deprecated, use directionAsGetDirectionQueryParameterType instead Direction *string `uriparametername:"direction"` // The direction to sort the results by. DirectionAsGetDirectionQueryParameterType *iaeebf96a6843d7c20789a0ee17c57399b2ea1eb95bf0e1081de99038d40c50a8.GetDirectionQueryParameterType `uriparametername:"direction"` // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` // If specified, only code scanning alerts with this severity will be returned. // Deprecated: This property is deprecated, use severityAsCodeScanningAlertSeverity instead Severity *string `uriparametername:"severity"` // If specified, only code scanning alerts with this severity will be returned. SeverityAsCodeScanningAlertSeverity *i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodeScanningAlertSeverity `uriparametername:"severity"` // The property by which to sort the results. // Deprecated: This property is deprecated, use sortAsGetSortQueryParameterType instead Sort *string `uriparametername:"sort"` // The property by which to sort the results. SortAsGetSortQueryParameterType *iaeebf96a6843d7c20789a0ee17c57399b2ea1eb95bf0e1081de99038d40c50a8.GetSortQueryParameterType `uriparametername:"sort"` // If specified, only code scanning alerts with this state will be returned. // Deprecated: This property is deprecated, use stateAsCodeScanningAlertStateQuery instead State *string `uriparametername:"state"` // If specified, only code scanning alerts with this state will be returned. StateAsCodeScanningAlertStateQuery *i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodeScanningAlertStateQuery `uriparametername:"state"` // The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in their analysis data. You can specify the tool by using either `tool_guid` or `tool_name`, but not both. Tool_guid *string `uriparametername:"tool_guid"` // The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. Tool_name *string `uriparametername:"tool_name"` }
ItemCodeScanningAlertsRequestBuilderGetQueryParameters lists code scanning alerts for the default branch for all eligible repositories in an organization. Eligible repositories are repositories that are owned by organizations that you own or for which you are a security manager. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."To use this endpoint, you must be an owner or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.For public repositories, you may instead use the `public_repo` scope.
type ItemCodeScanningAlertsRequestBuilderGetRequestConfiguration ¶
type ItemCodeScanningAlertsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemCodeScanningAlertsRequestBuilderGetQueryParameters }
ItemCodeScanningAlertsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 CodeScanningRequestBuilder and sets the default values.
func NewItemCodeScanningRequestBuilderInternal ¶
func NewItemCodeScanningRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodeScanningRequestBuilder
NewItemCodeScanningRequestBuilderInternal instantiates a new CodeScanningRequestBuilder and sets the default values.
func (*ItemCodeScanningRequestBuilder) Alerts ¶
func (m *ItemCodeScanningRequestBuilder) Alerts() *ItemCodeScanningAlertsRequestBuilder
Alerts the alerts property
type ItemCodespacesAccessPutRequestBody ¶
type ItemCodespacesAccessPutRequestBody struct {
// contains filtered or unexported fields
}
ItemCodespacesAccessPutRequestBody
func NewItemCodespacesAccessPutRequestBody ¶
func NewItemCodespacesAccessPutRequestBody() *ItemCodespacesAccessPutRequestBody
NewItemCodespacesAccessPutRequestBody instantiates a new ItemCodespacesAccessPutRequestBody and sets the default values.
func (*ItemCodespacesAccessPutRequestBody) GetAdditionalData ¶
func (m *ItemCodespacesAccessPutRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCodespacesAccessPutRequestBody) GetFieldDeserializers ¶
func (m *ItemCodespacesAccessPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemCodespacesAccessPutRequestBody) GetSelectedUsernames ¶
func (m *ItemCodespacesAccessPutRequestBody) GetSelectedUsernames() []string
GetSelectedUsernames gets the selected_usernames property value. The usernames of the organization members who should have access to codespaces in the organization. Required when `visibility` is `selected_members`. The provided list of usernames will replace any existing value.
func (*ItemCodespacesAccessPutRequestBody) Serialize ¶
func (m *ItemCodespacesAccessPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemCodespacesAccessPutRequestBody) SetAdditionalData ¶
func (m *ItemCodespacesAccessPutRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCodespacesAccessPutRequestBody) SetSelectedUsernames ¶
func (m *ItemCodespacesAccessPutRequestBody) SetSelectedUsernames(value []string)
SetSelectedUsernames sets the selected_usernames property value. The usernames of the organization members who should have access to codespaces in the organization. Required when `visibility` is `selected_members`. The provided list of usernames will replace any existing value.
type ItemCodespacesAccessPutRequestBodyable ¶
type ItemCodespacesAccessPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSelectedUsernames() []string SetSelectedUsernames(value []string) }
ItemCodespacesAccessPutRequestBodyable
type ItemCodespacesAccessRequestBuilder ¶
type ItemCodespacesAccessRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemCodespacesAccessRequestBuilder builds and executes requests for operations under \orgs\{org}\codespaces\access
func NewItemCodespacesAccessRequestBuilder ¶
func NewItemCodespacesAccessRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesAccessRequestBuilder
NewItemCodespacesAccessRequestBuilder instantiates a new AccessRequestBuilder and sets the default values.
func NewItemCodespacesAccessRequestBuilderInternal ¶
func NewItemCodespacesAccessRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesAccessRequestBuilder
NewItemCodespacesAccessRequestBuilderInternal instantiates a new AccessRequestBuilder and sets the default values.
func (*ItemCodespacesAccessRequestBuilder) Put ¶
func (m *ItemCodespacesAccessRequestBuilder) Put(ctx context.Context, body ItemCodespacesAccessPutRequestBodyable, requestConfiguration *ItemCodespacesAccessRequestBuilderPutRequestConfiguration) error
Put sets which users can access codespaces in an organization. This is synonymous with granting or revoking codespaces access permissions for users according to the visibility.You must authenticate using an access token with the `admin:org` scope or the `Organization codespaces settings` write permission to use this endpoint. Deprecated: API method documentation
func (*ItemCodespacesAccessRequestBuilder) Selected_users ¶
func (m *ItemCodespacesAccessRequestBuilder) Selected_users() *ItemCodespacesAccessSelected_usersRequestBuilder
Selected_users the selected_users property
func (*ItemCodespacesAccessRequestBuilder) ToPutRequestInformation ¶
func (m *ItemCodespacesAccessRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemCodespacesAccessPutRequestBodyable, requestConfiguration *ItemCodespacesAccessRequestBuilderPutRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation sets which users can access codespaces in an organization. This is synonymous with granting or revoking codespaces access permissions for users according to the visibility.You must authenticate using an access token with the `admin:org` scope or the `Organization codespaces settings` write permission to use this endpoint. Deprecated:
func (*ItemCodespacesAccessRequestBuilder) WithUrl ¶
func (m *ItemCodespacesAccessRequestBuilder) WithUrl(rawUrl string) *ItemCodespacesAccessRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. Deprecated:
type ItemCodespacesAccessRequestBuilderPutRequestConfiguration ¶
type ItemCodespacesAccessRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemCodespacesAccessRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemCodespacesAccessSelected_usersDeleteRequestBody ¶
type ItemCodespacesAccessSelected_usersDeleteRequestBody struct {
// contains filtered or unexported fields
}
ItemCodespacesAccessSelected_usersDeleteRequestBody
func NewItemCodespacesAccessSelected_usersDeleteRequestBody ¶
func NewItemCodespacesAccessSelected_usersDeleteRequestBody() *ItemCodespacesAccessSelected_usersDeleteRequestBody
NewItemCodespacesAccessSelected_usersDeleteRequestBody instantiates a new ItemCodespacesAccessSelected_usersDeleteRequestBody and sets the default values.
func (*ItemCodespacesAccessSelected_usersDeleteRequestBody) GetAdditionalData ¶
func (m *ItemCodespacesAccessSelected_usersDeleteRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCodespacesAccessSelected_usersDeleteRequestBody) GetFieldDeserializers ¶
func (m *ItemCodespacesAccessSelected_usersDeleteRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemCodespacesAccessSelected_usersDeleteRequestBody) GetSelectedUsernames ¶
func (m *ItemCodespacesAccessSelected_usersDeleteRequestBody) GetSelectedUsernames() []string
GetSelectedUsernames gets the selected_usernames property value. The usernames of the organization members whose codespaces should not be billed to the organization.
func (*ItemCodespacesAccessSelected_usersDeleteRequestBody) Serialize ¶
func (m *ItemCodespacesAccessSelected_usersDeleteRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemCodespacesAccessSelected_usersDeleteRequestBody) SetAdditionalData ¶
func (m *ItemCodespacesAccessSelected_usersDeleteRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCodespacesAccessSelected_usersDeleteRequestBody) SetSelectedUsernames ¶
func (m *ItemCodespacesAccessSelected_usersDeleteRequestBody) SetSelectedUsernames(value []string)
SetSelectedUsernames sets the selected_usernames property value. The usernames of the organization members whose codespaces should not be billed to the organization.
type ItemCodespacesAccessSelected_usersDeleteRequestBodyable ¶
type ItemCodespacesAccessSelected_usersDeleteRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSelectedUsernames() []string SetSelectedUsernames(value []string) }
ItemCodespacesAccessSelected_usersDeleteRequestBodyable
type ItemCodespacesAccessSelected_usersPostRequestBody ¶
type ItemCodespacesAccessSelected_usersPostRequestBody struct {
// contains filtered or unexported fields
}
ItemCodespacesAccessSelected_usersPostRequestBody
func NewItemCodespacesAccessSelected_usersPostRequestBody ¶
func NewItemCodespacesAccessSelected_usersPostRequestBody() *ItemCodespacesAccessSelected_usersPostRequestBody
NewItemCodespacesAccessSelected_usersPostRequestBody instantiates a new ItemCodespacesAccessSelected_usersPostRequestBody and sets the default values.
func (*ItemCodespacesAccessSelected_usersPostRequestBody) GetAdditionalData ¶
func (m *ItemCodespacesAccessSelected_usersPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCodespacesAccessSelected_usersPostRequestBody) GetFieldDeserializers ¶
func (m *ItemCodespacesAccessSelected_usersPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemCodespacesAccessSelected_usersPostRequestBody) GetSelectedUsernames ¶
func (m *ItemCodespacesAccessSelected_usersPostRequestBody) GetSelectedUsernames() []string
GetSelectedUsernames gets the selected_usernames property value. The usernames of the organization members whose codespaces be billed to the organization.
func (*ItemCodespacesAccessSelected_usersPostRequestBody) Serialize ¶
func (m *ItemCodespacesAccessSelected_usersPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemCodespacesAccessSelected_usersPostRequestBody) SetAdditionalData ¶
func (m *ItemCodespacesAccessSelected_usersPostRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCodespacesAccessSelected_usersPostRequestBody) SetSelectedUsernames ¶
func (m *ItemCodespacesAccessSelected_usersPostRequestBody) SetSelectedUsernames(value []string)
SetSelectedUsernames sets the selected_usernames property value. The usernames of the organization members whose codespaces be billed to the organization.
type ItemCodespacesAccessSelected_usersPostRequestBodyable ¶
type ItemCodespacesAccessSelected_usersPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSelectedUsernames() []string SetSelectedUsernames(value []string) }
ItemCodespacesAccessSelected_usersPostRequestBodyable
type ItemCodespacesAccessSelected_usersRequestBuilder ¶
type ItemCodespacesAccessSelected_usersRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemCodespacesAccessSelected_usersRequestBuilder builds and executes requests for operations under \orgs\{org}\codespaces\access\selected_users
func NewItemCodespacesAccessSelected_usersRequestBuilder ¶
func NewItemCodespacesAccessSelected_usersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesAccessSelected_usersRequestBuilder
NewItemCodespacesAccessSelected_usersRequestBuilder instantiates a new Selected_usersRequestBuilder and sets the default values.
func NewItemCodespacesAccessSelected_usersRequestBuilderInternal ¶
func NewItemCodespacesAccessSelected_usersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesAccessSelected_usersRequestBuilder
NewItemCodespacesAccessSelected_usersRequestBuilderInternal instantiates a new Selected_usersRequestBuilder and sets the default values.
func (*ItemCodespacesAccessSelected_usersRequestBuilder) Delete ¶
func (m *ItemCodespacesAccessSelected_usersRequestBuilder) Delete(ctx context.Context, body ItemCodespacesAccessSelected_usersDeleteRequestBodyable, requestConfiguration *ItemCodespacesAccessSelected_usersRequestBuilderDeleteRequestConfiguration) error
Delete codespaces for the specified users will no longer be billed to the organization.To use this endpoint, the access settings for the organization must be set to `selected_members`.For information on how to change this setting, see "[Manage access control for organization codespaces](https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces)."You must authenticate using an access token with the `admin:org` scope or the `Organization codespaces settings` write permission to use this endpoint. Deprecated: API method documentation
func (*ItemCodespacesAccessSelected_usersRequestBuilder) Post ¶
func (m *ItemCodespacesAccessSelected_usersRequestBuilder) Post(ctx context.Context, body ItemCodespacesAccessSelected_usersPostRequestBodyable, requestConfiguration *ItemCodespacesAccessSelected_usersRequestBuilderPostRequestConfiguration) error
Post codespaces for the specified users will be billed to the organization.To use this endpoint, the access settings for the organization must be set to `selected_members`.For information on how to change this setting, see "[Manage access control for organization codespaces](https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces)."You must authenticate using an access token with the `admin:org` scope or the `Organization codespaces settings` write permission to use this endpoint. Deprecated: API method documentation
func (*ItemCodespacesAccessSelected_usersRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemCodespacesAccessSelected_usersRequestBuilder) ToDeleteRequestInformation(ctx context.Context, body ItemCodespacesAccessSelected_usersDeleteRequestBodyable, requestConfiguration *ItemCodespacesAccessSelected_usersRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation codespaces for the specified users will no longer be billed to the organization.To use this endpoint, the access settings for the organization must be set to `selected_members`.For information on how to change this setting, see "[Manage access control for organization codespaces](https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces)."You must authenticate using an access token with the `admin:org` scope or the `Organization codespaces settings` write permission to use this endpoint. Deprecated:
func (*ItemCodespacesAccessSelected_usersRequestBuilder) ToPostRequestInformation ¶
func (m *ItemCodespacesAccessSelected_usersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCodespacesAccessSelected_usersPostRequestBodyable, requestConfiguration *ItemCodespacesAccessSelected_usersRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation codespaces for the specified users will be billed to the organization.To use this endpoint, the access settings for the organization must be set to `selected_members`.For information on how to change this setting, see "[Manage access control for organization codespaces](https://docs.github.com/rest/codespaces/organizations#manage-access-control-for-organization-codespaces)."You must authenticate using an access token with the `admin:org` scope or the `Organization codespaces settings` write permission to use this endpoint. Deprecated:
func (*ItemCodespacesAccessSelected_usersRequestBuilder) WithUrl ¶
func (m *ItemCodespacesAccessSelected_usersRequestBuilder) WithUrl(rawUrl string) *ItemCodespacesAccessSelected_usersRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. Deprecated:
type ItemCodespacesAccessSelected_usersRequestBuilderDeleteRequestConfiguration ¶
type ItemCodespacesAccessSelected_usersRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemCodespacesAccessSelected_usersRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemCodespacesAccessSelected_usersRequestBuilderPostRequestConfiguration ¶
type ItemCodespacesAccessSelected_usersRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemCodespacesAccessSelected_usersRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemCodespacesGetResponse ¶
type ItemCodespacesGetResponse struct {
// contains filtered or unexported fields
}
ItemCodespacesGetResponse
func NewItemCodespacesGetResponse ¶
func NewItemCodespacesGetResponse() *ItemCodespacesGetResponse
NewItemCodespacesGetResponse instantiates a new ItemCodespacesGetResponse and sets the default values.
func (*ItemCodespacesGetResponse) GetAdditionalData ¶
func (m *ItemCodespacesGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCodespacesGetResponse) GetCodespaces ¶
func (m *ItemCodespacesGetResponse) GetCodespaces() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Codespaceable
GetCodespaces gets the codespaces property value. The codespaces property
func (*ItemCodespacesGetResponse) GetFieldDeserializers ¶
func (m *ItemCodespacesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemCodespacesGetResponse) GetTotalCount ¶
func (m *ItemCodespacesGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property
func (*ItemCodespacesGetResponse) Serialize ¶
func (m *ItemCodespacesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemCodespacesGetResponse) SetAdditionalData ¶
func (m *ItemCodespacesGetResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCodespacesGetResponse) SetCodespaces ¶
func (m *ItemCodespacesGetResponse) SetCodespaces(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Codespaceable)
SetCodespaces sets the codespaces property value. The codespaces property
func (*ItemCodespacesGetResponse) SetTotalCount ¶
func (m *ItemCodespacesGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemCodespacesGetResponseable ¶
type ItemCodespacesGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCodespaces() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Codespaceable GetTotalCount() *int32 SetCodespaces(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Codespaceable) SetTotalCount(value *int32) }
ItemCodespacesGetResponseable
type ItemCodespacesRequestBuilder ¶
type ItemCodespacesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemCodespacesRequestBuilder builds and executes requests for operations under \orgs\{org}\codespaces
func NewItemCodespacesRequestBuilder ¶
func NewItemCodespacesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesRequestBuilder
NewItemCodespacesRequestBuilder instantiates a new CodespacesRequestBuilder and sets the default values.
func NewItemCodespacesRequestBuilderInternal ¶
func NewItemCodespacesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesRequestBuilder
NewItemCodespacesRequestBuilderInternal instantiates a new CodespacesRequestBuilder and sets the default values.
func (*ItemCodespacesRequestBuilder) Access ¶
func (m *ItemCodespacesRequestBuilder) Access() *ItemCodespacesAccessRequestBuilder
Access the access property
func (*ItemCodespacesRequestBuilder) Get ¶
func (m *ItemCodespacesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCodespacesRequestBuilderGetRequestConfiguration) (ItemCodespacesResponseable, error)
Get lists the codespaces associated to a specified organization.You must authenticate using an access token with the `admin:org` scope or the `Organization codespaces` read permission to use this endpoint. Deprecated: This method is obsolete. Use GetAsCodespacesGetResponse instead. API method documentation
func (*ItemCodespacesRequestBuilder) GetAsCodespacesGetResponse ¶
func (m *ItemCodespacesRequestBuilder) GetAsCodespacesGetResponse(ctx context.Context, requestConfiguration *ItemCodespacesRequestBuilderGetRequestConfiguration) (ItemCodespacesGetResponseable, error)
GetAsCodespacesGetResponse lists the codespaces associated to a specified organization.You must authenticate using an access token with the `admin:org` scope or the `Organization codespaces` read permission to use this endpoint. API method documentation
func (*ItemCodespacesRequestBuilder) Secrets ¶
func (m *ItemCodespacesRequestBuilder) Secrets() *ItemCodespacesSecretsRequestBuilder
Secrets the secrets property
func (*ItemCodespacesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemCodespacesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCodespacesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the codespaces associated to a specified organization.You must authenticate using an access token with the `admin:org` scope or the `Organization codespaces` read permission to use this endpoint.
func (*ItemCodespacesRequestBuilder) WithUrl ¶
func (m *ItemCodespacesRequestBuilder) WithUrl(rawUrl string) *ItemCodespacesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemCodespacesRequestBuilderGetQueryParameters ¶
type ItemCodespacesRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemCodespacesRequestBuilderGetQueryParameters lists the codespaces associated to a specified organization.You must authenticate using an access token with the `admin:org` scope or the `Organization codespaces` read permission to use this endpoint.
type ItemCodespacesRequestBuilderGetRequestConfiguration ¶
type ItemCodespacesRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemCodespacesRequestBuilderGetQueryParameters }
ItemCodespacesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemCodespacesResponse ¶
type ItemCodespacesResponse struct {
ItemCodespacesGetResponse
}
ItemCodespacesResponse Deprecated: This class is obsolete. Use codespacesGetResponse instead.
func NewItemCodespacesResponse ¶
func NewItemCodespacesResponse() *ItemCodespacesResponse
NewItemCodespacesResponse instantiates a new ItemCodespacesResponse and sets the default values.
type ItemCodespacesResponseable ¶
type ItemCodespacesResponseable interface { ItemCodespacesGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemCodespacesResponseable Deprecated: This class is obsolete. Use codespacesGetResponse instead.
type ItemCodespacesSecretsGetResponse ¶
type ItemCodespacesSecretsGetResponse struct {
// contains filtered or unexported fields
}
ItemCodespacesSecretsGetResponse
func NewItemCodespacesSecretsGetResponse ¶
func NewItemCodespacesSecretsGetResponse() *ItemCodespacesSecretsGetResponse
NewItemCodespacesSecretsGetResponse instantiates a new ItemCodespacesSecretsGetResponse and sets the default values.
func (*ItemCodespacesSecretsGetResponse) GetAdditionalData ¶
func (m *ItemCodespacesSecretsGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCodespacesSecretsGetResponse) GetFieldDeserializers ¶
func (m *ItemCodespacesSecretsGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemCodespacesSecretsGetResponse) GetSecrets ¶
func (m *ItemCodespacesSecretsGetResponse) GetSecrets() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodespacesOrgSecretable
GetSecrets gets the secrets property value. The secrets property
func (*ItemCodespacesSecretsGetResponse) GetTotalCount ¶
func (m *ItemCodespacesSecretsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property
func (*ItemCodespacesSecretsGetResponse) Serialize ¶
func (m *ItemCodespacesSecretsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemCodespacesSecretsGetResponse) SetAdditionalData ¶
func (m *ItemCodespacesSecretsGetResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCodespacesSecretsGetResponse) SetSecrets ¶
func (m *ItemCodespacesSecretsGetResponse) SetSecrets(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodespacesOrgSecretable)
SetSecrets sets the secrets property value. The secrets property
func (*ItemCodespacesSecretsGetResponse) SetTotalCount ¶
func (m *ItemCodespacesSecretsGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemCodespacesSecretsGetResponseable ¶
type ItemCodespacesSecretsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSecrets() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodespacesOrgSecretable GetTotalCount() *int32 SetSecrets(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodespacesOrgSecretable) SetTotalCount(value *int32) }
ItemCodespacesSecretsGetResponseable
type ItemCodespacesSecretsItemRepositoriesGetResponse ¶
type ItemCodespacesSecretsItemRepositoriesGetResponse struct {
// contains filtered or unexported fields
}
ItemCodespacesSecretsItemRepositoriesGetResponse
func NewItemCodespacesSecretsItemRepositoriesGetResponse ¶
func NewItemCodespacesSecretsItemRepositoriesGetResponse() *ItemCodespacesSecretsItemRepositoriesGetResponse
NewItemCodespacesSecretsItemRepositoriesGetResponse instantiates a new ItemCodespacesSecretsItemRepositoriesGetResponse and sets the default values.
func (*ItemCodespacesSecretsItemRepositoriesGetResponse) GetAdditionalData ¶
func (m *ItemCodespacesSecretsItemRepositoriesGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCodespacesSecretsItemRepositoriesGetResponse) GetFieldDeserializers ¶
func (m *ItemCodespacesSecretsItemRepositoriesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemCodespacesSecretsItemRepositoriesGetResponse) GetRepositories ¶
func (m *ItemCodespacesSecretsItemRepositoriesGetResponse) GetRepositories() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable
GetRepositories gets the repositories property value. The repositories property
func (*ItemCodespacesSecretsItemRepositoriesGetResponse) GetTotalCount ¶
func (m *ItemCodespacesSecretsItemRepositoriesGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property
func (*ItemCodespacesSecretsItemRepositoriesGetResponse) Serialize ¶
func (m *ItemCodespacesSecretsItemRepositoriesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemCodespacesSecretsItemRepositoriesGetResponse) SetAdditionalData ¶
func (m *ItemCodespacesSecretsItemRepositoriesGetResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCodespacesSecretsItemRepositoriesGetResponse) SetRepositories ¶
func (m *ItemCodespacesSecretsItemRepositoriesGetResponse) SetRepositories(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable)
SetRepositories sets the repositories property value. The repositories property
func (*ItemCodespacesSecretsItemRepositoriesGetResponse) SetTotalCount ¶
func (m *ItemCodespacesSecretsItemRepositoriesGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemCodespacesSecretsItemRepositoriesGetResponseable ¶
type ItemCodespacesSecretsItemRepositoriesGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetRepositories() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable GetTotalCount() *int32 SetRepositories(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable) SetTotalCount(value *int32) }
ItemCodespacesSecretsItemRepositoriesGetResponseable
type ItemCodespacesSecretsItemRepositoriesPutRequestBody ¶
type ItemCodespacesSecretsItemRepositoriesPutRequestBody struct {
// contains filtered or unexported fields
}
ItemCodespacesSecretsItemRepositoriesPutRequestBody
func NewItemCodespacesSecretsItemRepositoriesPutRequestBody ¶
func NewItemCodespacesSecretsItemRepositoriesPutRequestBody() *ItemCodespacesSecretsItemRepositoriesPutRequestBody
NewItemCodespacesSecretsItemRepositoriesPutRequestBody instantiates a new ItemCodespacesSecretsItemRepositoriesPutRequestBody and sets the default values.
func (*ItemCodespacesSecretsItemRepositoriesPutRequestBody) GetAdditionalData ¶
func (m *ItemCodespacesSecretsItemRepositoriesPutRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCodespacesSecretsItemRepositoriesPutRequestBody) GetFieldDeserializers ¶
func (m *ItemCodespacesSecretsItemRepositoriesPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemCodespacesSecretsItemRepositoriesPutRequestBody) GetSelectedRepositoryIds ¶
func (m *ItemCodespacesSecretsItemRepositoriesPutRequestBody) GetSelectedRepositoryIds() []int32
GetSelectedRepositoryIds gets the selected_repository_ids property value. An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Set selected repositories for an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret) endpoints.
func (*ItemCodespacesSecretsItemRepositoriesPutRequestBody) Serialize ¶
func (m *ItemCodespacesSecretsItemRepositoriesPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemCodespacesSecretsItemRepositoriesPutRequestBody) SetAdditionalData ¶
func (m *ItemCodespacesSecretsItemRepositoriesPutRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCodespacesSecretsItemRepositoriesPutRequestBody) SetSelectedRepositoryIds ¶
func (m *ItemCodespacesSecretsItemRepositoriesPutRequestBody) SetSelectedRepositoryIds(value []int32)
SetSelectedRepositoryIds sets the selected_repository_ids property value. An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Set selected repositories for an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret) endpoints.
type ItemCodespacesSecretsItemRepositoriesPutRequestBodyable ¶
type ItemCodespacesSecretsItemRepositoriesPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSelectedRepositoryIds() []int32 SetSelectedRepositoryIds(value []int32) }
ItemCodespacesSecretsItemRepositoriesPutRequestBodyable
type ItemCodespacesSecretsItemRepositoriesRequestBuilder ¶
type ItemCodespacesSecretsItemRepositoriesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemCodespacesSecretsItemRepositoriesRequestBuilder builds and executes requests for operations under \orgs\{org}\codespaces\secrets\{secret_name}\repositories
func NewItemCodespacesSecretsItemRepositoriesRequestBuilder ¶
func NewItemCodespacesSecretsItemRepositoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesSecretsItemRepositoriesRequestBuilder
NewItemCodespacesSecretsItemRepositoriesRequestBuilder instantiates a new RepositoriesRequestBuilder and sets the default values.
func NewItemCodespacesSecretsItemRepositoriesRequestBuilderInternal ¶
func NewItemCodespacesSecretsItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesSecretsItemRepositoriesRequestBuilder
NewItemCodespacesSecretsItemRepositoriesRequestBuilderInternal instantiates a new RepositoriesRequestBuilder and sets the default values.
func (*ItemCodespacesSecretsItemRepositoriesRequestBuilder) ByRepository_id ¶
func (m *ItemCodespacesSecretsItemRepositoriesRequestBuilder) ByRepository_id(repository_id string) *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder
ByRepository_id gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.codespaces.secrets.item.repositories.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.
func (*ItemCodespacesSecretsItemRepositoriesRequestBuilder) ByRepository_idInteger ¶
func (m *ItemCodespacesSecretsItemRepositoriesRequestBuilder) ByRepository_idInteger(repository_id int32) *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder
ByRepository_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.codespaces.secrets.item.repositories.item collection
func (*ItemCodespacesSecretsItemRepositoriesRequestBuilder) Get ¶
func (m *ItemCodespacesSecretsItemRepositoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCodespacesSecretsItemRepositoriesRequestBuilderGetRequestConfiguration) (ItemCodespacesSecretsItemRepositoriesResponseable, error)
Get lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. Deprecated: This method is obsolete. Use GetAsRepositoriesGetResponse instead. API method documentation
func (*ItemCodespacesSecretsItemRepositoriesRequestBuilder) GetAsRepositoriesGetResponse ¶
func (m *ItemCodespacesSecretsItemRepositoriesRequestBuilder) GetAsRepositoriesGetResponse(ctx context.Context, requestConfiguration *ItemCodespacesSecretsItemRepositoriesRequestBuilderGetRequestConfiguration) (ItemCodespacesSecretsItemRepositoriesGetResponseable, error)
GetAsRepositoriesGetResponse lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. API method documentation
func (*ItemCodespacesSecretsItemRepositoriesRequestBuilder) Put ¶
func (m *ItemCodespacesSecretsItemRepositoriesRequestBuilder) Put(ctx context.Context, body ItemCodespacesSecretsItemRepositoriesPutRequestBodyable, requestConfiguration *ItemCodespacesSecretsItemRepositoriesRequestBuilderPutRequestConfiguration) error
Put replaces all repositories for an organization development environment secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. API method documentation
func (*ItemCodespacesSecretsItemRepositoriesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemCodespacesSecretsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCodespacesSecretsItemRepositoriesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint.
func (*ItemCodespacesSecretsItemRepositoriesRequestBuilder) ToPutRequestInformation ¶
func (m *ItemCodespacesSecretsItemRepositoriesRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemCodespacesSecretsItemRepositoriesPutRequestBodyable, requestConfiguration *ItemCodespacesSecretsItemRepositoriesRequestBuilderPutRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation replaces all repositories for an organization development environment secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint.
func (*ItemCodespacesSecretsItemRepositoriesRequestBuilder) WithUrl ¶
func (m *ItemCodespacesSecretsItemRepositoriesRequestBuilder) WithUrl(rawUrl string) *ItemCodespacesSecretsItemRepositoriesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemCodespacesSecretsItemRepositoriesRequestBuilderGetQueryParameters ¶
type ItemCodespacesSecretsItemRepositoriesRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemCodespacesSecretsItemRepositoriesRequestBuilderGetQueryParameters lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint.
type ItemCodespacesSecretsItemRepositoriesRequestBuilderGetRequestConfiguration ¶
type ItemCodespacesSecretsItemRepositoriesRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemCodespacesSecretsItemRepositoriesRequestBuilderGetQueryParameters }
ItemCodespacesSecretsItemRepositoriesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemCodespacesSecretsItemRepositoriesRequestBuilderPutRequestConfiguration ¶
type ItemCodespacesSecretsItemRepositoriesRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemCodespacesSecretsItemRepositoriesRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemCodespacesSecretsItemRepositoriesResponse ¶
type ItemCodespacesSecretsItemRepositoriesResponse struct {
ItemCodespacesSecretsItemRepositoriesGetResponse
}
ItemCodespacesSecretsItemRepositoriesResponse Deprecated: This class is obsolete. Use repositoriesGetResponse instead.
func NewItemCodespacesSecretsItemRepositoriesResponse ¶
func NewItemCodespacesSecretsItemRepositoriesResponse() *ItemCodespacesSecretsItemRepositoriesResponse
NewItemCodespacesSecretsItemRepositoriesResponse instantiates a new ItemCodespacesSecretsItemRepositoriesResponse and sets the default values.
type ItemCodespacesSecretsItemRepositoriesResponseable ¶
type ItemCodespacesSecretsItemRepositoriesResponseable interface { ItemCodespacesSecretsItemRepositoriesGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemCodespacesSecretsItemRepositoriesResponseable Deprecated: This class is obsolete. Use repositoriesGetResponse instead.
type ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder ¶
type ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\codespaces\secrets\{secret_name}\repositories\{repository_id}
func NewItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder ¶
func NewItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder
NewItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder instantiates a new WithRepository_ItemRequestBuilder and sets the default values.
func NewItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal ¶
func NewItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder
NewItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal instantiates a new WithRepository_ItemRequestBuilder and sets the default values.
func (*ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Delete ¶
func (m *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration) error
Delete removes a repository from an organization development environment secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. API method documentation
func (*ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Put ¶
func (m *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Put(ctx context.Context, requestConfiguration *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration) error
Put adds a repository to an organization development environment secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. API method documentation
func (*ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation removes a repository from an organization development environment secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint.
func (*ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation adds a repository to an organization development environment secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint.
func (*ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) WithUrl ¶
func (m *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder) WithUrl(rawUrl string) *ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration ¶
type ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration ¶
type ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemCodespacesSecretsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemCodespacesSecretsItemWithSecret_namePutRequestBody ¶
type ItemCodespacesSecretsItemWithSecret_namePutRequestBody struct {
// contains filtered or unexported fields
}
ItemCodespacesSecretsItemWithSecret_namePutRequestBody
func NewItemCodespacesSecretsItemWithSecret_namePutRequestBody ¶
func NewItemCodespacesSecretsItemWithSecret_namePutRequestBody() *ItemCodespacesSecretsItemWithSecret_namePutRequestBody
NewItemCodespacesSecretsItemWithSecret_namePutRequestBody instantiates a new ItemCodespacesSecretsItemWithSecret_namePutRequestBody and sets the default values.
func (*ItemCodespacesSecretsItemWithSecret_namePutRequestBody) GetAdditionalData ¶
func (m *ItemCodespacesSecretsItemWithSecret_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.
func (*ItemCodespacesSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue ¶
func (m *ItemCodespacesSecretsItemWithSecret_namePutRequestBody) GetEncryptedValue() *string
GetEncryptedValue gets the encrypted_value property value. The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key) endpoint.
func (*ItemCodespacesSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers ¶
func (m *ItemCodespacesSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemCodespacesSecretsItemWithSecret_namePutRequestBody) GetKeyId ¶
func (m *ItemCodespacesSecretsItemWithSecret_namePutRequestBody) GetKeyId() *string
GetKeyId gets the key_id property value. The ID of the key you used to encrypt the secret.
func (*ItemCodespacesSecretsItemWithSecret_namePutRequestBody) GetSelectedRepositoryIds ¶
func (m *ItemCodespacesSecretsItemWithSecret_namePutRequestBody) GetSelectedRepositoryIds() []int32
GetSelectedRepositoryIds gets the selected_repository_ids property value. An array of repository IDs that can access the organization secret. You can only provide a list of repository IDs when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret) endpoints.
func (*ItemCodespacesSecretsItemWithSecret_namePutRequestBody) Serialize ¶
func (m *ItemCodespacesSecretsItemWithSecret_namePutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemCodespacesSecretsItemWithSecret_namePutRequestBody) SetAdditionalData ¶
func (m *ItemCodespacesSecretsItemWithSecret_namePutRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCodespacesSecretsItemWithSecret_namePutRequestBody) SetEncryptedValue ¶
func (m *ItemCodespacesSecretsItemWithSecret_namePutRequestBody) SetEncryptedValue(value *string)
SetEncryptedValue sets the encrypted_value property value. The value for your secret, encrypted with [LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages) using the public key retrieved from the [Get an organization public key](https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-public-key) endpoint.
func (*ItemCodespacesSecretsItemWithSecret_namePutRequestBody) SetKeyId ¶
func (m *ItemCodespacesSecretsItemWithSecret_namePutRequestBody) SetKeyId(value *string)
SetKeyId sets the key_id property value. The ID of the key you used to encrypt the secret.
func (*ItemCodespacesSecretsItemWithSecret_namePutRequestBody) SetSelectedRepositoryIds ¶
func (m *ItemCodespacesSecretsItemWithSecret_namePutRequestBody) SetSelectedRepositoryIds(value []int32)
SetSelectedRepositoryIds sets the selected_repository_ids property value. An array of repository IDs that can access the organization secret. You can only provide a list of repository IDs when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret) endpoints.
type ItemCodespacesSecretsItemWithSecret_namePutRequestBodyable ¶
type ItemCodespacesSecretsItemWithSecret_namePutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetEncryptedValue() *string GetKeyId() *string GetSelectedRepositoryIds() []int32 SetEncryptedValue(value *string) SetKeyId(value *string) SetSelectedRepositoryIds(value []int32) }
ItemCodespacesSecretsItemWithSecret_namePutRequestBodyable
type ItemCodespacesSecretsPublicKeyRequestBuilder ¶
type ItemCodespacesSecretsPublicKeyRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemCodespacesSecretsPublicKeyRequestBuilder builds and executes requests for operations under \orgs\{org}\codespaces\secrets\public-key
func NewItemCodespacesSecretsPublicKeyRequestBuilder ¶
func NewItemCodespacesSecretsPublicKeyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesSecretsPublicKeyRequestBuilder
NewItemCodespacesSecretsPublicKeyRequestBuilder instantiates a new PublicKeyRequestBuilder and sets the default values.
func NewItemCodespacesSecretsPublicKeyRequestBuilderInternal ¶
func NewItemCodespacesSecretsPublicKeyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesSecretsPublicKeyRequestBuilder
NewItemCodespacesSecretsPublicKeyRequestBuilderInternal instantiates a new PublicKeyRequestBuilder and sets the default values.
func (*ItemCodespacesSecretsPublicKeyRequestBuilder) Get ¶
func (m *ItemCodespacesSecretsPublicKeyRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCodespacesSecretsPublicKeyRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodespacesPublicKeyable, error)
Get gets a public key for an organization, which is required in order to encrypt secrets. You need to encrypt the value of a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. API method documentation
func (*ItemCodespacesSecretsPublicKeyRequestBuilder) ToGetRequestInformation ¶
func (m *ItemCodespacesSecretsPublicKeyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCodespacesSecretsPublicKeyRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a public key for an organization, which is required in order to encrypt secrets. You need to encrypt the value of a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint.
func (*ItemCodespacesSecretsPublicKeyRequestBuilder) WithUrl ¶
func (m *ItemCodespacesSecretsPublicKeyRequestBuilder) WithUrl(rawUrl string) *ItemCodespacesSecretsPublicKeyRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemCodespacesSecretsPublicKeyRequestBuilderGetRequestConfiguration ¶
type ItemCodespacesSecretsPublicKeyRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemCodespacesSecretsPublicKeyRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemCodespacesSecretsRequestBuilder ¶
type ItemCodespacesSecretsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemCodespacesSecretsRequestBuilder builds and executes requests for operations under \orgs\{org}\codespaces\secrets
func NewItemCodespacesSecretsRequestBuilder ¶
func NewItemCodespacesSecretsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesSecretsRequestBuilder
NewItemCodespacesSecretsRequestBuilder instantiates a new SecretsRequestBuilder and sets the default values.
func NewItemCodespacesSecretsRequestBuilderInternal ¶
func NewItemCodespacesSecretsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesSecretsRequestBuilder
NewItemCodespacesSecretsRequestBuilderInternal instantiates a new SecretsRequestBuilder and sets the default values.
func (*ItemCodespacesSecretsRequestBuilder) BySecret_name ¶
func (m *ItemCodespacesSecretsRequestBuilder) BySecret_name(secret_name string) *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder
BySecret_name gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.codespaces.secrets.item collection
func (*ItemCodespacesSecretsRequestBuilder) Get ¶
func (m *ItemCodespacesSecretsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCodespacesSecretsRequestBuilderGetRequestConfiguration) (ItemCodespacesSecretsResponseable, error)
Get lists all Codespaces development environment secrets available at the organization-level without revealing their encrypted values.You must authenticate using an access token with the `admin:org` scope to use this endpoint. Deprecated: This method is obsolete. Use GetAsSecretsGetResponse instead. API method documentation
func (*ItemCodespacesSecretsRequestBuilder) GetAsSecretsGetResponse ¶
func (m *ItemCodespacesSecretsRequestBuilder) GetAsSecretsGetResponse(ctx context.Context, requestConfiguration *ItemCodespacesSecretsRequestBuilderGetRequestConfiguration) (ItemCodespacesSecretsGetResponseable, error)
GetAsSecretsGetResponse lists all Codespaces development environment secrets available at the organization-level without revealing their encrypted values.You must authenticate using an access token with the `admin:org` scope to use this endpoint. API method documentation
func (*ItemCodespacesSecretsRequestBuilder) PublicKey ¶
func (m *ItemCodespacesSecretsRequestBuilder) PublicKey() *ItemCodespacesSecretsPublicKeyRequestBuilder
PublicKey the publicKey property
func (*ItemCodespacesSecretsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemCodespacesSecretsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCodespacesSecretsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all Codespaces development environment secrets available at the organization-level without revealing their encrypted values.You must authenticate using an access token with the `admin:org` scope to use this endpoint.
func (*ItemCodespacesSecretsRequestBuilder) WithUrl ¶
func (m *ItemCodespacesSecretsRequestBuilder) WithUrl(rawUrl string) *ItemCodespacesSecretsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemCodespacesSecretsRequestBuilderGetQueryParameters ¶
type ItemCodespacesSecretsRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemCodespacesSecretsRequestBuilderGetQueryParameters lists all Codespaces development environment secrets available at the organization-level without revealing their encrypted values.You must authenticate using an access token with the `admin:org` scope to use this endpoint.
type ItemCodespacesSecretsRequestBuilderGetRequestConfiguration ¶
type ItemCodespacesSecretsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemCodespacesSecretsRequestBuilderGetQueryParameters }
ItemCodespacesSecretsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemCodespacesSecretsResponse ¶
type ItemCodespacesSecretsResponse struct {
ItemCodespacesSecretsGetResponse
}
ItemCodespacesSecretsResponse Deprecated: This class is obsolete. Use secretsGetResponse instead.
func NewItemCodespacesSecretsResponse ¶
func NewItemCodespacesSecretsResponse() *ItemCodespacesSecretsResponse
NewItemCodespacesSecretsResponse instantiates a new ItemCodespacesSecretsResponse and sets the default values.
type ItemCodespacesSecretsResponseable ¶
type ItemCodespacesSecretsResponseable interface { ItemCodespacesSecretsGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemCodespacesSecretsResponseable Deprecated: This class is obsolete. Use secretsGetResponse instead.
type ItemCodespacesSecretsWithSecret_nameItemRequestBuilder ¶
type ItemCodespacesSecretsWithSecret_nameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemCodespacesSecretsWithSecret_nameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\codespaces\secrets\{secret_name}
func NewItemCodespacesSecretsWithSecret_nameItemRequestBuilder ¶
func NewItemCodespacesSecretsWithSecret_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder
NewItemCodespacesSecretsWithSecret_nameItemRequestBuilder instantiates a new WithSecret_nameItemRequestBuilder and sets the default values.
func NewItemCodespacesSecretsWithSecret_nameItemRequestBuilderInternal ¶
func NewItemCodespacesSecretsWithSecret_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder
NewItemCodespacesSecretsWithSecret_nameItemRequestBuilderInternal instantiates a new WithSecret_nameItemRequestBuilder and sets the default values.
func (*ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) Delete ¶
func (m *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemCodespacesSecretsWithSecret_nameItemRequestBuilderDeleteRequestConfiguration) error
Delete deletes an organization development environment secret using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. API method documentation
func (*ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) Get ¶
func (m *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCodespacesSecretsWithSecret_nameItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CodespacesOrgSecretable, error)
Get gets an organization development environment secret without revealing its encrypted value.You must authenticate using an access token with the `admin:org` scope to use this endpoint. API method documentation
func (*ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) Put ¶
func (m *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) Put(ctx context.Context, body ItemCodespacesSecretsItemWithSecret_namePutRequestBodyable, requestConfiguration *ItemCodespacesSecretsWithSecret_nameItemRequestBuilderPutRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.EmptyObjectable, error)
Put creates or updates an organization development environment secret with an encrypted value. Encrypt your secret using[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."You must authenticate using an accesstoken with the `admin:org` scope to use this endpoint. API method documentation
func (*ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) Repositories ¶
func (m *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) Repositories() *ItemCodespacesSecretsItemRepositoriesRequestBuilder
Repositories the repositories property
func (*ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemCodespacesSecretsWithSecret_nameItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes an organization development environment secret using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint.
func (*ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCodespacesSecretsWithSecret_nameItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets an organization development environment secret without revealing its encrypted value.You must authenticate using an access token with the `admin:org` scope to use this endpoint.
func (*ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemCodespacesSecretsItemWithSecret_namePutRequestBodyable, requestConfiguration *ItemCodespacesSecretsWithSecret_nameItemRequestBuilderPutRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation creates or updates an organization development environment secret with an encrypted value. Encrypt your secret using[LibSodium](https://libsodium.gitbook.io/doc/bindings_for_other_languages). For more information, see "[Encrypting secrets for the REST API](https://docs.github.com/rest/guides/encrypting-secrets-for-the-rest-api)."You must authenticate using an accesstoken with the `admin:org` scope to use this endpoint.
func (*ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) WithUrl ¶
func (m *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder) WithUrl(rawUrl string) *ItemCodespacesSecretsWithSecret_nameItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemCodespacesSecretsWithSecret_nameItemRequestBuilderDeleteRequestConfiguration ¶
type ItemCodespacesSecretsWithSecret_nameItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemCodespacesSecretsWithSecret_nameItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemCodespacesSecretsWithSecret_nameItemRequestBuilderGetRequestConfiguration ¶
type ItemCodespacesSecretsWithSecret_nameItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemCodespacesSecretsWithSecret_nameItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemCodespacesSecretsWithSecret_nameItemRequestBuilderPutRequestConfiguration ¶
type ItemCodespacesSecretsWithSecret_nameItemRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemCodespacesSecretsWithSecret_nameItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemCopilotBillingRequestBuilder ¶
type ItemCopilotBillingRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemCopilotBillingRequestBuilder builds and executes requests for operations under \orgs\{org}\copilot\billing
func NewItemCopilotBillingRequestBuilder ¶
func NewItemCopilotBillingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCopilotBillingRequestBuilder
NewItemCopilotBillingRequestBuilder instantiates a new BillingRequestBuilder and sets the default values.
func NewItemCopilotBillingRequestBuilderInternal ¶
func NewItemCopilotBillingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCopilotBillingRequestBuilder
NewItemCopilotBillingRequestBuilderInternal instantiates a new BillingRequestBuilder and sets the default values.
func (*ItemCopilotBillingRequestBuilder) Get ¶
func (m *ItemCopilotBillingRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCopilotBillingRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CopilotOrganizationDetailsable, error)
Get **Note**: This endpoint is in beta and is subject to change.Gets information about an organization's Copilot Business subscription, including seat breakdownand code matching policies. To configure these settings, go to your organization's settings on GitHub.com.For more information, see "[Managing policies for Copilot Business in your organization](https://docs.github.com/copilot/managing-copilot-business/managing-policies-for-copilot-business-in-your-organization)".Only organization owners can configure and view details about the organization's Copilot Business subscription. You mustauthenticate using an access token with the `manage_billing:copilot` scope to use this endpoint. API method documentation
func (*ItemCopilotBillingRequestBuilder) Seats ¶
func (m *ItemCopilotBillingRequestBuilder) Seats() *ItemCopilotBillingSeatsRequestBuilder
Seats the seats property
func (*ItemCopilotBillingRequestBuilder) Selected_teams ¶
func (m *ItemCopilotBillingRequestBuilder) Selected_teams() *ItemCopilotBillingSelected_teamsRequestBuilder
Selected_teams the selected_teams property
func (*ItemCopilotBillingRequestBuilder) Selected_users ¶
func (m *ItemCopilotBillingRequestBuilder) Selected_users() *ItemCopilotBillingSelected_usersRequestBuilder
Selected_users the selected_users property
func (*ItemCopilotBillingRequestBuilder) ToGetRequestInformation ¶
func (m *ItemCopilotBillingRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCopilotBillingRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation **Note**: This endpoint is in beta and is subject to change.Gets information about an organization's Copilot Business subscription, including seat breakdownand code matching policies. To configure these settings, go to your organization's settings on GitHub.com.For more information, see "[Managing policies for Copilot Business in your organization](https://docs.github.com/copilot/managing-copilot-business/managing-policies-for-copilot-business-in-your-organization)".Only organization owners can configure and view details about the organization's Copilot Business subscription. You mustauthenticate using an access token with the `manage_billing:copilot` scope to use this endpoint.
func (*ItemCopilotBillingRequestBuilder) WithUrl ¶
func (m *ItemCopilotBillingRequestBuilder) WithUrl(rawUrl string) *ItemCopilotBillingRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemCopilotBillingRequestBuilderGetRequestConfiguration ¶
type ItemCopilotBillingRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemCopilotBillingRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemCopilotBillingSeatsGetResponse ¶
type ItemCopilotBillingSeatsGetResponse struct {
// contains filtered or unexported fields
}
ItemCopilotBillingSeatsGetResponse
func NewItemCopilotBillingSeatsGetResponse ¶
func NewItemCopilotBillingSeatsGetResponse() *ItemCopilotBillingSeatsGetResponse
NewItemCopilotBillingSeatsGetResponse instantiates a new ItemCopilotBillingSeatsGetResponse and sets the default values.
func (*ItemCopilotBillingSeatsGetResponse) GetAdditionalData ¶
func (m *ItemCopilotBillingSeatsGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCopilotBillingSeatsGetResponse) GetFieldDeserializers ¶
func (m *ItemCopilotBillingSeatsGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemCopilotBillingSeatsGetResponse) GetSeats ¶
func (m *ItemCopilotBillingSeatsGetResponse) GetSeats() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CopilotSeatDetailsable
GetSeats gets the seats property value. The seats property
func (*ItemCopilotBillingSeatsGetResponse) GetTotalSeats ¶
func (m *ItemCopilotBillingSeatsGetResponse) GetTotalSeats() *int32
GetTotalSeats gets the total_seats property value. Total number of Copilot For Business seats for the organization currently being billed.
func (*ItemCopilotBillingSeatsGetResponse) Serialize ¶
func (m *ItemCopilotBillingSeatsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemCopilotBillingSeatsGetResponse) SetAdditionalData ¶
func (m *ItemCopilotBillingSeatsGetResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCopilotBillingSeatsGetResponse) SetSeats ¶
func (m *ItemCopilotBillingSeatsGetResponse) SetSeats(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CopilotSeatDetailsable)
SetSeats sets the seats property value. The seats property
func (*ItemCopilotBillingSeatsGetResponse) SetTotalSeats ¶
func (m *ItemCopilotBillingSeatsGetResponse) SetTotalSeats(value *int32)
SetTotalSeats sets the total_seats property value. Total number of Copilot For Business seats for the organization currently being billed.
type ItemCopilotBillingSeatsGetResponseable ¶
type ItemCopilotBillingSeatsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSeats() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CopilotSeatDetailsable GetTotalSeats() *int32 SetSeats(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CopilotSeatDetailsable) SetTotalSeats(value *int32) }
ItemCopilotBillingSeatsGetResponseable
type ItemCopilotBillingSeatsRequestBuilder ¶
type ItemCopilotBillingSeatsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemCopilotBillingSeatsRequestBuilder builds and executes requests for operations under \orgs\{org}\copilot\billing\seats
func NewItemCopilotBillingSeatsRequestBuilder ¶
func NewItemCopilotBillingSeatsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCopilotBillingSeatsRequestBuilder
NewItemCopilotBillingSeatsRequestBuilder instantiates a new SeatsRequestBuilder and sets the default values.
func NewItemCopilotBillingSeatsRequestBuilderInternal ¶
func NewItemCopilotBillingSeatsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCopilotBillingSeatsRequestBuilder
NewItemCopilotBillingSeatsRequestBuilderInternal instantiates a new SeatsRequestBuilder and sets the default values.
func (*ItemCopilotBillingSeatsRequestBuilder) Get ¶
func (m *ItemCopilotBillingSeatsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemCopilotBillingSeatsRequestBuilderGetRequestConfiguration) (ItemCopilotBillingSeatsResponseable, error)
Get **Note**: This endpoint is in beta and is subject to change.Lists all Copilot Business seat assignments for an organization that are currently being billed (either active or pending cancellation at the start of the next billing cycle).Only organization owners can configure and view details about the organization's Copilot Business subscription. You mustauthenticate using an access token with the `manage_billing:copilot` scope to use this endpoint. Deprecated: This method is obsolete. Use GetAsSeatsGetResponse instead. API method documentation
func (*ItemCopilotBillingSeatsRequestBuilder) GetAsSeatsGetResponse ¶
func (m *ItemCopilotBillingSeatsRequestBuilder) GetAsSeatsGetResponse(ctx context.Context, requestConfiguration *ItemCopilotBillingSeatsRequestBuilderGetRequestConfiguration) (ItemCopilotBillingSeatsGetResponseable, error)
GetAsSeatsGetResponse **Note**: This endpoint is in beta and is subject to change.Lists all Copilot Business seat assignments for an organization that are currently being billed (either active or pending cancellation at the start of the next billing cycle).Only organization owners can configure and view details about the organization's Copilot Business subscription. You mustauthenticate using an access token with the `manage_billing:copilot` scope to use this endpoint. API method documentation
func (*ItemCopilotBillingSeatsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemCopilotBillingSeatsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemCopilotBillingSeatsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation **Note**: This endpoint is in beta and is subject to change.Lists all Copilot Business seat assignments for an organization that are currently being billed (either active or pending cancellation at the start of the next billing cycle).Only organization owners can configure and view details about the organization's Copilot Business subscription. You mustauthenticate using an access token with the `manage_billing:copilot` scope to use this endpoint.
func (*ItemCopilotBillingSeatsRequestBuilder) WithUrl ¶
func (m *ItemCopilotBillingSeatsRequestBuilder) WithUrl(rawUrl string) *ItemCopilotBillingSeatsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemCopilotBillingSeatsRequestBuilderGetQueryParameters ¶
type ItemCopilotBillingSeatsRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemCopilotBillingSeatsRequestBuilderGetQueryParameters **Note**: This endpoint is in beta and is subject to change.Lists all Copilot Business seat assignments for an organization that are currently being billed (either active or pending cancellation at the start of the next billing cycle).Only organization owners can configure and view details about the organization's Copilot Business subscription. You mustauthenticate using an access token with the `manage_billing:copilot` scope to use this endpoint.
type ItemCopilotBillingSeatsRequestBuilderGetRequestConfiguration ¶
type ItemCopilotBillingSeatsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemCopilotBillingSeatsRequestBuilderGetQueryParameters }
ItemCopilotBillingSeatsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemCopilotBillingSeatsResponse ¶
type ItemCopilotBillingSeatsResponse struct {
ItemCopilotBillingSeatsGetResponse
}
ItemCopilotBillingSeatsResponse Deprecated: This class is obsolete. Use seatsGetResponse instead.
func NewItemCopilotBillingSeatsResponse ¶
func NewItemCopilotBillingSeatsResponse() *ItemCopilotBillingSeatsResponse
NewItemCopilotBillingSeatsResponse instantiates a new ItemCopilotBillingSeatsResponse and sets the default values.
type ItemCopilotBillingSeatsResponseable ¶
type ItemCopilotBillingSeatsResponseable interface { ItemCopilotBillingSeatsGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemCopilotBillingSeatsResponseable Deprecated: This class is obsolete. Use seatsGetResponse instead.
type ItemCopilotBillingSelected_teamsDeleteRequestBody ¶
type ItemCopilotBillingSelected_teamsDeleteRequestBody struct {
// contains filtered or unexported fields
}
ItemCopilotBillingSelected_teamsDeleteRequestBody
func NewItemCopilotBillingSelected_teamsDeleteRequestBody ¶
func NewItemCopilotBillingSelected_teamsDeleteRequestBody() *ItemCopilotBillingSelected_teamsDeleteRequestBody
NewItemCopilotBillingSelected_teamsDeleteRequestBody instantiates a new ItemCopilotBillingSelected_teamsDeleteRequestBody and sets the default values.
func (*ItemCopilotBillingSelected_teamsDeleteRequestBody) GetAdditionalData ¶
func (m *ItemCopilotBillingSelected_teamsDeleteRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCopilotBillingSelected_teamsDeleteRequestBody) GetFieldDeserializers ¶
func (m *ItemCopilotBillingSelected_teamsDeleteRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemCopilotBillingSelected_teamsDeleteRequestBody) GetSelectedTeams ¶
func (m *ItemCopilotBillingSelected_teamsDeleteRequestBody) GetSelectedTeams() []string
GetSelectedTeams gets the selected_teams property value. The names of teams from which to revoke access to GitHub Copilot.
func (*ItemCopilotBillingSelected_teamsDeleteRequestBody) Serialize ¶
func (m *ItemCopilotBillingSelected_teamsDeleteRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemCopilotBillingSelected_teamsDeleteRequestBody) SetAdditionalData ¶
func (m *ItemCopilotBillingSelected_teamsDeleteRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCopilotBillingSelected_teamsDeleteRequestBody) SetSelectedTeams ¶
func (m *ItemCopilotBillingSelected_teamsDeleteRequestBody) SetSelectedTeams(value []string)
SetSelectedTeams sets the selected_teams property value. The names of teams from which to revoke access to GitHub Copilot.
type ItemCopilotBillingSelected_teamsDeleteRequestBodyable ¶
type ItemCopilotBillingSelected_teamsDeleteRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSelectedTeams() []string SetSelectedTeams(value []string) }
ItemCopilotBillingSelected_teamsDeleteRequestBodyable
type ItemCopilotBillingSelected_teamsDeleteResponse ¶
type ItemCopilotBillingSelected_teamsDeleteResponse struct {
// contains filtered or unexported fields
}
ItemCopilotBillingSelected_teamsDeleteResponse the total number of seat assignments cancelled.
func NewItemCopilotBillingSelected_teamsDeleteResponse ¶
func NewItemCopilotBillingSelected_teamsDeleteResponse() *ItemCopilotBillingSelected_teamsDeleteResponse
NewItemCopilotBillingSelected_teamsDeleteResponse instantiates a new ItemCopilotBillingSelected_teamsDeleteResponse and sets the default values.
func (*ItemCopilotBillingSelected_teamsDeleteResponse) GetAdditionalData ¶
func (m *ItemCopilotBillingSelected_teamsDeleteResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCopilotBillingSelected_teamsDeleteResponse) GetFieldDeserializers ¶
func (m *ItemCopilotBillingSelected_teamsDeleteResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemCopilotBillingSelected_teamsDeleteResponse) GetSeatsCancelled ¶
func (m *ItemCopilotBillingSelected_teamsDeleteResponse) GetSeatsCancelled() *int32
GetSeatsCancelled gets the seats_cancelled property value. The seats_cancelled property
func (*ItemCopilotBillingSelected_teamsDeleteResponse) Serialize ¶
func (m *ItemCopilotBillingSelected_teamsDeleteResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemCopilotBillingSelected_teamsDeleteResponse) SetAdditionalData ¶
func (m *ItemCopilotBillingSelected_teamsDeleteResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCopilotBillingSelected_teamsDeleteResponse) SetSeatsCancelled ¶
func (m *ItemCopilotBillingSelected_teamsDeleteResponse) SetSeatsCancelled(value *int32)
SetSeatsCancelled sets the seats_cancelled property value. The seats_cancelled property
type ItemCopilotBillingSelected_teamsDeleteResponseable ¶
type ItemCopilotBillingSelected_teamsDeleteResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSeatsCancelled() *int32 SetSeatsCancelled(value *int32) }
ItemCopilotBillingSelected_teamsDeleteResponseable
type ItemCopilotBillingSelected_teamsPostRequestBody ¶
type ItemCopilotBillingSelected_teamsPostRequestBody struct {
// contains filtered or unexported fields
}
ItemCopilotBillingSelected_teamsPostRequestBody
func NewItemCopilotBillingSelected_teamsPostRequestBody ¶
func NewItemCopilotBillingSelected_teamsPostRequestBody() *ItemCopilotBillingSelected_teamsPostRequestBody
NewItemCopilotBillingSelected_teamsPostRequestBody instantiates a new ItemCopilotBillingSelected_teamsPostRequestBody and sets the default values.
func (*ItemCopilotBillingSelected_teamsPostRequestBody) GetAdditionalData ¶
func (m *ItemCopilotBillingSelected_teamsPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCopilotBillingSelected_teamsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemCopilotBillingSelected_teamsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemCopilotBillingSelected_teamsPostRequestBody) GetSelectedTeams ¶
func (m *ItemCopilotBillingSelected_teamsPostRequestBody) GetSelectedTeams() []string
GetSelectedTeams gets the selected_teams property value. List of team names within the organization to which to grant access to GitHub Copilot.
func (*ItemCopilotBillingSelected_teamsPostRequestBody) Serialize ¶
func (m *ItemCopilotBillingSelected_teamsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemCopilotBillingSelected_teamsPostRequestBody) SetAdditionalData ¶
func (m *ItemCopilotBillingSelected_teamsPostRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCopilotBillingSelected_teamsPostRequestBody) SetSelectedTeams ¶
func (m *ItemCopilotBillingSelected_teamsPostRequestBody) SetSelectedTeams(value []string)
SetSelectedTeams sets the selected_teams property value. List of team names within the organization to which to grant access to GitHub Copilot.
type ItemCopilotBillingSelected_teamsPostRequestBodyable ¶
type ItemCopilotBillingSelected_teamsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSelectedTeams() []string SetSelectedTeams(value []string) }
ItemCopilotBillingSelected_teamsPostRequestBodyable
type ItemCopilotBillingSelected_teamsPostResponse ¶
type ItemCopilotBillingSelected_teamsPostResponse struct {
// contains filtered or unexported fields
}
ItemCopilotBillingSelected_teamsPostResponse the total number of seat assignments created.
func NewItemCopilotBillingSelected_teamsPostResponse ¶
func NewItemCopilotBillingSelected_teamsPostResponse() *ItemCopilotBillingSelected_teamsPostResponse
NewItemCopilotBillingSelected_teamsPostResponse instantiates a new ItemCopilotBillingSelected_teamsPostResponse and sets the default values.
func (*ItemCopilotBillingSelected_teamsPostResponse) GetAdditionalData ¶
func (m *ItemCopilotBillingSelected_teamsPostResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCopilotBillingSelected_teamsPostResponse) GetFieldDeserializers ¶
func (m *ItemCopilotBillingSelected_teamsPostResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemCopilotBillingSelected_teamsPostResponse) GetSeatsCreated ¶
func (m *ItemCopilotBillingSelected_teamsPostResponse) GetSeatsCreated() *int32
GetSeatsCreated gets the seats_created property value. The seats_created property
func (*ItemCopilotBillingSelected_teamsPostResponse) Serialize ¶
func (m *ItemCopilotBillingSelected_teamsPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemCopilotBillingSelected_teamsPostResponse) SetAdditionalData ¶
func (m *ItemCopilotBillingSelected_teamsPostResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCopilotBillingSelected_teamsPostResponse) SetSeatsCreated ¶
func (m *ItemCopilotBillingSelected_teamsPostResponse) SetSeatsCreated(value *int32)
SetSeatsCreated sets the seats_created property value. The seats_created property
type ItemCopilotBillingSelected_teamsPostResponseable ¶
type ItemCopilotBillingSelected_teamsPostResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSeatsCreated() *int32 SetSeatsCreated(value *int32) }
ItemCopilotBillingSelected_teamsPostResponseable
type ItemCopilotBillingSelected_teamsRequestBuilder ¶
type ItemCopilotBillingSelected_teamsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemCopilotBillingSelected_teamsRequestBuilder builds and executes requests for operations under \orgs\{org}\copilot\billing\selected_teams
func NewItemCopilotBillingSelected_teamsRequestBuilder ¶
func NewItemCopilotBillingSelected_teamsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCopilotBillingSelected_teamsRequestBuilder
NewItemCopilotBillingSelected_teamsRequestBuilder instantiates a new Selected_teamsRequestBuilder and sets the default values.
func NewItemCopilotBillingSelected_teamsRequestBuilderInternal ¶
func NewItemCopilotBillingSelected_teamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCopilotBillingSelected_teamsRequestBuilder
NewItemCopilotBillingSelected_teamsRequestBuilderInternal instantiates a new Selected_teamsRequestBuilder and sets the default values.
func (*ItemCopilotBillingSelected_teamsRequestBuilder) Delete ¶
func (m *ItemCopilotBillingSelected_teamsRequestBuilder) Delete(ctx context.Context, body ItemCopilotBillingSelected_teamsDeleteRequestBodyable, requestConfiguration *ItemCopilotBillingSelected_teamsRequestBuilderDeleteRequestConfiguration) (ItemCopilotBillingSelected_teamsResponseable, error)
Delete **Note**: This endpoint is in beta and is subject to change.Cancels the Copilot Business seat assignment for all members of each team specified.This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.For more information about Copilot Business pricing, see "[Pricing for GitHub Copilot Business](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#pricing-for-github-copilot-business)".For more information about disabling access to Copilot Business, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot-business/managing-access-for-copilot-business-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".Only organization owners can configure GitHub Copilot in their organization. You mustauthenticate using an access token with the `manage_billing:copilot` scope to use this endpoint. Deprecated: This method is obsolete. Use DeleteAsSelected_teamsDeleteResponse instead. API method documentation
func (*ItemCopilotBillingSelected_teamsRequestBuilder) DeleteAsSelected_teamsDeleteResponse ¶
func (m *ItemCopilotBillingSelected_teamsRequestBuilder) DeleteAsSelected_teamsDeleteResponse(ctx context.Context, body ItemCopilotBillingSelected_teamsDeleteRequestBodyable, requestConfiguration *ItemCopilotBillingSelected_teamsRequestBuilderDeleteRequestConfiguration) (ItemCopilotBillingSelected_teamsDeleteResponseable, error)
DeleteAsSelected_teamsDeleteResponse **Note**: This endpoint is in beta and is subject to change.Cancels the Copilot Business seat assignment for all members of each team specified.This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.For more information about Copilot Business pricing, see "[Pricing for GitHub Copilot Business](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#pricing-for-github-copilot-business)".For more information about disabling access to Copilot Business, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot-business/managing-access-for-copilot-business-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".Only organization owners can configure GitHub Copilot in their organization. You mustauthenticate using an access token with the `manage_billing:copilot` scope to use this endpoint. API method documentation
func (*ItemCopilotBillingSelected_teamsRequestBuilder) Post ¶
func (m *ItemCopilotBillingSelected_teamsRequestBuilder) Post(ctx context.Context, body ItemCopilotBillingSelected_teamsPostRequestBodyable, requestConfiguration *ItemCopilotBillingSelected_teamsRequestBuilderPostRequestConfiguration) (ItemCopilotBillingSelected_teamsResponseable, error)
Post **Note**: This endpoint is in beta and is subject to change. Purchases a GitHub Copilot Business seat for all users within each specified team. The organization will be billed accordingly. For more information about Copilot Business pricing, see "[Pricing for GitHub Copilot Business](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#pricing-for-github-copilot-business)". Only organization owners can configure GitHub Copilot in their organization. You must authenticate using an access token with the `manage_billing:copilot` scope to use this endpoint. In order for an admin to use this endpoint, the organization must have a Copilot Business subscription and a configured suggestion matching policy. For more information about setting up a Copilot Business subscription, see "[Setting up a Copilot Business subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise#setting-up-a-copilot-business-subscription-for-your-organization)". For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot-business/managing-policies-for-copilot-business-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)". Deprecated: This method is obsolete. Use PostAsSelected_teamsPostResponse instead. API method documentation
func (*ItemCopilotBillingSelected_teamsRequestBuilder) PostAsSelected_teamsPostResponse ¶
func (m *ItemCopilotBillingSelected_teamsRequestBuilder) PostAsSelected_teamsPostResponse(ctx context.Context, body ItemCopilotBillingSelected_teamsPostRequestBodyable, requestConfiguration *ItemCopilotBillingSelected_teamsRequestBuilderPostRequestConfiguration) (ItemCopilotBillingSelected_teamsPostResponseable, error)
PostAsSelected_teamsPostResponse **Note**: This endpoint is in beta and is subject to change. Purchases a GitHub Copilot Business seat for all users within each specified team. The organization will be billed accordingly. For more information about Copilot Business pricing, see "[Pricing for GitHub Copilot Business](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#pricing-for-github-copilot-business)". Only organization owners can configure GitHub Copilot in their organization. You must authenticate using an access token with the `manage_billing:copilot` scope to use this endpoint. In order for an admin to use this endpoint, the organization must have a Copilot Business subscription and a configured suggestion matching policy. For more information about setting up a Copilot Business subscription, see "[Setting up a Copilot Business subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise#setting-up-a-copilot-business-subscription-for-your-organization)". For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot-business/managing-policies-for-copilot-business-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)". API method documentation
func (*ItemCopilotBillingSelected_teamsRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemCopilotBillingSelected_teamsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, body ItemCopilotBillingSelected_teamsDeleteRequestBodyable, requestConfiguration *ItemCopilotBillingSelected_teamsRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation **Note**: This endpoint is in beta and is subject to change.Cancels the Copilot Business seat assignment for all members of each team specified.This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.For more information about Copilot Business pricing, see "[Pricing for GitHub Copilot Business](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#pricing-for-github-copilot-business)".For more information about disabling access to Copilot Business, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot-business/managing-access-for-copilot-business-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".Only organization owners can configure GitHub Copilot in their organization. You mustauthenticate using an access token with the `manage_billing:copilot` scope to use this endpoint.
func (*ItemCopilotBillingSelected_teamsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemCopilotBillingSelected_teamsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCopilotBillingSelected_teamsPostRequestBodyable, requestConfiguration *ItemCopilotBillingSelected_teamsRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation **Note**: This endpoint is in beta and is subject to change. Purchases a GitHub Copilot Business seat for all users within each specified team. The organization will be billed accordingly. For more information about Copilot Business pricing, see "[Pricing for GitHub Copilot Business](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#pricing-for-github-copilot-business)". Only organization owners can configure GitHub Copilot in their organization. You must authenticate using an access token with the `manage_billing:copilot` scope to use this endpoint. In order for an admin to use this endpoint, the organization must have a Copilot Business subscription and a configured suggestion matching policy. For more information about setting up a Copilot Business subscription, see "[Setting up a Copilot Business subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise#setting-up-a-copilot-business-subscription-for-your-organization)". For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot-business/managing-policies-for-copilot-business-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
func (*ItemCopilotBillingSelected_teamsRequestBuilder) WithUrl ¶
func (m *ItemCopilotBillingSelected_teamsRequestBuilder) WithUrl(rawUrl string) *ItemCopilotBillingSelected_teamsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemCopilotBillingSelected_teamsRequestBuilderDeleteRequestConfiguration ¶
type ItemCopilotBillingSelected_teamsRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemCopilotBillingSelected_teamsRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemCopilotBillingSelected_teamsRequestBuilderPostRequestConfiguration ¶
type ItemCopilotBillingSelected_teamsRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemCopilotBillingSelected_teamsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemCopilotBillingSelected_teamsResponse ¶
type ItemCopilotBillingSelected_teamsResponse struct {
ItemCopilotBillingSelected_teamsPostResponse
}
ItemCopilotBillingSelected_teamsResponse the total number of seat assignments created. Deprecated: This class is obsolete. Use selected_teamsPostResponse instead.
func NewItemCopilotBillingSelected_teamsResponse ¶
func NewItemCopilotBillingSelected_teamsResponse() *ItemCopilotBillingSelected_teamsResponse
NewItemCopilotBillingSelected_teamsResponse instantiates a new ItemCopilotBillingSelected_teamsResponse and sets the default values.
type ItemCopilotBillingSelected_teamsResponseable ¶
type ItemCopilotBillingSelected_teamsResponseable interface { ItemCopilotBillingSelected_teamsPostResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemCopilotBillingSelected_teamsResponseable Deprecated: This class is obsolete. Use selected_teamsPostResponse instead.
type ItemCopilotBillingSelected_usersDeleteRequestBody ¶
type ItemCopilotBillingSelected_usersDeleteRequestBody struct {
// contains filtered or unexported fields
}
ItemCopilotBillingSelected_usersDeleteRequestBody
func NewItemCopilotBillingSelected_usersDeleteRequestBody ¶
func NewItemCopilotBillingSelected_usersDeleteRequestBody() *ItemCopilotBillingSelected_usersDeleteRequestBody
NewItemCopilotBillingSelected_usersDeleteRequestBody instantiates a new ItemCopilotBillingSelected_usersDeleteRequestBody and sets the default values.
func (*ItemCopilotBillingSelected_usersDeleteRequestBody) GetAdditionalData ¶
func (m *ItemCopilotBillingSelected_usersDeleteRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCopilotBillingSelected_usersDeleteRequestBody) GetFieldDeserializers ¶
func (m *ItemCopilotBillingSelected_usersDeleteRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemCopilotBillingSelected_usersDeleteRequestBody) GetSelectedUsernames ¶
func (m *ItemCopilotBillingSelected_usersDeleteRequestBody) GetSelectedUsernames() []string
GetSelectedUsernames gets the selected_usernames property value. The usernames of the organization members for which to revoke access to GitHub Copilot.
func (*ItemCopilotBillingSelected_usersDeleteRequestBody) Serialize ¶
func (m *ItemCopilotBillingSelected_usersDeleteRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemCopilotBillingSelected_usersDeleteRequestBody) SetAdditionalData ¶
func (m *ItemCopilotBillingSelected_usersDeleteRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCopilotBillingSelected_usersDeleteRequestBody) SetSelectedUsernames ¶
func (m *ItemCopilotBillingSelected_usersDeleteRequestBody) SetSelectedUsernames(value []string)
SetSelectedUsernames sets the selected_usernames property value. The usernames of the organization members for which to revoke access to GitHub Copilot.
type ItemCopilotBillingSelected_usersDeleteRequestBodyable ¶
type ItemCopilotBillingSelected_usersDeleteRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSelectedUsernames() []string SetSelectedUsernames(value []string) }
ItemCopilotBillingSelected_usersDeleteRequestBodyable
type ItemCopilotBillingSelected_usersDeleteResponse ¶
type ItemCopilotBillingSelected_usersDeleteResponse struct {
// contains filtered or unexported fields
}
ItemCopilotBillingSelected_usersDeleteResponse the total number of seat assignments cancelled.
func NewItemCopilotBillingSelected_usersDeleteResponse ¶
func NewItemCopilotBillingSelected_usersDeleteResponse() *ItemCopilotBillingSelected_usersDeleteResponse
NewItemCopilotBillingSelected_usersDeleteResponse instantiates a new ItemCopilotBillingSelected_usersDeleteResponse and sets the default values.
func (*ItemCopilotBillingSelected_usersDeleteResponse) GetAdditionalData ¶
func (m *ItemCopilotBillingSelected_usersDeleteResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCopilotBillingSelected_usersDeleteResponse) GetFieldDeserializers ¶
func (m *ItemCopilotBillingSelected_usersDeleteResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemCopilotBillingSelected_usersDeleteResponse) GetSeatsCancelled ¶
func (m *ItemCopilotBillingSelected_usersDeleteResponse) GetSeatsCancelled() *int32
GetSeatsCancelled gets the seats_cancelled property value. The seats_cancelled property
func (*ItemCopilotBillingSelected_usersDeleteResponse) Serialize ¶
func (m *ItemCopilotBillingSelected_usersDeleteResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemCopilotBillingSelected_usersDeleteResponse) SetAdditionalData ¶
func (m *ItemCopilotBillingSelected_usersDeleteResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCopilotBillingSelected_usersDeleteResponse) SetSeatsCancelled ¶
func (m *ItemCopilotBillingSelected_usersDeleteResponse) SetSeatsCancelled(value *int32)
SetSeatsCancelled sets the seats_cancelled property value. The seats_cancelled property
type ItemCopilotBillingSelected_usersDeleteResponseable ¶
type ItemCopilotBillingSelected_usersDeleteResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSeatsCancelled() *int32 SetSeatsCancelled(value *int32) }
ItemCopilotBillingSelected_usersDeleteResponseable
type ItemCopilotBillingSelected_usersPostRequestBody ¶
type ItemCopilotBillingSelected_usersPostRequestBody struct {
// contains filtered or unexported fields
}
ItemCopilotBillingSelected_usersPostRequestBody
func NewItemCopilotBillingSelected_usersPostRequestBody ¶
func NewItemCopilotBillingSelected_usersPostRequestBody() *ItemCopilotBillingSelected_usersPostRequestBody
NewItemCopilotBillingSelected_usersPostRequestBody instantiates a new ItemCopilotBillingSelected_usersPostRequestBody and sets the default values.
func (*ItemCopilotBillingSelected_usersPostRequestBody) GetAdditionalData ¶
func (m *ItemCopilotBillingSelected_usersPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCopilotBillingSelected_usersPostRequestBody) GetFieldDeserializers ¶
func (m *ItemCopilotBillingSelected_usersPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemCopilotBillingSelected_usersPostRequestBody) GetSelectedUsernames ¶
func (m *ItemCopilotBillingSelected_usersPostRequestBody) GetSelectedUsernames() []string
GetSelectedUsernames gets the selected_usernames property value. The usernames of the organization members to be granted access to GitHub Copilot.
func (*ItemCopilotBillingSelected_usersPostRequestBody) Serialize ¶
func (m *ItemCopilotBillingSelected_usersPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemCopilotBillingSelected_usersPostRequestBody) SetAdditionalData ¶
func (m *ItemCopilotBillingSelected_usersPostRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCopilotBillingSelected_usersPostRequestBody) SetSelectedUsernames ¶
func (m *ItemCopilotBillingSelected_usersPostRequestBody) SetSelectedUsernames(value []string)
SetSelectedUsernames sets the selected_usernames property value. The usernames of the organization members to be granted access to GitHub Copilot.
type ItemCopilotBillingSelected_usersPostRequestBodyable ¶
type ItemCopilotBillingSelected_usersPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSelectedUsernames() []string SetSelectedUsernames(value []string) }
ItemCopilotBillingSelected_usersPostRequestBodyable
type ItemCopilotBillingSelected_usersPostResponse ¶
type ItemCopilotBillingSelected_usersPostResponse struct {
// contains filtered or unexported fields
}
ItemCopilotBillingSelected_usersPostResponse the total number of seat assignments created.
func NewItemCopilotBillingSelected_usersPostResponse ¶
func NewItemCopilotBillingSelected_usersPostResponse() *ItemCopilotBillingSelected_usersPostResponse
NewItemCopilotBillingSelected_usersPostResponse instantiates a new ItemCopilotBillingSelected_usersPostResponse and sets the default values.
func (*ItemCopilotBillingSelected_usersPostResponse) GetAdditionalData ¶
func (m *ItemCopilotBillingSelected_usersPostResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCopilotBillingSelected_usersPostResponse) GetFieldDeserializers ¶
func (m *ItemCopilotBillingSelected_usersPostResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemCopilotBillingSelected_usersPostResponse) GetSeatsCreated ¶
func (m *ItemCopilotBillingSelected_usersPostResponse) GetSeatsCreated() *int32
GetSeatsCreated gets the seats_created property value. The seats_created property
func (*ItemCopilotBillingSelected_usersPostResponse) Serialize ¶
func (m *ItemCopilotBillingSelected_usersPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemCopilotBillingSelected_usersPostResponse) SetAdditionalData ¶
func (m *ItemCopilotBillingSelected_usersPostResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemCopilotBillingSelected_usersPostResponse) SetSeatsCreated ¶
func (m *ItemCopilotBillingSelected_usersPostResponse) SetSeatsCreated(value *int32)
SetSeatsCreated sets the seats_created property value. The seats_created property
type ItemCopilotBillingSelected_usersPostResponseable ¶
type ItemCopilotBillingSelected_usersPostResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSeatsCreated() *int32 SetSeatsCreated(value *int32) }
ItemCopilotBillingSelected_usersPostResponseable
type ItemCopilotBillingSelected_usersRequestBuilder ¶
type ItemCopilotBillingSelected_usersRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemCopilotBillingSelected_usersRequestBuilder builds and executes requests for operations under \orgs\{org}\copilot\billing\selected_users
func NewItemCopilotBillingSelected_usersRequestBuilder ¶
func NewItemCopilotBillingSelected_usersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCopilotBillingSelected_usersRequestBuilder
NewItemCopilotBillingSelected_usersRequestBuilder instantiates a new Selected_usersRequestBuilder and sets the default values.
func NewItemCopilotBillingSelected_usersRequestBuilderInternal ¶
func NewItemCopilotBillingSelected_usersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCopilotBillingSelected_usersRequestBuilder
NewItemCopilotBillingSelected_usersRequestBuilderInternal instantiates a new Selected_usersRequestBuilder and sets the default values.
func (*ItemCopilotBillingSelected_usersRequestBuilder) Delete ¶
func (m *ItemCopilotBillingSelected_usersRequestBuilder) Delete(ctx context.Context, body ItemCopilotBillingSelected_usersDeleteRequestBodyable, requestConfiguration *ItemCopilotBillingSelected_usersRequestBuilderDeleteRequestConfiguration) (ItemCopilotBillingSelected_usersResponseable, error)
Delete **Note**: This endpoint is in beta and is subject to change.Cancels the Copilot Business seat assignment for each user specified.This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.For more information about Copilot Business pricing, see "[Pricing for GitHub Copilot Business](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#pricing-for-github-copilot-business)"For more information about disabling access to Copilot Business, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot-business/managing-access-for-copilot-business-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".Only organization owners can configure GitHub Copilot in their organization. You mustauthenticate using an access token with the `manage_billing:copilot` scope to use this endpoint. Deprecated: This method is obsolete. Use DeleteAsSelected_usersDeleteResponse instead. API method documentation
func (*ItemCopilotBillingSelected_usersRequestBuilder) DeleteAsSelected_usersDeleteResponse ¶
func (m *ItemCopilotBillingSelected_usersRequestBuilder) DeleteAsSelected_usersDeleteResponse(ctx context.Context, body ItemCopilotBillingSelected_usersDeleteRequestBodyable, requestConfiguration *ItemCopilotBillingSelected_usersRequestBuilderDeleteRequestConfiguration) (ItemCopilotBillingSelected_usersDeleteResponseable, error)
DeleteAsSelected_usersDeleteResponse **Note**: This endpoint is in beta and is subject to change.Cancels the Copilot Business seat assignment for each user specified.This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.For more information about Copilot Business pricing, see "[Pricing for GitHub Copilot Business](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#pricing-for-github-copilot-business)"For more information about disabling access to Copilot Business, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot-business/managing-access-for-copilot-business-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".Only organization owners can configure GitHub Copilot in their organization. You mustauthenticate using an access token with the `manage_billing:copilot` scope to use this endpoint. API method documentation
func (*ItemCopilotBillingSelected_usersRequestBuilder) Post ¶
func (m *ItemCopilotBillingSelected_usersRequestBuilder) Post(ctx context.Context, body ItemCopilotBillingSelected_usersPostRequestBodyable, requestConfiguration *ItemCopilotBillingSelected_usersRequestBuilderPostRequestConfiguration) (ItemCopilotBillingSelected_usersResponseable, error)
Post **Note**: This endpoint is in beta and is subject to change.Purchases a GitHub Copilot Business seat for each user specified.The organization will be billed accordingly. For more information about Copilot Business pricing, see "[Pricing for GitHub Copilot Business](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#pricing-for-github-copilot-business)".Only organization owners can configure GitHub Copilot in their organization. You mustauthenticate using an access token with the `manage_billing:copilot` scope to use this endpoint.In order for an admin to use this endpoint, the organization must have a Copilot Business subscription and a configured suggestion matching policy.For more information about setting up a Copilot Business subscription, see "[Setting up a Copilot Business subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise#setting-up-a-copilot-business-subscription-for-your-organization)".For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot-business/managing-policies-for-copilot-business-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)". Deprecated: This method is obsolete. Use PostAsSelected_usersPostResponse instead. API method documentation
func (*ItemCopilotBillingSelected_usersRequestBuilder) PostAsSelected_usersPostResponse ¶
func (m *ItemCopilotBillingSelected_usersRequestBuilder) PostAsSelected_usersPostResponse(ctx context.Context, body ItemCopilotBillingSelected_usersPostRequestBodyable, requestConfiguration *ItemCopilotBillingSelected_usersRequestBuilderPostRequestConfiguration) (ItemCopilotBillingSelected_usersPostResponseable, error)
PostAsSelected_usersPostResponse **Note**: This endpoint is in beta and is subject to change.Purchases a GitHub Copilot Business seat for each user specified.The organization will be billed accordingly. For more information about Copilot Business pricing, see "[Pricing for GitHub Copilot Business](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#pricing-for-github-copilot-business)".Only organization owners can configure GitHub Copilot in their organization. You mustauthenticate using an access token with the `manage_billing:copilot` scope to use this endpoint.In order for an admin to use this endpoint, the organization must have a Copilot Business subscription and a configured suggestion matching policy.For more information about setting up a Copilot Business subscription, see "[Setting up a Copilot Business subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise#setting-up-a-copilot-business-subscription-for-your-organization)".For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot-business/managing-policies-for-copilot-business-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)". API method documentation
func (*ItemCopilotBillingSelected_usersRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemCopilotBillingSelected_usersRequestBuilder) ToDeleteRequestInformation(ctx context.Context, body ItemCopilotBillingSelected_usersDeleteRequestBodyable, requestConfiguration *ItemCopilotBillingSelected_usersRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation **Note**: This endpoint is in beta and is subject to change.Cancels the Copilot Business seat assignment for each user specified.This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle, and the organization will not be billed further for those users.For more information about Copilot Business pricing, see "[Pricing for GitHub Copilot Business](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#pricing-for-github-copilot-business)"For more information about disabling access to Copilot Business, see "[Revoking access to GitHub Copilot for specific users in your organization](https://docs.github.com/copilot/managing-copilot-business/managing-access-for-copilot-business-in-your-organization#revoking-access-to-github-copilot-for-specific-users-in-your-organization)".Only organization owners can configure GitHub Copilot in their organization. You mustauthenticate using an access token with the `manage_billing:copilot` scope to use this endpoint.
func (*ItemCopilotBillingSelected_usersRequestBuilder) ToPostRequestInformation ¶
func (m *ItemCopilotBillingSelected_usersRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemCopilotBillingSelected_usersPostRequestBodyable, requestConfiguration *ItemCopilotBillingSelected_usersRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation **Note**: This endpoint is in beta and is subject to change.Purchases a GitHub Copilot Business seat for each user specified.The organization will be billed accordingly. For more information about Copilot Business pricing, see "[Pricing for GitHub Copilot Business](https://docs.github.com/billing/managing-billing-for-github-copilot/about-billing-for-github-copilot#pricing-for-github-copilot-business)".Only organization owners can configure GitHub Copilot in their organization. You mustauthenticate using an access token with the `manage_billing:copilot` scope to use this endpoint.In order for an admin to use this endpoint, the organization must have a Copilot Business subscription and a configured suggestion matching policy.For more information about setting up a Copilot Business subscription, see "[Setting up a Copilot Business subscription for your organization](https://docs.github.com/billing/managing-billing-for-github-copilot/managing-your-github-copilot-subscription-for-your-organization-or-enterprise#setting-up-a-copilot-business-subscription-for-your-organization)".For more information about setting a suggestion matching policy, see "[Configuring suggestion matching policies for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot-business/managing-policies-for-copilot-business-in-your-organization#configuring-suggestion-matching-policies-for-github-copilot-in-your-organization)".
func (*ItemCopilotBillingSelected_usersRequestBuilder) WithUrl ¶
func (m *ItemCopilotBillingSelected_usersRequestBuilder) WithUrl(rawUrl string) *ItemCopilotBillingSelected_usersRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemCopilotBillingSelected_usersRequestBuilderDeleteRequestConfiguration ¶
type ItemCopilotBillingSelected_usersRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemCopilotBillingSelected_usersRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemCopilotBillingSelected_usersRequestBuilderPostRequestConfiguration ¶
type ItemCopilotBillingSelected_usersRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemCopilotBillingSelected_usersRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemCopilotBillingSelected_usersResponse ¶
type ItemCopilotBillingSelected_usersResponse struct {
ItemCopilotBillingSelected_usersPostResponse
}
ItemCopilotBillingSelected_usersResponse the total number of seat assignments created. Deprecated: This class is obsolete. Use selected_usersPostResponse instead.
func NewItemCopilotBillingSelected_usersResponse ¶
func NewItemCopilotBillingSelected_usersResponse() *ItemCopilotBillingSelected_usersResponse
NewItemCopilotBillingSelected_usersResponse instantiates a new ItemCopilotBillingSelected_usersResponse and sets the default values.
type ItemCopilotBillingSelected_usersResponseable ¶
type ItemCopilotBillingSelected_usersResponseable interface { ItemCopilotBillingSelected_usersPostResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemCopilotBillingSelected_usersResponseable Deprecated: This class is obsolete. Use selected_usersPostResponse instead.
type ItemCopilotRequestBuilder ¶
type ItemCopilotRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemCopilotRequestBuilder builds and executes requests for operations under \orgs\{org}\copilot
func NewItemCopilotRequestBuilder ¶
func NewItemCopilotRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCopilotRequestBuilder
NewItemCopilotRequestBuilder instantiates a new CopilotRequestBuilder and sets the default values.
func NewItemCopilotRequestBuilderInternal ¶
func NewItemCopilotRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCopilotRequestBuilder
NewItemCopilotRequestBuilderInternal instantiates a new CopilotRequestBuilder and sets the default values.
func (*ItemCopilotRequestBuilder) Billing ¶
func (m *ItemCopilotRequestBuilder) Billing() *ItemCopilotBillingRequestBuilder
Billing the billing property
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 AlertsRequestBuilder and sets the default values.
func NewItemDependabotAlertsRequestBuilderInternal ¶
func NewItemDependabotAlertsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotAlertsRequestBuilder
NewItemDependabotAlertsRequestBuilderInternal instantiates a new AlertsRequestBuilder and sets the default values.
func (*ItemDependabotAlertsRequestBuilder) Get ¶
func (m *ItemDependabotAlertsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDependabotAlertsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.DependabotAlertWithRepositoryable, error)
Get lists Dependabot alerts for an organization.To use this endpoint, you must be an owner or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.For public repositories, you may instead use the `public_repo` scope.GitHub Apps must have **Dependabot alerts** read permission to use this endpoint. API method documentation
func (*ItemDependabotAlertsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemDependabotAlertsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDependabotAlertsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists Dependabot alerts for an organization.To use this endpoint, you must be an owner or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.For public repositories, you may instead use the `public_repo` scope.GitHub Apps must have **Dependabot alerts** read permission to use this endpoint.
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.
type ItemDependabotAlertsRequestBuilderGetQueryParameters ¶
type ItemDependabotAlertsRequestBuilderGetQueryParameters struct { // A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. After *string `uriparametername:"after"` // A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. Before *string `uriparametername:"before"` // The direction to sort the results by. // Deprecated: This property is deprecated, use directionAsGetDirectionQueryParameterType instead Direction *string `uriparametername:"direction"` // The direction to sort the results by. DirectionAsGetDirectionQueryParameterType *id5ed4dfa872423f58318ec5274226649a680208c924c0fa4b6e180a4e9175a51.GetDirectionQueryParameterType `uriparametername:"direction"` // A comma-separated list of ecosystems. If specified, only alerts for these ecosystems will be returned.Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` Ecosystem *string `uriparametername:"ecosystem"` // **Deprecated**. The number of results per page (max 100), starting from the first matching result.This parameter must not be used in combination with `last`.Instead, use `per_page` in combination with `after` to fetch the first page of results. First *int32 `uriparametername:"first"` // **Deprecated**. The number of results per page (max 100), starting from the last matching result.This parameter must not be used in combination with `first`.Instead, use `per_page` in combination with `before` to fetch the last page of results. Last *int32 `uriparametername:"last"` // A comma-separated list of package names. If specified, only alerts for these packages will be returned. Package *string `uriparametername:"package"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` // The scope of the vulnerable dependency. If specified, only alerts with this scope will be returned. // Deprecated: This property is deprecated, use scopeAsGetScopeQueryParameterType instead Scope *string `uriparametername:"scope"` // The scope of the vulnerable dependency. If specified, only alerts with this scope will be returned. ScopeAsGetScopeQueryParameterType *id5ed4dfa872423f58318ec5274226649a680208c924c0fa4b6e180a4e9175a51.GetScopeQueryParameterType `uriparametername:"scope"` // A comma-separated list of severities. If specified, only alerts with these severities will be returned.Can be: `low`, `medium`, `high`, `critical` Severity *string `uriparametername:"severity"` // The property by which to sort the results.`created` means when the alert was created.`updated` means when the alert's state last changed. // Deprecated: This property is deprecated, use sortAsGetSortQueryParameterType instead Sort *string `uriparametername:"sort"` // The property by which to sort the results.`created` means when the alert was created.`updated` means when the alert's state last changed. SortAsGetSortQueryParameterType *id5ed4dfa872423f58318ec5274226649a680208c924c0fa4b6e180a4e9175a51.GetSortQueryParameterType `uriparametername:"sort"` // A comma-separated list of states. If specified, only alerts with these states will be returned.Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` State *string `uriparametername:"state"` }
ItemDependabotAlertsRequestBuilderGetQueryParameters lists Dependabot alerts for an organization.To use this endpoint, you must be an owner or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.For public repositories, you may instead use the `public_repo` scope.GitHub Apps must have **Dependabot alerts** read permission to use this endpoint.
type ItemDependabotAlertsRequestBuilderGetRequestConfiguration ¶
type ItemDependabotAlertsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemDependabotAlertsRequestBuilderGetQueryParameters }
ItemDependabotAlertsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 DependabotRequestBuilder and sets the default values.
func NewItemDependabotRequestBuilderInternal ¶
func NewItemDependabotRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotRequestBuilder
NewItemDependabotRequestBuilderInternal instantiates a new DependabotRequestBuilder and sets the default values.
func (*ItemDependabotRequestBuilder) Alerts ¶
func (m *ItemDependabotRequestBuilder) Alerts() *ItemDependabotAlertsRequestBuilder
Alerts the alerts property
func (*ItemDependabotRequestBuilder) Secrets ¶
func (m *ItemDependabotRequestBuilder) Secrets() *ItemDependabotSecretsRequestBuilder
Secrets the secrets property
type ItemDependabotSecretsGetResponse ¶
type ItemDependabotSecretsGetResponse struct {
// contains filtered or unexported fields
}
ItemDependabotSecretsGetResponse
func NewItemDependabotSecretsGetResponse ¶
func NewItemDependabotSecretsGetResponse() *ItemDependabotSecretsGetResponse
NewItemDependabotSecretsGetResponse instantiates a new ItemDependabotSecretsGetResponse and sets the default values.
func (*ItemDependabotSecretsGetResponse) GetAdditionalData ¶
func (m *ItemDependabotSecretsGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemDependabotSecretsGetResponse) GetFieldDeserializers ¶
func (m *ItemDependabotSecretsGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemDependabotSecretsGetResponse) GetSecrets ¶
func (m *ItemDependabotSecretsGetResponse) GetSecrets() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationDependabotSecretable
GetSecrets gets the secrets property value. The secrets property
func (*ItemDependabotSecretsGetResponse) GetTotalCount ¶
func (m *ItemDependabotSecretsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property
func (*ItemDependabotSecretsGetResponse) Serialize ¶
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 []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationDependabotSecretable GetTotalCount() *int32 SetSecrets(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationDependabotSecretable) SetTotalCount(value *int32) }
ItemDependabotSecretsGetResponseable
type ItemDependabotSecretsItemRepositoriesGetResponse ¶
type ItemDependabotSecretsItemRepositoriesGetResponse struct {
// contains filtered or unexported fields
}
ItemDependabotSecretsItemRepositoriesGetResponse
func NewItemDependabotSecretsItemRepositoriesGetResponse ¶
func NewItemDependabotSecretsItemRepositoriesGetResponse() *ItemDependabotSecretsItemRepositoriesGetResponse
NewItemDependabotSecretsItemRepositoriesGetResponse instantiates a new ItemDependabotSecretsItemRepositoriesGetResponse and sets the default values.
func (*ItemDependabotSecretsItemRepositoriesGetResponse) GetAdditionalData ¶
func (m *ItemDependabotSecretsItemRepositoriesGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemDependabotSecretsItemRepositoriesGetResponse) GetFieldDeserializers ¶
func (m *ItemDependabotSecretsItemRepositoriesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemDependabotSecretsItemRepositoriesGetResponse) GetRepositories ¶
func (m *ItemDependabotSecretsItemRepositoriesGetResponse) GetRepositories() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable
GetRepositories gets the repositories property value. The repositories property
func (*ItemDependabotSecretsItemRepositoriesGetResponse) GetTotalCount ¶
func (m *ItemDependabotSecretsItemRepositoriesGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property
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 []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable GetTotalCount() *int32 SetRepositories(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable) SetTotalCount(value *int32) }
ItemDependabotSecretsItemRepositoriesGetResponseable
type ItemDependabotSecretsItemRepositoriesPutRequestBody ¶
type ItemDependabotSecretsItemRepositoriesPutRequestBody struct {
// contains filtered or unexported fields
}
ItemDependabotSecretsItemRepositoriesPutRequestBody
func NewItemDependabotSecretsItemRepositoriesPutRequestBody ¶
func NewItemDependabotSecretsItemRepositoriesPutRequestBody() *ItemDependabotSecretsItemRepositoriesPutRequestBody
NewItemDependabotSecretsItemRepositoriesPutRequestBody instantiates a new ItemDependabotSecretsItemRepositoriesPutRequestBody and sets the default values.
func (*ItemDependabotSecretsItemRepositoriesPutRequestBody) GetAdditionalData ¶
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.
func (*ItemDependabotSecretsItemRepositoriesPutRequestBody) GetFieldDeserializers ¶
func (m *ItemDependabotSecretsItemRepositoriesPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemDependabotSecretsItemRepositoriesPutRequestBody) GetSelectedRepositoryIds ¶
func (m *ItemDependabotSecretsItemRepositoriesPutRequestBody) GetSelectedRepositoryIds() []int32
GetSelectedRepositoryIds gets the selected_repository_ids property value. An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can add and remove individual repositories using the [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.
func (*ItemDependabotSecretsItemRepositoriesPutRequestBody) Serialize ¶
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/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret) and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.
type ItemDependabotSecretsItemRepositoriesPutRequestBodyable ¶
type ItemDependabotSecretsItemRepositoriesPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetSelectedRepositoryIds() []int32 SetSelectedRepositoryIds(value []int32) }
ItemDependabotSecretsItemRepositoriesPutRequestBodyable
type ItemDependabotSecretsItemRepositoriesRequestBuilder ¶
type ItemDependabotSecretsItemRepositoriesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemDependabotSecretsItemRepositoriesRequestBuilder builds and executes requests for operations under \orgs\{org}\dependabot\secrets\{secret_name}\repositories
func NewItemDependabotSecretsItemRepositoriesRequestBuilder ¶
func NewItemDependabotSecretsItemRepositoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsItemRepositoriesRequestBuilder
NewItemDependabotSecretsItemRepositoriesRequestBuilder instantiates a new RepositoriesRequestBuilder and sets the default values.
func NewItemDependabotSecretsItemRepositoriesRequestBuilderInternal ¶
func NewItemDependabotSecretsItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsItemRepositoriesRequestBuilder
NewItemDependabotSecretsItemRepositoriesRequestBuilderInternal instantiates a new RepositoriesRequestBuilder and sets the default values.
func (*ItemDependabotSecretsItemRepositoriesRequestBuilder) ByRepository_id ¶
func (m *ItemDependabotSecretsItemRepositoriesRequestBuilder) ByRepository_id(repository_id string) *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder
ByRepository_id gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.dependabot.secrets.item.repositories.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.
func (*ItemDependabotSecretsItemRepositoriesRequestBuilder) ByRepository_idInteger ¶
func (m *ItemDependabotSecretsItemRepositoriesRequestBuilder) ByRepository_idInteger(repository_id int32) *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder
ByRepository_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.dependabot.secrets.item.repositories.item collection
func (*ItemDependabotSecretsItemRepositoriesRequestBuilder) Get ¶
func (m *ItemDependabotSecretsItemRepositoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDependabotSecretsItemRepositoriesRequestBuilderGetRequestConfiguration) (ItemDependabotSecretsItemRepositoriesResponseable, error)
Get lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint. Deprecated: This method is obsolete. Use GetAsRepositoriesGetResponse instead. API method documentation
func (*ItemDependabotSecretsItemRepositoriesRequestBuilder) GetAsRepositoriesGetResponse ¶
func (m *ItemDependabotSecretsItemRepositoriesRequestBuilder) GetAsRepositoriesGetResponse(ctx context.Context, requestConfiguration *ItemDependabotSecretsItemRepositoriesRequestBuilderGetRequestConfiguration) (ItemDependabotSecretsItemRepositoriesGetResponseable, error)
GetAsRepositoriesGetResponse lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint. API method documentation
func (*ItemDependabotSecretsItemRepositoriesRequestBuilder) Put ¶
func (m *ItemDependabotSecretsItemRepositoriesRequestBuilder) Put(ctx context.Context, body ItemDependabotSecretsItemRepositoriesPutRequestBodyable, requestConfiguration *ItemDependabotSecretsItemRepositoriesRequestBuilderPutRequestConfiguration) 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 [Create or update an organization secret](https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint. API method documentation
func (*ItemDependabotSecretsItemRepositoriesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemDependabotSecretsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDependabotSecretsItemRepositoriesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all repositories that have been selected when the `visibility` for repository access to a secret is set to `selected`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.
func (*ItemDependabotSecretsItemRepositoriesRequestBuilder) ToPutRequestInformation ¶
func (m *ItemDependabotSecretsItemRepositoriesRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemDependabotSecretsItemRepositoriesPutRequestBodyable, requestConfiguration *ItemDependabotSecretsItemRepositoriesRequestBuilderPutRequestConfiguration) (*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 [Create or update an organization secret](https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.
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.
type ItemDependabotSecretsItemRepositoriesRequestBuilderGetQueryParameters ¶
type ItemDependabotSecretsItemRepositoriesRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). 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`. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.
type ItemDependabotSecretsItemRepositoriesRequestBuilderGetRequestConfiguration ¶
type ItemDependabotSecretsItemRepositoriesRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemDependabotSecretsItemRepositoriesRequestBuilderGetQueryParameters }
ItemDependabotSecretsItemRepositoriesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemDependabotSecretsItemRepositoriesRequestBuilderPutRequestConfiguration ¶
type ItemDependabotSecretsItemRepositoriesRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemDependabotSecretsItemRepositoriesRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemDependabotSecretsItemRepositoriesResponse ¶
type ItemDependabotSecretsItemRepositoriesResponse struct {
ItemDependabotSecretsItemRepositoriesGetResponse
}
ItemDependabotSecretsItemRepositoriesResponse Deprecated: This class is obsolete. Use repositoriesGetResponse instead.
func NewItemDependabotSecretsItemRepositoriesResponse ¶
func NewItemDependabotSecretsItemRepositoriesResponse() *ItemDependabotSecretsItemRepositoriesResponse
NewItemDependabotSecretsItemRepositoriesResponse instantiates a new ItemDependabotSecretsItemRepositoriesResponse and sets the default values.
type ItemDependabotSecretsItemRepositoriesResponseable ¶
type ItemDependabotSecretsItemRepositoriesResponseable interface { ItemDependabotSecretsItemRepositoriesGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemDependabotSecretsItemRepositoriesResponseable Deprecated: This class is obsolete. Use repositoriesGetResponse instead.
type ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder ¶
type ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\dependabot\secrets\{secret_name}\repositories\{repository_id}
func NewItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder ¶
func NewItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder
NewItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder instantiates a new WithRepository_ItemRequestBuilder and sets the default values.
func NewItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal ¶
func NewItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder
NewItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilderInternal instantiates a new WithRepository_ItemRequestBuilder and sets the default values.
func (*ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Delete ¶
func (m *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration) 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 [Create or update an organization secret](https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint. API method documentation
func (*ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Put ¶
func (m *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) Put(ctx context.Context, requestConfiguration *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration) error
Put adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint. API method documentation
func (*ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration) (*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 [Create or update an organization secret](https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.
func (*ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation adds a repository to an organization secret when the `visibility` for repository access is set to `selected`. The visibility is set when you [Create or update an organization secret](https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret). You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.
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.
type ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration ¶
type ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration ¶
type ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemDependabotSecretsItemRepositoriesWithRepository_ItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemDependabotSecretsItemWithSecret_namePutRequestBody ¶
type ItemDependabotSecretsItemWithSecret_namePutRequestBody struct {
// contains filtered or unexported fields
}
ItemDependabotSecretsItemWithSecret_namePutRequestBody
func NewItemDependabotSecretsItemWithSecret_namePutRequestBody ¶
func NewItemDependabotSecretsItemWithSecret_namePutRequestBody() *ItemDependabotSecretsItemWithSecret_namePutRequestBody
NewItemDependabotSecretsItemWithSecret_namePutRequestBody instantiates a new ItemDependabotSecretsItemWithSecret_namePutRequestBody and sets the default values.
func (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetAdditionalData ¶
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.
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/rest/dependabot/secrets#get-an-organization-public-key) endpoint.
func (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers ¶
func (m *ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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.
func (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetSelectedRepositoryIds ¶
func (m *ItemDependabotSecretsItemWithSecret_namePutRequestBody) GetSelectedRepositoryIds() []string
GetSelectedRepositoryIds gets the selected_repository_ids property value. An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the `visibility` is set to `selected`. You can manage the list of selected repositories using the [List selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.
func (*ItemDependabotSecretsItemWithSecret_namePutRequestBody) Serialize ¶
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/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/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret), [Set selected repositories for an organization secret](https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret), and [Remove selected repository from an organization secret](https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret) endpoints.
type ItemDependabotSecretsItemWithSecret_namePutRequestBodyable ¶
type ItemDependabotSecretsItemWithSecret_namePutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetEncryptedValue() *string GetKeyId() *string GetSelectedRepositoryIds() []string SetEncryptedValue(value *string) SetKeyId(value *string) SetSelectedRepositoryIds(value []string) }
ItemDependabotSecretsItemWithSecret_namePutRequestBodyable
type ItemDependabotSecretsPublicKeyRequestBuilder ¶
type ItemDependabotSecretsPublicKeyRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemDependabotSecretsPublicKeyRequestBuilder builds and executes requests for operations under \orgs\{org}\dependabot\secrets\public-key
func NewItemDependabotSecretsPublicKeyRequestBuilder ¶
func NewItemDependabotSecretsPublicKeyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsPublicKeyRequestBuilder
NewItemDependabotSecretsPublicKeyRequestBuilder instantiates a new PublicKeyRequestBuilder and sets the default values.
func NewItemDependabotSecretsPublicKeyRequestBuilderInternal ¶
func NewItemDependabotSecretsPublicKeyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsPublicKeyRequestBuilder
NewItemDependabotSecretsPublicKeyRequestBuilderInternal instantiates a new PublicKeyRequestBuilder and sets the default values.
func (*ItemDependabotSecretsPublicKeyRequestBuilder) Get ¶
func (m *ItemDependabotSecretsPublicKeyRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDependabotSecretsPublicKeyRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.DependabotPublicKeyable, error)
Get gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint. API method documentation
func (*ItemDependabotSecretsPublicKeyRequestBuilder) ToGetRequestInformation ¶
func (m *ItemDependabotSecretsPublicKeyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDependabotSecretsPublicKeyRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets your public key, which you need to encrypt secrets. You need to encrypt a secret before you can create or update secrets. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.
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.
type ItemDependabotSecretsPublicKeyRequestBuilderGetRequestConfiguration ¶
type ItemDependabotSecretsPublicKeyRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemDependabotSecretsPublicKeyRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 SecretsRequestBuilder and sets the default values.
func NewItemDependabotSecretsRequestBuilderInternal ¶
func NewItemDependabotSecretsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsRequestBuilder
NewItemDependabotSecretsRequestBuilderInternal instantiates a new SecretsRequestBuilder and sets the default values.
func (*ItemDependabotSecretsRequestBuilder) BySecret_name ¶
func (m *ItemDependabotSecretsRequestBuilder) BySecret_name(secret_name string) *ItemDependabotSecretsWithSecret_nameItemRequestBuilder
BySecret_name gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.dependabot.secrets.item collection
func (*ItemDependabotSecretsRequestBuilder) Get ¶
func (m *ItemDependabotSecretsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDependabotSecretsRequestBuilderGetRequestConfiguration) (ItemDependabotSecretsResponseable, error)
Get lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint. Deprecated: This method is obsolete. Use GetAsSecretsGetResponse instead. API method documentation
func (*ItemDependabotSecretsRequestBuilder) GetAsSecretsGetResponse ¶
func (m *ItemDependabotSecretsRequestBuilder) GetAsSecretsGetResponse(ctx context.Context, requestConfiguration *ItemDependabotSecretsRequestBuilderGetRequestConfiguration) (ItemDependabotSecretsGetResponseable, error)
GetAsSecretsGetResponse lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint. API method documentation
func (*ItemDependabotSecretsRequestBuilder) PublicKey ¶
func (m *ItemDependabotSecretsRequestBuilder) PublicKey() *ItemDependabotSecretsPublicKeyRequestBuilder
PublicKey the publicKey property
func (*ItemDependabotSecretsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemDependabotSecretsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDependabotSecretsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.
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.
type ItemDependabotSecretsRequestBuilderGetQueryParameters ¶
type ItemDependabotSecretsRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemDependabotSecretsRequestBuilderGetQueryParameters lists all secrets available in an organization without revealing their encrypted values. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.
type ItemDependabotSecretsRequestBuilderGetRequestConfiguration ¶
type ItemDependabotSecretsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemDependabotSecretsRequestBuilderGetQueryParameters }
ItemDependabotSecretsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemDependabotSecretsResponse ¶
type ItemDependabotSecretsResponse struct {
ItemDependabotSecretsGetResponse
}
ItemDependabotSecretsResponse Deprecated: This class is obsolete. Use secretsGetResponse instead.
func NewItemDependabotSecretsResponse ¶
func NewItemDependabotSecretsResponse() *ItemDependabotSecretsResponse
NewItemDependabotSecretsResponse instantiates a new ItemDependabotSecretsResponse and sets the default values.
type ItemDependabotSecretsResponseable ¶
type ItemDependabotSecretsResponseable interface { ItemDependabotSecretsGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemDependabotSecretsResponseable Deprecated: This class is obsolete. Use secretsGetResponse instead.
type ItemDependabotSecretsWithSecret_nameItemRequestBuilder ¶
type ItemDependabotSecretsWithSecret_nameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemDependabotSecretsWithSecret_nameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\dependabot\secrets\{secret_name}
func NewItemDependabotSecretsWithSecret_nameItemRequestBuilder ¶
func NewItemDependabotSecretsWithSecret_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsWithSecret_nameItemRequestBuilder
NewItemDependabotSecretsWithSecret_nameItemRequestBuilder instantiates a new WithSecret_nameItemRequestBuilder and sets the default values.
func NewItemDependabotSecretsWithSecret_nameItemRequestBuilderInternal ¶
func NewItemDependabotSecretsWithSecret_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotSecretsWithSecret_nameItemRequestBuilder
NewItemDependabotSecretsWithSecret_nameItemRequestBuilderInternal instantiates a new WithSecret_nameItemRequestBuilder and sets the default values.
func (*ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Delete ¶
func (m *ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemDependabotSecretsWithSecret_nameItemRequestBuilderDeleteRequestConfiguration) error
Delete deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint. API method documentation
func (*ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Get ¶
func (m *ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDependabotSecretsWithSecret_nameItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationDependabotSecretable, error)
Get gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint. API method documentation
func (*ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Put ¶
func (m *ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Put(ctx context.Context, body ItemDependabotSecretsItemWithSecret_namePutRequestBodyable, requestConfiguration *ItemDependabotSecretsWithSecret_nameItemRequestBuilderPutRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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/rest/guides/encrypting-secrets-for-the-rest-api)."You must authenticate using an accesstoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organizationpermission to use this endpoint. API method documentation
func (*ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Repositories ¶
func (m *ItemDependabotSecretsWithSecret_nameItemRequestBuilder) Repositories() *ItemDependabotSecretsItemRepositoriesRequestBuilder
Repositories the repositories property
func (*ItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemDependabotSecretsWithSecret_nameItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a secret in an organization using the secret name. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.
func (*ItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDependabotSecretsWithSecret_nameItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a single organization secret without revealing its encrypted value. You must authenticate using an access token with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organization permission to use this endpoint.
func (*ItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemDependabotSecretsWithSecret_nameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemDependabotSecretsItemWithSecret_namePutRequestBodyable, requestConfiguration *ItemDependabotSecretsWithSecret_nameItemRequestBuilderPutRequestConfiguration) (*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/rest/guides/encrypting-secrets-for-the-rest-api)."You must authenticate using an accesstoken with the `admin:org` scope to use this endpoint. GitHub Apps must have the `dependabot_secrets` organizationpermission to use this endpoint.
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.
type ItemDependabotSecretsWithSecret_nameItemRequestBuilderDeleteRequestConfiguration ¶
type ItemDependabotSecretsWithSecret_nameItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemDependabotSecretsWithSecret_nameItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemDependabotSecretsWithSecret_nameItemRequestBuilderGetRequestConfiguration ¶
type ItemDependabotSecretsWithSecret_nameItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemDependabotSecretsWithSecret_nameItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemDependabotSecretsWithSecret_nameItemRequestBuilderPutRequestConfiguration ¶
type ItemDependabotSecretsWithSecret_nameItemRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemDependabotSecretsWithSecret_nameItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 ConflictsRequestBuilder and sets the default values.
func NewItemDockerConflictsRequestBuilderInternal ¶
func NewItemDockerConflictsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDockerConflictsRequestBuilder
NewItemDockerConflictsRequestBuilderInternal instantiates a new ConflictsRequestBuilder and sets the default values.
func (*ItemDockerConflictsRequestBuilder) Get ¶
func (m *ItemDockerConflictsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemDockerConflictsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. API method documentation
func (*ItemDockerConflictsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemDockerConflictsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemDockerConflictsRequestBuilderGetRequestConfiguration) (*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.To use this endpoint, you must authenticate using an access token with the `read:packages` scope.
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.
type ItemDockerConflictsRequestBuilderGetRequestConfiguration ¶
type ItemDockerConflictsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemDockerConflictsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 DockerRequestBuilder and sets the default values.
func NewItemDockerRequestBuilderInternal ¶
func NewItemDockerRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDockerRequestBuilder
NewItemDockerRequestBuilderInternal instantiates a new DockerRequestBuilder and sets the default values.
func (*ItemDockerRequestBuilder) Conflicts ¶
func (m *ItemDockerRequestBuilder) Conflicts() *ItemDockerConflictsRequestBuilder
Conflicts the conflicts property
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 EventsRequestBuilder and sets the default values.
func NewItemEventsRequestBuilderInternal ¶
func NewItemEventsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemEventsRequestBuilder
NewItemEventsRequestBuilderInternal instantiates a new EventsRequestBuilder and sets the default values.
func (*ItemEventsRequestBuilder) Get ¶
func (m *ItemEventsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemEventsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Eventable, error)
Get list public organization events API method documentation
func (*ItemEventsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemEventsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemEventsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.
type ItemEventsRequestBuilderGetQueryParameters ¶
type ItemEventsRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemEventsRequestBuilderGetQueryParameters list public organization events
type ItemEventsRequestBuilderGetRequestConfiguration ¶
type ItemEventsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemEventsRequestBuilderGetQueryParameters }
ItemEventsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemFailed_invitationsRequestBuilder ¶
type ItemFailed_invitationsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemFailed_invitationsRequestBuilder builds and executes requests for operations under \orgs\{org}\failed_invitations
func NewItemFailed_invitationsRequestBuilder ¶
func NewItemFailed_invitationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemFailed_invitationsRequestBuilder
NewItemFailed_invitationsRequestBuilder instantiates a new Failed_invitationsRequestBuilder and sets the default values.
func NewItemFailed_invitationsRequestBuilderInternal ¶
func NewItemFailed_invitationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemFailed_invitationsRequestBuilder
NewItemFailed_invitationsRequestBuilderInternal instantiates a new Failed_invitationsRequestBuilder and sets the default values.
func (*ItemFailed_invitationsRequestBuilder) Get ¶
func (m *ItemFailed_invitationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemFailed_invitationsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationInvitationable, error)
Get the return hash contains `failed_at` and `failed_reason` fields which represent the time at which the invitation failed and the reason for the failure. API method documentation
func (*ItemFailed_invitationsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemFailed_invitationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemFailed_invitationsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation the return hash contains `failed_at` and `failed_reason` fields which represent the time at which the invitation failed and the reason for the failure.
func (*ItemFailed_invitationsRequestBuilder) WithUrl ¶
func (m *ItemFailed_invitationsRequestBuilder) WithUrl(rawUrl string) *ItemFailed_invitationsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemFailed_invitationsRequestBuilderGetQueryParameters ¶
type ItemFailed_invitationsRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemFailed_invitationsRequestBuilderGetQueryParameters the return hash contains `failed_at` and `failed_reason` fields which represent the time at which the invitation failed and the reason for the failure.
type ItemFailed_invitationsRequestBuilderGetRequestConfiguration ¶
type ItemFailed_invitationsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemFailed_invitationsRequestBuilderGetQueryParameters }
ItemFailed_invitationsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemHooksItemConfigPatchRequestBody ¶
type ItemHooksItemConfigPatchRequestBody struct {
// contains filtered or unexported fields
}
ItemHooksItemConfigPatchRequestBody
func NewItemHooksItemConfigPatchRequestBody ¶
func NewItemHooksItemConfigPatchRequestBody() *ItemHooksItemConfigPatchRequestBody
NewItemHooksItemConfigPatchRequestBody instantiates a new ItemHooksItemConfigPatchRequestBody and sets the default values.
func (*ItemHooksItemConfigPatchRequestBody) GetAdditionalData ¶
func (m *ItemHooksItemConfigPatchRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemHooksItemConfigPatchRequestBody) GetContentType ¶
func (m *ItemHooksItemConfigPatchRequestBody) GetContentType() *string
GetContentType gets the content_type property value. The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.
func (*ItemHooksItemConfigPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemHooksItemConfigPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemHooksItemConfigPatchRequestBody) GetInsecureSsl ¶
func (m *ItemHooksItemConfigPatchRequestBody) GetInsecureSsl() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.WebhookConfigInsecureSslable
GetInsecureSsl gets the insecure_ssl property value. The insecure_ssl property
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/webhooks/event-payloads/#delivery-headers).
func (*ItemHooksItemConfigPatchRequestBody) GetUrl ¶
func (m *ItemHooksItemConfigPatchRequestBody) GetUrl() *string
GetUrl gets the url property value. The URL to which the payloads will be delivered.
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 i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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/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() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.WebhookConfigInsecureSslable GetSecret() *string GetUrl() *string SetContentType(value *string) SetInsecureSsl(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.WebhookConfigInsecureSslable) SetSecret(value *string) SetUrl(value *string) }
ItemHooksItemConfigPatchRequestBodyable
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 ConfigRequestBuilder and sets the default values.
func NewItemHooksItemConfigRequestBuilderInternal ¶
func NewItemHooksItemConfigRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksItemConfigRequestBuilder
NewItemHooksItemConfigRequestBuilderInternal instantiates a new ConfigRequestBuilder and sets the default values.
func (*ItemHooksItemConfigRequestBuilder) Get ¶
func (m *ItemHooksItemConfigRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemHooksItemConfigRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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)."Access tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission. API method documentation
func (*ItemHooksItemConfigRequestBuilder) Patch ¶
func (m *ItemHooksItemConfigRequestBuilder) Patch(ctx context.Context, body ItemHooksItemConfigPatchRequestBodyable, requestConfiguration *ItemHooksItemConfigRequestBuilderPatchRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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)."Access tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission. API method documentation
func (*ItemHooksItemConfigRequestBuilder) ToGetRequestInformation ¶
func (m *ItemHooksItemConfigRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemHooksItemConfigRequestBuilderGetRequestConfiguration) (*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)."Access tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:read` permission.
func (*ItemHooksItemConfigRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemHooksItemConfigRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemHooksItemConfigPatchRequestBodyable, requestConfiguration *ItemHooksItemConfigRequestBuilderPatchRequestConfiguration) (*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)."Access tokens must have the `admin:org_hook` scope, and GitHub Apps must have the `organization_hooks:write` permission.
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.
type ItemHooksItemConfigRequestBuilderGetRequestConfiguration ¶
type ItemHooksItemConfigRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemHooksItemConfigRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemHooksItemConfigRequestBuilderPatchRequestConfiguration ¶
type ItemHooksItemConfigRequestBuilderPatchRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemHooksItemConfigRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemHooksItemDeliveriesItemAttemptsPostResponse ¶
type ItemHooksItemDeliveriesItemAttemptsPostResponse struct {
// contains filtered or unexported fields
}
ItemHooksItemDeliveriesItemAttemptsPostResponse
func NewItemHooksItemDeliveriesItemAttemptsPostResponse ¶
func NewItemHooksItemDeliveriesItemAttemptsPostResponse() *ItemHooksItemDeliveriesItemAttemptsPostResponse
NewItemHooksItemDeliveriesItemAttemptsPostResponse instantiates a new ItemHooksItemDeliveriesItemAttemptsPostResponse and sets the default values.
func (*ItemHooksItemDeliveriesItemAttemptsPostResponse) GetAdditionalData ¶
func (m *ItemHooksItemDeliveriesItemAttemptsPostResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemHooksItemDeliveriesItemAttemptsPostResponse) GetFieldDeserializers ¶
func (m *ItemHooksItemDeliveriesItemAttemptsPostResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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 }
ItemHooksItemDeliveriesItemAttemptsPostResponseable
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 AttemptsRequestBuilder and sets the default values.
func NewItemHooksItemDeliveriesItemAttemptsRequestBuilderInternal ¶
func NewItemHooksItemDeliveriesItemAttemptsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksItemDeliveriesItemAttemptsRequestBuilder
NewItemHooksItemDeliveriesItemAttemptsRequestBuilderInternal instantiates a new AttemptsRequestBuilder and sets the default values.
func (*ItemHooksItemDeliveriesItemAttemptsRequestBuilder) Post ¶
func (m *ItemHooksItemDeliveriesItemAttemptsRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemHooksItemDeliveriesItemAttemptsRequestBuilderPostRequestConfiguration) (ItemHooksItemDeliveriesItemAttemptsResponseable, error)
Post redeliver a delivery for a webhook configured in an organization. Deprecated: This method is obsolete. Use PostAsAttemptsPostResponse instead. API method documentation
func (*ItemHooksItemDeliveriesItemAttemptsRequestBuilder) PostAsAttemptsPostResponse ¶
func (m *ItemHooksItemDeliveriesItemAttemptsRequestBuilder) PostAsAttemptsPostResponse(ctx context.Context, requestConfiguration *ItemHooksItemDeliveriesItemAttemptsRequestBuilderPostRequestConfiguration) (ItemHooksItemDeliveriesItemAttemptsPostResponseable, error)
PostAsAttemptsPostResponse redeliver a delivery for a webhook configured in an organization. API method documentation
func (*ItemHooksItemDeliveriesItemAttemptsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemHooksItemDeliveriesItemAttemptsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemHooksItemDeliveriesItemAttemptsRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation redeliver a delivery for a webhook configured in an organization.
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.
type ItemHooksItemDeliveriesItemAttemptsRequestBuilderPostRequestConfiguration ¶
type ItemHooksItemDeliveriesItemAttemptsRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemHooksItemDeliveriesItemAttemptsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemHooksItemDeliveriesItemAttemptsResponse ¶
type ItemHooksItemDeliveriesItemAttemptsResponse struct {
ItemHooksItemDeliveriesItemAttemptsPostResponse
}
ItemHooksItemDeliveriesItemAttemptsResponse Deprecated: This class is obsolete. Use attemptsPostResponse instead.
func NewItemHooksItemDeliveriesItemAttemptsResponse ¶
func NewItemHooksItemDeliveriesItemAttemptsResponse() *ItemHooksItemDeliveriesItemAttemptsResponse
NewItemHooksItemDeliveriesItemAttemptsResponse instantiates a new ItemHooksItemDeliveriesItemAttemptsResponse and sets the default values.
type ItemHooksItemDeliveriesItemAttemptsResponseable ¶
type ItemHooksItemDeliveriesItemAttemptsResponseable interface { ItemHooksItemDeliveriesItemAttemptsPostResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemHooksItemDeliveriesItemAttemptsResponseable Deprecated: This class is obsolete. Use attemptsPostResponse instead.
type ItemHooksItemDeliveriesRequestBuilder ¶
type ItemHooksItemDeliveriesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemHooksItemDeliveriesRequestBuilder builds and executes requests for operations under \orgs\{org}\hooks\{hook_id}\deliveries
func NewItemHooksItemDeliveriesRequestBuilder ¶
func NewItemHooksItemDeliveriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksItemDeliveriesRequestBuilder
NewItemHooksItemDeliveriesRequestBuilder instantiates a new DeliveriesRequestBuilder and sets the default values.
func NewItemHooksItemDeliveriesRequestBuilderInternal ¶
func NewItemHooksItemDeliveriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksItemDeliveriesRequestBuilder
NewItemHooksItemDeliveriesRequestBuilderInternal instantiates a new DeliveriesRequestBuilder and sets the default values.
func (*ItemHooksItemDeliveriesRequestBuilder) ByDelivery_id ¶
func (m *ItemHooksItemDeliveriesRequestBuilder) ByDelivery_id(delivery_id string) *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder
ByDelivery_id gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.hooks.item.deliveries.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.
func (*ItemHooksItemDeliveriesRequestBuilder) ByDelivery_idInteger ¶
func (m *ItemHooksItemDeliveriesRequestBuilder) ByDelivery_idInteger(delivery_id int32) *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder
ByDelivery_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.hooks.item.deliveries.item collection
func (*ItemHooksItemDeliveriesRequestBuilder) Get ¶
func (m *ItemHooksItemDeliveriesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemHooksItemDeliveriesRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.HookDeliveryItemable, error)
Get returns a list of webhook deliveries for a webhook configured in an organization. API method documentation
func (*ItemHooksItemDeliveriesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemHooksItemDeliveriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemHooksItemDeliveriesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation returns a list of webhook deliveries for a webhook configured in an organization.
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.
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). Per_page *int32 `uriparametername:"per_page"` // Redelivery *bool `uriparametername:"redelivery"` }
ItemHooksItemDeliveriesRequestBuilderGetQueryParameters returns a list of webhook deliveries for a webhook configured in an organization.
type ItemHooksItemDeliveriesRequestBuilderGetRequestConfiguration ¶
type ItemHooksItemDeliveriesRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemHooksItemDeliveriesRequestBuilderGetQueryParameters }
ItemHooksItemDeliveriesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder ¶
type ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\hooks\{hook_id}\deliveries\{delivery_id}
func NewItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder ¶
func NewItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder
NewItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder instantiates a new WithDelivery_ItemRequestBuilder and sets the default values.
func NewItemHooksItemDeliveriesWithDelivery_ItemRequestBuilderInternal ¶
func NewItemHooksItemDeliveriesWithDelivery_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder
NewItemHooksItemDeliveriesWithDelivery_ItemRequestBuilderInternal instantiates a new WithDelivery_ItemRequestBuilder and sets the default values.
func (*ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) Attempts ¶
func (m *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) Attempts() *ItemHooksItemDeliveriesItemAttemptsRequestBuilder
Attempts the attempts property
func (*ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) Get ¶
func (m *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.HookDeliveryable, error)
Get returns a delivery for a webhook configured in an organization. API method documentation
func (*ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation returns a delivery for a webhook configured in an organization.
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.
type ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilderGetRequestConfiguration ¶
type ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemHooksItemDeliveriesWithDelivery_ItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 PingsRequestBuilder and sets the default values.
func NewItemHooksItemPingsRequestBuilderInternal ¶
func NewItemHooksItemPingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksItemPingsRequestBuilder
NewItemHooksItemPingsRequestBuilderInternal instantiates a new PingsRequestBuilder and sets the default values.
func (*ItemHooksItemPingsRequestBuilder) Post ¶
func (m *ItemHooksItemPingsRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemHooksItemPingsRequestBuilderPostRequestConfiguration) error
Post this will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook. API method documentation
func (*ItemHooksItemPingsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemHooksItemPingsRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemHooksItemPingsRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation this will trigger a [ping event](https://docs.github.com/webhooks/#ping-event) to be sent to the hook.
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.
type ItemHooksItemPingsRequestBuilderPostRequestConfiguration ¶
type ItemHooksItemPingsRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemHooksItemPingsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemHooksItemWithHook_PatchRequestBody ¶
type ItemHooksItemWithHook_PatchRequestBody struct {
// contains filtered or unexported fields
}
ItemHooksItemWithHook_PatchRequestBody
func NewItemHooksItemWithHook_PatchRequestBody ¶
func NewItemHooksItemWithHook_PatchRequestBody() *ItemHooksItemWithHook_PatchRequestBody
NewItemHooksItemWithHook_PatchRequestBody instantiates a new ItemHooksItemWithHook_PatchRequestBody and sets the default values.
func (*ItemHooksItemWithHook_PatchRequestBody) GetActive ¶
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.
func (*ItemHooksItemWithHook_PatchRequestBody) GetAdditionalData ¶
func (m *ItemHooksItemWithHook_PatchRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemHooksItemWithHook_PatchRequestBody) GetConfig ¶
func (m *ItemHooksItemWithHook_PatchRequestBody) GetConfig() ItemHooksItemWithHook_PatchRequestBody_configable
GetConfig gets the config property value. Key/value pairs to provide settings for this webhook.
func (*ItemHooksItemWithHook_PatchRequestBody) GetEvents ¶
func (m *ItemHooksItemWithHook_PatchRequestBody) GetEvents() []string
GetEvents gets the events property value. Determines what [events](https://docs.github.com/webhooks/event-payloads) the hook is triggered for.
func (*ItemHooksItemWithHook_PatchRequestBody) GetFieldDeserializers ¶
func (m *ItemHooksItemWithHook_PatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemHooksItemWithHook_PatchRequestBody) GetName ¶
func (m *ItemHooksItemWithHook_PatchRequestBody) GetName() *string
GetName gets the name property value. The name property
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/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.
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`.
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
func (*ItemHooksItemWithHook_PatchRequestBody_config) GetInsecureSsl ¶
func (m *ItemHooksItemWithHook_PatchRequestBody_config) GetInsecureSsl() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.WebhookConfigInsecureSslable
GetInsecureSsl gets the insecure_ssl property value. The insecure_ssl property
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/webhooks/event-payloads/#delivery-headers).
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.
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 i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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/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() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.WebhookConfigInsecureSslable GetSecret() *string GetUrl() *string SetContentType(value *string) SetInsecureSsl(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.WebhookConfigInsecureSslable) SetSecret(value *string) SetUrl(value *string) }
ItemHooksItemWithHook_PatchRequestBody_configable
type ItemHooksItemWithHook_PatchRequestBodyable ¶
type ItemHooksItemWithHook_PatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetActive() *bool GetConfig() ItemHooksItemWithHook_PatchRequestBody_configable GetEvents() []string GetName() *string SetActive(value *bool) SetConfig(value ItemHooksItemWithHook_PatchRequestBody_configable) SetEvents(value []string) SetName(value *string) }
ItemHooksItemWithHook_PatchRequestBodyable
type ItemHooksPostRequestBody ¶
type ItemHooksPostRequestBody struct {
// contains filtered or unexported fields
}
ItemHooksPostRequestBody
func NewItemHooksPostRequestBody ¶
func NewItemHooksPostRequestBody() *ItemHooksPostRequestBody
NewItemHooksPostRequestBody instantiates a new ItemHooksPostRequestBody and sets the default values.
func (*ItemHooksPostRequestBody) GetActive ¶
func (m *ItemHooksPostRequestBody) GetActive() *bool
GetActive gets the active property value. Determines if notifications are sent when the webhook is triggered. Set to `true` to send notifications.
func (*ItemHooksPostRequestBody) GetAdditionalData ¶
func (m *ItemHooksPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemHooksPostRequestBody) GetConfig ¶
func (m *ItemHooksPostRequestBody) GetConfig() ItemHooksPostRequestBody_configable
GetConfig gets the config property value. Key/value pairs to provide settings for this webhook.
func (*ItemHooksPostRequestBody) GetEvents ¶
func (m *ItemHooksPostRequestBody) GetEvents() []string
GetEvents gets the events property value. Determines what [events](https://docs.github.com/webhooks/event-payloads) the hook is triggered for. Set to `["*"]` to receive all possible events.
func (*ItemHooksPostRequestBody) GetFieldDeserializers ¶
func (m *ItemHooksPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemHooksPostRequestBody) GetName ¶
func (m *ItemHooksPostRequestBody) GetName() *string
GetName gets the name property value. Must be passed as "web".
func (*ItemHooksPostRequestBody) Serialize ¶
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/webhooks/event-payloads) the hook is triggered for. Set to `["*"]` to receive all possible events.
func (*ItemHooksPostRequestBody) SetName ¶
func (m *ItemHooksPostRequestBody) SetName(value *string)
SetName sets the name property value. Must be passed as "web".
type ItemHooksPostRequestBody_config ¶
type ItemHooksPostRequestBody_config struct {
// contains filtered or unexported fields
}
ItemHooksPostRequestBody_config key/value pairs to provide settings for this webhook.
func NewItemHooksPostRequestBody_config ¶
func NewItemHooksPostRequestBody_config() *ItemHooksPostRequestBody_config
NewItemHooksPostRequestBody_config instantiates a new ItemHooksPostRequestBody_config and sets the default values.
func (*ItemHooksPostRequestBody_config) GetAdditionalData ¶
func (m *ItemHooksPostRequestBody_config) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemHooksPostRequestBody_config) GetContentType ¶
func (m *ItemHooksPostRequestBody_config) GetContentType() *string
GetContentType gets the content_type property value. The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`.
func (*ItemHooksPostRequestBody_config) GetFieldDeserializers ¶
func (m *ItemHooksPostRequestBody_config) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemHooksPostRequestBody_config) GetInsecureSsl ¶
func (m *ItemHooksPostRequestBody_config) GetInsecureSsl() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.WebhookConfigInsecureSslable
GetInsecureSsl gets the insecure_ssl property value. The insecure_ssl property
func (*ItemHooksPostRequestBody_config) GetPassword ¶
func (m *ItemHooksPostRequestBody_config) GetPassword() *string
GetPassword gets the password property value. The password property
func (*ItemHooksPostRequestBody_config) GetSecret ¶
func (m *ItemHooksPostRequestBody_config) GetSecret() *string
GetSecret gets the secret property value. If provided, the `secret` will be used as the `key` to generate the HMAC hex digest value for [delivery signature headers](https://docs.github.com/webhooks/event-payloads/#delivery-headers).
func (*ItemHooksPostRequestBody_config) GetUrl ¶
func (m *ItemHooksPostRequestBody_config) GetUrl() *string
GetUrl gets the url property value. The URL to which the payloads will be delivered.
func (*ItemHooksPostRequestBody_config) GetUsername ¶
func (m *ItemHooksPostRequestBody_config) GetUsername() *string
GetUsername gets the username property value. The username property
func (*ItemHooksPostRequestBody_config) Serialize ¶
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 i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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/webhooks/event-payloads/#delivery-headers).
func (*ItemHooksPostRequestBody_config) SetUrl ¶
func (m *ItemHooksPostRequestBody_config) SetUrl(value *string)
SetUrl sets the url property value. The URL to which the payloads will be delivered.
func (*ItemHooksPostRequestBody_config) SetUsername ¶
func (m *ItemHooksPostRequestBody_config) SetUsername(value *string)
SetUsername sets the username property value. The username property
type ItemHooksPostRequestBody_configable ¶
type ItemHooksPostRequestBody_configable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetContentType() *string GetInsecureSsl() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.WebhookConfigInsecureSslable GetPassword() *string GetSecret() *string GetUrl() *string GetUsername() *string SetContentType(value *string) SetInsecureSsl(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.WebhookConfigInsecureSslable) SetPassword(value *string) SetSecret(value *string) SetUrl(value *string) SetUsername(value *string) }
ItemHooksPostRequestBody_configable
type ItemHooksPostRequestBodyable ¶
type ItemHooksPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetActive() *bool GetConfig() ItemHooksPostRequestBody_configable GetEvents() []string GetName() *string SetActive(value *bool) SetConfig(value ItemHooksPostRequestBody_configable) SetEvents(value []string) SetName(value *string) }
ItemHooksPostRequestBodyable
type ItemHooksRequestBuilder ¶
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 HooksRequestBuilder and sets the default values.
func NewItemHooksRequestBuilderInternal ¶
func NewItemHooksRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksRequestBuilder
NewItemHooksRequestBuilderInternal instantiates a new HooksRequestBuilder and sets the default values.
func (*ItemHooksRequestBuilder) ByHook_id ¶
func (m *ItemHooksRequestBuilder) ByHook_id(hook_id string) *ItemHooksWithHook_ItemRequestBuilder
ByHook_id gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.hooks.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.
func (*ItemHooksRequestBuilder) ByHook_idInteger ¶
func (m *ItemHooksRequestBuilder) ByHook_idInteger(hook_id int32) *ItemHooksWithHook_ItemRequestBuilder
ByHook_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.hooks.item collection
func (*ItemHooksRequestBuilder) Get ¶
func (m *ItemHooksRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemHooksRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrgHookable, error)
Get list organization webhooks API method documentation
func (*ItemHooksRequestBuilder) Post ¶
func (m *ItemHooksRequestBuilder) Post(ctx context.Context, body ItemHooksPostRequestBodyable, requestConfiguration *ItemHooksRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrgHookable, error)
Post here's how you can create a hook that posts payloads in JSON format: API method documentation
func (*ItemHooksRequestBuilder) ToGetRequestInformation ¶
func (m *ItemHooksRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemHooksRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
func (*ItemHooksRequestBuilder) ToPostRequestInformation ¶
func (m *ItemHooksRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemHooksPostRequestBodyable, requestConfiguration *ItemHooksRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation here's how you can create a hook that posts payloads in JSON format:
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.
type ItemHooksRequestBuilderGetQueryParameters ¶
type ItemHooksRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemHooksRequestBuilderGetQueryParameters list organization webhooks
type ItemHooksRequestBuilderGetRequestConfiguration ¶
type ItemHooksRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemHooksRequestBuilderGetQueryParameters }
ItemHooksRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemHooksRequestBuilderPostRequestConfiguration ¶
type ItemHooksRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemHooksRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 WithHook_ItemRequestBuilder and sets the default values.
func NewItemHooksWithHook_ItemRequestBuilderInternal ¶
func NewItemHooksWithHook_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemHooksWithHook_ItemRequestBuilder
NewItemHooksWithHook_ItemRequestBuilderInternal instantiates a new WithHook_ItemRequestBuilder and sets the default values.
func (*ItemHooksWithHook_ItemRequestBuilder) Config ¶
func (m *ItemHooksWithHook_ItemRequestBuilder) Config() *ItemHooksItemConfigRequestBuilder
Config the config property
func (*ItemHooksWithHook_ItemRequestBuilder) Delete ¶
func (m *ItemHooksWithHook_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemHooksWithHook_ItemRequestBuilderDeleteRequestConfiguration) error
Delete delete an organization webhook API method documentation
func (*ItemHooksWithHook_ItemRequestBuilder) Deliveries ¶
func (m *ItemHooksWithHook_ItemRequestBuilder) Deliveries() *ItemHooksItemDeliveriesRequestBuilder
Deliveries the deliveries property
func (*ItemHooksWithHook_ItemRequestBuilder) Get ¶
func (m *ItemHooksWithHook_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemHooksWithHook_ItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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)." API method documentation
func (*ItemHooksWithHook_ItemRequestBuilder) Patch ¶
func (m *ItemHooksWithHook_ItemRequestBuilder) Patch(ctx context.Context, body ItemHooksItemWithHook_PatchRequestBodyable, requestConfiguration *ItemHooksWithHook_ItemRequestBuilderPatchRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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 must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use "[Update a webhook configuration for an organization](/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization)." API method documentation
func (*ItemHooksWithHook_ItemRequestBuilder) Pings ¶
func (m *ItemHooksWithHook_ItemRequestBuilder) Pings() *ItemHooksItemPingsRequestBuilder
Pings the pings property
func (*ItemHooksWithHook_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemHooksWithHook_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemHooksWithHook_ItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
func (*ItemHooksWithHook_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemHooksWithHook_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemHooksWithHook_ItemRequestBuilderGetRequestConfiguration) (*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)."
func (*ItemHooksWithHook_ItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemHooksWithHook_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemHooksItemWithHook_PatchRequestBodyable, requestConfiguration *ItemHooksWithHook_ItemRequestBuilderPatchRequestConfiguration) (*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 must provide the same `secret` or set a new `secret` or the secret will be removed. If you are only updating individual webhook `config` properties, use "[Update a webhook configuration for an organization](/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization)."
func (*ItemHooksWithHook_ItemRequestBuilder) WithUrl ¶
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.
type ItemHooksWithHook_ItemRequestBuilderDeleteRequestConfiguration ¶
type ItemHooksWithHook_ItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemHooksWithHook_ItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemHooksWithHook_ItemRequestBuilderGetRequestConfiguration ¶
type ItemHooksWithHook_ItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemHooksWithHook_ItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemHooksWithHook_ItemRequestBuilderPatchRequestConfiguration ¶
type ItemHooksWithHook_ItemRequestBuilderPatchRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemHooksWithHook_ItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 InstallationRequestBuilder and sets the default values.
func NewItemInstallationRequestBuilderInternal ¶
func NewItemInstallationRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInstallationRequestBuilder
NewItemInstallationRequestBuilderInternal instantiates a new InstallationRequestBuilder and sets the default values.
func (*ItemInstallationRequestBuilder) Get ¶
func (m *ItemInstallationRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInstallationRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Installationable, error)
Get enables an authenticated GitHub App to find the organization's installation information.You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint. API method documentation
func (*ItemInstallationRequestBuilder) ToGetRequestInformation ¶
func (m *ItemInstallationRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInstallationRequestBuilderGetRequestConfiguration) (*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/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.
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.
type ItemInstallationRequestBuilderGetRequestConfiguration ¶
type ItemInstallationRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemInstallationRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemInstallationsGetResponse ¶
type ItemInstallationsGetResponse struct {
// contains filtered or unexported fields
}
ItemInstallationsGetResponse
func NewItemInstallationsGetResponse ¶
func NewItemInstallationsGetResponse() *ItemInstallationsGetResponse
NewItemInstallationsGetResponse instantiates a new ItemInstallationsGetResponse and sets the default values.
func (*ItemInstallationsGetResponse) GetAdditionalData ¶
func (m *ItemInstallationsGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemInstallationsGetResponse) GetFieldDeserializers ¶
func (m *ItemInstallationsGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemInstallationsGetResponse) GetInstallations ¶
func (m *ItemInstallationsGetResponse) GetInstallations() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Installationable
GetInstallations gets the installations property value. The installations property
func (*ItemInstallationsGetResponse) GetTotalCount ¶
func (m *ItemInstallationsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property
func (*ItemInstallationsGetResponse) Serialize ¶
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 []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Installationable GetTotalCount() *int32 SetInstallations(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Installationable) SetTotalCount(value *int32) }
ItemInstallationsGetResponseable
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 InstallationsRequestBuilder and sets the default values.
func NewItemInstallationsRequestBuilderInternal ¶
func NewItemInstallationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInstallationsRequestBuilder
NewItemInstallationsRequestBuilderInternal instantiates a new InstallationsRequestBuilder and sets the default values.
func (*ItemInstallationsRequestBuilder) Get ¶
func (m *ItemInstallationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInstallationsRequestBuilderGetRequestConfiguration) (ItemInstallationsResponseable, error)
Get lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint. Deprecated: This method is obsolete. Use GetAsInstallationsGetResponse instead. API method documentation
func (*ItemInstallationsRequestBuilder) GetAsInstallationsGetResponse ¶
func (m *ItemInstallationsRequestBuilder) GetAsInstallationsGetResponse(ctx context.Context, requestConfiguration *ItemInstallationsRequestBuilderGetRequestConfiguration) (ItemInstallationsGetResponseable, error)
GetAsInstallationsGetResponse lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint. API method documentation
func (*ItemInstallationsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemInstallationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInstallationsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.
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.
type ItemInstallationsRequestBuilderGetQueryParameters ¶
type ItemInstallationsRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemInstallationsRequestBuilderGetQueryParameters lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.
type ItemInstallationsRequestBuilderGetRequestConfiguration ¶
type ItemInstallationsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemInstallationsRequestBuilderGetQueryParameters }
ItemInstallationsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemInstallationsResponse ¶
type ItemInstallationsResponse struct {
ItemInstallationsGetResponse
}
ItemInstallationsResponse Deprecated: This class is obsolete. Use installationsGetResponse instead.
func NewItemInstallationsResponse ¶
func NewItemInstallationsResponse() *ItemInstallationsResponse
NewItemInstallationsResponse instantiates a new ItemInstallationsResponse and sets the default values.
type ItemInstallationsResponseable ¶
type ItemInstallationsResponseable interface { ItemInstallationsGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemInstallationsResponseable Deprecated: This class is obsolete. Use installationsGetResponse instead.
type ItemInteractionLimitsGetResponseMember1 ¶
type ItemInteractionLimitsGetResponseMember1 struct { }
ItemInteractionLimitsGetResponseMember1
func NewItemInteractionLimitsGetResponseMember1 ¶
func NewItemInteractionLimitsGetResponseMember1() *ItemInteractionLimitsGetResponseMember1
NewItemInteractionLimitsGetResponseMember1 instantiates a new ItemInteractionLimitsGetResponseMember1 and sets the default values.
func (*ItemInteractionLimitsGetResponseMember1) GetFieldDeserializers ¶
func (m *ItemInteractionLimitsGetResponseMember1) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemInteractionLimitsGetResponseMember1) Serialize ¶
func (m *ItemInteractionLimitsGetResponseMember1) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
type ItemInteractionLimitsGetResponseMember1able ¶
type ItemInteractionLimitsGetResponseMember1able interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemInteractionLimitsGetResponseMember1able
type ItemInteractionLimitsRequestBuilder ¶
type ItemInteractionLimitsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemInteractionLimitsRequestBuilder builds and executes requests for operations under \orgs\{org}\interaction-limits
func NewItemInteractionLimitsRequestBuilder ¶
func NewItemInteractionLimitsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInteractionLimitsRequestBuilder
NewItemInteractionLimitsRequestBuilder instantiates a new InteractionLimitsRequestBuilder and sets the default values.
func NewItemInteractionLimitsRequestBuilderInternal ¶
func NewItemInteractionLimitsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInteractionLimitsRequestBuilder
NewItemInteractionLimitsRequestBuilderInternal instantiates a new InteractionLimitsRequestBuilder and sets the default values.
func (*ItemInteractionLimitsRequestBuilder) Delete ¶
func (m *ItemInteractionLimitsRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemInteractionLimitsRequestBuilderDeleteRequestConfiguration) error
Delete removes all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions. API method documentation
func (*ItemInteractionLimitsRequestBuilder) Get ¶
func (m *ItemInteractionLimitsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInteractionLimitsRequestBuilderGetRequestConfiguration) (InteractionLimitsResponseable, error)
Get shows which type of GitHub user can interact with this organization and when the restriction expires. If there is no restrictions, you will see an empty response. Deprecated: This method is obsolete. Use GetAsInteractionLimitsGetResponse instead. API method documentation
func (*ItemInteractionLimitsRequestBuilder) GetAsInteractionLimitsGetResponse ¶
func (m *ItemInteractionLimitsRequestBuilder) GetAsInteractionLimitsGetResponse(ctx context.Context, requestConfiguration *ItemInteractionLimitsRequestBuilderGetRequestConfiguration) (InteractionLimitsGetResponseable, error)
GetAsInteractionLimitsGetResponse shows which type of GitHub user can interact with this organization and when the restriction expires. If there is no restrictions, you will see an empty response. API method documentation
func (*ItemInteractionLimitsRequestBuilder) Put ¶
func (m *ItemInteractionLimitsRequestBuilder) Put(ctx context.Context, body i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.InteractionLimitable, requestConfiguration *ItemInteractionLimitsRequestBuilderPutRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.InteractionLimitResponseable, error)
Put temporarily restricts interactions to a certain type of GitHub user in any public repository in the given organization. You must be an organization owner to set these restrictions. Setting the interaction limit at the organization level will overwrite any interaction limits that are set for individual repositories owned by the organization. API method documentation
func (*ItemInteractionLimitsRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemInteractionLimitsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemInteractionLimitsRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation removes all interaction restrictions from public repositories in the given organization. You must be an organization owner to remove restrictions.
func (*ItemInteractionLimitsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemInteractionLimitsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInteractionLimitsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation shows which type of GitHub user can interact with this organization and when the restriction expires. If there is no restrictions, you will see an empty response.
func (*ItemInteractionLimitsRequestBuilder) ToPutRequestInformation ¶
func (m *ItemInteractionLimitsRequestBuilder) ToPutRequestInformation(ctx context.Context, body i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.InteractionLimitable, requestConfiguration *ItemInteractionLimitsRequestBuilderPutRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation temporarily restricts interactions to a certain type of GitHub user in any public repository in the given organization. You must be an organization owner to set these restrictions. Setting the interaction limit at the organization level will overwrite any interaction limits that are set for individual repositories owned by the organization.
func (*ItemInteractionLimitsRequestBuilder) WithUrl ¶
func (m *ItemInteractionLimitsRequestBuilder) WithUrl(rawUrl string) *ItemInteractionLimitsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemInteractionLimitsRequestBuilderDeleteRequestConfiguration ¶
type ItemInteractionLimitsRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemInteractionLimitsRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemInteractionLimitsRequestBuilderGetRequestConfiguration ¶
type ItemInteractionLimitsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemInteractionLimitsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemInteractionLimitsRequestBuilderPutRequestConfiguration ¶
type ItemInteractionLimitsRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemInteractionLimitsRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemInvitationsItemTeamsRequestBuilder ¶
type ItemInvitationsItemTeamsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemInvitationsItemTeamsRequestBuilder builds and executes requests for operations under \orgs\{org}\invitations\{invitation_id}\teams
func NewItemInvitationsItemTeamsRequestBuilder ¶
func NewItemInvitationsItemTeamsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInvitationsItemTeamsRequestBuilder
NewItemInvitationsItemTeamsRequestBuilder instantiates a new TeamsRequestBuilder and sets the default values.
func NewItemInvitationsItemTeamsRequestBuilderInternal ¶
func NewItemInvitationsItemTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInvitationsItemTeamsRequestBuilder
NewItemInvitationsItemTeamsRequestBuilderInternal instantiates a new TeamsRequestBuilder and sets the default values.
func (*ItemInvitationsItemTeamsRequestBuilder) Get ¶
func (m *ItemInvitationsItemTeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInvitationsItemTeamsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Teamable, error)
Get list all teams associated with an invitation. In order to see invitations in an organization, the authenticated user must be an organization owner. API method documentation
func (*ItemInvitationsItemTeamsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemInvitationsItemTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInvitationsItemTeamsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list all teams associated with an invitation. In order to see invitations in an organization, the authenticated user must be an organization owner.
func (*ItemInvitationsItemTeamsRequestBuilder) WithUrl ¶
func (m *ItemInvitationsItemTeamsRequestBuilder) WithUrl(rawUrl string) *ItemInvitationsItemTeamsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemInvitationsItemTeamsRequestBuilderGetQueryParameters ¶
type ItemInvitationsItemTeamsRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemInvitationsItemTeamsRequestBuilderGetQueryParameters list all teams associated with an invitation. In order to see invitations in an organization, the authenticated user must be an organization owner.
type ItemInvitationsItemTeamsRequestBuilderGetRequestConfiguration ¶
type ItemInvitationsItemTeamsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemInvitationsItemTeamsRequestBuilderGetQueryParameters }
ItemInvitationsItemTeamsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemInvitationsPostRequestBody ¶
type ItemInvitationsPostRequestBody struct {
// contains filtered or unexported fields
}
ItemInvitationsPostRequestBody
func NewItemInvitationsPostRequestBody ¶
func NewItemInvitationsPostRequestBody() *ItemInvitationsPostRequestBody
NewItemInvitationsPostRequestBody instantiates a new ItemInvitationsPostRequestBody and sets the default values.
func (*ItemInvitationsPostRequestBody) GetAdditionalData ¶
func (m *ItemInvitationsPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemInvitationsPostRequestBody) GetEmail ¶
func (m *ItemInvitationsPostRequestBody) GetEmail() *string
GetEmail gets the email property value. **Required unless you provide `invitee_id`**. Email address of the person you are inviting, which can be an existing GitHub user.
func (*ItemInvitationsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemInvitationsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemInvitationsPostRequestBody) GetInviteeId ¶
func (m *ItemInvitationsPostRequestBody) GetInviteeId() *int32
GetInviteeId gets the invitee_id property value. **Required unless you provide `email`**. GitHub user ID for the person you are inviting.
func (*ItemInvitationsPostRequestBody) GetTeamIds ¶
func (m *ItemInvitationsPostRequestBody) GetTeamIds() []int32
GetTeamIds gets the team_ids property value. Specify IDs for the teams you want to invite new members to.
func (*ItemInvitationsPostRequestBody) Serialize ¶
func (m *ItemInvitationsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemInvitationsPostRequestBody) SetAdditionalData ¶
func (m *ItemInvitationsPostRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemInvitationsPostRequestBody) SetEmail ¶
func (m *ItemInvitationsPostRequestBody) SetEmail(value *string)
SetEmail sets the email property value. **Required unless you provide `invitee_id`**. Email address of the person you are inviting, which can be an existing GitHub user.
func (*ItemInvitationsPostRequestBody) SetInviteeId ¶
func (m *ItemInvitationsPostRequestBody) SetInviteeId(value *int32)
SetInviteeId sets the invitee_id property value. **Required unless you provide `email`**. GitHub user ID for the person you are inviting.
func (*ItemInvitationsPostRequestBody) SetTeamIds ¶
func (m *ItemInvitationsPostRequestBody) SetTeamIds(value []int32)
SetTeamIds sets the team_ids property value. Specify IDs for the teams you want to invite new members to.
type ItemInvitationsPostRequestBodyable ¶
type ItemInvitationsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetEmail() *string GetInviteeId() *int32 GetTeamIds() []int32 SetEmail(value *string) SetInviteeId(value *int32) SetTeamIds(value []int32) }
ItemInvitationsPostRequestBodyable
type ItemInvitationsRequestBuilder ¶
type ItemInvitationsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemInvitationsRequestBuilder builds and executes requests for operations under \orgs\{org}\invitations
func NewItemInvitationsRequestBuilder ¶
func NewItemInvitationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInvitationsRequestBuilder
NewItemInvitationsRequestBuilder instantiates a new InvitationsRequestBuilder and sets the default values.
func NewItemInvitationsRequestBuilderInternal ¶
func NewItemInvitationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInvitationsRequestBuilder
NewItemInvitationsRequestBuilderInternal instantiates a new InvitationsRequestBuilder and sets the default values.
func (*ItemInvitationsRequestBuilder) ByInvitation_id ¶
func (m *ItemInvitationsRequestBuilder) ByInvitation_id(invitation_id string) *ItemInvitationsWithInvitation_ItemRequestBuilder
ByInvitation_id gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.invitations.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.
func (*ItemInvitationsRequestBuilder) ByInvitation_idInteger ¶
func (m *ItemInvitationsRequestBuilder) ByInvitation_idInteger(invitation_id int32) *ItemInvitationsWithInvitation_ItemRequestBuilder
ByInvitation_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.invitations.item collection
func (*ItemInvitationsRequestBuilder) Get ¶
func (m *ItemInvitationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemInvitationsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationInvitationable, error)
Get the return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`. API method documentation
func (*ItemInvitationsRequestBuilder) Post ¶
func (m *ItemInvitationsRequestBuilder) Post(ctx context.Context, body ItemInvitationsPostRequestBodyable, requestConfiguration *ItemInvitationsRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationInvitationable, error)
Post invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)." API method documentation
func (*ItemInvitationsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemInvitationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemInvitationsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation the return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.
func (*ItemInvitationsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemInvitationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemInvitationsPostRequestBodyable, requestConfiguration *ItemInvitationsRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation invite people to an organization by using their GitHub user ID or their email address. In order to create invitations in an organization, the authenticated user must be an organization owner.This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)"and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."
func (*ItemInvitationsRequestBuilder) WithUrl ¶
func (m *ItemInvitationsRequestBuilder) WithUrl(rawUrl string) *ItemInvitationsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemInvitationsRequestBuilderGetQueryParameters ¶
type ItemInvitationsRequestBuilderGetQueryParameters struct { // Filter invitations by their invitation source. // Deprecated: This property is deprecated, use invitation_sourceAsGetInvitation_sourceQueryParameterType instead Invitation_source *string `uriparametername:"invitation_source"` // Filter invitations by their invitation source. Invitation_sourceAsGetInvitation_sourceQueryParameterType *i2378633937c404127ad778eb05effbea7eb08f994ef028254c5d6c9a80ce3266.GetInvitation_sourceQueryParameterType `uriparametername:"invitation_source"` // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` // Filter invitations by their member role. // Deprecated: This property is deprecated, use roleAsGetRoleQueryParameterType instead Role *string `uriparametername:"role"` // Filter invitations by their member role. RoleAsGetRoleQueryParameterType *i2378633937c404127ad778eb05effbea7eb08f994ef028254c5d6c9a80ce3266.GetRoleQueryParameterType `uriparametername:"role"` }
ItemInvitationsRequestBuilderGetQueryParameters the return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, or `hiring_manager`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.
type ItemInvitationsRequestBuilderGetRequestConfiguration ¶
type ItemInvitationsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemInvitationsRequestBuilderGetQueryParameters }
ItemInvitationsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemInvitationsRequestBuilderPostRequestConfiguration ¶
type ItemInvitationsRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemInvitationsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemInvitationsWithInvitation_ItemRequestBuilder ¶
type ItemInvitationsWithInvitation_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemInvitationsWithInvitation_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\invitations\{invitation_id}
func NewItemInvitationsWithInvitation_ItemRequestBuilder ¶
func NewItemInvitationsWithInvitation_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInvitationsWithInvitation_ItemRequestBuilder
NewItemInvitationsWithInvitation_ItemRequestBuilder instantiates a new WithInvitation_ItemRequestBuilder and sets the default values.
func NewItemInvitationsWithInvitation_ItemRequestBuilderInternal ¶
func NewItemInvitationsWithInvitation_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemInvitationsWithInvitation_ItemRequestBuilder
NewItemInvitationsWithInvitation_ItemRequestBuilderInternal instantiates a new WithInvitation_ItemRequestBuilder and sets the default values.
func (*ItemInvitationsWithInvitation_ItemRequestBuilder) Delete ¶
func (m *ItemInvitationsWithInvitation_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemInvitationsWithInvitation_ItemRequestBuilderDeleteRequestConfiguration) error
Delete cancel an organization invitation. In order to cancel an organization invitation, the authenticated user must be an organization owner.This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). API method documentation
func (*ItemInvitationsWithInvitation_ItemRequestBuilder) Teams ¶
func (m *ItemInvitationsWithInvitation_ItemRequestBuilder) Teams() *ItemInvitationsItemTeamsRequestBuilder
Teams the teams property
func (*ItemInvitationsWithInvitation_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemInvitationsWithInvitation_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemInvitationsWithInvitation_ItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation cancel an organization invitation. In order to cancel an organization invitation, the authenticated user must be an organization owner.This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications).
func (*ItemInvitationsWithInvitation_ItemRequestBuilder) WithUrl ¶
func (m *ItemInvitationsWithInvitation_ItemRequestBuilder) WithUrl(rawUrl string) *ItemInvitationsWithInvitation_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemInvitationsWithInvitation_ItemRequestBuilderDeleteRequestConfiguration ¶
type ItemInvitationsWithInvitation_ItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemInvitationsWithInvitation_ItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 IssuesRequestBuilder and sets the default values.
func NewItemIssuesRequestBuilderInternal ¶
func NewItemIssuesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemIssuesRequestBuilder
NewItemIssuesRequestBuilderInternal instantiates a new IssuesRequestBuilder and sets the default values.
func (*ItemIssuesRequestBuilder) Get ¶
func (m *ItemIssuesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemIssuesRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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 thisreason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests bythe `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pullrequest id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint. API method documentation
func (*ItemIssuesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemIssuesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemIssuesRequestBuilderGetRequestConfiguration) (*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 thisreason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests bythe `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pullrequest id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
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.
type ItemIssuesRequestBuilderGetQueryParameters ¶
type ItemIssuesRequestBuilderGetQueryParameters struct { // The direction to sort the results by. // Deprecated: This property is deprecated, use directionAsGetDirectionQueryParameterType instead Direction *string `uriparametername:"direction"` // The direction to sort the results by. DirectionAsGetDirectionQueryParameterType *i5fc0bd3a41c40893d6db047c6304f8cbbf6705145bc486be813627a94bd7e2b3.GetDirectionQueryParameterType `uriparametername:"direction"` // Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means issues mentioning you. `subscribed` means issues you're subscribed to updates for. `all` or `repos` means all issues you can see, regardless of participation or creation. // Deprecated: This property is deprecated, use filterAsGetFilterQueryParameterType instead Filter *string `uriparametername:"filter"` // 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. FilterAsGetFilterQueryParameterType *i5fc0bd3a41c40893d6db047c6304f8cbbf6705145bc486be813627a94bd7e2b3.GetFilterQueryParameterType `uriparametername:"filter"` // A list of comma separated label names. Example: `bug,ui,@high` Labels *string `uriparametername:"labels"` // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). 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. // Deprecated: This property is deprecated, use sortAsGetSortQueryParameterType instead Sort *string `uriparametername:"sort"` // What to sort results by. SortAsGetSortQueryParameterType *i5fc0bd3a41c40893d6db047c6304f8cbbf6705145bc486be813627a94bd7e2b3.GetSortQueryParameterType `uriparametername:"sort"` // Indicates the state of the issues to return. // Deprecated: This property is deprecated, use stateAsGetStateQueryParameterType instead State *string `uriparametername:"state"` // Indicates the state of the issues to return. StateAsGetStateQueryParameterType *i5fc0bd3a41c40893d6db047c6304f8cbbf6705145bc486be813627a94bd7e2b3.GetStateQueryParameterType `uriparametername:"state"` }
ItemIssuesRequestBuilderGetQueryParameters list issues in an organization assigned to the authenticated user.**Note**: GitHub's REST API considers every pull request an issue, but not every issue is a pull request. For thisreason, "Issues" endpoints may return both issues and pull requests in the response. You can identify pull requests bythe `pull_request` key. Be aware that the `id` of a pull request returned from "Issues" endpoints will be an _issue id_. To find out the pullrequest id, use the "[List pull requests](https://docs.github.com/rest/pulls/pulls#list-pull-requests)" endpoint.
type ItemIssuesRequestBuilderGetRequestConfiguration ¶
type ItemIssuesRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemIssuesRequestBuilderGetQueryParameters }
ItemIssuesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemItemItemWithEnablementPostRequestBody ¶
type ItemItemItemWithEnablementPostRequestBody struct {
// contains filtered or unexported fields
}
ItemItemItemWithEnablementPostRequestBody
func NewItemItemItemWithEnablementPostRequestBody ¶
func NewItemItemItemWithEnablementPostRequestBody() *ItemItemItemWithEnablementPostRequestBody
NewItemItemItemWithEnablementPostRequestBody instantiates a new ItemItemItemWithEnablementPostRequestBody and sets the default values.
func (*ItemItemItemWithEnablementPostRequestBody) GetAdditionalData ¶
func (m *ItemItemItemWithEnablementPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemItemItemWithEnablementPostRequestBody) GetFieldDeserializers ¶
func (m *ItemItemItemWithEnablementPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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 }
ItemItemItemWithEnablementPostRequestBodyable
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 WithEnablementItemRequestBuilder and sets the default values.
func NewItemItemWithEnablementItemRequestBuilderInternal ¶
func NewItemItemWithEnablementItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemWithEnablementItemRequestBuilder
NewItemItemWithEnablementItemRequestBuilderInternal instantiates a new WithEnablementItemRequestBuilder and sets the default values.
func (*ItemItemWithEnablementItemRequestBuilder) Post ¶
func (m *ItemItemWithEnablementItemRequestBuilder) Post(ctx context.Context, body ItemItemItemWithEnablementPostRequestBodyable, requestConfiguration *ItemItemWithEnablementItemRequestBuilderPostRequestConfiguration) error
Post enables or disables the specified security feature for all eligible repositories in an organization.To use this endpoint, you must be an organization owner or be member of a team with the security manager role.A token with the 'write:org' scope is also required.GitHub Apps must have the `organization_administration:write` permission to use this endpoint.For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." API method documentation
func (*ItemItemWithEnablementItemRequestBuilder) ToPostRequestInformation ¶
func (m *ItemItemWithEnablementItemRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemItemItemWithEnablementPostRequestBodyable, requestConfiguration *ItemItemWithEnablementItemRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation enables or disables the specified security feature for all eligible repositories in an organization.To use this endpoint, you must be an organization owner or be member of a team with the security manager role.A token with the 'write:org' scope is also required.GitHub Apps must have the `organization_administration:write` permission to use this endpoint.For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
func (*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.
type ItemItemWithEnablementItemRequestBuilderPostRequestConfiguration ¶
type ItemItemWithEnablementItemRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemItemWithEnablementItemRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemMembersItemCodespacesGetResponse ¶
type ItemMembersItemCodespacesGetResponse struct {
// contains filtered or unexported fields
}
ItemMembersItemCodespacesGetResponse
func NewItemMembersItemCodespacesGetResponse ¶
func NewItemMembersItemCodespacesGetResponse() *ItemMembersItemCodespacesGetResponse
NewItemMembersItemCodespacesGetResponse instantiates a new ItemMembersItemCodespacesGetResponse and sets the default values.
func (*ItemMembersItemCodespacesGetResponse) GetAdditionalData ¶
func (m *ItemMembersItemCodespacesGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemMembersItemCodespacesGetResponse) GetCodespaces ¶
func (m *ItemMembersItemCodespacesGetResponse) GetCodespaces() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Codespaceable
GetCodespaces gets the codespaces property value. The codespaces property
func (*ItemMembersItemCodespacesGetResponse) GetFieldDeserializers ¶
func (m *ItemMembersItemCodespacesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemMembersItemCodespacesGetResponse) GetTotalCount ¶
func (m *ItemMembersItemCodespacesGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property
func (*ItemMembersItemCodespacesGetResponse) Serialize ¶
func (m *ItemMembersItemCodespacesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemMembersItemCodespacesGetResponse) SetAdditionalData ¶
func (m *ItemMembersItemCodespacesGetResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemMembersItemCodespacesGetResponse) SetCodespaces ¶
func (m *ItemMembersItemCodespacesGetResponse) SetCodespaces(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Codespaceable)
SetCodespaces sets the codespaces property value. The codespaces property
func (*ItemMembersItemCodespacesGetResponse) SetTotalCount ¶
func (m *ItemMembersItemCodespacesGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemMembersItemCodespacesGetResponseable ¶
type ItemMembersItemCodespacesGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetCodespaces() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Codespaceable GetTotalCount() *int32 SetCodespaces(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Codespaceable) SetTotalCount(value *int32) }
ItemMembersItemCodespacesGetResponseable
type ItemMembersItemCodespacesItemStopRequestBuilder ¶
type ItemMembersItemCodespacesItemStopRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemMembersItemCodespacesItemStopRequestBuilder builds and executes requests for operations under \orgs\{org}\members\{username}\codespaces\{codespace_name}\stop
func NewItemMembersItemCodespacesItemStopRequestBuilder ¶
func NewItemMembersItemCodespacesItemStopRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersItemCodespacesItemStopRequestBuilder
NewItemMembersItemCodespacesItemStopRequestBuilder instantiates a new StopRequestBuilder and sets the default values.
func NewItemMembersItemCodespacesItemStopRequestBuilderInternal ¶
func NewItemMembersItemCodespacesItemStopRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersItemCodespacesItemStopRequestBuilder
NewItemMembersItemCodespacesItemStopRequestBuilderInternal instantiates a new StopRequestBuilder and sets the default values.
func (*ItemMembersItemCodespacesItemStopRequestBuilder) Post ¶
func (m *ItemMembersItemCodespacesItemStopRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemMembersItemCodespacesItemStopRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Codespaceable, error)
Post stops a user's codespace.To use this endpoint you must authenticate using one of the following methods:- An access token with the `admin:org` scope- An access token with write permissions for `Codespaces lifecycle admin` on the specific repository and write permissions for `Organization codespaces` API method documentation
func (*ItemMembersItemCodespacesItemStopRequestBuilder) ToPostRequestInformation ¶
func (m *ItemMembersItemCodespacesItemStopRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemMembersItemCodespacesItemStopRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation stops a user's codespace.To use this endpoint you must authenticate using one of the following methods:- An access token with the `admin:org` scope- An access token with write permissions for `Codespaces lifecycle admin` on the specific repository and write permissions for `Organization codespaces`
func (*ItemMembersItemCodespacesItemStopRequestBuilder) WithUrl ¶
func (m *ItemMembersItemCodespacesItemStopRequestBuilder) WithUrl(rawUrl string) *ItemMembersItemCodespacesItemStopRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemMembersItemCodespacesItemStopRequestBuilderPostRequestConfiguration ¶
type ItemMembersItemCodespacesItemStopRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemMembersItemCodespacesItemStopRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse ¶
type ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse struct {
// contains filtered or unexported fields
}
ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse
func NewItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse ¶
func NewItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse() *ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse
NewItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse instantiates a new ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse and sets the default values.
func (*ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse) GetAdditionalData ¶
func (m *ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse) GetFieldDeserializers ¶
func (m *ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse) Serialize ¶
func (m *ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse) SetAdditionalData ¶
func (m *ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
type ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponseable ¶
type ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponseable
type ItemMembersItemCodespacesItemWithCodespace_nameResponse ¶
type ItemMembersItemCodespacesItemWithCodespace_nameResponse struct {
ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponse
}
ItemMembersItemCodespacesItemWithCodespace_nameResponse Deprecated: This class is obsolete. Use WithCodespace_nameDeleteResponse instead.
func NewItemMembersItemCodespacesItemWithCodespace_nameResponse ¶
func NewItemMembersItemCodespacesItemWithCodespace_nameResponse() *ItemMembersItemCodespacesItemWithCodespace_nameResponse
NewItemMembersItemCodespacesItemWithCodespace_nameResponse instantiates a new ItemMembersItemCodespacesItemWithCodespace_nameResponse and sets the default values.
type ItemMembersItemCodespacesItemWithCodespace_nameResponseable ¶
type ItemMembersItemCodespacesItemWithCodespace_nameResponseable interface { ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemMembersItemCodespacesItemWithCodespace_nameResponseable Deprecated: This class is obsolete. Use WithCodespace_nameDeleteResponse instead.
type ItemMembersItemCodespacesRequestBuilder ¶
type ItemMembersItemCodespacesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemMembersItemCodespacesRequestBuilder builds and executes requests for operations under \orgs\{org}\members\{username}\codespaces
func NewItemMembersItemCodespacesRequestBuilder ¶
func NewItemMembersItemCodespacesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersItemCodespacesRequestBuilder
NewItemMembersItemCodespacesRequestBuilder instantiates a new CodespacesRequestBuilder and sets the default values.
func NewItemMembersItemCodespacesRequestBuilderInternal ¶
func NewItemMembersItemCodespacesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersItemCodespacesRequestBuilder
NewItemMembersItemCodespacesRequestBuilderInternal instantiates a new CodespacesRequestBuilder and sets the default values.
func (*ItemMembersItemCodespacesRequestBuilder) ByCodespace_name ¶
func (m *ItemMembersItemCodespacesRequestBuilder) ByCodespace_name(codespace_name string) *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder
ByCodespace_name gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.members.item.codespaces.item collection
func (*ItemMembersItemCodespacesRequestBuilder) Get ¶
func (m *ItemMembersItemCodespacesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMembersItemCodespacesRequestBuilderGetRequestConfiguration) (ItemMembersItemCodespacesResponseable, error)
Get lists the codespaces that a member of an organization has for repositories in that organization.You must authenticate using an access token with the `admin:org` scope or the `Organization codespaces` read permission to use this endpoint. Deprecated: This method is obsolete. Use GetAsCodespacesGetResponse instead. API method documentation
func (*ItemMembersItemCodespacesRequestBuilder) GetAsCodespacesGetResponse ¶
func (m *ItemMembersItemCodespacesRequestBuilder) GetAsCodespacesGetResponse(ctx context.Context, requestConfiguration *ItemMembersItemCodespacesRequestBuilderGetRequestConfiguration) (ItemMembersItemCodespacesGetResponseable, error)
GetAsCodespacesGetResponse lists the codespaces that a member of an organization has for repositories in that organization.You must authenticate using an access token with the `admin:org` scope or the `Organization codespaces` read permission to use this endpoint. API method documentation
func (*ItemMembersItemCodespacesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemMembersItemCodespacesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMembersItemCodespacesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the codespaces that a member of an organization has for repositories in that organization.You must authenticate using an access token with the `admin:org` scope or the `Organization codespaces` read permission to use this endpoint.
func (*ItemMembersItemCodespacesRequestBuilder) WithUrl ¶
func (m *ItemMembersItemCodespacesRequestBuilder) WithUrl(rawUrl string) *ItemMembersItemCodespacesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemMembersItemCodespacesRequestBuilderGetQueryParameters ¶
type ItemMembersItemCodespacesRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemMembersItemCodespacesRequestBuilderGetQueryParameters lists the codespaces that a member of an organization has for repositories in that organization.You must authenticate using an access token with the `admin:org` scope or the `Organization codespaces` read permission to use this endpoint.
type ItemMembersItemCodespacesRequestBuilderGetRequestConfiguration ¶
type ItemMembersItemCodespacesRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemMembersItemCodespacesRequestBuilderGetQueryParameters }
ItemMembersItemCodespacesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemMembersItemCodespacesResponse ¶
type ItemMembersItemCodespacesResponse struct {
ItemMembersItemCodespacesGetResponse
}
ItemMembersItemCodespacesResponse Deprecated: This class is obsolete. Use codespacesGetResponse instead.
func NewItemMembersItemCodespacesResponse ¶
func NewItemMembersItemCodespacesResponse() *ItemMembersItemCodespacesResponse
NewItemMembersItemCodespacesResponse instantiates a new ItemMembersItemCodespacesResponse and sets the default values.
type ItemMembersItemCodespacesResponseable ¶
type ItemMembersItemCodespacesResponseable interface { ItemMembersItemCodespacesGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemMembersItemCodespacesResponseable Deprecated: This class is obsolete. Use codespacesGetResponse instead.
type ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder ¶
type ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\members\{username}\codespaces\{codespace_name}
func NewItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder ¶
func NewItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder
NewItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder instantiates a new WithCodespace_nameItemRequestBuilder and sets the default values.
func NewItemMembersItemCodespacesWithCodespace_nameItemRequestBuilderInternal ¶
func NewItemMembersItemCodespacesWithCodespace_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder
NewItemMembersItemCodespacesWithCodespace_nameItemRequestBuilderInternal instantiates a new WithCodespace_nameItemRequestBuilder and sets the default values.
func (*ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder) Delete ¶
func (m *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilderDeleteRequestConfiguration) (ItemMembersItemCodespacesItemWithCodespace_nameResponseable, error)
Delete deletes a user's codespace.To use this endpoint you must authenticate using one of the following methods:- An access token with the `admin:org` scope- An access token with write permissions for `Codespaces` on the specific repository and write permissions for `Organization codespaces` Deprecated: This method is obsolete. Use DeleteAsWithCodespace_nameDeleteResponse instead. API method documentation
func (*ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder) DeleteAsWithCodespace_nameDeleteResponse ¶
func (m *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder) DeleteAsWithCodespace_nameDeleteResponse(ctx context.Context, requestConfiguration *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilderDeleteRequestConfiguration) (ItemMembersItemCodespacesItemWithCodespace_nameDeleteResponseable, error)
DeleteAsWithCodespace_nameDeleteResponse deletes a user's codespace.To use this endpoint you must authenticate using one of the following methods:- An access token with the `admin:org` scope- An access token with write permissions for `Codespaces` on the specific repository and write permissions for `Organization codespaces` API method documentation
func (*ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder) Stop ¶
func (m *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder) Stop() *ItemMembersItemCodespacesItemStopRequestBuilder
Stop the stop property
func (*ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a user's codespace.To use this endpoint you must authenticate using one of the following methods:- An access token with the `admin:org` scope- An access token with write permissions for `Codespaces` on the specific repository and write permissions for `Organization codespaces`
func (*ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder) WithUrl ¶
func (m *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder) WithUrl(rawUrl string) *ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilderDeleteRequestConfiguration ¶
type ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemMembersItemCodespacesWithCodespace_nameItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemMembersItemCopilotRequestBuilder ¶
type ItemMembersItemCopilotRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemMembersItemCopilotRequestBuilder builds and executes requests for operations under \orgs\{org}\members\{username}\copilot
func NewItemMembersItemCopilotRequestBuilder ¶
func NewItemMembersItemCopilotRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersItemCopilotRequestBuilder
NewItemMembersItemCopilotRequestBuilder instantiates a new CopilotRequestBuilder and sets the default values.
func NewItemMembersItemCopilotRequestBuilderInternal ¶
func NewItemMembersItemCopilotRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersItemCopilotRequestBuilder
NewItemMembersItemCopilotRequestBuilderInternal instantiates a new CopilotRequestBuilder and sets the default values.
func (*ItemMembersItemCopilotRequestBuilder) Get ¶
func (m *ItemMembersItemCopilotRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMembersItemCopilotRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CopilotSeatDetailsable, error)
Get **Note**: This endpoint is in beta and is subject to change.Gets the GitHub Copilot Business seat assignment details for a member of an organization who currently has access to GitHub Copilot.Organization owners can view GitHub Copilot seat assignment details for members in their organization. You must authenticate using an access token with the `manage_billing:copilot` scope to use this endpoint. API method documentation
func (*ItemMembersItemCopilotRequestBuilder) ToGetRequestInformation ¶
func (m *ItemMembersItemCopilotRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMembersItemCopilotRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation **Note**: This endpoint is in beta and is subject to change.Gets the GitHub Copilot Business seat assignment details for a member of an organization who currently has access to GitHub Copilot.Organization owners can view GitHub Copilot seat assignment details for members in their organization. You must authenticate using an access token with the `manage_billing:copilot` scope to use this endpoint.
func (*ItemMembersItemCopilotRequestBuilder) WithUrl ¶
func (m *ItemMembersItemCopilotRequestBuilder) WithUrl(rawUrl string) *ItemMembersItemCopilotRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemMembersItemCopilotRequestBuilderGetRequestConfiguration ¶
type ItemMembersItemCopilotRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemMembersItemCopilotRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 MembersRequestBuilder and sets the default values.
func NewItemMembersRequestBuilderInternal ¶
func NewItemMembersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersRequestBuilder
NewItemMembersRequestBuilderInternal instantiates a new MembersRequestBuilder and sets the default values.
func (*ItemMembersRequestBuilder) ByUsername ¶
func (m *ItemMembersRequestBuilder) ByUsername(username string) *ItemMembersWithUsernameItemRequestBuilder
ByUsername gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.members.item collection
func (*ItemMembersRequestBuilder) Get ¶
func (m *ItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMembersRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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. API method documentation
func (*ItemMembersRequestBuilder) ToGetRequestInformation ¶
func (m *ItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMembersRequestBuilderGetRequestConfiguration) (*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.
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.
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. // Deprecated: This property is deprecated, use filterAsGetFilterQueryParameterType instead Filter *string `uriparametername:"filter"` // 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. FilterAsGetFilterQueryParameterType *id17450d82944fa531d7f154d669a8b6ce833b49a25250377061627d436cc43a6.GetFilterQueryParameterType `uriparametername:"filter"` // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` // Filter members returned by their role. // Deprecated: This property is deprecated, use roleAsGetRoleQueryParameterType instead Role *string `uriparametername:"role"` // Filter members returned by their role. RoleAsGetRoleQueryParameterType *id17450d82944fa531d7f154d669a8b6ce833b49a25250377061627d436cc43a6.GetRoleQueryParameterType `uriparametername:"role"` }
ItemMembersRequestBuilderGetQueryParameters list all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.
type ItemMembersRequestBuilderGetRequestConfiguration ¶
type ItemMembersRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemMembersRequestBuilderGetQueryParameters }
ItemMembersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 WithUsernameItemRequestBuilder and sets the default values.
func NewItemMembersWithUsernameItemRequestBuilderInternal ¶
func NewItemMembersWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembersWithUsernameItemRequestBuilder
NewItemMembersWithUsernameItemRequestBuilderInternal instantiates a new WithUsernameItemRequestBuilder and sets the default values.
func (*ItemMembersWithUsernameItemRequestBuilder) Codespaces ¶
func (m *ItemMembersWithUsernameItemRequestBuilder) Codespaces() *ItemMembersItemCodespacesRequestBuilder
Codespaces the codespaces property
func (*ItemMembersWithUsernameItemRequestBuilder) Copilot ¶
func (m *ItemMembersWithUsernameItemRequestBuilder) Copilot() *ItemMembersItemCopilotRequestBuilder
Copilot the copilot property
func (*ItemMembersWithUsernameItemRequestBuilder) Delete ¶
func (m *ItemMembersWithUsernameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemMembersWithUsernameItemRequestBuilderDeleteRequestConfiguration) 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. API method documentation
func (*ItemMembersWithUsernameItemRequestBuilder) Get ¶
func (m *ItemMembersWithUsernameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMembersWithUsernameItemRequestBuilderGetRequestConfiguration) 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 *ItemMembersWithUsernameItemRequestBuilderDeleteRequestConfiguration) (*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.
func (*ItemMembersWithUsernameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemMembersWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMembersWithUsernameItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation check if a user is, publicly or privately, a member of the organization.
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.
type ItemMembersWithUsernameItemRequestBuilderDeleteRequestConfiguration ¶
type ItemMembersWithUsernameItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemMembersWithUsernameItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemMembersWithUsernameItemRequestBuilderGetRequestConfiguration ¶
type ItemMembersWithUsernameItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemMembersWithUsernameItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemMembershipsItemWithUsernamePutRequestBody ¶
type ItemMembershipsItemWithUsernamePutRequestBody struct {
// contains filtered or unexported fields
}
ItemMembershipsItemWithUsernamePutRequestBody
func NewItemMembershipsItemWithUsernamePutRequestBody ¶
func NewItemMembershipsItemWithUsernamePutRequestBody() *ItemMembershipsItemWithUsernamePutRequestBody
NewItemMembershipsItemWithUsernamePutRequestBody instantiates a new ItemMembershipsItemWithUsernamePutRequestBody and sets the default values.
func (*ItemMembershipsItemWithUsernamePutRequestBody) GetAdditionalData ¶
func (m *ItemMembershipsItemWithUsernamePutRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemMembershipsItemWithUsernamePutRequestBody) GetFieldDeserializers ¶
func (m *ItemMembershipsItemWithUsernamePutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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 }
ItemMembershipsItemWithUsernamePutRequestBodyable
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 MembershipsRequestBuilder and sets the default values.
func NewItemMembershipsRequestBuilderInternal ¶
func NewItemMembershipsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembershipsRequestBuilder
NewItemMembershipsRequestBuilderInternal instantiates a new MembershipsRequestBuilder and sets the default values.
func (*ItemMembershipsRequestBuilder) ByUsername ¶
func (m *ItemMembershipsRequestBuilder) ByUsername(username string) *ItemMembershipsWithUsernameItemRequestBuilder
ByUsername gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.memberships.item collection
type ItemMembershipsWithUsernameItemRequestBuilder ¶
type ItemMembershipsWithUsernameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemMembershipsWithUsernameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\memberships\{username}
func NewItemMembershipsWithUsernameItemRequestBuilder ¶
func NewItemMembershipsWithUsernameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembershipsWithUsernameItemRequestBuilder
NewItemMembershipsWithUsernameItemRequestBuilder instantiates a new WithUsernameItemRequestBuilder and sets the default values.
func NewItemMembershipsWithUsernameItemRequestBuilderInternal ¶
func NewItemMembershipsWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMembershipsWithUsernameItemRequestBuilder
NewItemMembershipsWithUsernameItemRequestBuilderInternal instantiates a new WithUsernameItemRequestBuilder and sets the default values.
func (*ItemMembershipsWithUsernameItemRequestBuilder) Delete ¶
func (m *ItemMembershipsWithUsernameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemMembershipsWithUsernameItemRequestBuilderDeleteRequestConfiguration) 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. API method documentation
func (*ItemMembershipsWithUsernameItemRequestBuilder) Get ¶
func (m *ItemMembershipsWithUsernameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMembershipsWithUsernameItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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. API method documentation
func (*ItemMembershipsWithUsernameItemRequestBuilder) Put ¶
func (m *ItemMembershipsWithUsernameItemRequestBuilder) Put(ctx context.Context, body ItemMembershipsItemWithUsernamePutRequestBodyable, requestConfiguration *ItemMembershipsWithUsernameItemRequestBuilderPutRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation. * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.**Rate limits**To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period. API method documentation
func (*ItemMembershipsWithUsernameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemMembershipsWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemMembershipsWithUsernameItemRequestBuilderDeleteRequestConfiguration) (*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.
func (*ItemMembershipsWithUsernameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemMembershipsWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMembershipsWithUsernameItemRequestBuilderGetRequestConfiguration) (*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.
func (*ItemMembershipsWithUsernameItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemMembershipsWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemMembershipsItemWithUsernamePutRequestBodyable, requestConfiguration *ItemMembershipsWithUsernameItemRequestBuilderPutRequestConfiguration) (*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/rest/orgs/members#get-organization-membership-for-a-user) will be `pending` until they accept the invitation. * Authenticated users can _update_ a user's membership by passing the `role` parameter. If the authenticated user changes a member's role to `admin`, the affected user will receive an email notifying them that they've been made an organization owner. If the authenticated user changes an owner's role to `member`, no email will be sent.**Rate limits**To prevent abuse, the authenticated user is limited to 50 organization invitations per 24 hour period. If the organization is more than one month old or on a paid plan, the limit is 500 invitations per 24 hour period.
func (*ItemMembershipsWithUsernameItemRequestBuilder) WithUrl ¶
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.
type ItemMembershipsWithUsernameItemRequestBuilderDeleteRequestConfiguration ¶
type ItemMembershipsWithUsernameItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemMembershipsWithUsernameItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemMembershipsWithUsernameItemRequestBuilderGetRequestConfiguration ¶
type ItemMembershipsWithUsernameItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemMembershipsWithUsernameItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemMembershipsWithUsernameItemRequestBuilderPutRequestConfiguration ¶
type ItemMembershipsWithUsernameItemRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemMembershipsWithUsernameItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 ArchiveRequestBuilder and sets the default values.
func NewItemMigrationsItemArchiveRequestBuilderInternal ¶
func NewItemMigrationsItemArchiveRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsItemArchiveRequestBuilder
NewItemMigrationsItemArchiveRequestBuilderInternal instantiates a new ArchiveRequestBuilder and sets the default values.
func (*ItemMigrationsItemArchiveRequestBuilder) Delete ¶
func (m *ItemMigrationsItemArchiveRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemMigrationsItemArchiveRequestBuilderDeleteRequestConfiguration) error
Delete deletes a previous migration archive. Migration archives are automatically deleted after seven days. API method documentation
func (*ItemMigrationsItemArchiveRequestBuilder) Get ¶
func (m *ItemMigrationsItemArchiveRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMigrationsItemArchiveRequestBuilderGetRequestConfiguration) ([]byte, error)
Get fetches the URL to a migration archive. API method documentation
func (*ItemMigrationsItemArchiveRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemMigrationsItemArchiveRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemMigrationsItemArchiveRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a previous migration archive. Migration archives are automatically deleted after seven days.
func (*ItemMigrationsItemArchiveRequestBuilder) ToGetRequestInformation ¶
func (m *ItemMigrationsItemArchiveRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMigrationsItemArchiveRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation fetches the URL to a migration archive.
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.
type ItemMigrationsItemArchiveRequestBuilderDeleteRequestConfiguration ¶
type ItemMigrationsItemArchiveRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemMigrationsItemArchiveRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemMigrationsItemArchiveRequestBuilderGetRequestConfiguration ¶
type ItemMigrationsItemArchiveRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemMigrationsItemArchiveRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 LockRequestBuilder and sets the default values.
func NewItemMigrationsItemReposItemLockRequestBuilderInternal ¶
func NewItemMigrationsItemReposItemLockRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsItemReposItemLockRequestBuilder
NewItemMigrationsItemReposItemLockRequestBuilderInternal instantiates a new LockRequestBuilder and sets the default values.
func (*ItemMigrationsItemReposItemLockRequestBuilder) Delete ¶
func (m *ItemMigrationsItemReposItemLockRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemMigrationsItemReposItemLockRequestBuilderDeleteRequestConfiguration) error
Delete unlocks a repository that was locked for migration. You should unlock each migrated repository and [delete them](https://docs.github.com/rest/repos/repos#delete-a-repository) when the migration is complete and you no longer need the source data. API method documentation
func (*ItemMigrationsItemReposItemLockRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemMigrationsItemReposItemLockRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemMigrationsItemReposItemLockRequestBuilderDeleteRequestConfiguration) (*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/rest/repos/repos#delete-a-repository) when the migration is complete and you no longer need the source data.
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.
type ItemMigrationsItemReposItemLockRequestBuilderDeleteRequestConfiguration ¶
type ItemMigrationsItemReposItemLockRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemMigrationsItemReposItemLockRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 ReposRequestBuilder and sets the default values.
func NewItemMigrationsItemReposRequestBuilderInternal ¶
func NewItemMigrationsItemReposRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsItemReposRequestBuilder
NewItemMigrationsItemReposRequestBuilderInternal instantiates a new ReposRequestBuilder and sets the default values.
func (*ItemMigrationsItemReposRequestBuilder) ByRepo_name ¶
func (m *ItemMigrationsItemReposRequestBuilder) ByRepo_name(repo_name string) *ItemMigrationsItemReposWithRepo_nameItemRequestBuilder
ByRepo_name gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.migrations.item.repos.item collection
type ItemMigrationsItemReposWithRepo_nameItemRequestBuilder ¶
type ItemMigrationsItemReposWithRepo_nameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemMigrationsItemReposWithRepo_nameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\migrations\{migration_id}\repos\{repo_name}
func NewItemMigrationsItemReposWithRepo_nameItemRequestBuilder ¶
func NewItemMigrationsItemReposWithRepo_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsItemReposWithRepo_nameItemRequestBuilder
NewItemMigrationsItemReposWithRepo_nameItemRequestBuilder instantiates a new WithRepo_nameItemRequestBuilder and sets the default values.
func NewItemMigrationsItemReposWithRepo_nameItemRequestBuilderInternal ¶
func NewItemMigrationsItemReposWithRepo_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsItemReposWithRepo_nameItemRequestBuilder
NewItemMigrationsItemReposWithRepo_nameItemRequestBuilderInternal instantiates a new WithRepo_nameItemRequestBuilder and sets the default values.
func (*ItemMigrationsItemReposWithRepo_nameItemRequestBuilder) Lock ¶
func (m *ItemMigrationsItemReposWithRepo_nameItemRequestBuilder) Lock() *ItemMigrationsItemReposItemLockRequestBuilder
Lock the lock property
type ItemMigrationsItemRepositoriesRequestBuilder ¶
type ItemMigrationsItemRepositoriesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemMigrationsItemRepositoriesRequestBuilder builds and executes requests for operations under \orgs\{org}\migrations\{migration_id}\repositories
func NewItemMigrationsItemRepositoriesRequestBuilder ¶
func NewItemMigrationsItemRepositoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsItemRepositoriesRequestBuilder
NewItemMigrationsItemRepositoriesRequestBuilder instantiates a new RepositoriesRequestBuilder and sets the default values.
func NewItemMigrationsItemRepositoriesRequestBuilderInternal ¶
func NewItemMigrationsItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsItemRepositoriesRequestBuilder
NewItemMigrationsItemRepositoriesRequestBuilderInternal instantiates a new RepositoriesRequestBuilder and sets the default values.
func (*ItemMigrationsItemRepositoriesRequestBuilder) Get ¶
func (m *ItemMigrationsItemRepositoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMigrationsItemRepositoriesRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable, error)
Get list all the repositories for this organization migration. API method documentation
func (*ItemMigrationsItemRepositoriesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemMigrationsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMigrationsItemRepositoriesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list all the repositories for this organization migration.
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.
type ItemMigrationsItemRepositoriesRequestBuilderGetQueryParameters ¶
type ItemMigrationsItemRepositoriesRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemMigrationsItemRepositoriesRequestBuilderGetQueryParameters list all the repositories for this organization migration.
type ItemMigrationsItemRepositoriesRequestBuilderGetRequestConfiguration ¶
type ItemMigrationsItemRepositoriesRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemMigrationsItemRepositoriesRequestBuilderGetQueryParameters }
ItemMigrationsItemRepositoriesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemMigrationsPostRequestBody ¶
type ItemMigrationsPostRequestBody struct {
// contains filtered or unexported fields
}
ItemMigrationsPostRequestBody
func NewItemMigrationsPostRequestBody ¶
func NewItemMigrationsPostRequestBody() *ItemMigrationsPostRequestBody
NewItemMigrationsPostRequestBody instantiates a new ItemMigrationsPostRequestBody and sets the default values.
func (*ItemMigrationsPostRequestBody) GetAdditionalData ¶
func (m *ItemMigrationsPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemMigrationsPostRequestBody) GetExcludeAttachments ¶
func (m *ItemMigrationsPostRequestBody) GetExcludeAttachments() *bool
GetExcludeAttachments gets the exclude_attachments property value. Indicates whether attachments should be excluded from the migration (to reduce migration archive file size).
func (*ItemMigrationsPostRequestBody) GetExcludeGitData ¶
func (m *ItemMigrationsPostRequestBody) GetExcludeGitData() *bool
GetExcludeGitData gets the exclude_git_data property value. Indicates whether the repository git data should be excluded from the migration.
func (*ItemMigrationsPostRequestBody) GetExcludeMetadata ¶
func (m *ItemMigrationsPostRequestBody) GetExcludeMetadata() *bool
GetExcludeMetadata gets the exclude_metadata property value. Indicates whether metadata should be excluded and only git source should be included for the migration.
func (*ItemMigrationsPostRequestBody) GetExcludeOwnerProjects ¶
func (m *ItemMigrationsPostRequestBody) GetExcludeOwnerProjects() *bool
GetExcludeOwnerProjects gets the exclude_owner_projects property value. Indicates whether projects owned by the organization or users should be excluded. from the migration.
func (*ItemMigrationsPostRequestBody) GetExcludeReleases ¶
func (m *ItemMigrationsPostRequestBody) GetExcludeReleases() *bool
GetExcludeReleases gets the exclude_releases property value. Indicates whether releases should be excluded from the migration (to reduce migration archive file size).
func (*ItemMigrationsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemMigrationsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemMigrationsPostRequestBody) GetLockRepositories ¶
func (m *ItemMigrationsPostRequestBody) GetLockRepositories() *bool
GetLockRepositories gets the lock_repositories property value. Indicates whether repositories should be locked (to prevent manipulation) while migrating data.
func (*ItemMigrationsPostRequestBody) GetOrgMetadataOnly ¶
func (m *ItemMigrationsPostRequestBody) GetOrgMetadataOnly() *bool
GetOrgMetadataOnly gets the org_metadata_only property value. Indicates whether this should only include organization metadata (repositories array should be empty and will ignore other flags).
func (*ItemMigrationsPostRequestBody) GetRepositories ¶
func (m *ItemMigrationsPostRequestBody) GetRepositories() []string
GetRepositories gets the repositories property value. A list of arrays indicating which repositories should be migrated.
func (*ItemMigrationsPostRequestBody) Serialize ¶
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) }
ItemMigrationsPostRequestBodyable
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 MigrationsRequestBuilder and sets the default values.
func NewItemMigrationsRequestBuilderInternal ¶
func NewItemMigrationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsRequestBuilder
NewItemMigrationsRequestBuilderInternal instantiates a new MigrationsRequestBuilder and sets the default values.
func (*ItemMigrationsRequestBuilder) ByMigration_id ¶
func (m *ItemMigrationsRequestBuilder) ByMigration_id(migration_id string) *ItemMigrationsWithMigration_ItemRequestBuilder
ByMigration_id gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.migrations.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.
func (*ItemMigrationsRequestBuilder) ByMigration_idInteger ¶
func (m *ItemMigrationsRequestBuilder) ByMigration_idInteger(migration_id int32) *ItemMigrationsWithMigration_ItemRequestBuilder
ByMigration_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.migrations.item collection
func (*ItemMigrationsRequestBuilder) Get ¶
func (m *ItemMigrationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMigrationsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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. API method documentation
func (*ItemMigrationsRequestBuilder) Post ¶
func (m *ItemMigrationsRequestBuilder) Post(ctx context.Context, body ItemMigrationsPostRequestBodyable, requestConfiguration *ItemMigrationsRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Migrationable, error)
Post initiates the generation of a migration archive. API method documentation
func (*ItemMigrationsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemMigrationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMigrationsRequestBuilderGetRequestConfiguration) (*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.
func (*ItemMigrationsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemMigrationsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemMigrationsPostRequestBodyable, requestConfiguration *ItemMigrationsRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation initiates the generation of a migration archive.
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.
type ItemMigrationsRequestBuilderGetQueryParameters ¶
type ItemMigrationsRequestBuilderGetQueryParameters struct { // Exclude attributes from the API response to improve performance Exclude []string `uriparametername:"exclude"` // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). 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 ItemMigrationsRequestBuilderGetRequestConfiguration ¶
type ItemMigrationsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemMigrationsRequestBuilderGetQueryParameters }
ItemMigrationsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemMigrationsRequestBuilderPostRequestConfiguration ¶
type ItemMigrationsRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemMigrationsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 WithMigration_ItemRequestBuilder and sets the default values.
func NewItemMigrationsWithMigration_ItemRequestBuilderInternal ¶
func NewItemMigrationsWithMigration_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemMigrationsWithMigration_ItemRequestBuilder
NewItemMigrationsWithMigration_ItemRequestBuilderInternal instantiates a new WithMigration_ItemRequestBuilder and sets the default values.
func (*ItemMigrationsWithMigration_ItemRequestBuilder) Archive ¶
func (m *ItemMigrationsWithMigration_ItemRequestBuilder) Archive() *ItemMigrationsItemArchiveRequestBuilder
Archive the archive property
func (*ItemMigrationsWithMigration_ItemRequestBuilder) Get ¶
func (m *ItemMigrationsWithMigration_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemMigrationsWithMigration_ItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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. API method documentation
func (*ItemMigrationsWithMigration_ItemRequestBuilder) Repos ¶
func (m *ItemMigrationsWithMigration_ItemRequestBuilder) Repos() *ItemMigrationsItemReposRequestBuilder
Repos the repos property
func (*ItemMigrationsWithMigration_ItemRequestBuilder) Repositories ¶
func (m *ItemMigrationsWithMigration_ItemRequestBuilder) Repositories() *ItemMigrationsItemRepositoriesRequestBuilder
Repositories the repositories property
func (*ItemMigrationsWithMigration_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemMigrationsWithMigration_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemMigrationsWithMigration_ItemRequestBuilderGetRequestConfiguration) (*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.
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.
type ItemMigrationsWithMigration_ItemRequestBuilderGetQueryParameters ¶
type ItemMigrationsWithMigration_ItemRequestBuilderGetQueryParameters struct { // Exclude attributes from the API response to improve performance Exclude []string `uriparametername:"exclude"` }
ItemMigrationsWithMigration_ItemRequestBuilderGetQueryParameters fetches the status of a migration.The `state` of a migration can be one of the following values:* `pending`, which means the migration hasn't started yet.* `exporting`, which means the migration is in progress.* `exported`, which means the migration finished successfully.* `failed`, which means the migration failed.
type ItemMigrationsWithMigration_ItemRequestBuilderGetRequestConfiguration ¶
type ItemMigrationsWithMigration_ItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemMigrationsWithMigration_ItemRequestBuilderGetQueryParameters }
ItemMigrationsWithMigration_ItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemOrganizationFineGrainedPermissionsRequestBuilder ¶
type ItemOrganizationFineGrainedPermissionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemOrganizationFineGrainedPermissionsRequestBuilder builds and executes requests for operations under \orgs\{org}\organization-fine-grained-permissions
func NewItemOrganizationFineGrainedPermissionsRequestBuilder ¶
func NewItemOrganizationFineGrainedPermissionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationFineGrainedPermissionsRequestBuilder
NewItemOrganizationFineGrainedPermissionsRequestBuilder instantiates a new OrganizationFineGrainedPermissionsRequestBuilder and sets the default values.
func NewItemOrganizationFineGrainedPermissionsRequestBuilderInternal ¶
func NewItemOrganizationFineGrainedPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationFineGrainedPermissionsRequestBuilder
NewItemOrganizationFineGrainedPermissionsRequestBuilderInternal instantiates a new OrganizationFineGrainedPermissionsRequestBuilder and sets the default values.
func (*ItemOrganizationFineGrainedPermissionsRequestBuilder) Get ¶
func (m *ItemOrganizationFineGrainedPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOrganizationFineGrainedPermissionsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationFineGrainedPermissionable, error)
Get lists the fine-grained permissions that can be used in custom organization roles for an organization. For more information, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."To list the fine-grained permissions that can be used in custom repository roles for an organization, see "[List repository fine-grained permissions for an organization](https://docs.github.com/rest/orgs/organization-roles#list-repository-fine-grained-permissions-for-an-organization)."To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.The authenticated user needs an access token with `admin:org` scope or a fine-grained personal access token with the `organization_custom_roles:read` permission to use this endpoint.GitHub Apps must have the `organization_custom_org_roles:read` organization permission to use this endpoint. API method documentation
func (*ItemOrganizationFineGrainedPermissionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemOrganizationFineGrainedPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOrganizationFineGrainedPermissionsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the fine-grained permissions that can be used in custom organization roles for an organization. For more information, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."To list the fine-grained permissions that can be used in custom repository roles for an organization, see "[List repository fine-grained permissions for an organization](https://docs.github.com/rest/orgs/organization-roles#list-repository-fine-grained-permissions-for-an-organization)."To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.The authenticated user needs an access token with `admin:org` scope or a fine-grained personal access token with the `organization_custom_roles:read` permission to use this endpoint.GitHub Apps must have the `organization_custom_org_roles:read` organization permission to use this endpoint.
func (*ItemOrganizationFineGrainedPermissionsRequestBuilder) WithUrl ¶
func (m *ItemOrganizationFineGrainedPermissionsRequestBuilder) WithUrl(rawUrl string) *ItemOrganizationFineGrainedPermissionsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemOrganizationFineGrainedPermissionsRequestBuilderGetRequestConfiguration ¶
type ItemOrganizationFineGrainedPermissionsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemOrganizationFineGrainedPermissionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemOrganizationRolesGetResponse ¶
type ItemOrganizationRolesGetResponse struct {
// contains filtered or unexported fields
}
ItemOrganizationRolesGetResponse
func NewItemOrganizationRolesGetResponse ¶
func NewItemOrganizationRolesGetResponse() *ItemOrganizationRolesGetResponse
NewItemOrganizationRolesGetResponse instantiates a new ItemOrganizationRolesGetResponse and sets the default values.
func (*ItemOrganizationRolesGetResponse) GetAdditionalData ¶
func (m *ItemOrganizationRolesGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemOrganizationRolesGetResponse) GetFieldDeserializers ¶
func (m *ItemOrganizationRolesGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemOrganizationRolesGetResponse) GetRoles ¶
func (m *ItemOrganizationRolesGetResponse) GetRoles() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationRoleable
GetRoles gets the roles property value. The list of organization roles available to the organization.
func (*ItemOrganizationRolesGetResponse) GetTotalCount ¶
func (m *ItemOrganizationRolesGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total number of organization roles available to the organization.
func (*ItemOrganizationRolesGetResponse) Serialize ¶
func (m *ItemOrganizationRolesGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemOrganizationRolesGetResponse) SetAdditionalData ¶
func (m *ItemOrganizationRolesGetResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemOrganizationRolesGetResponse) SetRoles ¶
func (m *ItemOrganizationRolesGetResponse) SetRoles(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationRoleable)
SetRoles sets the roles property value. The list of organization roles available to the organization.
func (*ItemOrganizationRolesGetResponse) SetTotalCount ¶
func (m *ItemOrganizationRolesGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total number of organization roles available to the organization.
type ItemOrganizationRolesGetResponseable ¶
type ItemOrganizationRolesGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetRoles() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationRoleable GetTotalCount() *int32 SetRoles(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationRoleable) SetTotalCount(value *int32) }
ItemOrganizationRolesGetResponseable
type ItemOrganizationRolesItemTeamsRequestBuilder ¶
type ItemOrganizationRolesItemTeamsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemOrganizationRolesItemTeamsRequestBuilder builds and executes requests for operations under \orgs\{org}\organization-roles\{role_id}\teams
func NewItemOrganizationRolesItemTeamsRequestBuilder ¶
func NewItemOrganizationRolesItemTeamsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesItemTeamsRequestBuilder
NewItemOrganizationRolesItemTeamsRequestBuilder instantiates a new TeamsRequestBuilder and sets the default values.
func NewItemOrganizationRolesItemTeamsRequestBuilderInternal ¶
func NewItemOrganizationRolesItemTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesItemTeamsRequestBuilder
NewItemOrganizationRolesItemTeamsRequestBuilderInternal instantiates a new TeamsRequestBuilder and sets the default values.
func (*ItemOrganizationRolesItemTeamsRequestBuilder) Get ¶
func (m *ItemOrganizationRolesItemTeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOrganizationRolesItemTeamsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Teamable, error)
Get lists the teams that are assigned to an organization role.To use this endpoint, you must be an administrator for the organization, and you must use an access token with the `admin:org` scope.GitHub Apps must have the `members` organization read permission to use this endpoint.For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." API method documentation
func (*ItemOrganizationRolesItemTeamsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemOrganizationRolesItemTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOrganizationRolesItemTeamsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the teams that are assigned to an organization role.To use this endpoint, you must be an administrator for the organization, and you must use an access token with the `admin:org` scope.GitHub Apps must have the `members` organization read permission to use this endpoint.For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
func (*ItemOrganizationRolesItemTeamsRequestBuilder) WithUrl ¶
func (m *ItemOrganizationRolesItemTeamsRequestBuilder) WithUrl(rawUrl string) *ItemOrganizationRolesItemTeamsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemOrganizationRolesItemTeamsRequestBuilderGetQueryParameters ¶
type ItemOrganizationRolesItemTeamsRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemOrganizationRolesItemTeamsRequestBuilderGetQueryParameters lists the teams that are assigned to an organization role.To use this endpoint, you must be an administrator for the organization, and you must use an access token with the `admin:org` scope.GitHub Apps must have the `members` organization read permission to use this endpoint.For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
type ItemOrganizationRolesItemTeamsRequestBuilderGetRequestConfiguration ¶
type ItemOrganizationRolesItemTeamsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemOrganizationRolesItemTeamsRequestBuilderGetQueryParameters }
ItemOrganizationRolesItemTeamsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemOrganizationRolesItemUsersRequestBuilder ¶
type ItemOrganizationRolesItemUsersRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemOrganizationRolesItemUsersRequestBuilder builds and executes requests for operations under \orgs\{org}\organization-roles\{role_id}\users
func NewItemOrganizationRolesItemUsersRequestBuilder ¶
func NewItemOrganizationRolesItemUsersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesItemUsersRequestBuilder
NewItemOrganizationRolesItemUsersRequestBuilder instantiates a new UsersRequestBuilder and sets the default values.
func NewItemOrganizationRolesItemUsersRequestBuilderInternal ¶
func NewItemOrganizationRolesItemUsersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesItemUsersRequestBuilder
NewItemOrganizationRolesItemUsersRequestBuilderInternal instantiates a new UsersRequestBuilder and sets the default values.
func (*ItemOrganizationRolesItemUsersRequestBuilder) Get ¶
func (m *ItemOrganizationRolesItemUsersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOrganizationRolesItemUsersRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SimpleUserable, error)
Get lists organization members that are assigned to an organization role.To use this endpoint, you must be an administrator for the organization, and you must use an access token with the `admin:org` scope.GitHub Apps must have the `members` organization read permission to use this endpoint.For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." API method documentation
func (*ItemOrganizationRolesItemUsersRequestBuilder) ToGetRequestInformation ¶
func (m *ItemOrganizationRolesItemUsersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOrganizationRolesItemUsersRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists organization members that are assigned to an organization role.To use this endpoint, you must be an administrator for the organization, and you must use an access token with the `admin:org` scope.GitHub Apps must have the `members` organization read permission to use this endpoint.For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
func (*ItemOrganizationRolesItemUsersRequestBuilder) WithUrl ¶
func (m *ItemOrganizationRolesItemUsersRequestBuilder) WithUrl(rawUrl string) *ItemOrganizationRolesItemUsersRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemOrganizationRolesItemUsersRequestBuilderGetQueryParameters ¶
type ItemOrganizationRolesItemUsersRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemOrganizationRolesItemUsersRequestBuilderGetQueryParameters lists organization members that are assigned to an organization role.To use this endpoint, you must be an administrator for the organization, and you must use an access token with the `admin:org` scope.GitHub Apps must have the `members` organization read permission to use this endpoint.For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
type ItemOrganizationRolesItemUsersRequestBuilderGetRequestConfiguration ¶
type ItemOrganizationRolesItemUsersRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemOrganizationRolesItemUsersRequestBuilderGetQueryParameters }
ItemOrganizationRolesItemUsersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemOrganizationRolesItemWithRole_PatchRequestBody ¶
type ItemOrganizationRolesItemWithRole_PatchRequestBody struct {
// contains filtered or unexported fields
}
ItemOrganizationRolesItemWithRole_PatchRequestBody
func NewItemOrganizationRolesItemWithRole_PatchRequestBody ¶
func NewItemOrganizationRolesItemWithRole_PatchRequestBody() *ItemOrganizationRolesItemWithRole_PatchRequestBody
NewItemOrganizationRolesItemWithRole_PatchRequestBody instantiates a new ItemOrganizationRolesItemWithRole_PatchRequestBody and sets the default values.
func (*ItemOrganizationRolesItemWithRole_PatchRequestBody) GetAdditionalData ¶
func (m *ItemOrganizationRolesItemWithRole_PatchRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemOrganizationRolesItemWithRole_PatchRequestBody) GetDescription ¶
func (m *ItemOrganizationRolesItemWithRole_PatchRequestBody) GetDescription() *string
GetDescription gets the description property value. A short description about the intended usage of this role or what permissions it grants.
func (*ItemOrganizationRolesItemWithRole_PatchRequestBody) GetFieldDeserializers ¶
func (m *ItemOrganizationRolesItemWithRole_PatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemOrganizationRolesItemWithRole_PatchRequestBody) GetName ¶
func (m *ItemOrganizationRolesItemWithRole_PatchRequestBody) GetName() *string
GetName gets the name property value. The name of the custom role.
func (*ItemOrganizationRolesItemWithRole_PatchRequestBody) GetPermissions ¶
func (m *ItemOrganizationRolesItemWithRole_PatchRequestBody) GetPermissions() []string
GetPermissions gets the permissions property value. A list of additional permissions included in this role.
func (*ItemOrganizationRolesItemWithRole_PatchRequestBody) Serialize ¶
func (m *ItemOrganizationRolesItemWithRole_PatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemOrganizationRolesItemWithRole_PatchRequestBody) SetAdditionalData ¶
func (m *ItemOrganizationRolesItemWithRole_PatchRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemOrganizationRolesItemWithRole_PatchRequestBody) SetDescription ¶
func (m *ItemOrganizationRolesItemWithRole_PatchRequestBody) SetDescription(value *string)
SetDescription sets the description property value. A short description about the intended usage of this role or what permissions it grants.
func (*ItemOrganizationRolesItemWithRole_PatchRequestBody) SetName ¶
func (m *ItemOrganizationRolesItemWithRole_PatchRequestBody) SetName(value *string)
SetName sets the name property value. The name of the custom role.
func (*ItemOrganizationRolesItemWithRole_PatchRequestBody) SetPermissions ¶
func (m *ItemOrganizationRolesItemWithRole_PatchRequestBody) SetPermissions(value []string)
SetPermissions sets the permissions property value. A list of additional permissions included in this role.
type ItemOrganizationRolesItemWithRole_PatchRequestBodyable ¶
type ItemOrganizationRolesItemWithRole_PatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetDescription() *string GetName() *string GetPermissions() []string SetDescription(value *string) SetName(value *string) SetPermissions(value []string) }
ItemOrganizationRolesItemWithRole_PatchRequestBodyable
type ItemOrganizationRolesPostRequestBody ¶
type ItemOrganizationRolesPostRequestBody struct {
// contains filtered or unexported fields
}
ItemOrganizationRolesPostRequestBody
func NewItemOrganizationRolesPostRequestBody ¶
func NewItemOrganizationRolesPostRequestBody() *ItemOrganizationRolesPostRequestBody
NewItemOrganizationRolesPostRequestBody instantiates a new ItemOrganizationRolesPostRequestBody and sets the default values.
func (*ItemOrganizationRolesPostRequestBody) GetAdditionalData ¶
func (m *ItemOrganizationRolesPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemOrganizationRolesPostRequestBody) GetDescription ¶
func (m *ItemOrganizationRolesPostRequestBody) GetDescription() *string
GetDescription gets the description property value. A short description about the intended usage of this role or what permissions it grants.
func (*ItemOrganizationRolesPostRequestBody) GetFieldDeserializers ¶
func (m *ItemOrganizationRolesPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemOrganizationRolesPostRequestBody) GetName ¶
func (m *ItemOrganizationRolesPostRequestBody) GetName() *string
GetName gets the name property value. The name of the custom role.
func (*ItemOrganizationRolesPostRequestBody) GetPermissions ¶
func (m *ItemOrganizationRolesPostRequestBody) GetPermissions() []string
GetPermissions gets the permissions property value. A list of additional permissions included in this role.
func (*ItemOrganizationRolesPostRequestBody) Serialize ¶
func (m *ItemOrganizationRolesPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemOrganizationRolesPostRequestBody) SetAdditionalData ¶
func (m *ItemOrganizationRolesPostRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemOrganizationRolesPostRequestBody) SetDescription ¶
func (m *ItemOrganizationRolesPostRequestBody) SetDescription(value *string)
SetDescription sets the description property value. A short description about the intended usage of this role or what permissions it grants.
func (*ItemOrganizationRolesPostRequestBody) SetName ¶
func (m *ItemOrganizationRolesPostRequestBody) SetName(value *string)
SetName sets the name property value. The name of the custom role.
func (*ItemOrganizationRolesPostRequestBody) SetPermissions ¶
func (m *ItemOrganizationRolesPostRequestBody) SetPermissions(value []string)
SetPermissions sets the permissions property value. A list of additional permissions included in this role.
type ItemOrganizationRolesPostRequestBodyable ¶
type ItemOrganizationRolesPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetDescription() *string GetName() *string GetPermissions() []string SetDescription(value *string) SetName(value *string) SetPermissions(value []string) }
ItemOrganizationRolesPostRequestBodyable
type ItemOrganizationRolesRequestBuilder ¶
type ItemOrganizationRolesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemOrganizationRolesRequestBuilder builds and executes requests for operations under \orgs\{org}\organization-roles
func NewItemOrganizationRolesRequestBuilder ¶
func NewItemOrganizationRolesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesRequestBuilder
NewItemOrganizationRolesRequestBuilder instantiates a new OrganizationRolesRequestBuilder and sets the default values.
func NewItemOrganizationRolesRequestBuilderInternal ¶
func NewItemOrganizationRolesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesRequestBuilder
NewItemOrganizationRolesRequestBuilderInternal instantiates a new OrganizationRolesRequestBuilder and sets the default values.
func (*ItemOrganizationRolesRequestBuilder) ByRole_id ¶
func (m *ItemOrganizationRolesRequestBuilder) ByRole_id(role_id string) *ItemOrganizationRolesWithRole_ItemRequestBuilder
ByRole_id gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.organizationRoles.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.
func (*ItemOrganizationRolesRequestBuilder) ByRole_idInteger ¶
func (m *ItemOrganizationRolesRequestBuilder) ByRole_idInteger(role_id int32) *ItemOrganizationRolesWithRole_ItemRequestBuilder
ByRole_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.organizationRoles.item collection
func (*ItemOrganizationRolesRequestBuilder) Get ¶
func (m *ItemOrganizationRolesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOrganizationRolesRequestBuilderGetRequestConfiguration) (ItemOrganizationRolesResponseable, error)
Get lists the organization roles available in this organization.To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.The authenticated user needs an access token with `admin:org` scope or a fine-grained personal access token with the `organization_custom_roles:read` permission to use this endpoint.GitHub Apps must have the `organization_custom_org_roles:read` organization permission to use this endpoint.For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." Deprecated: This method is obsolete. Use GetAsOrganizationRolesGetResponse instead. API method documentation
func (*ItemOrganizationRolesRequestBuilder) GetAsOrganizationRolesGetResponse ¶
func (m *ItemOrganizationRolesRequestBuilder) GetAsOrganizationRolesGetResponse(ctx context.Context, requestConfiguration *ItemOrganizationRolesRequestBuilderGetRequestConfiguration) (ItemOrganizationRolesGetResponseable, error)
GetAsOrganizationRolesGetResponse lists the organization roles available in this organization.To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.The authenticated user needs an access token with `admin:org` scope or a fine-grained personal access token with the `organization_custom_roles:read` permission to use this endpoint.GitHub Apps must have the `organization_custom_org_roles:read` organization permission to use this endpoint.For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." API method documentation
func (*ItemOrganizationRolesRequestBuilder) Post ¶
func (m *ItemOrganizationRolesRequestBuilder) Post(ctx context.Context, body ItemOrganizationRolesPostRequestBodyable, requestConfiguration *ItemOrganizationRolesRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationRoleable, error)
Post creates a custom organization role that can be assigned to users and teams, granting them specific permissions over the organization.To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.The authenticated user needs an access token with `admin:org` scope or a fine-grained personal access token with the `organization_custom_roles:write` permission to use this endpoint.GitHub Apps must have the `organization_custom_org_roles:write` organization permission to use this endpoint.For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." API method documentation
func (*ItemOrganizationRolesRequestBuilder) Teams ¶
func (m *ItemOrganizationRolesRequestBuilder) Teams() *ItemOrganizationRolesTeamsRequestBuilder
Teams the teams property
func (*ItemOrganizationRolesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemOrganizationRolesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOrganizationRolesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the organization roles available in this organization.To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.The authenticated user needs an access token with `admin:org` scope or a fine-grained personal access token with the `organization_custom_roles:read` permission to use this endpoint.GitHub Apps must have the `organization_custom_org_roles:read` organization permission to use this endpoint.For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
func (*ItemOrganizationRolesRequestBuilder) ToPostRequestInformation ¶
func (m *ItemOrganizationRolesRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemOrganizationRolesPostRequestBodyable, requestConfiguration *ItemOrganizationRolesRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation creates a custom organization role that can be assigned to users and teams, granting them specific permissions over the organization.To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.The authenticated user needs an access token with `admin:org` scope or a fine-grained personal access token with the `organization_custom_roles:write` permission to use this endpoint.GitHub Apps must have the `organization_custom_org_roles:write` organization permission to use this endpoint.For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
func (*ItemOrganizationRolesRequestBuilder) Users ¶
func (m *ItemOrganizationRolesRequestBuilder) Users() *ItemOrganizationRolesUsersRequestBuilder
Users the users property
func (*ItemOrganizationRolesRequestBuilder) WithUrl ¶
func (m *ItemOrganizationRolesRequestBuilder) WithUrl(rawUrl string) *ItemOrganizationRolesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemOrganizationRolesRequestBuilderGetRequestConfiguration ¶
type ItemOrganizationRolesRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemOrganizationRolesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemOrganizationRolesRequestBuilderPostRequestConfiguration ¶
type ItemOrganizationRolesRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemOrganizationRolesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemOrganizationRolesResponse ¶
type ItemOrganizationRolesResponse struct {
ItemOrganizationRolesGetResponse
}
ItemOrganizationRolesResponse Deprecated: This class is obsolete. Use organizationRolesGetResponse instead.
func NewItemOrganizationRolesResponse ¶
func NewItemOrganizationRolesResponse() *ItemOrganizationRolesResponse
NewItemOrganizationRolesResponse instantiates a new ItemOrganizationRolesResponse and sets the default values.
type ItemOrganizationRolesResponseable ¶
type ItemOrganizationRolesResponseable interface { ItemOrganizationRolesGetResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemOrganizationRolesResponseable Deprecated: This class is obsolete. Use organizationRolesGetResponse instead.
type ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder ¶
type ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\organization-roles\teams\{team_slug}\{role_id}
func NewItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder ¶
func NewItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder
NewItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder instantiates a new WithRole_ItemRequestBuilder and sets the default values.
func NewItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilderInternal ¶
func NewItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder
NewItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilderInternal instantiates a new WithRole_ItemRequestBuilder and sets the default values.
func (*ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder) Delete ¶
func (m *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilderDeleteRequestConfiguration) error
Delete removes an organization role from a team.To use this endpoint, you must be an administrator for the organization, and you must use an access token with the `admin:org` scope.GitHub Apps must have the `members:write` organization permission to use this endpoint.For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." API method documentation
func (*ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder) Put ¶
func (m *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder) Put(ctx context.Context, requestConfiguration *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilderPutRequestConfiguration) error
Put assigns an organization role to a team in an organization.To use this endpoint, you must be an administrator for the organization, and you must use an access token with the `admin:org` scope.GitHub Apps must have the `members` organization read-write permission to use this endpoint.For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." API method documentation
func (*ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation removes an organization role from a team.To use this endpoint, you must be an administrator for the organization, and you must use an access token with the `admin:org` scope.GitHub Apps must have the `members:write` organization permission to use this endpoint.For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
func (*ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilderPutRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation assigns an organization role to a team in an organization.To use this endpoint, you must be an administrator for the organization, and you must use an access token with the `admin:org` scope.GitHub Apps must have the `members` organization read-write permission to use this endpoint.For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
func (*ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder) WithUrl ¶
func (m *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder) WithUrl(rawUrl string) *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilderDeleteRequestConfiguration ¶
type ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilderPutRequestConfiguration ¶
type ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemOrganizationRolesTeamsRequestBuilder ¶
type ItemOrganizationRolesTeamsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemOrganizationRolesTeamsRequestBuilder builds and executes requests for operations under \orgs\{org}\organization-roles\teams
func NewItemOrganizationRolesTeamsRequestBuilder ¶
func NewItemOrganizationRolesTeamsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesTeamsRequestBuilder
NewItemOrganizationRolesTeamsRequestBuilder instantiates a new TeamsRequestBuilder and sets the default values.
func NewItemOrganizationRolesTeamsRequestBuilderInternal ¶
func NewItemOrganizationRolesTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesTeamsRequestBuilder
NewItemOrganizationRolesTeamsRequestBuilderInternal instantiates a new TeamsRequestBuilder and sets the default values.
func (*ItemOrganizationRolesTeamsRequestBuilder) ByTeam_slug ¶
func (m *ItemOrganizationRolesTeamsRequestBuilder) ByTeam_slug(team_slug string) *ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder
ByTeam_slug gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.organizationRoles.teams.item collection
type ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder ¶
type ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder builds and executes requests for operations under \orgs\{org}\organization-roles\teams\{team_slug}
func NewItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder ¶
func NewItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder
NewItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder instantiates a new WithTeam_slugItemRequestBuilder and sets the default values.
func NewItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilderInternal ¶
func NewItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder
NewItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilderInternal instantiates a new WithTeam_slugItemRequestBuilder and sets the default values.
func (*ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder) ByRole_id ¶
func (m *ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder) ByRole_id(role_id string) *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder
ByRole_id gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.organizationRoles.teams.item.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.
func (*ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder) ByRole_idInteger ¶
func (m *ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder) ByRole_idInteger(role_id int32) *ItemOrganizationRolesTeamsItemWithRole_ItemRequestBuilder
ByRole_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.organizationRoles.teams.item.item collection
func (*ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder) Delete ¶
func (m *ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilderDeleteRequestConfiguration) error
Delete removes all assigned organization roles from a team.To use this endpoint, you must be an administrator for the organization, and you must use an access token with the `admin:org` scope.GitHub Apps must have the `members:write` organization permission to use this endpoint.For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." API method documentation
func (*ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation removes all assigned organization roles from a team.To use this endpoint, you must be an administrator for the organization, and you must use an access token with the `admin:org` scope.GitHub Apps must have the `members:write` organization permission to use this endpoint.For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
func (*ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder) WithUrl ¶
func (m *ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder) WithUrl(rawUrl string) *ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilderDeleteRequestConfiguration ¶
type ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemOrganizationRolesTeamsWithTeam_slugItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder ¶
type ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\organization-roles\users\{username}\{role_id}
func NewItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder ¶
func NewItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder
NewItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder instantiates a new WithRole_ItemRequestBuilder and sets the default values.
func NewItemOrganizationRolesUsersItemWithRole_ItemRequestBuilderInternal ¶
func NewItemOrganizationRolesUsersItemWithRole_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder
NewItemOrganizationRolesUsersItemWithRole_ItemRequestBuilderInternal instantiates a new WithRole_ItemRequestBuilder and sets the default values.
func (*ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder) Delete ¶
func (m *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilderDeleteRequestConfiguration) error
Delete remove an organization role from a user.To use this endpoint, you must be an administrator for the organization, and you must use an access token with the `admin:org` scope.GitHub Apps must have the `members:write` organization permission to use this endpoint.For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." API method documentation
func (*ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder) Put ¶
func (m *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder) Put(ctx context.Context, requestConfiguration *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilderPutRequestConfiguration) error
Put assigns an organization role to a member of an organization.To use this endpoint, you must be an administrator for the organization, and you must use an access token with the `admin:org` scope.GitHub Apps must have the `members` organization read-write permission to use this endpoint.For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." API method documentation
func (*ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation remove an organization role from a user.To use this endpoint, you must be an administrator for the organization, and you must use an access token with the `admin:org` scope.GitHub Apps must have the `members:write` organization permission to use this endpoint.For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
func (*ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilderPutRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation assigns an organization role to a member of an organization.To use this endpoint, you must be an administrator for the organization, and you must use an access token with the `admin:org` scope.GitHub Apps must have the `members` organization read-write permission to use this endpoint.For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
func (*ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder) WithUrl ¶
func (m *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder) WithUrl(rawUrl string) *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilderDeleteRequestConfiguration ¶
type ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilderPutRequestConfiguration ¶
type ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemOrganizationRolesUsersRequestBuilder ¶
type ItemOrganizationRolesUsersRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemOrganizationRolesUsersRequestBuilder builds and executes requests for operations under \orgs\{org}\organization-roles\users
func NewItemOrganizationRolesUsersRequestBuilder ¶
func NewItemOrganizationRolesUsersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesUsersRequestBuilder
NewItemOrganizationRolesUsersRequestBuilder instantiates a new UsersRequestBuilder and sets the default values.
func NewItemOrganizationRolesUsersRequestBuilderInternal ¶
func NewItemOrganizationRolesUsersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesUsersRequestBuilder
NewItemOrganizationRolesUsersRequestBuilderInternal instantiates a new UsersRequestBuilder and sets the default values.
func (*ItemOrganizationRolesUsersRequestBuilder) ByUsername ¶
func (m *ItemOrganizationRolesUsersRequestBuilder) ByUsername(username string) *ItemOrganizationRolesUsersWithUsernameItemRequestBuilder
ByUsername gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.organizationRoles.users.item collection
type ItemOrganizationRolesUsersWithUsernameItemRequestBuilder ¶
type ItemOrganizationRolesUsersWithUsernameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemOrganizationRolesUsersWithUsernameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\organization-roles\users\{username}
func NewItemOrganizationRolesUsersWithUsernameItemRequestBuilder ¶
func NewItemOrganizationRolesUsersWithUsernameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesUsersWithUsernameItemRequestBuilder
NewItemOrganizationRolesUsersWithUsernameItemRequestBuilder instantiates a new WithUsernameItemRequestBuilder and sets the default values.
func NewItemOrganizationRolesUsersWithUsernameItemRequestBuilderInternal ¶
func NewItemOrganizationRolesUsersWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesUsersWithUsernameItemRequestBuilder
NewItemOrganizationRolesUsersWithUsernameItemRequestBuilderInternal instantiates a new WithUsernameItemRequestBuilder and sets the default values.
func (*ItemOrganizationRolesUsersWithUsernameItemRequestBuilder) ByRole_id ¶
func (m *ItemOrganizationRolesUsersWithUsernameItemRequestBuilder) ByRole_id(role_id string) *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder
ByRole_id gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.organizationRoles.users.item.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.
func (*ItemOrganizationRolesUsersWithUsernameItemRequestBuilder) ByRole_idInteger ¶
func (m *ItemOrganizationRolesUsersWithUsernameItemRequestBuilder) ByRole_idInteger(role_id int32) *ItemOrganizationRolesUsersItemWithRole_ItemRequestBuilder
ByRole_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.organizationRoles.users.item.item collection
func (*ItemOrganizationRolesUsersWithUsernameItemRequestBuilder) Delete ¶
func (m *ItemOrganizationRolesUsersWithUsernameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOrganizationRolesUsersWithUsernameItemRequestBuilderDeleteRequestConfiguration) error
Delete revokes all assigned organization roles from a user.To use this endpoint, you must be an administrator for the organization, and you must use an access token with the `admin:org` scope.GitHub Apps must have the `members:write` organization permission to use this endpoint.For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." API method documentation
func (*ItemOrganizationRolesUsersWithUsernameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemOrganizationRolesUsersWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOrganizationRolesUsersWithUsernameItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation revokes all assigned organization roles from a user.To use this endpoint, you must be an administrator for the organization, and you must use an access token with the `admin:org` scope.GitHub Apps must have the `members:write` organization permission to use this endpoint.For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
func (*ItemOrganizationRolesUsersWithUsernameItemRequestBuilder) WithUrl ¶
func (m *ItemOrganizationRolesUsersWithUsernameItemRequestBuilder) WithUrl(rawUrl string) *ItemOrganizationRolesUsersWithUsernameItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemOrganizationRolesUsersWithUsernameItemRequestBuilderDeleteRequestConfiguration ¶
type ItemOrganizationRolesUsersWithUsernameItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemOrganizationRolesUsersWithUsernameItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemOrganizationRolesWithRole_ItemRequestBuilder ¶
type ItemOrganizationRolesWithRole_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemOrganizationRolesWithRole_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\organization-roles\{role_id}
func NewItemOrganizationRolesWithRole_ItemRequestBuilder ¶
func NewItemOrganizationRolesWithRole_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesWithRole_ItemRequestBuilder
NewItemOrganizationRolesWithRole_ItemRequestBuilder instantiates a new WithRole_ItemRequestBuilder and sets the default values.
func NewItemOrganizationRolesWithRole_ItemRequestBuilderInternal ¶
func NewItemOrganizationRolesWithRole_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOrganizationRolesWithRole_ItemRequestBuilder
NewItemOrganizationRolesWithRole_ItemRequestBuilderInternal instantiates a new WithRole_ItemRequestBuilder and sets the default values.
func (*ItemOrganizationRolesWithRole_ItemRequestBuilder) Delete ¶
func (m *ItemOrganizationRolesWithRole_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOrganizationRolesWithRole_ItemRequestBuilderDeleteRequestConfiguration) error
Delete deletes a custom organization role.To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.The authenticated user needs an access token with `admin:org` scope or a fine-grained personal access token with the `organization_custom_roles:write` permission to use this endpoint.GitHub Apps must have the `organization_custom_org_roles:write` organization permission to use this endpoint.For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." API method documentation
func (*ItemOrganizationRolesWithRole_ItemRequestBuilder) Get ¶
func (m *ItemOrganizationRolesWithRole_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOrganizationRolesWithRole_ItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationRoleable, error)
Get gets an organization role that is available to this organization.To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.The authenticated user needs an access token with `admin:org` scope or a fine-grained personal access token with the `organization_custom_roles:read` permission to use this endpoint.GitHub Apps must have the `organization_custom_org_roles:read` organization permission to use this endpoint.For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." API method documentation
func (*ItemOrganizationRolesWithRole_ItemRequestBuilder) Patch ¶
func (m *ItemOrganizationRolesWithRole_ItemRequestBuilder) Patch(ctx context.Context, body ItemOrganizationRolesItemWithRole_PatchRequestBodyable, requestConfiguration *ItemOrganizationRolesWithRole_ItemRequestBuilderPatchRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationRoleable, error)
Patch updates an existing custom organization role. Permission changes will apply to all assignees.To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.The authenticated user needs an access token with `admin:org` scope or a fine-grained personal access token with the `organization_custom_roles:write` permission to use this endpoint.GitHub Apps must have the `organization_custom_org_roles:write` organization permission to use this endpoint.For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)." API method documentation
func (*ItemOrganizationRolesWithRole_ItemRequestBuilder) Teams ¶
func (m *ItemOrganizationRolesWithRole_ItemRequestBuilder) Teams() *ItemOrganizationRolesItemTeamsRequestBuilder
Teams the teams property
func (*ItemOrganizationRolesWithRole_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemOrganizationRolesWithRole_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOrganizationRolesWithRole_ItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a custom organization role.To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.The authenticated user needs an access token with `admin:org` scope or a fine-grained personal access token with the `organization_custom_roles:write` permission to use this endpoint.GitHub Apps must have the `organization_custom_org_roles:write` organization permission to use this endpoint.For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
func (*ItemOrganizationRolesWithRole_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemOrganizationRolesWithRole_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOrganizationRolesWithRole_ItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets an organization role that is available to this organization.To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `read_organization_custom_org_role` in the organization.The authenticated user needs an access token with `admin:org` scope or a fine-grained personal access token with the `organization_custom_roles:read` permission to use this endpoint.GitHub Apps must have the `organization_custom_org_roles:read` organization permission to use this endpoint.For more information on organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
func (*ItemOrganizationRolesWithRole_ItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemOrganizationRolesWithRole_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemOrganizationRolesItemWithRole_PatchRequestBodyable, requestConfiguration *ItemOrganizationRolesWithRole_ItemRequestBuilderPatchRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation updates an existing custom organization role. Permission changes will apply to all assignees.To use this endpoint, the authenticated user must be one of:- An administrator for the organization.- A user, or a user on a team, with the fine-grained permissions of `write_organization_custom_org_role` in the organization.The authenticated user needs an access token with `admin:org` scope or a fine-grained personal access token with the `organization_custom_roles:write` permission to use this endpoint.GitHub Apps must have the `organization_custom_org_roles:write` organization permission to use this endpoint.For more information on custom organization roles, see "[Managing people's access to your organization with roles](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/about-custom-organization-roles)."
func (*ItemOrganizationRolesWithRole_ItemRequestBuilder) Users ¶
func (m *ItemOrganizationRolesWithRole_ItemRequestBuilder) Users() *ItemOrganizationRolesItemUsersRequestBuilder
Users the users property
func (*ItemOrganizationRolesWithRole_ItemRequestBuilder) WithUrl ¶
func (m *ItemOrganizationRolesWithRole_ItemRequestBuilder) WithUrl(rawUrl string) *ItemOrganizationRolesWithRole_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemOrganizationRolesWithRole_ItemRequestBuilderDeleteRequestConfiguration ¶
type ItemOrganizationRolesWithRole_ItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemOrganizationRolesWithRole_ItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemOrganizationRolesWithRole_ItemRequestBuilderGetRequestConfiguration ¶
type ItemOrganizationRolesWithRole_ItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemOrganizationRolesWithRole_ItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemOrganizationRolesWithRole_ItemRequestBuilderPatchRequestConfiguration ¶
type ItemOrganizationRolesWithRole_ItemRequestBuilderPatchRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemOrganizationRolesWithRole_ItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemOutside_collaboratorsItemWithUsername422Error ¶
type ItemOutside_collaboratorsItemWithUsername422Error struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ApiError // contains filtered or unexported fields }
ItemOutside_collaboratorsItemWithUsername422Error
func NewItemOutside_collaboratorsItemWithUsername422Error ¶
func NewItemOutside_collaboratorsItemWithUsername422Error() *ItemOutside_collaboratorsItemWithUsername422Error
NewItemOutside_collaboratorsItemWithUsername422Error instantiates a new ItemOutside_collaboratorsItemWithUsername422Error and sets the default values.
func (*ItemOutside_collaboratorsItemWithUsername422Error) Error ¶
func (m *ItemOutside_collaboratorsItemWithUsername422Error) Error() string
Error the primary error message.
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.
func (*ItemOutside_collaboratorsItemWithUsername422Error) GetDocumentationUrl ¶
func (m *ItemOutside_collaboratorsItemWithUsername422Error) GetDocumentationUrl() *string
GetDocumentationUrl gets the documentation_url property value. The documentation_url property
func (*ItemOutside_collaboratorsItemWithUsername422Error) GetFieldDeserializers ¶
func (m *ItemOutside_collaboratorsItemWithUsername422Error) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemOutside_collaboratorsItemWithUsername422Error) GetMessage ¶
func (m *ItemOutside_collaboratorsItemWithUsername422Error) GetMessage() *string
GetMessage gets the message property value. The message property
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) }
ItemOutside_collaboratorsItemWithUsername422Errorable
type ItemOutside_collaboratorsItemWithUsernamePutRequestBody ¶
type ItemOutside_collaboratorsItemWithUsernamePutRequestBody struct {
// contains filtered or unexported fields
}
ItemOutside_collaboratorsItemWithUsernamePutRequestBody
func NewItemOutside_collaboratorsItemWithUsernamePutRequestBody ¶
func NewItemOutside_collaboratorsItemWithUsernamePutRequestBody() *ItemOutside_collaboratorsItemWithUsernamePutRequestBody
NewItemOutside_collaboratorsItemWithUsernamePutRequestBody instantiates a new ItemOutside_collaboratorsItemWithUsernamePutRequestBody and sets the default values.
func (*ItemOutside_collaboratorsItemWithUsernamePutRequestBody) GetAdditionalData ¶
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.
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.
func (*ItemOutside_collaboratorsItemWithUsernamePutRequestBody) GetFieldDeserializers ¶
func (m *ItemOutside_collaboratorsItemWithUsernamePutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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) }
ItemOutside_collaboratorsItemWithUsernamePutRequestBodyable
type ItemOutside_collaboratorsItemWithUsernamePutResponse ¶
type ItemOutside_collaboratorsItemWithUsernamePutResponse struct { }
ItemOutside_collaboratorsItemWithUsernamePutResponse
func NewItemOutside_collaboratorsItemWithUsernamePutResponse ¶
func NewItemOutside_collaboratorsItemWithUsernamePutResponse() *ItemOutside_collaboratorsItemWithUsernamePutResponse
NewItemOutside_collaboratorsItemWithUsernamePutResponse instantiates a new ItemOutside_collaboratorsItemWithUsernamePutResponse and sets the default values.
func (*ItemOutside_collaboratorsItemWithUsernamePutResponse) GetFieldDeserializers ¶
func (m *ItemOutside_collaboratorsItemWithUsernamePutResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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 }
ItemOutside_collaboratorsItemWithUsernamePutResponseable
type ItemOutside_collaboratorsItemWithUsernameResponse ¶
type ItemOutside_collaboratorsItemWithUsernameResponse struct {
ItemOutside_collaboratorsItemWithUsernamePutResponse
}
ItemOutside_collaboratorsItemWithUsernameResponse Deprecated: This class is obsolete. Use WithUsernamePutResponse instead.
func NewItemOutside_collaboratorsItemWithUsernameResponse ¶
func NewItemOutside_collaboratorsItemWithUsernameResponse() *ItemOutside_collaboratorsItemWithUsernameResponse
NewItemOutside_collaboratorsItemWithUsernameResponse instantiates a new ItemOutside_collaboratorsItemWithUsernameResponse and sets the default values.
type ItemOutside_collaboratorsItemWithUsernameResponseable ¶
type ItemOutside_collaboratorsItemWithUsernameResponseable interface { ItemOutside_collaboratorsItemWithUsernamePutResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemOutside_collaboratorsItemWithUsernameResponseable Deprecated: This class is obsolete. Use WithUsernamePutResponse instead.
type ItemOutside_collaboratorsRequestBuilder ¶
type ItemOutside_collaboratorsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemOutside_collaboratorsRequestBuilder builds and executes requests for operations under \orgs\{org}\outside_collaborators
func NewItemOutside_collaboratorsRequestBuilder ¶
func NewItemOutside_collaboratorsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOutside_collaboratorsRequestBuilder
NewItemOutside_collaboratorsRequestBuilder instantiates a new Outside_collaboratorsRequestBuilder and sets the default values.
func NewItemOutside_collaboratorsRequestBuilderInternal ¶
func NewItemOutside_collaboratorsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOutside_collaboratorsRequestBuilder
NewItemOutside_collaboratorsRequestBuilderInternal instantiates a new Outside_collaboratorsRequestBuilder and sets the default values.
func (*ItemOutside_collaboratorsRequestBuilder) ByUsername ¶
func (m *ItemOutside_collaboratorsRequestBuilder) ByUsername(username string) *ItemOutside_collaboratorsWithUsernameItemRequestBuilder
ByUsername gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.outside_collaborators.item collection
func (*ItemOutside_collaboratorsRequestBuilder) Get ¶
func (m *ItemOutside_collaboratorsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemOutside_collaboratorsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SimpleUserable, error)
Get list all users who are outside collaborators of an organization. API method documentation
func (*ItemOutside_collaboratorsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemOutside_collaboratorsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemOutside_collaboratorsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list all users who are outside collaborators of an organization.
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.
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. // Deprecated: This property is deprecated, use filterAsGetFilterQueryParameterType instead Filter *string `uriparametername:"filter"` // 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. FilterAsGetFilterQueryParameterType *if595b4d15d1c00ac6fbf03ef6c7dd96d7dbb91167133353a2db35acca910c87d.GetFilterQueryParameterType `uriparametername:"filter"` // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemOutside_collaboratorsRequestBuilderGetQueryParameters list all users who are outside collaborators of an organization.
type ItemOutside_collaboratorsRequestBuilderGetRequestConfiguration ¶
type ItemOutside_collaboratorsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemOutside_collaboratorsRequestBuilderGetQueryParameters }
ItemOutside_collaboratorsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemOutside_collaboratorsWithUsernameItemRequestBuilder ¶
type ItemOutside_collaboratorsWithUsernameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemOutside_collaboratorsWithUsernameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\outside_collaborators\{username}
func NewItemOutside_collaboratorsWithUsernameItemRequestBuilder ¶
func NewItemOutside_collaboratorsWithUsernameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOutside_collaboratorsWithUsernameItemRequestBuilder
NewItemOutside_collaboratorsWithUsernameItemRequestBuilder instantiates a new WithUsernameItemRequestBuilder and sets the default values.
func NewItemOutside_collaboratorsWithUsernameItemRequestBuilderInternal ¶
func NewItemOutside_collaboratorsWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemOutside_collaboratorsWithUsernameItemRequestBuilder
NewItemOutside_collaboratorsWithUsernameItemRequestBuilderInternal instantiates a new WithUsernameItemRequestBuilder and sets the default values.
func (*ItemOutside_collaboratorsWithUsernameItemRequestBuilder) Delete ¶
func (m *ItemOutside_collaboratorsWithUsernameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemOutside_collaboratorsWithUsernameItemRequestBuilderDeleteRequestConfiguration) error
Delete removing a user from this list will remove them from all the organization's repositories. API method documentation
func (*ItemOutside_collaboratorsWithUsernameItemRequestBuilder) Put ¶
func (m *ItemOutside_collaboratorsWithUsernameItemRequestBuilder) Put(ctx context.Context, body ItemOutside_collaboratorsItemWithUsernamePutRequestBodyable, requestConfiguration *ItemOutside_collaboratorsWithUsernameItemRequestBuilderPutRequestConfiguration) (ItemOutside_collaboratorsItemWithUsernameResponseable, 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/articles/converting-an-organization-member-to-an-outside-collaborator/)". Converting an organization member to an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)." Deprecated: This method is obsolete. Use PutAsWithUsernamePutResponse instead. API method documentation
func (*ItemOutside_collaboratorsWithUsernameItemRequestBuilder) PutAsWithUsernamePutResponse ¶
func (m *ItemOutside_collaboratorsWithUsernameItemRequestBuilder) PutAsWithUsernamePutResponse(ctx context.Context, body ItemOutside_collaboratorsItemWithUsernamePutRequestBodyable, requestConfiguration *ItemOutside_collaboratorsWithUsernameItemRequestBuilderPutRequestConfiguration) (ItemOutside_collaboratorsItemWithUsernamePutResponseable, error)
PutAsWithUsernamePutResponse when an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see "[Converting an organization member to an outside collaborator](https://docs.github.com/articles/converting-an-organization-member-to-an-outside-collaborator/)". Converting an organization member to an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)." API method documentation
func (*ItemOutside_collaboratorsWithUsernameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemOutside_collaboratorsWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemOutside_collaboratorsWithUsernameItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation removing a user from this list will remove them from all the organization's repositories.
func (*ItemOutside_collaboratorsWithUsernameItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemOutside_collaboratorsWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemOutside_collaboratorsItemWithUsernamePutRequestBodyable, requestConfiguration *ItemOutside_collaboratorsWithUsernameItemRequestBuilderPutRequestConfiguration) (*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/articles/converting-an-organization-member-to-an-outside-collaborator/)". Converting an organization member to an outside collaborator may be restricted by enterprise administrators. For more information, see "[Enforcing repository management policies in your enterprise](https://docs.github.com/admin/policies/enforcing-policies-for-your-enterprise/enforcing-repository-management-policies-in-your-enterprise#enforcing-a-policy-for-inviting-outside-collaborators-to-repositories)."
func (*ItemOutside_collaboratorsWithUsernameItemRequestBuilder) WithUrl ¶
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.
type ItemOutside_collaboratorsWithUsernameItemRequestBuilderDeleteRequestConfiguration ¶
type ItemOutside_collaboratorsWithUsernameItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemOutside_collaboratorsWithUsernameItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemOutside_collaboratorsWithUsernameItemRequestBuilderPutRequestConfiguration ¶
type ItemOutside_collaboratorsWithUsernameItemRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemOutside_collaboratorsWithUsernameItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 RestoreRequestBuilder and sets the default values.
func NewItemPackagesItemItemRestoreRequestBuilderInternal ¶
func NewItemPackagesItemItemRestoreRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemRestoreRequestBuilder
NewItemPackagesItemItemRestoreRequestBuilderInternal instantiates a new RestoreRequestBuilder and sets the default values.
func (*ItemPackagesItemItemRestoreRequestBuilder) Post ¶
func (m *ItemPackagesItemItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPackagesItemItemRestoreRequestBuilderPostRequestConfiguration) 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.To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `read:packages` and `write:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package you want to restore. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." API method documentation
func (*ItemPackagesItemItemRestoreRequestBuilder) ToPostRequestInformation ¶
func (m *ItemPackagesItemItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemPackagesItemItemRestoreRequestBuilderPostRequestConfiguration) (*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.To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `read:packages` and `write:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package you want to restore. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
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.
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.To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `read:packages` and `write:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package you want to restore. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
type ItemPackagesItemItemRestoreRequestBuilderPostRequestConfiguration ¶
type ItemPackagesItemItemRestoreRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemPackagesItemItemRestoreRequestBuilderPostQueryParameters }
ItemPackagesItemItemRestoreRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPackagesItemItemVersionsItemRestoreRequestBuilder ¶
type ItemPackagesItemItemVersionsItemRestoreRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemPackagesItemItemVersionsItemRestoreRequestBuilder builds and executes requests for operations under \orgs\{org}\packages\{package_type}\{package_name}\versions\{package_version_id}\restore
func NewItemPackagesItemItemVersionsItemRestoreRequestBuilder ¶
func NewItemPackagesItemItemVersionsItemRestoreRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsItemRestoreRequestBuilder
NewItemPackagesItemItemVersionsItemRestoreRequestBuilder instantiates a new RestoreRequestBuilder and sets the default values.
func NewItemPackagesItemItemVersionsItemRestoreRequestBuilderInternal ¶
func NewItemPackagesItemItemVersionsItemRestoreRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsItemRestoreRequestBuilder
NewItemPackagesItemItemVersionsItemRestoreRequestBuilderInternal instantiates a new RestoreRequestBuilder and sets the default values.
func (*ItemPackagesItemItemVersionsItemRestoreRequestBuilder) Post ¶
func (m *ItemPackagesItemItemVersionsItemRestoreRequestBuilder) Post(ctx context.Context, requestConfiguration *ItemPackagesItemItemVersionsItemRestoreRequestBuilderPostRequestConfiguration) 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.To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `read:packages` and `write:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package whose version you want to restore. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." API method documentation
func (*ItemPackagesItemItemVersionsItemRestoreRequestBuilder) ToPostRequestInformation ¶
func (m *ItemPackagesItemItemVersionsItemRestoreRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *ItemPackagesItemItemVersionsItemRestoreRequestBuilderPostRequestConfiguration) (*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.To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `read:packages` and `write:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package whose version you want to restore. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
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.
type ItemPackagesItemItemVersionsItemRestoreRequestBuilderPostRequestConfiguration ¶
type ItemPackagesItemItemVersionsItemRestoreRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemPackagesItemItemVersionsItemRestoreRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 VersionsRequestBuilder and sets the default values.
func NewItemPackagesItemItemVersionsRequestBuilderInternal ¶
func NewItemPackagesItemItemVersionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsRequestBuilder
NewItemPackagesItemItemVersionsRequestBuilderInternal instantiates a new VersionsRequestBuilder and sets the default values.
func (*ItemPackagesItemItemVersionsRequestBuilder) ByPackage_version_id ¶
func (m *ItemPackagesItemItemVersionsRequestBuilder) ByPackage_version_id(package_version_id string) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
ByPackage_version_id gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.packages.item.item.versions.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.
func (*ItemPackagesItemItemVersionsRequestBuilder) ByPackage_version_idInteger ¶
func (m *ItemPackagesItemItemVersionsRequestBuilder) ByPackage_version_idInteger(package_version_id int32) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
ByPackage_version_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.packages.item.item.versions.item collection
func (*ItemPackagesItemItemVersionsRequestBuilder) Get ¶
func (m *ItemPackagesItemItemVersionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPackagesItemItemVersionsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PackageVersionable, error)
Get lists package versions for a package owned by an organization.If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." API method documentation
func (*ItemPackagesItemItemVersionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPackagesItemItemVersionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPackagesItemItemVersionsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists package versions for a package owned by an organization.If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."
func (*ItemPackagesItemItemVersionsRequestBuilder) WithUrl ¶
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.
type ItemPackagesItemItemVersionsRequestBuilderGetQueryParameters ¶
type ItemPackagesItemItemVersionsRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` // The state of the package, either active or deleted. // Deprecated: This property is deprecated, use stateAsGetStateQueryParameterType instead State *string `uriparametername:"state"` // The state of the package, either active or deleted. StateAsGetStateQueryParameterType *i9a34b8e68f433e2618d3e623e60543e9c60f8c189bf5031f9180afed55466b3f.GetStateQueryParameterType `uriparametername:"state"` }
ItemPackagesItemItemVersionsRequestBuilderGetQueryParameters lists package versions for a package owned by an organization.If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."
type ItemPackagesItemItemVersionsRequestBuilderGetRequestConfiguration ¶
type ItemPackagesItemItemVersionsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemPackagesItemItemVersionsRequestBuilderGetQueryParameters }
ItemPackagesItemItemVersionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder ¶
type ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\packages\{package_type}\{package_name}\versions\{package_version_id}
func NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder ¶
func NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder instantiates a new WithPackage_version_ItemRequestBuilder and sets the default values.
func NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderInternal ¶
func NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder
NewItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderInternal instantiates a new WithPackage_version_ItemRequestBuilder and sets the default values.
func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Delete ¶
func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderDeleteRequestConfiguration) 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.To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `read:packages` and `delete:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package whose version you want to delete. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." API method documentation
func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Get ¶
func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PackageVersionable, error)
Get gets a specific package version in an organization.You must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." API method documentation
func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Restore ¶
func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) Restore() *ItemPackagesItemItemVersionsItemRestoreRequestBuilder
Restore the restore property
func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderDeleteRequestConfiguration) (*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.To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `read:packages` and `delete:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package whose version you want to delete. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a specific package version in an organization.You must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."
func (*ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilder) WithUrl ¶
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.
type ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderDeleteRequestConfiguration ¶
type ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderGetRequestConfiguration ¶
type ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemPackagesItemItemVersionsWithPackage_version_ItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 WithPackage_nameItemRequestBuilder and sets the default values.
func NewItemPackagesItemWithPackage_nameItemRequestBuilderInternal ¶
func NewItemPackagesItemWithPackage_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesItemWithPackage_nameItemRequestBuilder
NewItemPackagesItemWithPackage_nameItemRequestBuilderInternal instantiates a new WithPackage_nameItemRequestBuilder and sets the default values.
func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Delete ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemPackagesItemWithPackage_nameItemRequestBuilderDeleteRequestConfiguration) 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.To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `read:packages` and `delete:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package you want to delete. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." API method documentation
func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Get ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPackagesItemWithPackage_nameItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PackageEscapedable, error)
Get gets a specific package in an organization.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." API method documentation
func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Restore ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) Restore() *ItemPackagesItemItemRestoreRequestBuilder
Restore the restore property
func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemPackagesItemWithPackage_nameItemRequestBuilderDeleteRequestConfiguration) (*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.To use this endpoint, you must have admin permissions in the organization and authenticate using an access token with the `read:packages` and `delete:packages` scopes. In addition:- If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."- If the `package_type` belongs to a GitHub Packages registry that supports granular permissions, you must have admin permissions to the package you want to delete. For the list of these registries, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)."
func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPackagesItemWithPackage_nameItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a specific package in an organization.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a GitHub Packages registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."
func (*ItemPackagesItemWithPackage_nameItemRequestBuilder) Versions ¶
func (m *ItemPackagesItemWithPackage_nameItemRequestBuilder) Versions() *ItemPackagesItemItemVersionsRequestBuilder
Versions the versions property
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.
type ItemPackagesItemWithPackage_nameItemRequestBuilderDeleteRequestConfiguration ¶
type ItemPackagesItemWithPackage_nameItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemPackagesItemWithPackage_nameItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPackagesItemWithPackage_nameItemRequestBuilderGetRequestConfiguration ¶
type ItemPackagesItemWithPackage_nameItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemPackagesItemWithPackage_nameItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 PackagesRequestBuilder and sets the default values.
func NewItemPackagesRequestBuilderInternal ¶
func NewItemPackagesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesRequestBuilder
NewItemPackagesRequestBuilderInternal instantiates a new PackagesRequestBuilder and sets the default values.
func (*ItemPackagesRequestBuilder) ByPackage_type ¶
func (m *ItemPackagesRequestBuilder) ByPackage_type(package_type string) *ItemPackagesWithPackage_typeItemRequestBuilder
ByPackage_type gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.packages.item collection
func (*ItemPackagesRequestBuilder) Get ¶
func (m *ItemPackagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPackagesRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PackageEscapedable, error)
Get lists packages in an organization readable by the user.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)." API method documentation
func (*ItemPackagesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPackagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPackagesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists packages in an organization readable by the user.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."
func (*ItemPackagesRequestBuilder) WithUrl ¶
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.
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. // Deprecated: This property is deprecated, use package_typeAsGetPackage_typeQueryParameterType instead Package_type *string `uriparametername:"package_type"` // 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_typeAsGetPackage_typeQueryParameterType *i54a313bac026cb0feec5bbef0f57abc11427cc4e5752056265b05087fd0d9089.GetPackage_typeQueryParameterType `uriparametername:"package_type"` // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` // The selected visibility of the packages. This parameter is optional and only filters an existing result set.The `internal` visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems `internal` is synonymous with `private`.For the list of GitHub Packages registries that support granular permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." // Deprecated: This property is deprecated, use visibilityAsGetVisibilityQueryParameterType instead Visibility *string `uriparametername:"visibility"` // The selected visibility of the packages. This parameter is optional and only filters an existing result set.The `internal` visibility is only supported for GitHub Packages registries that allow for granular permissions. For other ecosystems `internal` is synonymous with `private`.For the list of GitHub Packages registries that support granular permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#granular-permissions-for-userorganization-scoped-packages)." VisibilityAsGetVisibilityQueryParameterType *i54a313bac026cb0feec5bbef0f57abc11427cc4e5752056265b05087fd0d9089.GetVisibilityQueryParameterType `uriparametername:"visibility"` }
ItemPackagesRequestBuilderGetQueryParameters lists packages in an organization readable by the user.To use this endpoint, you must authenticate using an access token with the `read:packages` scope. If the `package_type` belongs to a registry that only supports repository-scoped permissions, your token must also include the `repo` scope. For the list of GitHub Packages registries that only support repository-scoped permissions, see "[About permissions for GitHub Packages](https://docs.github.com/packages/learn-github-packages/about-permissions-for-github-packages#permissions-for-repository-scoped-packages)."
type ItemPackagesRequestBuilderGetRequestConfiguration ¶
type ItemPackagesRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemPackagesRequestBuilderGetQueryParameters }
ItemPackagesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 WithPackage_typeItemRequestBuilder and sets the default values.
func NewItemPackagesWithPackage_typeItemRequestBuilderInternal ¶
func NewItemPackagesWithPackage_typeItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPackagesWithPackage_typeItemRequestBuilder
NewItemPackagesWithPackage_typeItemRequestBuilderInternal instantiates a new WithPackage_typeItemRequestBuilder and sets the default values.
func (*ItemPackagesWithPackage_typeItemRequestBuilder) ByPackage_name ¶
func (m *ItemPackagesWithPackage_typeItemRequestBuilder) ByPackage_name(package_name string) *ItemPackagesItemWithPackage_nameItemRequestBuilder
ByPackage_name gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.packages.item.item collection
type ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder ¶
type ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder builds and executes requests for operations under \orgs\{org}\personal-access-token-requests\{pat_request_id}\repositories
func NewItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder ¶
func NewItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder
NewItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder instantiates a new RepositoriesRequestBuilder and sets the default values.
func NewItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderInternal ¶
func NewItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder
NewItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderInternal instantiates a new RepositoriesRequestBuilder and sets the default values.
func (*ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder) Get ¶
func (m *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable, error)
Get lists the repositories a fine-grained personal access token request is requesting access to. Only GitHub Apps can call this API,using the `organization_personal_access_token_requests: read` permission.**Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. API method documentation
func (*ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the repositories a fine-grained personal access token request is requesting access to. Only GitHub Apps can call this API,using the `organization_personal_access_token_requests: read` permission.**Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change.
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.
type ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderGetQueryParameters ¶
type ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). 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 call this API,using the `organization_personal_access_token_requests: read` permission.**Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change.
type ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderGetRequestConfiguration ¶
type ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderGetQueryParameters }
ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody ¶
type ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody struct {
// contains filtered or unexported fields
}
ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody
func NewItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody ¶
func NewItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody() *ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody
NewItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody instantiates a new ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody and sets the default values.
func (*ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBody) GetAdditionalData ¶
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.
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
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.
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) }
ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBodyable
type ItemPersonalAccessTokenRequestsPostRequestBody ¶
type ItemPersonalAccessTokenRequestsPostRequestBody struct {
// contains filtered or unexported fields
}
ItemPersonalAccessTokenRequestsPostRequestBody
func NewItemPersonalAccessTokenRequestsPostRequestBody ¶
func NewItemPersonalAccessTokenRequestsPostRequestBody() *ItemPersonalAccessTokenRequestsPostRequestBody
NewItemPersonalAccessTokenRequestsPostRequestBody instantiates a new ItemPersonalAccessTokenRequestsPostRequestBody and sets the default values.
func (*ItemPersonalAccessTokenRequestsPostRequestBody) GetAdditionalData ¶
func (m *ItemPersonalAccessTokenRequestsPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemPersonalAccessTokenRequestsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemPersonalAccessTokenRequestsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemPersonalAccessTokenRequestsPostRequestBody) GetPatRequestIds ¶
func (m *ItemPersonalAccessTokenRequestsPostRequestBody) GetPatRequestIds() []int32
GetPatRequestIds gets the pat_request_ids property value. Unique identifiers of the requests for access via fine-grained personal access token. Must be formed of between 1 and 100 `pat_request_id` values.
func (*ItemPersonalAccessTokenRequestsPostRequestBody) GetReason ¶
func (m *ItemPersonalAccessTokenRequestsPostRequestBody) GetReason() *string
GetReason gets the reason property value. Reason for approving or denying the requests. Max 1024 characters.
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) }
ItemPersonalAccessTokenRequestsPostRequestBodyable
type ItemPersonalAccessTokenRequestsPostResponse ¶
type ItemPersonalAccessTokenRequestsPostResponse struct {
// contains filtered or unexported fields
}
ItemPersonalAccessTokenRequestsPostResponse
func NewItemPersonalAccessTokenRequestsPostResponse ¶
func NewItemPersonalAccessTokenRequestsPostResponse() *ItemPersonalAccessTokenRequestsPostResponse
NewItemPersonalAccessTokenRequestsPostResponse instantiates a new ItemPersonalAccessTokenRequestsPostResponse and sets the default values.
func (*ItemPersonalAccessTokenRequestsPostResponse) GetAdditionalData ¶
func (m *ItemPersonalAccessTokenRequestsPostResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemPersonalAccessTokenRequestsPostResponse) GetFieldDeserializers ¶
func (m *ItemPersonalAccessTokenRequestsPostResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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 }
ItemPersonalAccessTokenRequestsPostResponseable
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 PersonalAccessTokenRequestsRequestBuilder and sets the default values.
func NewItemPersonalAccessTokenRequestsRequestBuilderInternal ¶
func NewItemPersonalAccessTokenRequestsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokenRequestsRequestBuilder
NewItemPersonalAccessTokenRequestsRequestBuilderInternal instantiates a new PersonalAccessTokenRequestsRequestBuilder and sets the default values.
func (*ItemPersonalAccessTokenRequestsRequestBuilder) ByPat_request_id ¶
func (m *ItemPersonalAccessTokenRequestsRequestBuilder) ByPat_request_id(pat_request_id string) *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder
ByPat_request_id gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.personalAccessTokenRequests.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.
func (*ItemPersonalAccessTokenRequestsRequestBuilder) ByPat_request_idInteger ¶
func (m *ItemPersonalAccessTokenRequestsRequestBuilder) ByPat_request_idInteger(pat_request_id int32) *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder
ByPat_request_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.personalAccessTokenRequests.item collection
func (*ItemPersonalAccessTokenRequestsRequestBuilder) Get ¶
func (m *ItemPersonalAccessTokenRequestsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPersonalAccessTokenRequestsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationProgrammaticAccessGrantRequestable, error)
Get lists requests from organization members to access organization resources with a fine-grained personal access token. Only GitHub Apps can call this API,using the `organization_personal_access_token_requests: read` permission.**Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. API method documentation
func (*ItemPersonalAccessTokenRequestsRequestBuilder) Post ¶
func (m *ItemPersonalAccessTokenRequestsRequestBuilder) Post(ctx context.Context, body ItemPersonalAccessTokenRequestsPostRequestBodyable, requestConfiguration *ItemPersonalAccessTokenRequestsRequestBuilderPostRequestConfiguration) (ItemPersonalAccessTokenRequestsResponseable, error)
Post approves or denies multiple pending requests to access organization resources via a fine-grained personal access token. Only GitHub Apps can call this API,using the `organization_personal_access_token_requests: write` permission.**Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. Deprecated: This method is obsolete. Use PostAsPersonalAccessTokenRequestsPostResponse instead. API method documentation
func (*ItemPersonalAccessTokenRequestsRequestBuilder) PostAsPersonalAccessTokenRequestsPostResponse ¶
func (m *ItemPersonalAccessTokenRequestsRequestBuilder) PostAsPersonalAccessTokenRequestsPostResponse(ctx context.Context, body ItemPersonalAccessTokenRequestsPostRequestBodyable, requestConfiguration *ItemPersonalAccessTokenRequestsRequestBuilderPostRequestConfiguration) (ItemPersonalAccessTokenRequestsPostResponseable, error)
PostAsPersonalAccessTokenRequestsPostResponse approves or denies multiple pending requests to access organization resources via a fine-grained personal access token. Only GitHub Apps can call this API,using the `organization_personal_access_token_requests: write` permission.**Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. API method documentation
func (*ItemPersonalAccessTokenRequestsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPersonalAccessTokenRequestsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPersonalAccessTokenRequestsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists requests from organization members to access organization resources with a fine-grained personal access token. Only GitHub Apps can call this API,using the `organization_personal_access_token_requests: read` permission.**Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change.
func (*ItemPersonalAccessTokenRequestsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemPersonalAccessTokenRequestsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemPersonalAccessTokenRequestsPostRequestBodyable, requestConfiguration *ItemPersonalAccessTokenRequestsRequestBuilderPostRequestConfiguration) (*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 call this API,using the `organization_personal_access_token_requests: write` permission.**Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change.
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.
type ItemPersonalAccessTokenRequestsRequestBuilderGetQueryParameters ¶
type ItemPersonalAccessTokenRequestsRequestBuilderGetQueryParameters struct { // The direction to sort the results by. // Deprecated: This property is deprecated, use directionAsGetDirectionQueryParameterType instead Direction *string `uriparametername:"direction"` // The direction to sort the results by. DirectionAsGetDirectionQueryParameterType *if40f6bba016cf7cc8e1dd7375501cb9368628a1bf123e37f5946192c743664a2.GetDirectionQueryParameterType `uriparametername:"direction"` // Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Last_used_after *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"last_used_after"` // Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Last_used_before *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"last_used_before"` // A list of owner usernames to use to filter the results. Owner []string `uriparametername:"owner"` // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). 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. // Deprecated: This property is deprecated, use sortAsGetSortQueryParameterType instead Sort *string `uriparametername:"sort"` // The property by which to sort the results. SortAsGetSortQueryParameterType *if40f6bba016cf7cc8e1dd7375501cb9368628a1bf123e37f5946192c743664a2.GetSortQueryParameterType `uriparametername:"sort"` }
ItemPersonalAccessTokenRequestsRequestBuilderGetQueryParameters lists requests from organization members to access organization resources with a fine-grained personal access token. Only GitHub Apps can call this API,using the `organization_personal_access_token_requests: read` permission.**Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change.
type ItemPersonalAccessTokenRequestsRequestBuilderGetRequestConfiguration ¶
type ItemPersonalAccessTokenRequestsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemPersonalAccessTokenRequestsRequestBuilderGetQueryParameters }
ItemPersonalAccessTokenRequestsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPersonalAccessTokenRequestsRequestBuilderPostRequestConfiguration ¶
type ItemPersonalAccessTokenRequestsRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemPersonalAccessTokenRequestsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPersonalAccessTokenRequestsResponse ¶
type ItemPersonalAccessTokenRequestsResponse struct {
ItemPersonalAccessTokenRequestsPostResponse
}
ItemPersonalAccessTokenRequestsResponse Deprecated: This class is obsolete. Use personalAccessTokenRequestsPostResponse instead.
func NewItemPersonalAccessTokenRequestsResponse ¶
func NewItemPersonalAccessTokenRequestsResponse() *ItemPersonalAccessTokenRequestsResponse
NewItemPersonalAccessTokenRequestsResponse instantiates a new ItemPersonalAccessTokenRequestsResponse and sets the default values.
type ItemPersonalAccessTokenRequestsResponseable ¶
type ItemPersonalAccessTokenRequestsResponseable interface { ItemPersonalAccessTokenRequestsPostResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemPersonalAccessTokenRequestsResponseable Deprecated: This class is obsolete. Use personalAccessTokenRequestsPostResponse instead.
type ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder ¶
type ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\personal-access-token-requests\{pat_request_id}
func NewItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder ¶
func NewItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder
NewItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder instantiates a new WithPat_request_ItemRequestBuilder and sets the default values.
func NewItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilderInternal ¶
func NewItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder
NewItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilderInternal instantiates a new WithPat_request_ItemRequestBuilder and sets the default values.
func (*ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder) Post ¶
func (m *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder) Post(ctx context.Context, body ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBodyable, requestConfiguration *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilderPostRequestConfiguration) error
Post approves or denies a pending request to access organization resources via a fine-grained personal access token. Only GitHub Apps can call this API,using the `organization_personal_access_token_requests: write` permission.**Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. API method documentation
func (*ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder) Repositories ¶
func (m *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder) Repositories() *ItemPersonalAccessTokenRequestsItemRepositoriesRequestBuilder
Repositories the repositories property
func (*ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder) ToPostRequestInformation ¶
func (m *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemPersonalAccessTokenRequestsItemWithPat_request_PostRequestBodyable, requestConfiguration *ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilderPostRequestConfiguration) (*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 call this API,using the `organization_personal_access_token_requests: write` permission.**Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change.
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.
type ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilderPostRequestConfiguration ¶
type ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemPersonalAccessTokenRequestsWithPat_request_ItemRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPersonalAccessTokensItemRepositoriesRequestBuilder ¶
type ItemPersonalAccessTokensItemRepositoriesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemPersonalAccessTokensItemRepositoriesRequestBuilder builds and executes requests for operations under \orgs\{org}\personal-access-tokens\{pat_id}\repositories
func NewItemPersonalAccessTokensItemRepositoriesRequestBuilder ¶
func NewItemPersonalAccessTokensItemRepositoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokensItemRepositoriesRequestBuilder
NewItemPersonalAccessTokensItemRepositoriesRequestBuilder instantiates a new RepositoriesRequestBuilder and sets the default values.
func NewItemPersonalAccessTokensItemRepositoriesRequestBuilderInternal ¶
func NewItemPersonalAccessTokensItemRepositoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokensItemRepositoriesRequestBuilder
NewItemPersonalAccessTokensItemRepositoriesRequestBuilderInternal instantiates a new RepositoriesRequestBuilder and sets the default values.
func (*ItemPersonalAccessTokensItemRepositoriesRequestBuilder) Get ¶
func (m *ItemPersonalAccessTokensItemRepositoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPersonalAccessTokensItemRepositoriesRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.MinimalRepositoryable, error)
Get lists the repositories a fine-grained personal access token has access to. Only GitHub Apps can call this API,using the `organization_personal_access_tokens: read` permission.**Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. API method documentation
func (*ItemPersonalAccessTokensItemRepositoriesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPersonalAccessTokensItemRepositoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPersonalAccessTokensItemRepositoriesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists the repositories a fine-grained personal access token has access to. Only GitHub Apps can call this API,using the `organization_personal_access_tokens: read` permission.**Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change.
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.
type ItemPersonalAccessTokensItemRepositoriesRequestBuilderGetQueryParameters ¶
type ItemPersonalAccessTokensItemRepositoriesRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemPersonalAccessTokensItemRepositoriesRequestBuilderGetQueryParameters lists the repositories a fine-grained personal access token has access to. Only GitHub Apps can call this API,using the `organization_personal_access_tokens: read` permission.**Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change.
type ItemPersonalAccessTokensItemRepositoriesRequestBuilderGetRequestConfiguration ¶
type ItemPersonalAccessTokensItemRepositoriesRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemPersonalAccessTokensItemRepositoriesRequestBuilderGetQueryParameters }
ItemPersonalAccessTokensItemRepositoriesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPersonalAccessTokensItemWithPat_PostRequestBody ¶
type ItemPersonalAccessTokensItemWithPat_PostRequestBody struct {
// contains filtered or unexported fields
}
ItemPersonalAccessTokensItemWithPat_PostRequestBody
func NewItemPersonalAccessTokensItemWithPat_PostRequestBody ¶
func NewItemPersonalAccessTokensItemWithPat_PostRequestBody() *ItemPersonalAccessTokensItemWithPat_PostRequestBody
NewItemPersonalAccessTokensItemWithPat_PostRequestBody instantiates a new ItemPersonalAccessTokensItemWithPat_PostRequestBody and sets the default values.
func (*ItemPersonalAccessTokensItemWithPat_PostRequestBody) GetAdditionalData ¶
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.
func (*ItemPersonalAccessTokensItemWithPat_PostRequestBody) GetFieldDeserializers ¶
func (m *ItemPersonalAccessTokensItemWithPat_PostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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 }
ItemPersonalAccessTokensItemWithPat_PostRequestBodyable
type ItemPersonalAccessTokensPostRequestBody ¶
type ItemPersonalAccessTokensPostRequestBody struct {
// contains filtered or unexported fields
}
ItemPersonalAccessTokensPostRequestBody
func NewItemPersonalAccessTokensPostRequestBody ¶
func NewItemPersonalAccessTokensPostRequestBody() *ItemPersonalAccessTokensPostRequestBody
NewItemPersonalAccessTokensPostRequestBody instantiates a new ItemPersonalAccessTokensPostRequestBody and sets the default values.
func (*ItemPersonalAccessTokensPostRequestBody) GetAdditionalData ¶
func (m *ItemPersonalAccessTokensPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemPersonalAccessTokensPostRequestBody) GetFieldDeserializers ¶
func (m *ItemPersonalAccessTokensPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemPersonalAccessTokensPostRequestBody) GetPatIds ¶
func (m *ItemPersonalAccessTokensPostRequestBody) GetPatIds() []int32
GetPatIds gets the pat_ids property value. The IDs of the fine-grained personal access tokens.
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) }
ItemPersonalAccessTokensPostRequestBodyable
type ItemPersonalAccessTokensPostResponse ¶
type ItemPersonalAccessTokensPostResponse struct {
// contains filtered or unexported fields
}
ItemPersonalAccessTokensPostResponse
func NewItemPersonalAccessTokensPostResponse ¶
func NewItemPersonalAccessTokensPostResponse() *ItemPersonalAccessTokensPostResponse
NewItemPersonalAccessTokensPostResponse instantiates a new ItemPersonalAccessTokensPostResponse and sets the default values.
func (*ItemPersonalAccessTokensPostResponse) GetAdditionalData ¶
func (m *ItemPersonalAccessTokensPostResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemPersonalAccessTokensPostResponse) GetFieldDeserializers ¶
func (m *ItemPersonalAccessTokensPostResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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 }
ItemPersonalAccessTokensPostResponseable
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 PersonalAccessTokensRequestBuilder and sets the default values.
func NewItemPersonalAccessTokensRequestBuilderInternal ¶
func NewItemPersonalAccessTokensRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokensRequestBuilder
NewItemPersonalAccessTokensRequestBuilderInternal instantiates a new PersonalAccessTokensRequestBuilder and sets the default values.
func (*ItemPersonalAccessTokensRequestBuilder) ByPat_id ¶
func (m *ItemPersonalAccessTokensRequestBuilder) ByPat_id(pat_id string) *ItemPersonalAccessTokensWithPat_ItemRequestBuilder
ByPat_id gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.personalAccessTokens.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.
func (*ItemPersonalAccessTokensRequestBuilder) ByPat_idInteger ¶
func (m *ItemPersonalAccessTokensRequestBuilder) ByPat_idInteger(pat_id int32) *ItemPersonalAccessTokensWithPat_ItemRequestBuilder
ByPat_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.personalAccessTokens.item collection
func (*ItemPersonalAccessTokensRequestBuilder) Get ¶
func (m *ItemPersonalAccessTokensRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPersonalAccessTokensRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationProgrammaticAccessGrantable, error)
Get lists approved fine-grained personal access tokens owned by organization members that can access organization resources. Only GitHub Apps can call this API,using the `organization_personal_access_tokens: read` permission.**Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. API method documentation
func (*ItemPersonalAccessTokensRequestBuilder) Post ¶
func (m *ItemPersonalAccessTokensRequestBuilder) Post(ctx context.Context, body ItemPersonalAccessTokensPostRequestBodyable, requestConfiguration *ItemPersonalAccessTokensRequestBuilderPostRequestConfiguration) (ItemPersonalAccessTokensResponseable, 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 call this API,using the `organization_personal_access_tokens: write` permission.**Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. Deprecated: This method is obsolete. Use PostAsPersonalAccessTokensPostResponse instead. API method documentation
func (*ItemPersonalAccessTokensRequestBuilder) PostAsPersonalAccessTokensPostResponse ¶
func (m *ItemPersonalAccessTokensRequestBuilder) PostAsPersonalAccessTokensPostResponse(ctx context.Context, body ItemPersonalAccessTokensPostRequestBodyable, requestConfiguration *ItemPersonalAccessTokensRequestBuilderPostRequestConfiguration) (ItemPersonalAccessTokensPostResponseable, error)
PostAsPersonalAccessTokensPostResponse 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 call this API,using the `organization_personal_access_tokens: write` permission.**Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. API method documentation
func (*ItemPersonalAccessTokensRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPersonalAccessTokensRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPersonalAccessTokensRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists approved fine-grained personal access tokens owned by organization members that can access organization resources. Only GitHub Apps can call this API,using the `organization_personal_access_tokens: read` permission.**Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change.
func (*ItemPersonalAccessTokensRequestBuilder) ToPostRequestInformation ¶
func (m *ItemPersonalAccessTokensRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemPersonalAccessTokensPostRequestBodyable, requestConfiguration *ItemPersonalAccessTokensRequestBuilderPostRequestConfiguration) (*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 call this API,using the `organization_personal_access_tokens: write` permission.**Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change.
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.
type ItemPersonalAccessTokensRequestBuilderGetQueryParameters ¶
type ItemPersonalAccessTokensRequestBuilderGetQueryParameters struct { // The direction to sort the results by. // Deprecated: This property is deprecated, use directionAsGetDirectionQueryParameterType instead Direction *string `uriparametername:"direction"` // The direction to sort the results by. DirectionAsGetDirectionQueryParameterType *i3106aaea777cbd2e189aa9c11fbc93d90c3c7272c21ca15937589998ee7e5a2e.GetDirectionQueryParameterType `uriparametername:"direction"` // Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Last_used_after *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"last_used_after"` // Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`. Last_used_before *i336074805fc853987abe6f7fe3ad97a6a6f3077a16391fec744f671a015fbd7e.Time `uriparametername:"last_used_before"` // A list of owner usernames to use to filter the results. Owner []string `uriparametername:"owner"` // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). 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. // Deprecated: This property is deprecated, use sortAsGetSortQueryParameterType instead Sort *string `uriparametername:"sort"` // The property by which to sort the results. SortAsGetSortQueryParameterType *i3106aaea777cbd2e189aa9c11fbc93d90c3c7272c21ca15937589998ee7e5a2e.GetSortQueryParameterType `uriparametername:"sort"` }
ItemPersonalAccessTokensRequestBuilderGetQueryParameters lists approved fine-grained personal access tokens owned by organization members that can access organization resources. Only GitHub Apps can call this API,using the `organization_personal_access_tokens: read` permission.**Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change.
type ItemPersonalAccessTokensRequestBuilderGetRequestConfiguration ¶
type ItemPersonalAccessTokensRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemPersonalAccessTokensRequestBuilderGetQueryParameters }
ItemPersonalAccessTokensRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPersonalAccessTokensRequestBuilderPostRequestConfiguration ¶
type ItemPersonalAccessTokensRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemPersonalAccessTokensRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPersonalAccessTokensResponse ¶
type ItemPersonalAccessTokensResponse struct {
ItemPersonalAccessTokensPostResponse
}
ItemPersonalAccessTokensResponse Deprecated: This class is obsolete. Use personalAccessTokensPostResponse instead.
func NewItemPersonalAccessTokensResponse ¶
func NewItemPersonalAccessTokensResponse() *ItemPersonalAccessTokensResponse
NewItemPersonalAccessTokensResponse instantiates a new ItemPersonalAccessTokensResponse and sets the default values.
type ItemPersonalAccessTokensResponseable ¶
type ItemPersonalAccessTokensResponseable interface { ItemPersonalAccessTokensPostResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemPersonalAccessTokensResponseable Deprecated: This class is obsolete. Use personalAccessTokensPostResponse instead.
type ItemPersonalAccessTokensWithPat_ItemRequestBuilder ¶
type ItemPersonalAccessTokensWithPat_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemPersonalAccessTokensWithPat_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\personal-access-tokens\{pat_id}
func NewItemPersonalAccessTokensWithPat_ItemRequestBuilder ¶
func NewItemPersonalAccessTokensWithPat_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokensWithPat_ItemRequestBuilder
NewItemPersonalAccessTokensWithPat_ItemRequestBuilder instantiates a new WithPat_ItemRequestBuilder and sets the default values.
func NewItemPersonalAccessTokensWithPat_ItemRequestBuilderInternal ¶
func NewItemPersonalAccessTokensWithPat_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPersonalAccessTokensWithPat_ItemRequestBuilder
NewItemPersonalAccessTokensWithPat_ItemRequestBuilderInternal instantiates a new WithPat_ItemRequestBuilder and sets the default values.
func (*ItemPersonalAccessTokensWithPat_ItemRequestBuilder) Post ¶
func (m *ItemPersonalAccessTokensWithPat_ItemRequestBuilder) Post(ctx context.Context, body ItemPersonalAccessTokensItemWithPat_PostRequestBodyable, requestConfiguration *ItemPersonalAccessTokensWithPat_ItemRequestBuilderPostRequestConfiguration) 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 call this API,using the `organization_personal_access_tokens: write` permission.**Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change. API method documentation
func (*ItemPersonalAccessTokensWithPat_ItemRequestBuilder) Repositories ¶
func (m *ItemPersonalAccessTokensWithPat_ItemRequestBuilder) Repositories() *ItemPersonalAccessTokensItemRepositoriesRequestBuilder
Repositories the repositories property
func (*ItemPersonalAccessTokensWithPat_ItemRequestBuilder) ToPostRequestInformation ¶
func (m *ItemPersonalAccessTokensWithPat_ItemRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemPersonalAccessTokensItemWithPat_PostRequestBodyable, requestConfiguration *ItemPersonalAccessTokensWithPat_ItemRequestBuilderPostRequestConfiguration) (*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 call this API,using the `organization_personal_access_tokens: write` permission.**Note**: Fine-grained PATs are in public beta. Related APIs, events, and functionality are subject to change.
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.
type ItemPersonalAccessTokensWithPat_ItemRequestBuilderPostRequestConfiguration ¶
type ItemPersonalAccessTokensWithPat_ItemRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemPersonalAccessTokensWithPat_ItemRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemProjectsPostRequestBody ¶
type ItemProjectsPostRequestBody struct {
// contains filtered or unexported fields
}
ItemProjectsPostRequestBody
func NewItemProjectsPostRequestBody ¶
func NewItemProjectsPostRequestBody() *ItemProjectsPostRequestBody
NewItemProjectsPostRequestBody instantiates a new ItemProjectsPostRequestBody and sets the default values.
func (*ItemProjectsPostRequestBody) GetAdditionalData ¶
func (m *ItemProjectsPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemProjectsPostRequestBody) GetBody ¶
func (m *ItemProjectsPostRequestBody) GetBody() *string
GetBody gets the body property value. The description of the project.
func (*ItemProjectsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemProjectsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemProjectsPostRequestBody) GetName ¶
func (m *ItemProjectsPostRequestBody) GetName() *string
GetName gets the name property value. The name of the project.
func (*ItemProjectsPostRequestBody) Serialize ¶
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) }
ItemProjectsPostRequestBodyable
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 ProjectsRequestBuilder and sets the default values.
func NewItemProjectsRequestBuilderInternal ¶
func NewItemProjectsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemProjectsRequestBuilder
NewItemProjectsRequestBuilderInternal instantiates a new ProjectsRequestBuilder and sets the default values.
func (*ItemProjectsRequestBuilder) Get ¶
func (m *ItemProjectsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemProjectsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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. API method documentation
func (*ItemProjectsRequestBuilder) Post ¶
func (m *ItemProjectsRequestBuilder) Post(ctx context.Context, body ItemProjectsPostRequestBodyable, requestConfiguration *ItemProjectsRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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. API method documentation
func (*ItemProjectsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemProjectsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemProjectsRequestBuilderGetRequestConfiguration) (*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.
func (*ItemProjectsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemProjectsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemProjectsPostRequestBodyable, requestConfiguration *ItemProjectsRequestBuilderPostRequestConfiguration) (*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.
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.
type ItemProjectsRequestBuilderGetQueryParameters ¶
type ItemProjectsRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` // Indicates the state of the projects to return. // Deprecated: This property is deprecated, use stateAsGetStateQueryParameterType instead State *string `uriparametername:"state"` // Indicates the state of the projects to return. StateAsGetStateQueryParameterType *icb2cc83b1b9fe3e8152a337766c164dfb2e1940a90971ea8c545383bf9d4719b.GetStateQueryParameterType `uriparametername:"state"` }
ItemProjectsRequestBuilderGetQueryParameters lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.
type ItemProjectsRequestBuilderGetRequestConfiguration ¶
type ItemProjectsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemProjectsRequestBuilderGetQueryParameters }
ItemProjectsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemProjectsRequestBuilderPostRequestConfiguration ¶
type ItemProjectsRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemProjectsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 PropertiesRequestBuilder and sets the default values.
func NewItemPropertiesRequestBuilderInternal ¶
func NewItemPropertiesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPropertiesRequestBuilder
NewItemPropertiesRequestBuilderInternal instantiates a new PropertiesRequestBuilder and sets the default values.
func (*ItemPropertiesRequestBuilder) Schema ¶
func (m *ItemPropertiesRequestBuilder) Schema() *ItemPropertiesSchemaRequestBuilder
Schema the schema property
func (*ItemPropertiesRequestBuilder) Values ¶
func (m *ItemPropertiesRequestBuilder) Values() *ItemPropertiesValuesRequestBuilder
Values the values property
type ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody ¶
type ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody struct {
// contains filtered or unexported fields
}
ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody
func NewItemPropertiesSchemaItemWithCustom_property_namePutRequestBody ¶
func NewItemPropertiesSchemaItemWithCustom_property_namePutRequestBody() *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody
NewItemPropertiesSchemaItemWithCustom_property_namePutRequestBody instantiates a new ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody and sets the default values.
func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetAdditionalData ¶
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.
func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetAllowedValues ¶
func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetAllowedValues() []string
GetAllowedValues gets the allowed_values property value. Ordered list of allowed values of the property
func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetDefaultValue ¶
func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetDefaultValue() *string
GetDefaultValue gets the default_value property value. Default value of the property
func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetDescription ¶
func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetDescription() *string
GetDescription gets the description property value. Short description of the property
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
func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetRequired ¶
func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) GetRequired() *bool
GetRequired gets the required property value. Whether the property is required.
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. Ordered list of allowed values of the property
func (*ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) SetDefaultValue ¶
func (m *ItemPropertiesSchemaItemWithCustom_property_namePutRequestBody) SetDefaultValue(value *string)
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_namePutRequestBodyable ¶
type ItemPropertiesSchemaItemWithCustom_property_namePutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAllowedValues() []string GetDefaultValue() *string GetDescription() *string GetRequired() *bool SetAllowedValues(value []string) SetDefaultValue(value *string) SetDescription(value *string) SetRequired(value *bool) }
ItemPropertiesSchemaItemWithCustom_property_namePutRequestBodyable
type ItemPropertiesSchemaPatchRequestBody ¶
type ItemPropertiesSchemaPatchRequestBody struct {
// contains filtered or unexported fields
}
ItemPropertiesSchemaPatchRequestBody
func NewItemPropertiesSchemaPatchRequestBody ¶
func NewItemPropertiesSchemaPatchRequestBody() *ItemPropertiesSchemaPatchRequestBody
NewItemPropertiesSchemaPatchRequestBody instantiates a new ItemPropertiesSchemaPatchRequestBody and sets the default values.
func (*ItemPropertiesSchemaPatchRequestBody) GetAdditionalData ¶
func (m *ItemPropertiesSchemaPatchRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemPropertiesSchemaPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemPropertiesSchemaPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemPropertiesSchemaPatchRequestBody) GetProperties ¶
func (m *ItemPropertiesSchemaPatchRequestBody) GetProperties() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrgCustomPropertyable
GetProperties gets the properties property value. The array of custom properties to create or update.
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 []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrgCustomPropertyable)
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() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrgCustomPropertyable SetProperties(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrgCustomPropertyable) }
ItemPropertiesSchemaPatchRequestBodyable
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 SchemaRequestBuilder and sets the default values.
func NewItemPropertiesSchemaRequestBuilderInternal ¶
func NewItemPropertiesSchemaRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPropertiesSchemaRequestBuilder
NewItemPropertiesSchemaRequestBuilderInternal instantiates a new SchemaRequestBuilder and sets the default values.
func (*ItemPropertiesSchemaRequestBuilder) ByCustom_property_name ¶
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/pkg/github/.orgs.item.properties.schema.item collection
func (*ItemPropertiesSchemaRequestBuilder) Get ¶
func (m *ItemPropertiesSchemaRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPropertiesSchemaRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrgCustomPropertyable, error)
Get gets all custom properties defined for an organization.You must be an organization owner to use this endpoint. API method documentation
func (*ItemPropertiesSchemaRequestBuilder) Patch ¶
func (m *ItemPropertiesSchemaRequestBuilder) Patch(ctx context.Context, body ItemPropertiesSchemaPatchRequestBodyable, requestConfiguration *ItemPropertiesSchemaRequestBuilderPatchRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrgCustomPropertyable, error)
Patch creates new or updates existing custom properties defined for an organization in a batch.Only organization owners (or users with the proper permissions granted by them) can update these properties API method documentation
func (*ItemPropertiesSchemaRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPropertiesSchemaRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPropertiesSchemaRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets all custom properties defined for an organization.You must be an organization owner to use this endpoint.
func (*ItemPropertiesSchemaRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemPropertiesSchemaRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemPropertiesSchemaPatchRequestBodyable, requestConfiguration *ItemPropertiesSchemaRequestBuilderPatchRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation creates new or updates existing custom properties defined for an organization in a batch.Only organization owners (or users with the proper permissions granted by them) can update these properties
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.
type ItemPropertiesSchemaRequestBuilderGetRequestConfiguration ¶
type ItemPropertiesSchemaRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemPropertiesSchemaRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPropertiesSchemaRequestBuilderPatchRequestConfiguration ¶
type ItemPropertiesSchemaRequestBuilderPatchRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemPropertiesSchemaRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder ¶
type ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\properties\schema\{custom_property_name}
func NewItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder ¶
func NewItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder
NewItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder instantiates a new WithCustom_property_nameItemRequestBuilder and sets the default values.
func NewItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderInternal ¶
func NewItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder
NewItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderInternal instantiates a new WithCustom_property_nameItemRequestBuilder and sets the default values.
func (*ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) Delete ¶
func (m *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderDeleteRequestConfiguration) error
Delete removes a custom property that is defined for an organization.You must be an organization owner to use this endpoint. API method documentation
func (*ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) Get ¶
func (m *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrgCustomPropertyable, error)
Get gets a custom property that is defined for an organization.You must be an organization owner to use this endpoint. API method documentation
func (*ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) Put ¶
func (m *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) Put(ctx context.Context, body ItemPropertiesSchemaItemWithCustom_property_namePutRequestBodyable, requestConfiguration *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderPutRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrgCustomPropertyable, error)
Put creates a new or updates an existing custom property that is defined for an organization.You must be an organization owner to use this endpoint. API method documentation
func (*ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation removes a custom property that is defined for an organization.You must be an organization owner to use this endpoint.
func (*ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a custom property that is defined for an organization.You must be an organization owner to use this endpoint.
func (*ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemPropertiesSchemaItemWithCustom_property_namePutRequestBodyable, requestConfiguration *ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderPutRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation creates a new or updates an existing custom property that is defined for an organization.You must be an organization owner to use this endpoint.
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.
type ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderDeleteRequestConfiguration ¶
type ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderGetRequestConfiguration ¶
type ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderPutRequestConfiguration ¶
type ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemPropertiesSchemaWithCustom_property_nameItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPropertiesValuesPatchRequestBody ¶
type ItemPropertiesValuesPatchRequestBody struct {
// contains filtered or unexported fields
}
ItemPropertiesValuesPatchRequestBody
func NewItemPropertiesValuesPatchRequestBody ¶
func NewItemPropertiesValuesPatchRequestBody() *ItemPropertiesValuesPatchRequestBody
NewItemPropertiesValuesPatchRequestBody instantiates a new ItemPropertiesValuesPatchRequestBody and sets the default values.
func (*ItemPropertiesValuesPatchRequestBody) GetAdditionalData ¶
func (m *ItemPropertiesValuesPatchRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemPropertiesValuesPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemPropertiesValuesPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemPropertiesValuesPatchRequestBody) GetProperties ¶
func (m *ItemPropertiesValuesPatchRequestBody) GetProperties() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CustomPropertyValueable
GetProperties gets the properties property value. List of custom property names and associated values to apply to the repositories.
func (*ItemPropertiesValuesPatchRequestBody) GetRepositoryNames ¶
func (m *ItemPropertiesValuesPatchRequestBody) GetRepositoryNames() []string
GetRepositoryNames gets the repository_names property value. The names of repositories that the custom property values will be applied to.
func (*ItemPropertiesValuesPatchRequestBody) Serialize ¶
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 []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CustomPropertyValueable GetRepositoryNames() []string SetProperties(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CustomPropertyValueable) SetRepositoryNames(value []string) }
ItemPropertiesValuesPatchRequestBodyable
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 ValuesRequestBuilder and sets the default values.
func NewItemPropertiesValuesRequestBuilderInternal ¶
func NewItemPropertiesValuesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPropertiesValuesRequestBuilder
NewItemPropertiesValuesRequestBuilderInternal instantiates a new ValuesRequestBuilder and sets the default values.
func (*ItemPropertiesValuesRequestBuilder) Get ¶
func (m *ItemPropertiesValuesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPropertiesValuesRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrgRepoCustomPropertyValuesable, error)
Get lists organization repositories with all of their custom property values.Organization members can read these properties. API method documentation
func (*ItemPropertiesValuesRequestBuilder) Patch ¶
func (m *ItemPropertiesValuesRequestBuilder) Patch(ctx context.Context, body ItemPropertiesValuesPatchRequestBodyable, requestConfiguration *ItemPropertiesValuesRequestBuilderPatchRequestConfiguration) 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.Only organization owners (or users with the proper permissions granted by them) can update these properties API method documentation
func (*ItemPropertiesValuesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPropertiesValuesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPropertiesValuesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists organization repositories with all of their custom property values.Organization members can read these properties.
func (*ItemPropertiesValuesRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemPropertiesValuesRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemPropertiesValuesPatchRequestBodyable, requestConfiguration *ItemPropertiesValuesRequestBuilderPatchRequestConfiguration) (*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.Only organization owners (or users with the proper permissions granted by them) can update these properties
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.
type ItemPropertiesValuesRequestBuilderGetQueryParameters ¶
type ItemPropertiesValuesRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` // Finds repositories in the organization with a query containing one or more search keywords and qualifiers. Qualifiers allow you to limit your search to specific areas of GitHub. The REST API supports the same qualifiers as the web interface for GitHub. To learn more about the format of the query, see [Constructing a search query](https://docs.github.com/rest/search/search#constructing-a-search-query). See "[Searching for repositories](https://docs.github.com/articles/searching-for-repositories/)" for a detailed list of qualifiers. Repository_query *string `uriparametername:"repository_query"` }
ItemPropertiesValuesRequestBuilderGetQueryParameters lists organization repositories with all of their custom property values.Organization members can read these properties.
type ItemPropertiesValuesRequestBuilderGetRequestConfiguration ¶
type ItemPropertiesValuesRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemPropertiesValuesRequestBuilderGetQueryParameters }
ItemPropertiesValuesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPropertiesValuesRequestBuilderPatchRequestConfiguration ¶
type ItemPropertiesValuesRequestBuilderPatchRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemPropertiesValuesRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 Public_membersRequestBuilder and sets the default values.
func NewItemPublic_membersRequestBuilderInternal ¶
func NewItemPublic_membersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPublic_membersRequestBuilder
NewItemPublic_membersRequestBuilderInternal instantiates a new Public_membersRequestBuilder and sets the default values.
func (*ItemPublic_membersRequestBuilder) ByUsername ¶
func (m *ItemPublic_membersRequestBuilder) ByUsername(username string) *ItemPublic_membersWithUsernameItemRequestBuilder
ByUsername gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.public_members.item collection
func (*ItemPublic_membersRequestBuilder) Get ¶
func (m *ItemPublic_membersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemPublic_membersRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.SimpleUserable, error)
Get members of an organization can choose to have their membership publicized or not. API method documentation
func (*ItemPublic_membersRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPublic_membersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPublic_membersRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation members of an organization can choose to have their membership publicized or not.
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.
type ItemPublic_membersRequestBuilderGetQueryParameters ¶
type ItemPublic_membersRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemPublic_membersRequestBuilderGetQueryParameters members of an organization can choose to have their membership publicized or not.
type ItemPublic_membersRequestBuilderGetRequestConfiguration ¶
type ItemPublic_membersRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemPublic_membersRequestBuilderGetQueryParameters }
ItemPublic_membersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 WithUsernameItemRequestBuilder and sets the default values.
func NewItemPublic_membersWithUsernameItemRequestBuilderInternal ¶
func NewItemPublic_membersWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemPublic_membersWithUsernameItemRequestBuilder
NewItemPublic_membersWithUsernameItemRequestBuilderInternal instantiates a new WithUsernameItemRequestBuilder and sets the default values.
func (*ItemPublic_membersWithUsernameItemRequestBuilder) Delete ¶
func (m *ItemPublic_membersWithUsernameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemPublic_membersWithUsernameItemRequestBuilderDeleteRequestConfiguration) 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 *ItemPublic_membersWithUsernameItemRequestBuilderGetRequestConfiguration) 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 *ItemPublic_membersWithUsernameItemRequestBuilderPutRequestConfiguration) 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 verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)." API method documentation
func (*ItemPublic_membersWithUsernameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemPublic_membersWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemPublic_membersWithUsernameItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation removes the public membership for the authenticated user from the specified organization, unless public visibility is enforced by default.
func (*ItemPublic_membersWithUsernameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemPublic_membersWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemPublic_membersWithUsernameItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation check if the provided user is a public member of the organization.
func (*ItemPublic_membersWithUsernameItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemPublic_membersWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *ItemPublic_membersWithUsernameItemRequestBuilderPutRequestConfiguration) (*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 verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)."
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.
type ItemPublic_membersWithUsernameItemRequestBuilderDeleteRequestConfiguration ¶
type ItemPublic_membersWithUsernameItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemPublic_membersWithUsernameItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPublic_membersWithUsernameItemRequestBuilderGetRequestConfiguration ¶
type ItemPublic_membersWithUsernameItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemPublic_membersWithUsernameItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemPublic_membersWithUsernameItemRequestBuilderPutRequestConfiguration ¶
type ItemPublic_membersWithUsernameItemRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemPublic_membersWithUsernameItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemReposPostRequestBody ¶
type ItemReposPostRequestBody struct {
// contains filtered or unexported fields
}
ItemReposPostRequestBody
func NewItemReposPostRequestBody ¶
func NewItemReposPostRequestBody() *ItemReposPostRequestBody
NewItemReposPostRequestBody instantiates a new ItemReposPostRequestBody and sets the default values.
func (*ItemReposPostRequestBody) GetAdditionalData ¶
func (m *ItemReposPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemReposPostRequestBody) GetAllowAutoMerge ¶
func (m *ItemReposPostRequestBody) GetAllowAutoMerge() *bool
GetAllowAutoMerge gets the allow_auto_merge property value. Either `true` to allow auto-merge on pull requests, or `false` to disallow auto-merge.
func (*ItemReposPostRequestBody) GetAllowMergeCommit ¶
func (m *ItemReposPostRequestBody) GetAllowMergeCommit() *bool
GetAllowMergeCommit gets the allow_merge_commit property value. Either `true` to allow merging pull requests with a merge commit, or `false` to prevent merging pull requests with merge commits.
func (*ItemReposPostRequestBody) GetAllowRebaseMerge ¶
func (m *ItemReposPostRequestBody) GetAllowRebaseMerge() *bool
GetAllowRebaseMerge gets the allow_rebase_merge property value. Either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging.
func (*ItemReposPostRequestBody) GetAllowSquashMerge ¶
func (m *ItemReposPostRequestBody) GetAllowSquashMerge() *bool
GetAllowSquashMerge gets the allow_squash_merge property value. Either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging.
func (*ItemReposPostRequestBody) GetAutoInit ¶
func (m *ItemReposPostRequestBody) GetAutoInit() *bool
GetAutoInit gets the auto_init property value. Pass `true` to create an initial commit with empty README.
func (*ItemReposPostRequestBody) GetCustomProperties ¶
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.
func (*ItemReposPostRequestBody) GetDeleteBranchOnMerge ¶
func (m *ItemReposPostRequestBody) GetDeleteBranchOnMerge() *bool
GetDeleteBranchOnMerge gets the delete_branch_on_merge property value. Either `true` to allow automatically deleting head branches when pull requests are merged, or `false` to prevent automatic deletion. **The authenticated user must be an organization owner to set this property to `true`.**
func (*ItemReposPostRequestBody) GetDescription ¶
func (m *ItemReposPostRequestBody) GetDescription() *string
GetDescription gets the description property value. A short description of the repository.
func (*ItemReposPostRequestBody) GetFieldDeserializers ¶
func (m *ItemReposPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemReposPostRequestBody) GetGitignoreTemplate ¶
func (m *ItemReposPostRequestBody) GetGitignoreTemplate() *string
GetGitignoreTemplate gets the gitignore_template property value. Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, "Haskell".
func (*ItemReposPostRequestBody) GetHasDownloads ¶
func (m *ItemReposPostRequestBody) GetHasDownloads() *bool
GetHasDownloads gets the has_downloads property value. Whether downloads are enabled.
func (*ItemReposPostRequestBody) GetHasIssues ¶
func (m *ItemReposPostRequestBody) GetHasIssues() *bool
GetHasIssues gets the has_issues property value. Either `true` to enable issues for this repository or `false` to disable them.
func (*ItemReposPostRequestBody) GetHasProjects ¶
func (m *ItemReposPostRequestBody) GetHasProjects() *bool
GetHasProjects gets the has_projects property value. Either `true` to enable projects for this repository or `false` to disable them. **Note:** If you're creating a repository in an organization that has disabled repository projects, the default is `false`, and if you pass `true`, the API returns an error.
func (*ItemReposPostRequestBody) GetHasWiki ¶
func (m *ItemReposPostRequestBody) GetHasWiki() *bool
GetHasWiki gets the has_wiki property value. Either `true` to enable the wiki for this repository or `false` to disable it.
func (*ItemReposPostRequestBody) GetHomepage ¶
func (m *ItemReposPostRequestBody) GetHomepage() *string
GetHomepage gets the homepage property value. A URL with more information about the repository.
func (*ItemReposPostRequestBody) GetIsTemplate ¶
func (m *ItemReposPostRequestBody) GetIsTemplate() *bool
GetIsTemplate gets the is_template property value. Either `true` to make this repo available as a template repository or `false` to prevent it.
func (*ItemReposPostRequestBody) GetLicenseTemplate ¶
func (m *ItemReposPostRequestBody) GetLicenseTemplate() *string
GetLicenseTemplate gets the license_template property value. Choose an [open source license template](https://choosealicense.com/) that best suits your needs, and then use the [license keyword](https://docs.github.com/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, "mit" or "mpl-2.0".
func (*ItemReposPostRequestBody) GetName ¶
func (m *ItemReposPostRequestBody) GetName() *string
GetName gets the name property value. The name of the repository.
func (*ItemReposPostRequestBody) GetPrivate ¶
func (m *ItemReposPostRequestBody) GetPrivate() *bool
GetPrivate gets the private property value. Whether the repository is private.
func (*ItemReposPostRequestBody) GetTeamId ¶
func (m *ItemReposPostRequestBody) GetTeamId() *int32
GetTeamId gets the team_id property value. The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization.
func (*ItemReposPostRequestBody) GetUseSquashPrTitleAsDefault ¶
func (m *ItemReposPostRequestBody) GetUseSquashPrTitleAsDefault() *bool
GetUseSquashPrTitleAsDefault gets the use_squash_pr_title_as_default property value. Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead. Deprecated:
func (*ItemReposPostRequestBody) Serialize ¶
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/articles/licensing-a-repository/#searching-github-by-license-type) as the `license_template` string. For example, "mit" or "mpl-2.0".
func (*ItemReposPostRequestBody) SetName ¶
func (m *ItemReposPostRequestBody) SetName(value *string)
SetName sets the name property value. The name of the repository.
func (*ItemReposPostRequestBody) SetPrivate ¶
func (m *ItemReposPostRequestBody) SetPrivate(value *bool)
SetPrivate sets the private property value. Whether the repository is private.
func (*ItemReposPostRequestBody) SetTeamId ¶
func (m *ItemReposPostRequestBody) SetTeamId(value *int32)
SetTeamId sets the team_id property value. The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization.
func (*ItemReposPostRequestBody) SetUseSquashPrTitleAsDefault ¶
func (m *ItemReposPostRequestBody) SetUseSquashPrTitleAsDefault(value *bool)
SetUseSquashPrTitleAsDefault sets the use_squash_pr_title_as_default property value. Either `true` to allow squash-merge commits to use pull request title, or `false` to use commit message. **This property has been deprecated. Please use `squash_merge_commit_title` instead. Deprecated:
type ItemReposPostRequestBody_custom_properties ¶
type ItemReposPostRequestBody_custom_properties struct {
// contains filtered or unexported fields
}
ItemReposPostRequestBody_custom_properties the custom properties for the new repository. The keys are the custom property names, and the values are the corresponding custom property values.
func NewItemReposPostRequestBody_custom_properties ¶
func NewItemReposPostRequestBody_custom_properties() *ItemReposPostRequestBody_custom_properties
NewItemReposPostRequestBody_custom_properties instantiates a new ItemReposPostRequestBody_custom_properties and sets the default values.
func (*ItemReposPostRequestBody_custom_properties) GetAdditionalData ¶
func (m *ItemReposPostRequestBody_custom_properties) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemReposPostRequestBody_custom_properties) GetFieldDeserializers ¶
func (m *ItemReposPostRequestBody_custom_properties) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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 }
ItemReposPostRequestBody_custom_propertiesable
type ItemReposPostRequestBodyable ¶
type ItemReposPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAllowAutoMerge() *bool GetAllowMergeCommit() *bool GetAllowRebaseMerge() *bool GetAllowSquashMerge() *bool GetAutoInit() *bool GetCustomProperties() ItemReposPostRequestBody_custom_propertiesable GetDeleteBranchOnMerge() *bool GetDescription() *string GetGitignoreTemplate() *string GetHasDownloads() *bool GetHasIssues() *bool GetHasProjects() *bool GetHasWiki() *bool GetHomepage() *string GetIsTemplate() *bool GetLicenseTemplate() *string GetName() *string GetPrivate() *bool GetTeamId() *int32 GetUseSquashPrTitleAsDefault() *bool SetAllowAutoMerge(value *bool) SetAllowMergeCommit(value *bool) SetAllowRebaseMerge(value *bool) SetAllowSquashMerge(value *bool) SetAutoInit(value *bool) SetCustomProperties(value ItemReposPostRequestBody_custom_propertiesable) SetDeleteBranchOnMerge(value *bool) SetDescription(value *string) SetGitignoreTemplate(value *string) SetHasDownloads(value *bool) SetHasIssues(value *bool) SetHasProjects(value *bool) SetHasWiki(value *bool) SetHomepage(value *string) SetIsTemplate(value *bool) SetLicenseTemplate(value *string) SetName(value *string) SetPrivate(value *bool) SetTeamId(value *int32) SetUseSquashPrTitleAsDefault(value *bool) }
ItemReposPostRequestBodyable
type ItemReposRequestBuilder ¶
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 ReposRequestBuilder and sets the default values.
func NewItemReposRequestBuilderInternal ¶
func NewItemReposRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemReposRequestBuilder
NewItemReposRequestBuilderInternal instantiates a new ReposRequestBuilder and sets the default values.
func (*ItemReposRequestBuilder) Get ¶
func (m *ItemReposRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemReposRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)." API method documentation
func (*ItemReposRequestBuilder) Post ¶
func (m *ItemReposRequestBuilder) Post(ctx context.Context, body ItemReposPostRequestBodyable, requestConfiguration *ItemReposRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.FullRepositoryable, error)
Post creates a new repository in the specified organization. The authenticated user must be a member of the organization.**OAuth scope requirements**When using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:* `public_repo` scope or `repo` scope to create a public repository* `repo` scope to create a private repository API method documentation
func (*ItemReposRequestBuilder) ToGetRequestInformation ¶
func (m *ItemReposRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemReposRequestBuilderGetRequestConfiguration) (*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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
func (*ItemReposRequestBuilder) ToPostRequestInformation ¶
func (m *ItemReposRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemReposPostRequestBodyable, requestConfiguration *ItemReposRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation creates a new repository in the specified organization. The authenticated user must be a member of the organization.**OAuth scope requirements**When using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:* `public_repo` scope or `repo` scope to create a public repository* `repo` scope to create a private repository
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.
type ItemReposRequestBuilderGetQueryParameters ¶
type ItemReposRequestBuilderGetQueryParameters struct { // The order to sort by. Default: `asc` when using `full_name`, otherwise `desc`. // Deprecated: This property is deprecated, use directionAsGetDirectionQueryParameterType instead Direction *string `uriparametername:"direction"` // The order to sort by. Default: `asc` when using `full_name`, otherwise `desc`. DirectionAsGetDirectionQueryParameterType *i5b3d7c73dda6fbaf3ff58c44b2aabc5d033977f32b78e1754114a1419fe1467c.GetDirectionQueryParameterType `uriparametername:"direction"` // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` // The property to sort the results by. // Deprecated: This property is deprecated, use sortAsGetSortQueryParameterType instead Sort *string `uriparametername:"sort"` // The property to sort the results by. SortAsGetSortQueryParameterType *i5b3d7c73dda6fbaf3ff58c44b2aabc5d033977f32b78e1754114a1419fe1467c.GetSortQueryParameterType `uriparametername:"sort"` // Specifies the types of repositories you want returned. // Deprecated: This property is deprecated, use typeAsGetTypeQueryParameterType instead Type *string `uriparametername:"type"` // Specifies the types of repositories you want returned. TypeAsGetTypeQueryParameterType *i5b3d7c73dda6fbaf3ff58c44b2aabc5d033977f32b78e1754114a1419fe1467c.GetTypeQueryParameterType `uriparametername:"type"` }
ItemReposRequestBuilderGetQueryParameters lists repositories for the specified organization.**Note:** In order to see the `security_and_analysis` block for a repository you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."
type ItemReposRequestBuilderGetRequestConfiguration ¶
type ItemReposRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemReposRequestBuilderGetQueryParameters }
ItemReposRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemReposRequestBuilderPostRequestConfiguration ¶
type ItemReposRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemReposRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemRulesetsItemWithRuleset_PutRequestBody ¶
type ItemRulesetsItemWithRuleset_PutRequestBody struct {
// contains filtered or unexported fields
}
ItemRulesetsItemWithRuleset_PutRequestBody
func NewItemRulesetsItemWithRuleset_PutRequestBody ¶
func NewItemRulesetsItemWithRuleset_PutRequestBody() *ItemRulesetsItemWithRuleset_PutRequestBody
NewItemRulesetsItemWithRuleset_PutRequestBody instantiates a new ItemRulesetsItemWithRuleset_PutRequestBody and sets the default values.
func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetAdditionalData ¶
func (m *ItemRulesetsItemWithRuleset_PutRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetBypassActors ¶
func (m *ItemRulesetsItemWithRuleset_PutRequestBody) GetBypassActors() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RepositoryRulesetBypassActorable
GetBypassActors gets the bypass_actors property value. The actors that can bypass the rules in this ruleset
func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetConditions ¶
func (m *ItemRulesetsItemWithRuleset_PutRequestBody) GetConditions() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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.
func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetEnforcement ¶
func (m *ItemRulesetsItemWithRuleset_PutRequestBody) GetEnforcement() *i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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 (`evaluate` is only available with GitHub Enterprise).
func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetFieldDeserializers ¶
func (m *ItemRulesetsItemWithRuleset_PutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetName ¶
func (m *ItemRulesetsItemWithRuleset_PutRequestBody) GetName() *string
GetName gets the name property value. The name of the ruleset.
func (*ItemRulesetsItemWithRuleset_PutRequestBody) GetRules ¶
func (m *ItemRulesetsItemWithRuleset_PutRequestBody) GetRules() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RepositoryRuleable
GetRules gets the rules property value. An array of rules within the ruleset.
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 []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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 i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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 *i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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 (`evaluate` is only available with GitHub Enterprise).
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 []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RepositoryRulesetBypassActorable GetConditions() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrgRulesetConditionsable GetEnforcement() *i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RepositoryRuleEnforcement GetName() *string GetRules() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RepositoryRuleable SetBypassActors(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RepositoryRulesetBypassActorable) SetConditions(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrgRulesetConditionsable) SetEnforcement(value *i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RepositoryRuleEnforcement) SetName(value *string) SetRules(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RepositoryRuleable) }
ItemRulesetsItemWithRuleset_PutRequestBodyable
type ItemRulesetsPostRequestBody ¶
type ItemRulesetsPostRequestBody struct {
// contains filtered or unexported fields
}
ItemRulesetsPostRequestBody
func NewItemRulesetsPostRequestBody ¶
func NewItemRulesetsPostRequestBody() *ItemRulesetsPostRequestBody
NewItemRulesetsPostRequestBody instantiates a new ItemRulesetsPostRequestBody and sets the default values.
func (*ItemRulesetsPostRequestBody) GetAdditionalData ¶
func (m *ItemRulesetsPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemRulesetsPostRequestBody) GetBypassActors ¶
func (m *ItemRulesetsPostRequestBody) GetBypassActors() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RepositoryRulesetBypassActorable
GetBypassActors gets the bypass_actors property value. The actors that can bypass the rules in this ruleset
func (*ItemRulesetsPostRequestBody) GetConditions ¶
func (m *ItemRulesetsPostRequestBody) GetConditions() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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.
func (*ItemRulesetsPostRequestBody) GetEnforcement ¶
func (m *ItemRulesetsPostRequestBody) GetEnforcement() *i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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 (`evaluate` is only available with GitHub Enterprise).
func (*ItemRulesetsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemRulesetsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemRulesetsPostRequestBody) GetName ¶
func (m *ItemRulesetsPostRequestBody) GetName() *string
GetName gets the name property value. The name of the ruleset.
func (*ItemRulesetsPostRequestBody) GetRules ¶
func (m *ItemRulesetsPostRequestBody) GetRules() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RepositoryRuleable
GetRules gets the rules property value. An array of rules within the ruleset.
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 []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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 i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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 *i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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 (`evaluate` is only available with GitHub Enterprise).
func (*ItemRulesetsPostRequestBody) SetName ¶
func (m *ItemRulesetsPostRequestBody) SetName(value *string)
SetName sets the name property value. The name of the ruleset.
func (*ItemRulesetsPostRequestBody) SetRules ¶
func (m *ItemRulesetsPostRequestBody) SetRules(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RepositoryRuleable)
SetRules sets the rules property value. An array of rules within the ruleset.
type ItemRulesetsPostRequestBodyable ¶
type ItemRulesetsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetBypassActors() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RepositoryRulesetBypassActorable GetConditions() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrgRulesetConditionsable GetEnforcement() *i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RepositoryRuleEnforcement GetName() *string GetRules() []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RepositoryRuleable SetBypassActors(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RepositoryRulesetBypassActorable) SetConditions(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrgRulesetConditionsable) SetEnforcement(value *i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RepositoryRuleEnforcement) SetName(value *string) SetRules(value []i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RepositoryRuleable) }
ItemRulesetsPostRequestBodyable
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 RulesetsRequestBuilder and sets the default values.
func NewItemRulesetsRequestBuilderInternal ¶
func NewItemRulesetsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRulesetsRequestBuilder
NewItemRulesetsRequestBuilderInternal instantiates a new RulesetsRequestBuilder and sets the default values.
func (*ItemRulesetsRequestBuilder) ByRuleset_id ¶
func (m *ItemRulesetsRequestBuilder) ByRuleset_id(ruleset_id string) *ItemRulesetsWithRuleset_ItemRequestBuilder
ByRuleset_id gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.rulesets.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.
func (*ItemRulesetsRequestBuilder) ByRuleset_idInteger ¶
func (m *ItemRulesetsRequestBuilder) ByRuleset_idInteger(ruleset_id int32) *ItemRulesetsWithRuleset_ItemRequestBuilder
ByRuleset_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.rulesets.item collection
func (*ItemRulesetsRequestBuilder) Get ¶
func (m *ItemRulesetsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRulesetsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RepositoryRulesetable, error)
Get get all the repository rulesets for an organization. API method documentation
func (*ItemRulesetsRequestBuilder) Post ¶
func (m *ItemRulesetsRequestBuilder) Post(ctx context.Context, body ItemRulesetsPostRequestBodyable, requestConfiguration *ItemRulesetsRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RepositoryRulesetable, error)
Post create a repository ruleset for an organization. API method documentation
func (*ItemRulesetsRequestBuilder) RuleSuites ¶
func (m *ItemRulesetsRequestBuilder) RuleSuites() *ItemRulesetsRuleSuitesRequestBuilder
RuleSuites the ruleSuites property
func (*ItemRulesetsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemRulesetsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRulesetsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation get all the repository rulesets for an organization.
func (*ItemRulesetsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemRulesetsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemRulesetsPostRequestBodyable, requestConfiguration *ItemRulesetsRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation create a repository ruleset for an organization.
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.
type ItemRulesetsRequestBuilderGetQueryParameters ¶
type ItemRulesetsRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemRulesetsRequestBuilderGetQueryParameters get all the repository rulesets for an organization.
type ItemRulesetsRequestBuilderGetRequestConfiguration ¶
type ItemRulesetsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemRulesetsRequestBuilderGetQueryParameters }
ItemRulesetsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemRulesetsRequestBuilderPostRequestConfiguration ¶
type ItemRulesetsRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemRulesetsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 RuleSuitesRequestBuilder and sets the default values.
func NewItemRulesetsRuleSuitesRequestBuilderInternal ¶
func NewItemRulesetsRuleSuitesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRulesetsRuleSuitesRequestBuilder
NewItemRulesetsRuleSuitesRequestBuilderInternal instantiates a new RuleSuitesRequestBuilder and sets the default values.
func (*ItemRulesetsRuleSuitesRequestBuilder) ByRule_suite_id ¶
func (m *ItemRulesetsRuleSuitesRequestBuilder) ByRule_suite_id(rule_suite_id string) *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder
ByRule_suite_id gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.rulesets.ruleSuites.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.
func (*ItemRulesetsRuleSuitesRequestBuilder) ByRule_suite_idInteger ¶
func (m *ItemRulesetsRuleSuitesRequestBuilder) ByRule_suite_idInteger(rule_suite_id int32) *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder
ByRule_suite_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.rulesets.ruleSuites.item collection
func (*ItemRulesetsRuleSuitesRequestBuilder) Get ¶
func (m *ItemRulesetsRuleSuitesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRulesetsRuleSuitesRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets)." API method documentation
func (*ItemRulesetsRuleSuitesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemRulesetsRuleSuitesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRulesetsRuleSuitesRequestBuilderGetRequestConfiguration) (*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/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets)."
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.
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"` // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` // The name of the repository to filter on. When specified, only rule evaluations from this repository will be returned. Repository_name *int32 `uriparametername:"repository_name"` // The rule results to filter on. When specified, only suites with this result will be returned. // Deprecated: This property is deprecated, use rule_suite_resultAsGetRule_suite_resultQueryParameterType instead Rule_suite_result *string `uriparametername:"rule_suite_result"` // The rule results to filter on. When specified, only suites with this result will be returned. Rule_suite_resultAsGetRule_suite_resultQueryParameterType *ice77a9476603b5b5bdcf7933e87c368075e96312df44ed011cd574d7f2e817b9.GetRule_suite_resultQueryParameterType `uriparametername:"rule_suite_result"` // The time period to filter by.For example, `day` will filter for rule suites that occurred in the past 24 hours, and `week` will filter for insights that occurred in the past 7 days (168 hours). // Deprecated: This property is deprecated, use time_periodAsGetTime_periodQueryParameterType instead Time_period *string `uriparametername:"time_period"` // 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_periodAsGetTime_periodQueryParameterType *ice77a9476603b5b5bdcf7933e87c368075e96312df44ed011cd574d7f2e817b9.GetTime_periodQueryParameterType `uriparametername:"time_period"` }
ItemRulesetsRuleSuitesRequestBuilderGetQueryParameters lists suites of rule evaluations at the organization level.For more information, see "[Managing rulesets for repositories in your organization](https://docs.github.com/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets)."
type ItemRulesetsRuleSuitesRequestBuilderGetRequestConfiguration ¶
type ItemRulesetsRuleSuitesRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemRulesetsRuleSuitesRequestBuilderGetQueryParameters }
ItemRulesetsRuleSuitesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder ¶
type ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\rulesets\rule-suites\{rule_suite_id}
func NewItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder ¶
func NewItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder
NewItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder instantiates a new WithRule_suite_ItemRequestBuilder and sets the default values.
func NewItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilderInternal ¶
func NewItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder
NewItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilderInternal instantiates a new WithRule_suite_ItemRequestBuilder and sets the default values.
func (*ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder) Get ¶
func (m *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets)." API method documentation
func (*ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilderGetRequestConfiguration) (*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/organizations/managing-organization-settings/managing-rulesets-for-repositories-in-your-organization#viewing-insights-for-rulesets)."
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.
type ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilderGetRequestConfiguration ¶
type ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemRulesetsRuleSuitesWithRule_suite_ItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 WithRuleset_ItemRequestBuilder and sets the default values.
func NewItemRulesetsWithRuleset_ItemRequestBuilderInternal ¶
func NewItemRulesetsWithRuleset_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemRulesetsWithRuleset_ItemRequestBuilder
NewItemRulesetsWithRuleset_ItemRequestBuilderInternal instantiates a new WithRuleset_ItemRequestBuilder and sets the default values.
func (*ItemRulesetsWithRuleset_ItemRequestBuilder) Delete ¶
func (m *ItemRulesetsWithRuleset_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemRulesetsWithRuleset_ItemRequestBuilderDeleteRequestConfiguration) error
Delete delete a ruleset for an organization. API method documentation
func (*ItemRulesetsWithRuleset_ItemRequestBuilder) Get ¶
func (m *ItemRulesetsWithRuleset_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemRulesetsWithRuleset_ItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RepositoryRulesetable, error)
Get get a repository ruleset for an organization. API method documentation
func (*ItemRulesetsWithRuleset_ItemRequestBuilder) Put ¶
func (m *ItemRulesetsWithRuleset_ItemRequestBuilder) Put(ctx context.Context, body ItemRulesetsItemWithRuleset_PutRequestBodyable, requestConfiguration *ItemRulesetsWithRuleset_ItemRequestBuilderPutRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RepositoryRulesetable, error)
Put update a ruleset for an organization. API method documentation
func (*ItemRulesetsWithRuleset_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemRulesetsWithRuleset_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemRulesetsWithRuleset_ItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation delete a ruleset for an organization.
func (*ItemRulesetsWithRuleset_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemRulesetsWithRuleset_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemRulesetsWithRuleset_ItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation get a repository ruleset for an organization.
func (*ItemRulesetsWithRuleset_ItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemRulesetsWithRuleset_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemRulesetsItemWithRuleset_PutRequestBodyable, requestConfiguration *ItemRulesetsWithRuleset_ItemRequestBuilderPutRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation update a ruleset for an organization.
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.
type ItemRulesetsWithRuleset_ItemRequestBuilderDeleteRequestConfiguration ¶
type ItemRulesetsWithRuleset_ItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemRulesetsWithRuleset_ItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemRulesetsWithRuleset_ItemRequestBuilderGetRequestConfiguration ¶
type ItemRulesetsWithRuleset_ItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemRulesetsWithRuleset_ItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemRulesetsWithRuleset_ItemRequestBuilderPutRequestConfiguration ¶
type ItemRulesetsWithRuleset_ItemRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemRulesetsWithRuleset_ItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 AlertsRequestBuilder and sets the default values.
func NewItemSecretScanningAlertsRequestBuilderInternal ¶
func NewItemSecretScanningAlertsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecretScanningAlertsRequestBuilder
NewItemSecretScanningAlertsRequestBuilderInternal instantiates a new AlertsRequestBuilder and sets the default values.
func (*ItemSecretScanningAlertsRequestBuilder) Get ¶
func (m *ItemSecretScanningAlertsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSecretScanningAlertsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationSecretScanningAlertable, error)
Get lists secret scanning alerts for eligible repositories in an organization, from newest to oldest.To use this endpoint, you must be an administrator or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.For public repositories, you may instead use the `public_repo` scope.GitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint. API method documentation
func (*ItemSecretScanningAlertsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemSecretScanningAlertsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSecretScanningAlertsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists secret scanning alerts for eligible repositories in an organization, from newest to oldest.To use this endpoint, you must be an administrator or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.For public repositories, you may instead use the `public_repo` scope.GitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.
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.
type ItemSecretScanningAlertsRequestBuilderGetQueryParameters ¶
type ItemSecretScanningAlertsRequestBuilderGetQueryParameters struct { // A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To receive an initial cursor on your first request, include an empty "after" query string. After *string `uriparametername:"after"` // A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To receive an initial cursor on your first request, include an empty "before" query string. Before *string `uriparametername:"before"` // The direction to sort the results by. // Deprecated: This property is deprecated, use directionAsGetDirectionQueryParameterType instead Direction *string `uriparametername:"direction"` // The direction to sort the results by. DirectionAsGetDirectionQueryParameterType *i6bfc00bdb302bcd8be4fd093f881ba8f86d967800ec976c34a78d452c1f335d5.GetDirectionQueryParameterType `uriparametername:"direction"` // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` // A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`. Resolution *string `uriparametername:"resolution"` // A comma-separated list of secret types to return. By default all secret types are returned.See "[Secret scanning patterns](https://docs.github.com/code-security/secret-scanning/secret-scanning-patterns#supported-secrets-for-advanced-security)"for a complete list of secret types. Secret_type *string `uriparametername:"secret_type"` // The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. // Deprecated: This property is deprecated, use sortAsGetSortQueryParameterType instead Sort *string `uriparametername:"sort"` // The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. SortAsGetSortQueryParameterType *i6bfc00bdb302bcd8be4fd093f881ba8f86d967800ec976c34a78d452c1f335d5.GetSortQueryParameterType `uriparametername:"sort"` // Set to `open` or `resolved` to only list secret scanning alerts in a specific state. // Deprecated: This property is deprecated, use stateAsGetStateQueryParameterType instead State *string `uriparametername:"state"` // Set to `open` or `resolved` to only list secret scanning alerts in a specific state. StateAsGetStateQueryParameterType *i6bfc00bdb302bcd8be4fd093f881ba8f86d967800ec976c34a78d452c1f335d5.GetStateQueryParameterType `uriparametername:"state"` // A comma-separated list of validities that, when present, will return alerts that match the validities in this list. Valid options are `active`, `inactive`, and `unknown`. Validity *string `uriparametername:"validity"` }
ItemSecretScanningAlertsRequestBuilderGetQueryParameters lists secret scanning alerts for eligible repositories in an organization, from newest to oldest.To use this endpoint, you must be an administrator or security manager for the organization, and you must use an access token with the `repo` scope or `security_events` scope.For public repositories, you may instead use the `public_repo` scope.GitHub Apps must have the `secret_scanning_alerts` read permission to use this endpoint.
type ItemSecretScanningAlertsRequestBuilderGetRequestConfiguration ¶
type ItemSecretScanningAlertsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemSecretScanningAlertsRequestBuilderGetQueryParameters }
ItemSecretScanningAlertsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 SecretScanningRequestBuilder and sets the default values.
func NewItemSecretScanningRequestBuilderInternal ¶
func NewItemSecretScanningRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecretScanningRequestBuilder
NewItemSecretScanningRequestBuilderInternal instantiates a new SecretScanningRequestBuilder and sets the default values.
func (*ItemSecretScanningRequestBuilder) Alerts ¶
func (m *ItemSecretScanningRequestBuilder) Alerts() *ItemSecretScanningAlertsRequestBuilder
Alerts the alerts property
type ItemSecurityAdvisoriesRequestBuilder ¶
type ItemSecurityAdvisoriesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemSecurityAdvisoriesRequestBuilder builds and executes requests for operations under \orgs\{org}\security-advisories
func NewItemSecurityAdvisoriesRequestBuilder ¶
func NewItemSecurityAdvisoriesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecurityAdvisoriesRequestBuilder
NewItemSecurityAdvisoriesRequestBuilder instantiates a new SecurityAdvisoriesRequestBuilder and sets the default values.
func NewItemSecurityAdvisoriesRequestBuilderInternal ¶
func NewItemSecurityAdvisoriesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecurityAdvisoriesRequestBuilder
NewItemSecurityAdvisoriesRequestBuilderInternal instantiates a new SecurityAdvisoriesRequestBuilder and sets the default values.
func (*ItemSecurityAdvisoriesRequestBuilder) Get ¶
func (m *ItemSecurityAdvisoriesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSecurityAdvisoriesRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.RepositoryAdvisoryable, error)
Get lists repository security advisories for an organization.To use this endpoint, you must be an owner or security manager for the organization, and you must use an access token with the `repo` scope or `repository_advisories:write` permission. API method documentation
func (*ItemSecurityAdvisoriesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemSecurityAdvisoriesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSecurityAdvisoriesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists repository security advisories for an organization.To use this endpoint, you must be an owner or security manager for the organization, and you must use an access token with the `repo` scope or `repository_advisories:write` permission.
func (*ItemSecurityAdvisoriesRequestBuilder) WithUrl ¶
func (m *ItemSecurityAdvisoriesRequestBuilder) WithUrl(rawUrl string) *ItemSecurityAdvisoriesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemSecurityAdvisoriesRequestBuilderGetQueryParameters ¶
type ItemSecurityAdvisoriesRequestBuilderGetQueryParameters struct { // A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. After *string `uriparametername:"after"` // A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. Before *string `uriparametername:"before"` // The direction to sort the results by. // Deprecated: This property is deprecated, use directionAsGetDirectionQueryParameterType instead Direction *string `uriparametername:"direction"` // The direction to sort the results by. DirectionAsGetDirectionQueryParameterType *i73af498fc508ab66c6d7b9e1987fbbf6febbe066a7dc653ccf219a9638b2bc60.GetDirectionQueryParameterType `uriparametername:"direction"` // The number of advisories to return per page. Per_page *int32 `uriparametername:"per_page"` // The property to sort the results by. // Deprecated: This property is deprecated, use sortAsGetSortQueryParameterType instead Sort *string `uriparametername:"sort"` // The property to sort the results by. SortAsGetSortQueryParameterType *i73af498fc508ab66c6d7b9e1987fbbf6febbe066a7dc653ccf219a9638b2bc60.GetSortQueryParameterType `uriparametername:"sort"` // Filter by the state of the repository advisories. Only advisories of this state will be returned. // Deprecated: This property is deprecated, use stateAsGetStateQueryParameterType instead State *string `uriparametername:"state"` // Filter by the state of the repository advisories. Only advisories of this state will be returned. StateAsGetStateQueryParameterType *i73af498fc508ab66c6d7b9e1987fbbf6febbe066a7dc653ccf219a9638b2bc60.GetStateQueryParameterType `uriparametername:"state"` }
ItemSecurityAdvisoriesRequestBuilderGetQueryParameters lists repository security advisories for an organization.To use this endpoint, you must be an owner or security manager for the organization, and you must use an access token with the `repo` scope or `repository_advisories:write` permission.
type ItemSecurityAdvisoriesRequestBuilderGetRequestConfiguration ¶
type ItemSecurityAdvisoriesRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemSecurityAdvisoriesRequestBuilderGetQueryParameters }
ItemSecurityAdvisoriesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 SecurityManagersRequestBuilder and sets the default values.
func NewItemSecurityManagersRequestBuilderInternal ¶
func NewItemSecurityManagersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecurityManagersRequestBuilder
NewItemSecurityManagersRequestBuilderInternal instantiates a new SecurityManagersRequestBuilder and sets the default values.
func (*ItemSecurityManagersRequestBuilder) Get ¶
func (m *ItemSecurityManagersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSecurityManagersRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."To use this endpoint, you must be an administrator or security manager for the organization, and you must use an access token with the `read:org` scope.GitHub Apps must have the `administration` organization read permission to use this endpoint. API method documentation
func (*ItemSecurityManagersRequestBuilder) Teams ¶
func (m *ItemSecurityManagersRequestBuilder) Teams() *ItemSecurityManagersTeamsRequestBuilder
Teams the teams property
func (*ItemSecurityManagersRequestBuilder) ToGetRequestInformation ¶
func (m *ItemSecurityManagersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSecurityManagersRequestBuilderGetRequestConfiguration) (*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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."To use this endpoint, you must be an administrator or security manager for the organization, and you must use an access token with the `read:org` scope.GitHub Apps must have the `administration` organization read permission to use this endpoint.
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.
type ItemSecurityManagersRequestBuilderGetRequestConfiguration ¶
type ItemSecurityManagersRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemSecurityManagersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 TeamsRequestBuilder and sets the default values.
func NewItemSecurityManagersTeamsRequestBuilderInternal ¶
func NewItemSecurityManagersTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecurityManagersTeamsRequestBuilder
NewItemSecurityManagersTeamsRequestBuilderInternal instantiates a new TeamsRequestBuilder and sets the default values.
func (*ItemSecurityManagersTeamsRequestBuilder) ByTeam_slug ¶
func (m *ItemSecurityManagersTeamsRequestBuilder) ByTeam_slug(team_slug string) *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder
ByTeam_slug gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.securityManagers.teams.item collection
type ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder ¶
type ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder builds and executes requests for operations under \orgs\{org}\security-managers\teams\{team_slug}
func NewItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder ¶
func NewItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder
NewItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder instantiates a new WithTeam_slugItemRequestBuilder and sets the default values.
func NewItemSecurityManagersTeamsWithTeam_slugItemRequestBuilderInternal ¶
func NewItemSecurityManagersTeamsWithTeam_slugItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder
NewItemSecurityManagersTeamsWithTeam_slugItemRequestBuilderInternal instantiates a new WithTeam_slugItemRequestBuilder and sets the default values.
func (*ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) Delete ¶
func (m *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilderDeleteRequestConfiguration) 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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) team from an organization."To use this endpoint, you must be an administrator for the organization, and you must use an access token with the `admin:org` scope.GitHub Apps must have the `administration` organization read-write permission to use this endpoint. API method documentation
func (*ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) Put ¶
func (m *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) Put(ctx context.Context, requestConfiguration *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilderPutRequestConfiguration) 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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) for an organization."To use this endpoint, you must be an administrator for the organization, and you must use an access token with the `write:org` scope.GitHub Apps must have the `administration` organization read-write permission to use this endpoint. API method documentation
func (*ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilderDeleteRequestConfiguration) (*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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) team from an organization."To use this endpoint, you must be an administrator for the organization, and you must use an access token with the `admin:org` scope.GitHub Apps must have the `administration` organization read-write permission to use this endpoint.
func (*ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilderPutRequestConfiguration) (*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/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization) for an organization."To use this endpoint, you must be an administrator for the organization, and you must use an access token with the `write:org` scope.GitHub Apps must have the `administration` organization read-write permission to use this endpoint.
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.
type ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilderDeleteRequestConfiguration ¶
type ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilderPutRequestConfiguration ¶
type ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemSecurityManagersTeamsWithTeam_slugItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemSettingsBillingActionsRequestBuilder ¶
type ItemSettingsBillingActionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemSettingsBillingActionsRequestBuilder builds and executes requests for operations under \orgs\{org}\settings\billing\actions
func NewItemSettingsBillingActionsRequestBuilder ¶
func NewItemSettingsBillingActionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingActionsRequestBuilder
NewItemSettingsBillingActionsRequestBuilder instantiates a new ActionsRequestBuilder and sets the default values.
func NewItemSettingsBillingActionsRequestBuilderInternal ¶
func NewItemSettingsBillingActionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingActionsRequestBuilder
NewItemSettingsBillingActionsRequestBuilderInternal instantiates a new ActionsRequestBuilder and sets the default values.
func (*ItemSettingsBillingActionsRequestBuilder) Get ¶
func (m *ItemSettingsBillingActionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsBillingActionsRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ActionsBillingUsageable, error)
Get gets the summary of the free and paid GitHub Actions minutes used.Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".Access tokens must have the `repo` or `admin:org` scope. API method documentation
func (*ItemSettingsBillingActionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemSettingsBillingActionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsBillingActionsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the summary of the free and paid GitHub Actions minutes used.Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)".Access tokens must have the `repo` or `admin:org` scope.
func (*ItemSettingsBillingActionsRequestBuilder) WithUrl ¶
func (m *ItemSettingsBillingActionsRequestBuilder) WithUrl(rawUrl string) *ItemSettingsBillingActionsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemSettingsBillingActionsRequestBuilderGetRequestConfiguration ¶
type ItemSettingsBillingActionsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemSettingsBillingActionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemSettingsBillingPackagesRequestBuilder ¶
type ItemSettingsBillingPackagesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemSettingsBillingPackagesRequestBuilder builds and executes requests for operations under \orgs\{org}\settings\billing\packages
func NewItemSettingsBillingPackagesRequestBuilder ¶
func NewItemSettingsBillingPackagesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingPackagesRequestBuilder
NewItemSettingsBillingPackagesRequestBuilder instantiates a new PackagesRequestBuilder and sets the default values.
func NewItemSettingsBillingPackagesRequestBuilderInternal ¶
func NewItemSettingsBillingPackagesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingPackagesRequestBuilder
NewItemSettingsBillingPackagesRequestBuilderInternal instantiates a new PackagesRequestBuilder and sets the default values.
func (*ItemSettingsBillingPackagesRequestBuilder) Get ¶
func (m *ItemSettingsBillingPackagesRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsBillingPackagesRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.PackagesBillingUsageable, error)
Get gets the free and paid storage used for GitHub Packages in gigabytes.Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."Access tokens must have the `repo` or `admin:org` scope. API method documentation
func (*ItemSettingsBillingPackagesRequestBuilder) ToGetRequestInformation ¶
func (m *ItemSettingsBillingPackagesRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsBillingPackagesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the free and paid storage used for GitHub Packages in gigabytes.Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."Access tokens must have the `repo` or `admin:org` scope.
func (*ItemSettingsBillingPackagesRequestBuilder) WithUrl ¶
func (m *ItemSettingsBillingPackagesRequestBuilder) WithUrl(rawUrl string) *ItemSettingsBillingPackagesRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemSettingsBillingPackagesRequestBuilderGetRequestConfiguration ¶
type ItemSettingsBillingPackagesRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemSettingsBillingPackagesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 BillingRequestBuilder and sets the default values.
func NewItemSettingsBillingRequestBuilderInternal ¶
func NewItemSettingsBillingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingRequestBuilder
NewItemSettingsBillingRequestBuilderInternal instantiates a new BillingRequestBuilder and sets the default values.
func (*ItemSettingsBillingRequestBuilder) Actions ¶
func (m *ItemSettingsBillingRequestBuilder) Actions() *ItemSettingsBillingActionsRequestBuilder
Actions the actions property
func (*ItemSettingsBillingRequestBuilder) Packages ¶
func (m *ItemSettingsBillingRequestBuilder) Packages() *ItemSettingsBillingPackagesRequestBuilder
Packages the packages property
func (*ItemSettingsBillingRequestBuilder) SharedStorage ¶
func (m *ItemSettingsBillingRequestBuilder) SharedStorage() *ItemSettingsBillingSharedStorageRequestBuilder
SharedStorage the sharedStorage property
type ItemSettingsBillingSharedStorageRequestBuilder ¶
type ItemSettingsBillingSharedStorageRequestBuilder struct {
}ItemSettingsBillingSharedStorageRequestBuilder builds and executes requests for operations under \orgs\{org}\settings\billing\shared-storage
func NewItemSettingsBillingSharedStorageRequestBuilder ¶
func NewItemSettingsBillingSharedStorageRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingSharedStorageRequestBuilder
NewItemSettingsBillingSharedStorageRequestBuilder instantiates a new SharedStorageRequestBuilder and sets the default values.
func NewItemSettingsBillingSharedStorageRequestBuilderInternal ¶
func NewItemSettingsBillingSharedStorageRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingSharedStorageRequestBuilder
NewItemSettingsBillingSharedStorageRequestBuilderInternal instantiates a new SharedStorageRequestBuilder and sets the default values.
func (*ItemSettingsBillingSharedStorageRequestBuilder) Get ¶
func (m *ItemSettingsBillingSharedStorageRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemSettingsBillingSharedStorageRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.CombinedBillingUsageable, error)
Get gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."Access tokens must have the `repo` or `admin:org` scope. API method documentation
func (*ItemSettingsBillingSharedStorageRequestBuilder) ToGetRequestInformation ¶
func (m *ItemSettingsBillingSharedStorageRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemSettingsBillingSharedStorageRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)."Access tokens must have the `repo` or `admin:org` scope.
func (*ItemSettingsBillingSharedStorageRequestBuilder) WithUrl ¶
func (m *ItemSettingsBillingSharedStorageRequestBuilder) WithUrl(rawUrl string) *ItemSettingsBillingSharedStorageRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemSettingsBillingSharedStorageRequestBuilderGetRequestConfiguration ¶
type ItemSettingsBillingSharedStorageRequestBuilderGetRequestConfiguration struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }Headers *
ItemSettingsBillingSharedStorageRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 SettingsRequestBuilder and sets the default values.
func NewItemSettingsRequestBuilderInternal ¶
func NewItemSettingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsRequestBuilder
NewItemSettingsRequestBuilderInternal instantiates a new SettingsRequestBuilder and sets the default values.
func (*ItemSettingsRequestBuilder) Billing ¶
func (m *ItemSettingsRequestBuilder) Billing() *ItemSettingsBillingRequestBuilder
Billing the billing property
type ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody ¶
type ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody struct {
// contains filtered or unexported fields
}
ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody
func NewItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody ¶
func NewItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody() *ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody
NewItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody instantiates a new ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody and sets the default values.
func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody) GetAdditionalData ¶
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.
func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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 }
ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBodyable
type ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder ¶
type ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\discussions\{discussion_number}\comments\{comment_number}\reactions
func NewItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder ¶
func NewItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder
NewItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder instantiates a new ReactionsRequestBuilder and sets the default values.
func NewItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderInternal ¶
func NewItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder
NewItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderInternal instantiates a new ReactionsRequestBuilder and sets the default values.
func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) ByReaction_id ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) ByReaction_id(reaction_id string) *ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder
ByReaction_id gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.teams.item.discussions.item.comments.item.reactions.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.
func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) ByReaction_idInteger ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) ByReaction_idInteger(reaction_id int32) *ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder
ByReaction_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.teams.item.discussions.item.comments.item.reactions.item collection
func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) Get ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Reactionable, error)
Get list the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).**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`. API method documentation
func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) Post ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) Post(ctx context.Context, body ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBodyable, requestConfiguration *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Reactionable, error)
Post create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). 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`. API method documentation
func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).**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`.
func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamsItemDiscussionsItemCommentsItemReactionsPostRequestBodyable, requestConfiguration *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation create a reaction to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). 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`.
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.
type ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderGetQueryParameters ¶
type ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderGetQueryParameters struct { // Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. // Deprecated: This property is deprecated, use contentAsGetContentQueryParameterType instead Content *string `uriparametername:"content"` // Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. ContentAsGetContentQueryParameterType *iefa3e26ef1cc3fba04de58ff0a613f870c857a429121fb15edb32bc7c39e1c53.GetContentQueryParameterType `uriparametername:"content"` // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderGetQueryParameters list the reactions to a [team discussion comment](https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).**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`.
type ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderGetRequestConfiguration ¶
type ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderGetQueryParameters }
ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderPostRequestConfiguration ¶
type ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder ¶
type ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\discussions\{discussion_number}\comments\{comment_number}\reactions\{reaction_id}
func NewItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder ¶
func NewItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder
NewItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder instantiates a new WithReaction_ItemRequestBuilder and sets the default values.
func NewItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilderInternal ¶
func NewItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder
NewItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilderInternal instantiates a new WithReaction_ItemRequestBuilder and sets the default values.
func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder) Delete ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilderDeleteRequestConfiguration) 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/rest/teams/discussion-comments#get-a-discussion-comment). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). API method documentation
func (*ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilderDeleteRequestConfiguration) (*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/rest/teams/discussion-comments#get-a-discussion-comment). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
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.
type ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilderDeleteRequestConfiguration ¶
type ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsItemDiscussionsItemCommentsItemReactionsWithReaction_ItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody ¶
type ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody struct {
// contains filtered or unexported fields
}
ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody
func NewItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody ¶
func NewItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody() *ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody
NewItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody instantiates a new ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody and sets the default values.
func (*ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetAdditionalData ¶
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.
func (*ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetBody ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetBody() *string
GetBody gets the body property value. The discussion comment's body text.
func (*ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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) }
ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyable
type ItemTeamsItemDiscussionsItemCommentsPostRequestBody ¶
type ItemTeamsItemDiscussionsItemCommentsPostRequestBody struct {
// contains filtered or unexported fields
}
ItemTeamsItemDiscussionsItemCommentsPostRequestBody
func NewItemTeamsItemDiscussionsItemCommentsPostRequestBody ¶
func NewItemTeamsItemDiscussionsItemCommentsPostRequestBody() *ItemTeamsItemDiscussionsItemCommentsPostRequestBody
NewItemTeamsItemDiscussionsItemCommentsPostRequestBody instantiates a new ItemTeamsItemDiscussionsItemCommentsPostRequestBody and sets the default values.
func (*ItemTeamsItemDiscussionsItemCommentsPostRequestBody) GetAdditionalData ¶
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.
func (*ItemTeamsItemDiscussionsItemCommentsPostRequestBody) GetBody ¶
func (m *ItemTeamsItemDiscussionsItemCommentsPostRequestBody) GetBody() *string
GetBody gets the body property value. The discussion comment's body text.
func (*ItemTeamsItemDiscussionsItemCommentsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemTeamsItemDiscussionsItemCommentsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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) }
ItemTeamsItemDiscussionsItemCommentsPostRequestBodyable
type ItemTeamsItemDiscussionsItemCommentsRequestBuilder ¶
type ItemTeamsItemDiscussionsItemCommentsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemTeamsItemDiscussionsItemCommentsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\discussions\{discussion_number}\comments
func NewItemTeamsItemDiscussionsItemCommentsRequestBuilder ¶
func NewItemTeamsItemDiscussionsItemCommentsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsRequestBuilder
NewItemTeamsItemDiscussionsItemCommentsRequestBuilder instantiates a new CommentsRequestBuilder and sets the default values.
func NewItemTeamsItemDiscussionsItemCommentsRequestBuilderInternal ¶
func NewItemTeamsItemDiscussionsItemCommentsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsRequestBuilder
NewItemTeamsItemDiscussionsItemCommentsRequestBuilderInternal instantiates a new CommentsRequestBuilder and sets the default values.
func (*ItemTeamsItemDiscussionsItemCommentsRequestBuilder) ByComment_number ¶
func (m *ItemTeamsItemDiscussionsItemCommentsRequestBuilder) ByComment_number(comment_number string) *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder
ByComment_number gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.teams.item.discussions.item.comments.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.
func (*ItemTeamsItemDiscussionsItemCommentsRequestBuilder) ByComment_numberInteger ¶
func (m *ItemTeamsItemDiscussionsItemCommentsRequestBuilder) ByComment_numberInteger(comment_number int32) *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder
ByComment_numberInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.teams.item.discussions.item.comments.item collection
func (*ItemTeamsItemDiscussionsItemCommentsRequestBuilder) Get ¶
func (m *ItemTeamsItemDiscussionsItemCommentsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamsItemDiscussionsItemCommentsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamDiscussionCommentable, error)
Get list all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).**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`. API method documentation
func (*ItemTeamsItemDiscussionsItemCommentsRequestBuilder) Post ¶
func (m *ItemTeamsItemDiscussionsItemCommentsRequestBuilder) Post(ctx context.Context, body ItemTeamsItemDiscussionsItemCommentsPostRequestBodyable, requestConfiguration *ItemTeamsItemDiscussionsItemCommentsRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamDiscussionCommentable, error)
Post creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`. API method documentation
func (*ItemTeamsItemDiscussionsItemCommentsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemTeamsItemDiscussionsItemCommentsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamsItemDiscussionsItemCommentsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).**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`.
func (*ItemTeamsItemDiscussionsItemCommentsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemTeamsItemDiscussionsItemCommentsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamsItemDiscussionsItemCommentsPostRequestBodyable, requestConfiguration *ItemTeamsItemDiscussionsItemCommentsRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation creates a new comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments`.
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.
type ItemTeamsItemDiscussionsItemCommentsRequestBuilderGetQueryParameters ¶
type ItemTeamsItemDiscussionsItemCommentsRequestBuilderGetQueryParameters struct { // The direction to sort the results by. // Deprecated: This property is deprecated, use directionAsGetDirectionQueryParameterType instead Direction *string `uriparametername:"direction"` // The direction to sort the results by. DirectionAsGetDirectionQueryParameterType *iae5ab5524c281dee4a3db19e9729c3a76291b14b0954b0f842181a85dd4a965e.GetDirectionQueryParameterType `uriparametername:"direction"` // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemTeamsItemDiscussionsItemCommentsRequestBuilderGetQueryParameters list all comments on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).**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`.
type ItemTeamsItemDiscussionsItemCommentsRequestBuilderGetRequestConfiguration ¶
type ItemTeamsItemDiscussionsItemCommentsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemTeamsItemDiscussionsItemCommentsRequestBuilderGetQueryParameters }
ItemTeamsItemDiscussionsItemCommentsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemDiscussionsItemCommentsRequestBuilderPostRequestConfiguration ¶
type ItemTeamsItemDiscussionsItemCommentsRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsItemDiscussionsItemCommentsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder ¶
type ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\discussions\{discussion_number}\comments\{comment_number}
func NewItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder ¶
func NewItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder
NewItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder instantiates a new WithComment_numberItemRequestBuilder and sets the default values.
func NewItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderInternal ¶
func NewItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder
NewItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderInternal instantiates a new WithComment_numberItemRequestBuilder and sets the default values.
func (*ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Delete ¶
func (m *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderDeleteRequestConfiguration) error
Delete deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).**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}`. API method documentation
func (*ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Get ¶
func (m *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamDiscussionCommentable, error)
Get get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).**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}`. API method documentation
func (*ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Patch ¶
func (m *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Patch(ctx context.Context, body ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyable, requestConfiguration *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderPatchRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamDiscussionCommentable, error)
Patch edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).**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}`. API method documentation
func (*ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Reactions ¶
func (m *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) Reactions() *ItemTeamsItemDiscussionsItemCommentsItemReactionsRequestBuilder
Reactions the reactions property
func (*ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a comment on a team discussion. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).**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}`.
func (*ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation get a specific comment on a team discussion. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).**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}`.
func (*ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemTeamsItemDiscussionsItemCommentsItemWithComment_numberPatchRequestBodyable, requestConfiguration *ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderPatchRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation edits the body text of a discussion comment. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).**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}`.
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.
type ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderDeleteRequestConfiguration ¶
type ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderGetRequestConfiguration ¶
type ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderPatchRequestConfiguration ¶
type ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderPatchRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsItemDiscussionsItemCommentsWithComment_numberItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemDiscussionsItemReactionsPostRequestBody ¶
type ItemTeamsItemDiscussionsItemReactionsPostRequestBody struct {
// contains filtered or unexported fields
}
ItemTeamsItemDiscussionsItemReactionsPostRequestBody
func NewItemTeamsItemDiscussionsItemReactionsPostRequestBody ¶
func NewItemTeamsItemDiscussionsItemReactionsPostRequestBody() *ItemTeamsItemDiscussionsItemReactionsPostRequestBody
NewItemTeamsItemDiscussionsItemReactionsPostRequestBody instantiates a new ItemTeamsItemDiscussionsItemReactionsPostRequestBody and sets the default values.
func (*ItemTeamsItemDiscussionsItemReactionsPostRequestBody) GetAdditionalData ¶
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.
func (*ItemTeamsItemDiscussionsItemReactionsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemTeamsItemDiscussionsItemReactionsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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 }
ItemTeamsItemDiscussionsItemReactionsPostRequestBodyable
type ItemTeamsItemDiscussionsItemReactionsRequestBuilder ¶
type ItemTeamsItemDiscussionsItemReactionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemTeamsItemDiscussionsItemReactionsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\discussions\{discussion_number}\reactions
func NewItemTeamsItemDiscussionsItemReactionsRequestBuilder ¶
func NewItemTeamsItemDiscussionsItemReactionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemReactionsRequestBuilder
NewItemTeamsItemDiscussionsItemReactionsRequestBuilder instantiates a new ReactionsRequestBuilder and sets the default values.
func NewItemTeamsItemDiscussionsItemReactionsRequestBuilderInternal ¶
func NewItemTeamsItemDiscussionsItemReactionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemReactionsRequestBuilder
NewItemTeamsItemDiscussionsItemReactionsRequestBuilderInternal instantiates a new ReactionsRequestBuilder and sets the default values.
func (*ItemTeamsItemDiscussionsItemReactionsRequestBuilder) ByReaction_id ¶
func (m *ItemTeamsItemDiscussionsItemReactionsRequestBuilder) ByReaction_id(reaction_id string) *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder
ByReaction_id gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.teams.item.discussions.item.reactions.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.
func (*ItemTeamsItemDiscussionsItemReactionsRequestBuilder) ByReaction_idInteger ¶
func (m *ItemTeamsItemDiscussionsItemReactionsRequestBuilder) ByReaction_idInteger(reaction_id int32) *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder
ByReaction_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.teams.item.discussions.item.reactions.item collection
func (*ItemTeamsItemDiscussionsItemReactionsRequestBuilder) Get ¶
func (m *ItemTeamsItemDiscussionsItemReactionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamsItemDiscussionsItemReactionsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Reactionable, error)
Get list the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).**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`. API method documentation
func (*ItemTeamsItemDiscussionsItemReactionsRequestBuilder) Post ¶
func (m *ItemTeamsItemDiscussionsItemReactionsRequestBuilder) Post(ctx context.Context, body ItemTeamsItemDiscussionsItemReactionsPostRequestBodyable, requestConfiguration *ItemTeamsItemDiscussionsItemReactionsRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Reactionable, error)
Post create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). 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`. API method documentation
func (*ItemTeamsItemDiscussionsItemReactionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemTeamsItemDiscussionsItemReactionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamsItemDiscussionsItemReactionsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).**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`.
func (*ItemTeamsItemDiscussionsItemReactionsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemTeamsItemDiscussionsItemReactionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamsItemDiscussionsItemReactionsPostRequestBodyable, requestConfiguration *ItemTeamsItemDiscussionsItemReactionsRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation create a reaction to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). 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`.
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.
type ItemTeamsItemDiscussionsItemReactionsRequestBuilderGetQueryParameters ¶
type ItemTeamsItemDiscussionsItemReactionsRequestBuilderGetQueryParameters struct { // Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. // Deprecated: This property is deprecated, use contentAsGetContentQueryParameterType instead Content *string `uriparametername:"content"` // Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. ContentAsGetContentQueryParameterType *iac6fb0a635617f45786d5b56686ceb8e83ee12551475679c06c4ed9039ff1a3f.GetContentQueryParameterType `uriparametername:"content"` // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemTeamsItemDiscussionsItemReactionsRequestBuilderGetQueryParameters list the reactions to a [team discussion](https://docs.github.com/rest/teams/discussions#get-a-discussion). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).**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`.
type ItemTeamsItemDiscussionsItemReactionsRequestBuilderGetRequestConfiguration ¶
type ItemTeamsItemDiscussionsItemReactionsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemTeamsItemDiscussionsItemReactionsRequestBuilderGetQueryParameters }
ItemTeamsItemDiscussionsItemReactionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemDiscussionsItemReactionsRequestBuilderPostRequestConfiguration ¶
type ItemTeamsItemDiscussionsItemReactionsRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsItemDiscussionsItemReactionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder ¶
type ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\discussions\{discussion_number}\reactions\{reaction_id}
func NewItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder ¶
func NewItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder
NewItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder instantiates a new WithReaction_ItemRequestBuilder and sets the default values.
func NewItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilderInternal ¶
func NewItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder
NewItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilderInternal instantiates a new WithReaction_ItemRequestBuilder and sets the default values.
func (*ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder) Delete ¶
func (m *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilderDeleteRequestConfiguration) 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/rest/teams/discussions#get-a-discussion). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). API method documentation
func (*ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilderDeleteRequestConfiguration) (*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/rest/teams/discussions#get-a-discussion). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).
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.
type ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilderDeleteRequestConfiguration ¶
type ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsItemDiscussionsItemReactionsWithReaction_ItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody ¶
type ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody struct {
// contains filtered or unexported fields
}
ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody
func NewItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody ¶
func NewItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody() *ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody
NewItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody instantiates a new ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody and sets the default values.
func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetAdditionalData ¶
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.
func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetBody ¶
func (m *ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetBody() *string
GetBody gets the body property value. The discussion post's body text.
func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetTitle ¶
func (m *ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBody) GetTitle() *string
GetTitle gets the title property value. The discussion post's title.
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) }
ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBodyable
type ItemTeamsItemDiscussionsPostRequestBody ¶
type ItemTeamsItemDiscussionsPostRequestBody struct {
// contains filtered or unexported fields
}
ItemTeamsItemDiscussionsPostRequestBody
func NewItemTeamsItemDiscussionsPostRequestBody ¶
func NewItemTeamsItemDiscussionsPostRequestBody() *ItemTeamsItemDiscussionsPostRequestBody
NewItemTeamsItemDiscussionsPostRequestBody instantiates a new ItemTeamsItemDiscussionsPostRequestBody and sets the default values.
func (*ItemTeamsItemDiscussionsPostRequestBody) GetAdditionalData ¶
func (m *ItemTeamsItemDiscussionsPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemTeamsItemDiscussionsPostRequestBody) GetBody ¶
func (m *ItemTeamsItemDiscussionsPostRequestBody) GetBody() *string
GetBody gets the body property value. The discussion post's body text.
func (*ItemTeamsItemDiscussionsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemTeamsItemDiscussionsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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.
func (*ItemTeamsItemDiscussionsPostRequestBody) GetTitle ¶
func (m *ItemTeamsItemDiscussionsPostRequestBody) GetTitle() *string
GetTitle gets the title property value. The discussion post's title.
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) }
ItemTeamsItemDiscussionsPostRequestBodyable
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 DiscussionsRequestBuilder and sets the default values.
func NewItemTeamsItemDiscussionsRequestBuilderInternal ¶
func NewItemTeamsItemDiscussionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsRequestBuilder
NewItemTeamsItemDiscussionsRequestBuilderInternal instantiates a new DiscussionsRequestBuilder and sets the default values.
func (*ItemTeamsItemDiscussionsRequestBuilder) ByDiscussion_number ¶
func (m *ItemTeamsItemDiscussionsRequestBuilder) ByDiscussion_number(discussion_number string) *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder
ByDiscussion_number gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.teams.item.discussions.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.
func (*ItemTeamsItemDiscussionsRequestBuilder) ByDiscussion_numberInteger ¶
func (m *ItemTeamsItemDiscussionsRequestBuilder) ByDiscussion_numberInteger(discussion_number int32) *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder
ByDiscussion_numberInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.teams.item.discussions.item collection
func (*ItemTeamsItemDiscussionsRequestBuilder) Get ¶
func (m *ItemTeamsItemDiscussionsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamsItemDiscussionsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamDiscussionable, error)
Get list all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`. API method documentation
func (*ItemTeamsItemDiscussionsRequestBuilder) Post ¶
func (m *ItemTeamsItemDiscussionsRequestBuilder) Post(ctx context.Context, body ItemTeamsItemDiscussionsPostRequestBodyable, requestConfiguration *ItemTeamsItemDiscussionsRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamDiscussionable, error)
Post creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`. API method documentation
func (*ItemTeamsItemDiscussionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemTeamsItemDiscussionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamsItemDiscussionsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation list all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.
func (*ItemTeamsItemDiscussionsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemTeamsItemDiscussionsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamsItemDiscussionsPostRequestBodyable, requestConfiguration *ItemTeamsItemDiscussionsRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation creates a new discussion post on a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in secondary rate limiting. For more information, see "[Rate limits for the API](https://docs.github.com/rest/overview/rate-limits-for-the-rest-api#about-secondary-rate-limits)" and "[Best practices for using the REST API](https://docs.github.com/rest/guides/best-practices-for-using-the-rest-api)."**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/{org_id}/team/{team_id}/discussions`.
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.
type ItemTeamsItemDiscussionsRequestBuilderGetQueryParameters ¶
type ItemTeamsItemDiscussionsRequestBuilderGetQueryParameters struct { // The direction to sort the results by. // Deprecated: This property is deprecated, use directionAsGetDirectionQueryParameterType instead Direction *string `uriparametername:"direction"` // The direction to sort the results by. DirectionAsGetDirectionQueryParameterType *i32f937b11a61715fd997bf78349df960035ffb33236a68f6136f39076fe893c2.GetDirectionQueryParameterType `uriparametername:"direction"` // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` // Pinned discussions only filter Pinned *string `uriparametername:"pinned"` }
ItemTeamsItemDiscussionsRequestBuilderGetQueryParameters list all discussions on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/discussions`.
type ItemTeamsItemDiscussionsRequestBuilderGetRequestConfiguration ¶
type ItemTeamsItemDiscussionsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemTeamsItemDiscussionsRequestBuilderGetQueryParameters }
ItemTeamsItemDiscussionsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemDiscussionsRequestBuilderPostRequestConfiguration ¶
type ItemTeamsItemDiscussionsRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsItemDiscussionsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder ¶
type ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\discussions\{discussion_number}
func NewItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder ¶
func NewItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder
NewItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder instantiates a new WithDiscussion_numberItemRequestBuilder and sets the default values.
func NewItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderInternal ¶
func NewItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder
NewItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderInternal instantiates a new WithDiscussion_numberItemRequestBuilder and sets the default values.
func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Comments ¶
func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Comments() *ItemTeamsItemDiscussionsItemCommentsRequestBuilder
Comments the comments property
func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Delete ¶
func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderDeleteRequestConfiguration) error
Delete delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).**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}`. API method documentation
func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Get ¶
func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamDiscussionable, error)
Get get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).**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}`. API method documentation
func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Patch ¶
func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Patch(ctx context.Context, body ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBodyable, requestConfiguration *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderPatchRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamDiscussionable, error)
Patch edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).**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}`. API method documentation
func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Reactions ¶
func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) Reactions() *ItemTeamsItemDiscussionsItemReactionsRequestBuilder
Reactions the reactions property
func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation delete a discussion from a team's page. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).**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}`.
func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation get a specific discussion on a team's page. OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).**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}`.
func (*ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemTeamsItemDiscussionsItemWithDiscussion_numberPatchRequestBodyable, requestConfiguration *ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderPatchRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation edits the title and body text of a discussion post. Only the parameters you provide are updated. OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).**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}`.
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.
type ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderDeleteRequestConfiguration ¶
type ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderGetRequestConfiguration ¶
type ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderPatchRequestConfiguration ¶
type ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderPatchRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsItemDiscussionsWithDiscussion_numberItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemInvitationsRequestBuilder ¶
type ItemTeamsItemInvitationsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemTeamsItemInvitationsRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\invitations
func NewItemTeamsItemInvitationsRequestBuilder ¶
func NewItemTeamsItemInvitationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemInvitationsRequestBuilder
NewItemTeamsItemInvitationsRequestBuilder instantiates a new InvitationsRequestBuilder and sets the default values.
func NewItemTeamsItemInvitationsRequestBuilderInternal ¶
func NewItemTeamsItemInvitationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemInvitationsRequestBuilder
NewItemTeamsItemInvitationsRequestBuilderInternal instantiates a new InvitationsRequestBuilder and sets the default values.
func (*ItemTeamsItemInvitationsRequestBuilder) Get ¶
func (m *ItemTeamsItemInvitationsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamsItemInvitationsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationInvitationable, error)
Get the return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`. API method documentation
func (*ItemTeamsItemInvitationsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemTeamsItemInvitationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamsItemInvitationsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation the return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`.
func (*ItemTeamsItemInvitationsRequestBuilder) WithUrl ¶
func (m *ItemTeamsItemInvitationsRequestBuilder) WithUrl(rawUrl string) *ItemTeamsItemInvitationsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
type ItemTeamsItemInvitationsRequestBuilderGetQueryParameters ¶
type ItemTeamsItemInvitationsRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemTeamsItemInvitationsRequestBuilderGetQueryParameters the return hash contains a `role` field which refers to the Organization Invitation role and will be one of the following values: `direct_member`, `admin`, `billing_manager`, `hiring_manager`, or `reinstate`. If the invitee is not a GitHub member, the `login` field in the return hash will be `null`.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/invitations`.
type ItemTeamsItemInvitationsRequestBuilderGetRequestConfiguration ¶
type ItemTeamsItemInvitationsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemTeamsItemInvitationsRequestBuilderGetQueryParameters }
ItemTeamsItemInvitationsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 MembersRequestBuilder and sets the default values.
func NewItemTeamsItemMembersRequestBuilderInternal ¶
func NewItemTeamsItemMembersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemMembersRequestBuilder
NewItemTeamsItemMembersRequestBuilderInternal instantiates a new MembersRequestBuilder and sets the default values.
func (*ItemTeamsItemMembersRequestBuilder) Get ¶
func (m *ItemTeamsItemMembersRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamsItemMembersRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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. API method documentation
func (*ItemTeamsItemMembersRequestBuilder) ToGetRequestInformation ¶
func (m *ItemTeamsItemMembersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamsItemMembersRequestBuilderGetRequestConfiguration) (*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.
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.
type ItemTeamsItemMembersRequestBuilderGetQueryParameters ¶
type ItemTeamsItemMembersRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` // Filters members returned by their role in the team. // Deprecated: This property is deprecated, use roleAsGetRoleQueryParameterType instead Role *string `uriparametername:"role"` // Filters members returned by their role in the team. RoleAsGetRoleQueryParameterType *i0dd1a76c81fc0773dd62fbda88dd3b1f98759b2b5b38b48e0269538d619f6668.GetRoleQueryParameterType `uriparametername:"role"` }
ItemTeamsItemMembersRequestBuilderGetQueryParameters team members will include the members of child teams.To list members in a team, the team must be visible to the authenticated user.
type ItemTeamsItemMembersRequestBuilderGetRequestConfiguration ¶
type ItemTeamsItemMembersRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemTeamsItemMembersRequestBuilderGetQueryParameters }
ItemTeamsItemMembersRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemMembershipsItemWithUsernamePutRequestBody ¶
type ItemTeamsItemMembershipsItemWithUsernamePutRequestBody struct {
// contains filtered or unexported fields
}
ItemTeamsItemMembershipsItemWithUsernamePutRequestBody
func NewItemTeamsItemMembershipsItemWithUsernamePutRequestBody ¶
func NewItemTeamsItemMembershipsItemWithUsernamePutRequestBody() *ItemTeamsItemMembershipsItemWithUsernamePutRequestBody
NewItemTeamsItemMembershipsItemWithUsernamePutRequestBody instantiates a new ItemTeamsItemMembershipsItemWithUsernamePutRequestBody and sets the default values.
func (*ItemTeamsItemMembershipsItemWithUsernamePutRequestBody) GetAdditionalData ¶
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.
func (*ItemTeamsItemMembershipsItemWithUsernamePutRequestBody) GetFieldDeserializers ¶
func (m *ItemTeamsItemMembershipsItemWithUsernamePutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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 }
ItemTeamsItemMembershipsItemWithUsernamePutRequestBodyable
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 MembershipsRequestBuilder and sets the default values.
func NewItemTeamsItemMembershipsRequestBuilderInternal ¶
func NewItemTeamsItemMembershipsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemMembershipsRequestBuilder
NewItemTeamsItemMembershipsRequestBuilderInternal instantiates a new MembershipsRequestBuilder and sets the default values.
func (*ItemTeamsItemMembershipsRequestBuilder) ByUsername ¶
func (m *ItemTeamsItemMembershipsRequestBuilder) ByUsername(username string) *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder
ByUsername gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.teams.item.memberships.item collection
type ItemTeamsItemMembershipsWithUsernameItemRequestBuilder ¶
type ItemTeamsItemMembershipsWithUsernameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemTeamsItemMembershipsWithUsernameItemRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\memberships\{username}
func NewItemTeamsItemMembershipsWithUsernameItemRequestBuilder ¶
func NewItemTeamsItemMembershipsWithUsernameItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder
NewItemTeamsItemMembershipsWithUsernameItemRequestBuilder instantiates a new WithUsernameItemRequestBuilder and sets the default values.
func NewItemTeamsItemMembershipsWithUsernameItemRequestBuilderInternal ¶
func NewItemTeamsItemMembershipsWithUsernameItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder
NewItemTeamsItemMembershipsWithUsernameItemRequestBuilderInternal instantiates a new WithUsernameItemRequestBuilder and sets the default values.
func (*ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) Delete ¶
func (m *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamsItemMembershipsWithUsernameItemRequestBuilderDeleteRequestConfiguration) 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/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`. API method documentation
func (*ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) Get ¶
func (m *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamsItemMembershipsWithUsernameItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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/rest/teams/teams#create-a-team). API method documentation
func (*ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) Put ¶
func (m *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) Put(ctx context.Context, body ItemTeamsItemMembershipsItemWithUsernamePutRequestBodyable, requestConfiguration *ItemTeamsItemMembershipsWithUsernameItemRequestBuilderPutRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team.If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`. API method documentation
func (*ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamsItemMembershipsWithUsernameItemRequestBuilderDeleteRequestConfiguration) (*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/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}`.
func (*ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamsItemMembershipsWithUsernameItemRequestBuilderGetRequestConfiguration) (*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/rest/teams/teams#create-a-team).
func (*ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemTeamsItemMembershipsItemWithUsernamePutRequestBodyable, requestConfiguration *ItemTeamsItemMembershipsWithUsernameItemRequestBuilderPutRequestConfiguration) (*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/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.**Note:** When you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see "[Synchronizing teams between your identity provider and GitHub](https://docs.github.com/articles/synchronizing-teams-between-your-identity-provider-and-github/)."An organization owner can add someone who is not part of the team's organization to a team. When an organization owner adds someone to a team who is not an organization member, this endpoint will send an invitation to the person via email. This newly-created membership will be in the "pending" state until the person accepts the invitation, at which point the membership will transition to the "active" state and the user will be added as a member of the team.If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/memberships/{username}`.
func (*ItemTeamsItemMembershipsWithUsernameItemRequestBuilder) WithUrl ¶
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.
type ItemTeamsItemMembershipsWithUsernameItemRequestBuilderDeleteRequestConfiguration ¶
type ItemTeamsItemMembershipsWithUsernameItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsItemMembershipsWithUsernameItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemMembershipsWithUsernameItemRequestBuilderGetRequestConfiguration ¶
type ItemTeamsItemMembershipsWithUsernameItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsItemMembershipsWithUsernameItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemMembershipsWithUsernameItemRequestBuilderPutRequestConfiguration ¶
type ItemTeamsItemMembershipsWithUsernameItemRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsItemMembershipsWithUsernameItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemProjectsItemWithProject_403Error ¶
type ItemTeamsItemProjectsItemWithProject_403Error struct { i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ApiError // contains filtered or unexported fields }
ItemTeamsItemProjectsItemWithProject_403Error
func NewItemTeamsItemProjectsItemWithProject_403Error ¶
func NewItemTeamsItemProjectsItemWithProject_403Error() *ItemTeamsItemProjectsItemWithProject_403Error
NewItemTeamsItemProjectsItemWithProject_403Error instantiates a new ItemTeamsItemProjectsItemWithProject_403Error and sets the default values.
func (*ItemTeamsItemProjectsItemWithProject_403Error) Error ¶
func (m *ItemTeamsItemProjectsItemWithProject_403Error) Error() string
Error the primary error message.
func (*ItemTeamsItemProjectsItemWithProject_403Error) GetAdditionalData ¶
func (m *ItemTeamsItemProjectsItemWithProject_403Error) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemTeamsItemProjectsItemWithProject_403Error) GetDocumentationUrl ¶
func (m *ItemTeamsItemProjectsItemWithProject_403Error) GetDocumentationUrl() *string
GetDocumentationUrl gets the documentation_url property value. The documentation_url property
func (*ItemTeamsItemProjectsItemWithProject_403Error) GetFieldDeserializers ¶
func (m *ItemTeamsItemProjectsItemWithProject_403Error) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemTeamsItemProjectsItemWithProject_403Error) GetMessage ¶
func (m *ItemTeamsItemProjectsItemWithProject_403Error) GetMessage() *string
GetMessage gets the message property value. The message property
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) }
ItemTeamsItemProjectsItemWithProject_403Errorable
type ItemTeamsItemProjectsItemWithProject_PutRequestBody ¶
type ItemTeamsItemProjectsItemWithProject_PutRequestBody struct {
// contains filtered or unexported fields
}
ItemTeamsItemProjectsItemWithProject_PutRequestBody
func NewItemTeamsItemProjectsItemWithProject_PutRequestBody ¶
func NewItemTeamsItemProjectsItemWithProject_PutRequestBody() *ItemTeamsItemProjectsItemWithProject_PutRequestBody
NewItemTeamsItemProjectsItemWithProject_PutRequestBody instantiates a new ItemTeamsItemProjectsItemWithProject_PutRequestBody and sets the default values.
func (*ItemTeamsItemProjectsItemWithProject_PutRequestBody) GetAdditionalData ¶
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.
func (*ItemTeamsItemProjectsItemWithProject_PutRequestBody) GetFieldDeserializers ¶
func (m *ItemTeamsItemProjectsItemWithProject_PutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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 }
ItemTeamsItemProjectsItemWithProject_PutRequestBodyable
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 ProjectsRequestBuilder and sets the default values.
func NewItemTeamsItemProjectsRequestBuilderInternal ¶
func NewItemTeamsItemProjectsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemProjectsRequestBuilder
NewItemTeamsItemProjectsRequestBuilderInternal instantiates a new ProjectsRequestBuilder and sets the default values.
func (*ItemTeamsItemProjectsRequestBuilder) ByProject_id ¶
func (m *ItemTeamsItemProjectsRequestBuilder) ByProject_id(project_id string) *ItemTeamsItemProjectsWithProject_ItemRequestBuilder
ByProject_id gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.teams.item.projects.item collection Deprecated: This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.
func (*ItemTeamsItemProjectsRequestBuilder) ByProject_idInteger ¶
func (m *ItemTeamsItemProjectsRequestBuilder) ByProject_idInteger(project_id int32) *ItemTeamsItemProjectsWithProject_ItemRequestBuilder
ByProject_idInteger gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.teams.item.projects.item collection
func (*ItemTeamsItemProjectsRequestBuilder) Get ¶
func (m *ItemTeamsItemProjectsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamsItemProjectsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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`. API method documentation
func (*ItemTeamsItemProjectsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemTeamsItemProjectsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamsItemProjectsRequestBuilderGetRequestConfiguration) (*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`.
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.
type ItemTeamsItemProjectsRequestBuilderGetQueryParameters ¶
type ItemTeamsItemProjectsRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). 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 ItemTeamsItemProjectsRequestBuilderGetRequestConfiguration ¶
type ItemTeamsItemProjectsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemTeamsItemProjectsRequestBuilderGetQueryParameters }
ItemTeamsItemProjectsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 WithProject_ItemRequestBuilder and sets the default values.
func NewItemTeamsItemProjectsWithProject_ItemRequestBuilderInternal ¶
func NewItemTeamsItemProjectsWithProject_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemProjectsWithProject_ItemRequestBuilder
NewItemTeamsItemProjectsWithProject_ItemRequestBuilderInternal instantiates a new WithProject_ItemRequestBuilder and sets the default values.
func (*ItemTeamsItemProjectsWithProject_ItemRequestBuilder) Delete ¶
func (m *ItemTeamsItemProjectsWithProject_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamsItemProjectsWithProject_ItemRequestBuilderDeleteRequestConfiguration) 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 *ItemTeamsItemProjectsWithProject_ItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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}`. API method documentation
func (*ItemTeamsItemProjectsWithProject_ItemRequestBuilder) Put ¶
func (m *ItemTeamsItemProjectsWithProject_ItemRequestBuilder) Put(ctx context.Context, body ItemTeamsItemProjectsItemWithProject_PutRequestBodyable, requestConfiguration *ItemTeamsItemProjectsWithProject_ItemRequestBuilderPutRequestConfiguration) 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}`. API method documentation
func (*ItemTeamsItemProjectsWithProject_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemTeamsItemProjectsWithProject_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamsItemProjectsWithProject_ItemRequestBuilderDeleteRequestConfiguration) (*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}`.
func (*ItemTeamsItemProjectsWithProject_ItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemTeamsItemProjectsWithProject_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamsItemProjectsWithProject_ItemRequestBuilderGetRequestConfiguration) (*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}`.
func (*ItemTeamsItemProjectsWithProject_ItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemTeamsItemProjectsWithProject_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemTeamsItemProjectsItemWithProject_PutRequestBodyable, requestConfiguration *ItemTeamsItemProjectsWithProject_ItemRequestBuilderPutRequestConfiguration) (*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}`.
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.
type ItemTeamsItemProjectsWithProject_ItemRequestBuilderDeleteRequestConfiguration ¶
type ItemTeamsItemProjectsWithProject_ItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsItemProjectsWithProject_ItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemProjectsWithProject_ItemRequestBuilderGetRequestConfiguration ¶
type ItemTeamsItemProjectsWithProject_ItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsItemProjectsWithProject_ItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemProjectsWithProject_ItemRequestBuilderPutRequestConfiguration ¶
type ItemTeamsItemProjectsWithProject_ItemRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsItemProjectsWithProject_ItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemReposItemItemWithRepoPutRequestBody ¶
type ItemTeamsItemReposItemItemWithRepoPutRequestBody struct {
// contains filtered or unexported fields
}
ItemTeamsItemReposItemItemWithRepoPutRequestBody
func NewItemTeamsItemReposItemItemWithRepoPutRequestBody ¶
func NewItemTeamsItemReposItemItemWithRepoPutRequestBody() *ItemTeamsItemReposItemItemWithRepoPutRequestBody
NewItemTeamsItemReposItemItemWithRepoPutRequestBody instantiates a new ItemTeamsItemReposItemItemWithRepoPutRequestBody and sets the default values.
func (*ItemTeamsItemReposItemItemWithRepoPutRequestBody) GetAdditionalData ¶
func (m *ItemTeamsItemReposItemItemWithRepoPutRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemTeamsItemReposItemItemWithRepoPutRequestBody) GetFieldDeserializers ¶
func (m *ItemTeamsItemReposItemItemWithRepoPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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.
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) }
ItemTeamsItemReposItemItemWithRepoPutRequestBodyable
type ItemTeamsItemReposItemWithRepoItemRequestBuilder ¶
type ItemTeamsItemReposItemWithRepoItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemTeamsItemReposItemWithRepoItemRequestBuilder builds and executes requests for operations under \orgs\{org}\teams\{team_slug}\repos\{owner}\{repo}
func NewItemTeamsItemReposItemWithRepoItemRequestBuilder ¶
func NewItemTeamsItemReposItemWithRepoItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemReposItemWithRepoItemRequestBuilder
NewItemTeamsItemReposItemWithRepoItemRequestBuilder instantiates a new WithRepoItemRequestBuilder and sets the default values.
func NewItemTeamsItemReposItemWithRepoItemRequestBuilderInternal ¶
func NewItemTeamsItemReposItemWithRepoItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemReposItemWithRepoItemRequestBuilder
NewItemTeamsItemReposItemWithRepoItemRequestBuilderInternal instantiates a new WithRepoItemRequestBuilder and sets the default values.
func (*ItemTeamsItemReposItemWithRepoItemRequestBuilder) Delete ¶
func (m *ItemTeamsItemReposItemWithRepoItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamsItemReposItemWithRepoItemRequestBuilderDeleteRequestConfiguration) 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 *ItemTeamsItemReposItemWithRepoItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.If a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.If the repository is private, you must have at least `read` permission for that repository, and your token must have the `repo` or `admin:org` scope. Otherwise, you will receive a `404 Not Found` response status.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`. API method documentation
func (*ItemTeamsItemReposItemWithRepoItemRequestBuilder) Put ¶
func (m *ItemTeamsItemReposItemWithRepoItemRequestBuilder) Put(ctx context.Context, body ItemTeamsItemReposItemItemWithRepoPutRequestBodyable, requestConfiguration *ItemTeamsItemReposItemWithRepoItemRequestBuilderPutRequestConfiguration) 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 verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)."**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.For more information about the permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)". API method documentation
func (*ItemTeamsItemReposItemWithRepoItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemTeamsItemReposItemWithRepoItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamsItemReposItemWithRepoItemRequestBuilderDeleteRequestConfiguration) (*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}`.
func (*ItemTeamsItemReposItemWithRepoItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemTeamsItemReposItemWithRepoItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamsItemReposItemWithRepoItemRequestBuilderGetRequestConfiguration) (*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/rest/overview/media-types/) via the `application/vnd.github.v3.repository+json` accept header.If a team doesn't have permission for the repository, you will receive a `404 Not Found` response status.If the repository is private, you must have at least `read` permission for that repository, and your token must have the `repo` or `admin:org` scope. Otherwise, you will receive a `404 Not Found` response status.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.
func (*ItemTeamsItemReposItemWithRepoItemRequestBuilder) ToPutRequestInformation ¶
func (m *ItemTeamsItemReposItemWithRepoItemRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemTeamsItemReposItemItemWithRepoPutRequestBodyable, requestConfiguration *ItemTeamsItemReposItemWithRepoItemRequestBuilderPutRequestConfiguration) (*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 verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs)."**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/repos/{owner}/{repo}`.For more information about the permission levels, see "[Repository permission levels for an organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/repository-permission-levels-for-an-organization#permission-levels-for-repositories-owned-by-an-organization)".
func (*ItemTeamsItemReposItemWithRepoItemRequestBuilder) WithUrl ¶
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.
type ItemTeamsItemReposItemWithRepoItemRequestBuilderDeleteRequestConfiguration ¶
type ItemTeamsItemReposItemWithRepoItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsItemReposItemWithRepoItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemReposItemWithRepoItemRequestBuilderGetRequestConfiguration ¶
type ItemTeamsItemReposItemWithRepoItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsItemReposItemWithRepoItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemReposItemWithRepoItemRequestBuilderPutRequestConfiguration ¶
type ItemTeamsItemReposItemWithRepoItemRequestBuilderPutRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsItemReposItemWithRepoItemRequestBuilderPutRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 ReposRequestBuilder and sets the default values.
func NewItemTeamsItemReposRequestBuilderInternal ¶
func NewItemTeamsItemReposRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemReposRequestBuilder
NewItemTeamsItemReposRequestBuilderInternal instantiates a new ReposRequestBuilder and sets the default values.
func (*ItemTeamsItemReposRequestBuilder) ByOwner ¶
func (m *ItemTeamsItemReposRequestBuilder) ByOwner(owner string) *ItemTeamsItemReposWithOwnerItemRequestBuilder
ByOwner gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.teams.item.repos.item collection
func (*ItemTeamsItemReposRequestBuilder) Get ¶
func (m *ItemTeamsItemReposRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamsItemReposRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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`. API method documentation
func (*ItemTeamsItemReposRequestBuilder) ToGetRequestInformation ¶
func (m *ItemTeamsItemReposRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamsItemReposRequestBuilderGetRequestConfiguration) (*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`.
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.
type ItemTeamsItemReposRequestBuilderGetQueryParameters ¶
type ItemTeamsItemReposRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). 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 ItemTeamsItemReposRequestBuilderGetRequestConfiguration ¶
type ItemTeamsItemReposRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemTeamsItemReposRequestBuilderGetQueryParameters }
ItemTeamsItemReposRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 WithOwnerItemRequestBuilder and sets the default values.
func NewItemTeamsItemReposWithOwnerItemRequestBuilderInternal ¶
func NewItemTeamsItemReposWithOwnerItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemReposWithOwnerItemRequestBuilder
NewItemTeamsItemReposWithOwnerItemRequestBuilderInternal instantiates a new WithOwnerItemRequestBuilder and sets the default values.
func (*ItemTeamsItemReposWithOwnerItemRequestBuilder) ByRepo ¶
func (m *ItemTeamsItemReposWithOwnerItemRequestBuilder) ByRepo(repo string) *ItemTeamsItemReposItemWithRepoItemRequestBuilder
ByRepo gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.teams.item.repos.item.item collection
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 TeamsRequestBuilder and sets the default values.
func NewItemTeamsItemTeamsRequestBuilderInternal ¶
func NewItemTeamsItemTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsItemTeamsRequestBuilder
NewItemTeamsItemTeamsRequestBuilderInternal instantiates a new TeamsRequestBuilder and sets the default values.
func (*ItemTeamsItemTeamsRequestBuilder) Get ¶
func (m *ItemTeamsItemTeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamsItemTeamsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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`. API method documentation
func (*ItemTeamsItemTeamsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemTeamsItemTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamsItemTeamsRequestBuilderGetRequestConfiguration) (*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`.
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.
type ItemTeamsItemTeamsRequestBuilderGetQueryParameters ¶
type ItemTeamsItemTeamsRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). 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 ItemTeamsItemTeamsRequestBuilderGetRequestConfiguration ¶
type ItemTeamsItemTeamsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemTeamsItemTeamsRequestBuilderGetQueryParameters }
ItemTeamsItemTeamsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsItemWithTeam_slugPatchRequestBody ¶
type ItemTeamsItemWithTeam_slugPatchRequestBody struct {
// contains filtered or unexported fields
}
ItemTeamsItemWithTeam_slugPatchRequestBody
func NewItemTeamsItemWithTeam_slugPatchRequestBody ¶
func NewItemTeamsItemWithTeam_slugPatchRequestBody() *ItemTeamsItemWithTeam_slugPatchRequestBody
NewItemTeamsItemWithTeam_slugPatchRequestBody instantiates a new ItemTeamsItemWithTeam_slugPatchRequestBody and sets the default values.
func (*ItemTeamsItemWithTeam_slugPatchRequestBody) GetAdditionalData ¶
func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemTeamsItemWithTeam_slugPatchRequestBody) GetDescription ¶
func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) GetDescription() *string
GetDescription gets the description property value. The description of the team.
func (*ItemTeamsItemWithTeam_slugPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemTeamsItemWithTeam_slugPatchRequestBody) GetName ¶
func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) GetName() *string
GetName gets the name property value. The name of the team.
func (*ItemTeamsItemWithTeam_slugPatchRequestBody) GetParentTeamId ¶
func (m *ItemTeamsItemWithTeam_slugPatchRequestBody) GetParentTeamId() *int32
GetParentTeamId gets the parent_team_id property value. The ID of a team to set as the parent team.
func (*ItemTeamsItemWithTeam_slugPatchRequestBody) Serialize ¶
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) }
ItemTeamsItemWithTeam_slugPatchRequestBodyable
type ItemTeamsPostRequestBody ¶
type ItemTeamsPostRequestBody struct {
// contains filtered or unexported fields
}
ItemTeamsPostRequestBody
func NewItemTeamsPostRequestBody ¶
func NewItemTeamsPostRequestBody() *ItemTeamsPostRequestBody
NewItemTeamsPostRequestBody instantiates a new ItemTeamsPostRequestBody and sets the default values.
func (*ItemTeamsPostRequestBody) GetAdditionalData ¶
func (m *ItemTeamsPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemTeamsPostRequestBody) GetDescription ¶
func (m *ItemTeamsPostRequestBody) GetDescription() *string
GetDescription gets the description property value. The description of the team.
func (*ItemTeamsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemTeamsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemTeamsPostRequestBody) GetMaintainers ¶
func (m *ItemTeamsPostRequestBody) GetMaintainers() []string
GetMaintainers gets the maintainers property value. List GitHub IDs for organization members who will become team maintainers.
func (*ItemTeamsPostRequestBody) GetName ¶
func (m *ItemTeamsPostRequestBody) GetName() *string
GetName gets the name property value. The name of the team.
func (*ItemTeamsPostRequestBody) GetParentTeamId ¶
func (m *ItemTeamsPostRequestBody) GetParentTeamId() *int32
GetParentTeamId gets the parent_team_id property value. The ID of a team to set as the parent team.
func (*ItemTeamsPostRequestBody) GetRepoNames ¶
func (m *ItemTeamsPostRequestBody) GetRepoNames() []string
GetRepoNames gets the repo_names property value. The full name (e.g., "organization-name/repository-name") of repositories to add the team to.
func (*ItemTeamsPostRequestBody) Serialize ¶
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) SetMaintainers ¶
func (m *ItemTeamsPostRequestBody) SetMaintainers(value []string)
SetMaintainers sets the maintainers property value. List GitHub IDs for organization members who will become team maintainers.
func (*ItemTeamsPostRequestBody) SetName ¶
func (m *ItemTeamsPostRequestBody) SetName(value *string)
SetName sets the name property value. The name of the team.
func (*ItemTeamsPostRequestBody) SetParentTeamId ¶
func (m *ItemTeamsPostRequestBody) SetParentTeamId(value *int32)
SetParentTeamId sets the parent_team_id property value. The ID of a team to set as the parent team.
func (*ItemTeamsPostRequestBody) SetRepoNames ¶
func (m *ItemTeamsPostRequestBody) SetRepoNames(value []string)
SetRepoNames sets the repo_names property value. The full name (e.g., "organization-name/repository-name") of repositories to add the team to.
type ItemTeamsPostRequestBodyable ¶
type ItemTeamsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetDescription() *string GetMaintainers() []string GetName() *string GetParentTeamId() *int32 GetRepoNames() []string SetDescription(value *string) SetMaintainers(value []string) SetName(value *string) SetParentTeamId(value *int32) SetRepoNames(value []string) }
ItemTeamsPostRequestBodyable
type ItemTeamsRequestBuilder ¶
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 TeamsRequestBuilder and sets the default values.
func NewItemTeamsRequestBuilderInternal ¶
func NewItemTeamsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsRequestBuilder
NewItemTeamsRequestBuilderInternal instantiates a new TeamsRequestBuilder and sets the default values.
func (*ItemTeamsRequestBuilder) ByTeam_slug ¶
func (m *ItemTeamsRequestBuilder) ByTeam_slug(team_slug string) *ItemTeamsWithTeam_slugItemRequestBuilder
ByTeam_slug gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.teams.item collection
func (*ItemTeamsRequestBuilder) Get ¶
func (m *ItemTeamsRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamsRequestBuilderGetRequestConfiguration) ([]i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.Teamable, error)
Get lists all teams in an organization that are visible to the authenticated user. API method documentation
func (*ItemTeamsRequestBuilder) Post ¶
func (m *ItemTeamsRequestBuilder) Post(ctx context.Context, body ItemTeamsPostRequestBodyable, requestConfiguration *ItemTeamsRequestBuilderPostRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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/articles/setting-team-creation-permissions-in-your-organization)."When you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see "[About teams](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/about-teams)". API method documentation
func (*ItemTeamsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemTeamsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamsRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all teams in an organization that are visible to the authenticated user.
func (*ItemTeamsRequestBuilder) ToPostRequestInformation ¶
func (m *ItemTeamsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemTeamsPostRequestBodyable, requestConfiguration *ItemTeamsRequestBuilderPostRequestConfiguration) (*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/articles/setting-team-creation-permissions-in-your-organization)."When you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see "[About teams](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/about-teams)".
func (*ItemTeamsRequestBuilder) WithUrl ¶
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.
type ItemTeamsRequestBuilderGetQueryParameters ¶
type ItemTeamsRequestBuilderGetQueryParameters struct { // Page number of the results to fetch. Page *int32 `uriparametername:"page"` // The number of results per page (max 100). Per_page *int32 `uriparametername:"per_page"` }
ItemTeamsRequestBuilderGetQueryParameters lists all teams in an organization that are visible to the authenticated user.
type ItemTeamsRequestBuilderGetRequestConfiguration ¶
type ItemTeamsRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *ItemTeamsRequestBuilderGetQueryParameters }
ItemTeamsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsRequestBuilderPostRequestConfiguration ¶
type ItemTeamsRequestBuilderPostRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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 WithTeam_slugItemRequestBuilder and sets the default values.
func NewItemTeamsWithTeam_slugItemRequestBuilderInternal ¶
func NewItemTeamsWithTeam_slugItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemTeamsWithTeam_slugItemRequestBuilder
NewItemTeamsWithTeam_slugItemRequestBuilderInternal instantiates a new WithTeam_slugItemRequestBuilder and sets the default values.
func (*ItemTeamsWithTeam_slugItemRequestBuilder) Delete ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *ItemTeamsWithTeam_slugItemRequestBuilderDeleteRequestConfiguration) 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
func (*ItemTeamsWithTeam_slugItemRequestBuilder) Get ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Get(ctx context.Context, requestConfiguration *ItemTeamsWithTeam_slugItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.TeamFullable, error)
Get gets a team using the team's `slug`. To create the `slug`, GitHub replaces special characters in the `name` string, changes all words to lowercase, and replaces spaces with a `-` separator. For example, `"My TEam Näme"` would become `my-team-name`.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`. API method documentation
func (*ItemTeamsWithTeam_slugItemRequestBuilder) Invitations ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Invitations() *ItemTeamsItemInvitationsRequestBuilder
Invitations the invitations property
func (*ItemTeamsWithTeam_slugItemRequestBuilder) Members ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Members() *ItemTeamsItemMembersRequestBuilder
Members the members property
func (*ItemTeamsWithTeam_slugItemRequestBuilder) Memberships ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Memberships() *ItemTeamsItemMembershipsRequestBuilder
Memberships the memberships property
func (*ItemTeamsWithTeam_slugItemRequestBuilder) Patch ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Patch(ctx context.Context, body ItemTeamsItemWithTeam_slugPatchRequestBodyable, requestConfiguration *ItemTeamsWithTeam_slugItemRequestBuilderPatchRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.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}`. API method documentation
func (*ItemTeamsWithTeam_slugItemRequestBuilder) Projects ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Projects() *ItemTeamsItemProjectsRequestBuilder
Projects the projects property
func (*ItemTeamsWithTeam_slugItemRequestBuilder) Repos ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Repos() *ItemTeamsItemReposRequestBuilder
Repos the repos property
func (*ItemTeamsWithTeam_slugItemRequestBuilder) Teams ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) Teams() *ItemTeamsItemTeamsRequestBuilder
Teams the teams property
func (*ItemTeamsWithTeam_slugItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *ItemTeamsWithTeam_slugItemRequestBuilderDeleteRequestConfiguration) (*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}`.
func (*ItemTeamsWithTeam_slugItemRequestBuilder) ToGetRequestInformation ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *ItemTeamsWithTeam_slugItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a team using the team's `slug`. To create the `slug`, GitHub replaces special characters in the `name` string, changes all words to lowercase, and replaces spaces with a `-` separator. For example, `"My TEam Näme"` would become `my-team-name`.**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.
func (*ItemTeamsWithTeam_slugItemRequestBuilder) ToPatchRequestInformation ¶
func (m *ItemTeamsWithTeam_slugItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemTeamsItemWithTeam_slugPatchRequestBodyable, requestConfiguration *ItemTeamsWithTeam_slugItemRequestBuilderPatchRequestConfiguration) (*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}`.
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.
type ItemTeamsWithTeam_slugItemRequestBuilderDeleteRequestConfiguration ¶
type ItemTeamsWithTeam_slugItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsWithTeam_slugItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsWithTeam_slugItemRequestBuilderGetRequestConfiguration ¶
type ItemTeamsWithTeam_slugItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsWithTeam_slugItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemTeamsWithTeam_slugItemRequestBuilderPatchRequestConfiguration ¶
type ItemTeamsWithTeam_slugItemRequestBuilderPatchRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
ItemTeamsWithTeam_slugItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type ItemWithOrgDeleteResponse ¶
type ItemWithOrgDeleteResponse struct {
// contains filtered or unexported fields
}
ItemWithOrgDeleteResponse
func NewItemWithOrgDeleteResponse ¶
func NewItemWithOrgDeleteResponse() *ItemWithOrgDeleteResponse
NewItemWithOrgDeleteResponse instantiates a new ItemWithOrgDeleteResponse and sets the default values.
func (*ItemWithOrgDeleteResponse) GetAdditionalData ¶
func (m *ItemWithOrgDeleteResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemWithOrgDeleteResponse) GetFieldDeserializers ¶
func (m *ItemWithOrgDeleteResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
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 }
ItemWithOrgDeleteResponseable
type ItemWithOrgPatchRequestBody ¶
type ItemWithOrgPatchRequestBody struct {
// contains filtered or unexported fields
}
ItemWithOrgPatchRequestBody
func NewItemWithOrgPatchRequestBody ¶
func NewItemWithOrgPatchRequestBody() *ItemWithOrgPatchRequestBody
NewItemWithOrgPatchRequestBody instantiates a new ItemWithOrgPatchRequestBody and sets the default values.
func (*ItemWithOrgPatchRequestBody) GetAdditionalData ¶
func (m *ItemWithOrgPatchRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemWithOrgPatchRequestBody) GetAdvancedSecurityEnabledForNewRepositories ¶
func (m *ItemWithOrgPatchRequestBody) GetAdvancedSecurityEnabledForNewRepositories() *bool
GetAdvancedSecurityEnabledForNewRepositories gets the advanced_security_enabled_for_new_repositories property value. Whether GitHub Advanced Security is automatically enabled for new repositories.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.
func (*ItemWithOrgPatchRequestBody) GetBillingEmail ¶
func (m *ItemWithOrgPatchRequestBody) GetBillingEmail() *string
GetBillingEmail gets the billing_email property value. Billing email address. This address is not publicized.
func (*ItemWithOrgPatchRequestBody) GetBlog ¶
func (m *ItemWithOrgPatchRequestBody) GetBlog() *string
GetBlog gets the blog property value. The blog property
func (*ItemWithOrgPatchRequestBody) GetCompany ¶
func (m *ItemWithOrgPatchRequestBody) GetCompany() *string
GetCompany gets the company property value. The company name.
func (*ItemWithOrgPatchRequestBody) GetDependabotAlertsEnabledForNewRepositories ¶
func (m *ItemWithOrgPatchRequestBody) GetDependabotAlertsEnabledForNewRepositories() *bool
GetDependabotAlertsEnabledForNewRepositories gets the dependabot_alerts_enabled_for_new_repositories property value. Whether Dependabot alerts is automatically enabled for new repositories.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.
func (*ItemWithOrgPatchRequestBody) GetDependabotSecurityUpdatesEnabledForNewRepositories ¶
func (m *ItemWithOrgPatchRequestBody) GetDependabotSecurityUpdatesEnabledForNewRepositories() *bool
GetDependabotSecurityUpdatesEnabledForNewRepositories gets the dependabot_security_updates_enabled_for_new_repositories property value. Whether Dependabot security updates is automatically enabled for new repositories.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.
func (*ItemWithOrgPatchRequestBody) GetDependencyGraphEnabledForNewRepositories ¶
func (m *ItemWithOrgPatchRequestBody) GetDependencyGraphEnabledForNewRepositories() *bool
GetDependencyGraphEnabledForNewRepositories gets the dependency_graph_enabled_for_new_repositories property value. Whether dependency graph is automatically enabled for new repositories.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.
func (*ItemWithOrgPatchRequestBody) GetDescription ¶
func (m *ItemWithOrgPatchRequestBody) GetDescription() *string
GetDescription gets the description property value. The description of the company.
func (*ItemWithOrgPatchRequestBody) GetEmail ¶
func (m *ItemWithOrgPatchRequestBody) GetEmail() *string
GetEmail gets the email property value. The publicly visible email address.
func (*ItemWithOrgPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemWithOrgPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*ItemWithOrgPatchRequestBody) GetHasOrganizationProjects ¶
func (m *ItemWithOrgPatchRequestBody) GetHasOrganizationProjects() *bool
GetHasOrganizationProjects gets the has_organization_projects property value. Whether an organization can use organization projects.
func (*ItemWithOrgPatchRequestBody) GetHasRepositoryProjects ¶
func (m *ItemWithOrgPatchRequestBody) GetHasRepositoryProjects() *bool
GetHasRepositoryProjects gets the has_repository_projects property value. Whether repositories that belong to the organization can use repository projects.
func (*ItemWithOrgPatchRequestBody) GetLocation ¶
func (m *ItemWithOrgPatchRequestBody) GetLocation() *string
GetLocation gets the location property value. The location.
func (*ItemWithOrgPatchRequestBody) GetMembersCanCreateInternalRepositories ¶
func (m *ItemWithOrgPatchRequestBody) GetMembersCanCreateInternalRepositories() *bool
GetMembersCanCreateInternalRepositories gets the members_can_create_internal_repositories property value. Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation.
func (*ItemWithOrgPatchRequestBody) GetMembersCanCreatePages ¶
func (m *ItemWithOrgPatchRequestBody) GetMembersCanCreatePages() *bool
GetMembersCanCreatePages gets the members_can_create_pages property value. Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted.
func (*ItemWithOrgPatchRequestBody) GetMembersCanCreatePrivatePages ¶
func (m *ItemWithOrgPatchRequestBody) GetMembersCanCreatePrivatePages() *bool
GetMembersCanCreatePrivatePages gets the members_can_create_private_pages property value. Whether organization members can create private GitHub Pages sites. Existing published sites will not be impacted.
func (*ItemWithOrgPatchRequestBody) GetMembersCanCreatePrivateRepositories ¶
func (m *ItemWithOrgPatchRequestBody) GetMembersCanCreatePrivateRepositories() *bool
GetMembersCanCreatePrivateRepositories gets the members_can_create_private_repositories property value. Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation.
func (*ItemWithOrgPatchRequestBody) GetMembersCanCreatePublicPages ¶
func (m *ItemWithOrgPatchRequestBody) GetMembersCanCreatePublicPages() *bool
GetMembersCanCreatePublicPages gets the members_can_create_public_pages property value. Whether organization members can create public GitHub Pages sites. Existing published sites will not be impacted.
func (*ItemWithOrgPatchRequestBody) GetMembersCanCreatePublicRepositories ¶
func (m *ItemWithOrgPatchRequestBody) GetMembersCanCreatePublicRepositories() *bool
GetMembersCanCreatePublicRepositories gets the members_can_create_public_repositories property value. Whether organization members can create public repositories, which are visible to anyone. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation.
func (*ItemWithOrgPatchRequestBody) GetMembersCanCreateRepositories ¶
func (m *ItemWithOrgPatchRequestBody) GetMembersCanCreateRepositories() *bool
GetMembersCanCreateRepositories gets the members_can_create_repositories property value. Whether of non-admin organization members can create repositories. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details.
func (*ItemWithOrgPatchRequestBody) GetMembersCanForkPrivateRepositories ¶
func (m *ItemWithOrgPatchRequestBody) GetMembersCanForkPrivateRepositories() *bool
GetMembersCanForkPrivateRepositories gets the members_can_fork_private_repositories property value. Whether organization members can fork private organization repositories.
func (*ItemWithOrgPatchRequestBody) GetName ¶
func (m *ItemWithOrgPatchRequestBody) GetName() *string
GetName gets the name property value. The shorthand name of the company.
func (*ItemWithOrgPatchRequestBody) GetSecretScanningEnabledForNewRepositories ¶
func (m *ItemWithOrgPatchRequestBody) GetSecretScanningEnabledForNewRepositories() *bool
GetSecretScanningEnabledForNewRepositories gets the secret_scanning_enabled_for_new_repositories property value. Whether secret scanning is automatically enabled for new repositories.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.
func (*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.
func (*ItemWithOrgPatchRequestBody) GetSecretScanningPushProtectionCustomLinkEnabled ¶
func (m *ItemWithOrgPatchRequestBody) GetSecretScanningPushProtectionCustomLinkEnabled() *bool
GetSecretScanningPushProtectionCustomLinkEnabled gets the secret_scanning_push_protection_custom_link_enabled property value. Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection.
func (*ItemWithOrgPatchRequestBody) GetSecretScanningPushProtectionEnabledForNewRepositories ¶
func (m *ItemWithOrgPatchRequestBody) GetSecretScanningPushProtectionEnabledForNewRepositories() *bool
GetSecretScanningPushProtectionEnabledForNewRepositories gets the secret_scanning_push_protection_enabled_for_new_repositories property value. Whether secret scanning push protection is automatically enabled for new repositories.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.
func (*ItemWithOrgPatchRequestBody) GetTwitterUsername ¶
func (m *ItemWithOrgPatchRequestBody) GetTwitterUsername() *string
GetTwitterUsername gets the twitter_username property value. The Twitter username of the company.
func (*ItemWithOrgPatchRequestBody) GetWebCommitSignoffRequired ¶
func (m *ItemWithOrgPatchRequestBody) GetWebCommitSignoffRequired() *bool
GetWebCommitSignoffRequired gets the web_commit_signoff_required property value. Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.
func (*ItemWithOrgPatchRequestBody) Serialize ¶
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.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.
func (*ItemWithOrgPatchRequestBody) SetBillingEmail ¶
func (m *ItemWithOrgPatchRequestBody) SetBillingEmail(value *string)
SetBillingEmail sets the billing_email property value. Billing email address. This address is not publicized.
func (*ItemWithOrgPatchRequestBody) SetBlog ¶
func (m *ItemWithOrgPatchRequestBody) SetBlog(value *string)
SetBlog sets the blog property value. The blog property
func (*ItemWithOrgPatchRequestBody) SetCompany ¶
func (m *ItemWithOrgPatchRequestBody) SetCompany(value *string)
SetCompany sets the company property value. The company name.
func (*ItemWithOrgPatchRequestBody) SetDependabotAlertsEnabledForNewRepositories ¶
func (m *ItemWithOrgPatchRequestBody) SetDependabotAlertsEnabledForNewRepositories(value *bool)
SetDependabotAlertsEnabledForNewRepositories sets the dependabot_alerts_enabled_for_new_repositories property value. Whether Dependabot alerts is automatically enabled for new repositories.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.
func (*ItemWithOrgPatchRequestBody) SetDependabotSecurityUpdatesEnabledForNewRepositories ¶
func (m *ItemWithOrgPatchRequestBody) SetDependabotSecurityUpdatesEnabledForNewRepositories(value *bool)
SetDependabotSecurityUpdatesEnabledForNewRepositories sets the dependabot_security_updates_enabled_for_new_repositories property value. Whether Dependabot security updates is automatically enabled for new repositories.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.
func (*ItemWithOrgPatchRequestBody) SetDependencyGraphEnabledForNewRepositories ¶
func (m *ItemWithOrgPatchRequestBody) SetDependencyGraphEnabledForNewRepositories(value *bool)
SetDependencyGraphEnabledForNewRepositories sets the dependency_graph_enabled_for_new_repositories property value. Whether dependency graph is automatically enabled for new repositories.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.
func (*ItemWithOrgPatchRequestBody) SetDescription ¶
func (m *ItemWithOrgPatchRequestBody) SetDescription(value *string)
SetDescription sets the description property value. The description of the company.
func (*ItemWithOrgPatchRequestBody) SetEmail ¶
func (m *ItemWithOrgPatchRequestBody) SetEmail(value *string)
SetEmail sets the email property value. The publicly visible email address.
func (*ItemWithOrgPatchRequestBody) SetHasOrganizationProjects ¶
func (m *ItemWithOrgPatchRequestBody) SetHasOrganizationProjects(value *bool)
SetHasOrganizationProjects sets the has_organization_projects property value. Whether an organization can use organization projects.
func (*ItemWithOrgPatchRequestBody) SetHasRepositoryProjects ¶
func (m *ItemWithOrgPatchRequestBody) SetHasRepositoryProjects(value *bool)
SetHasRepositoryProjects sets the has_repository_projects property value. Whether repositories that belong to the organization can use repository projects.
func (*ItemWithOrgPatchRequestBody) SetLocation ¶
func (m *ItemWithOrgPatchRequestBody) SetLocation(value *string)
SetLocation sets the location property value. The location.
func (*ItemWithOrgPatchRequestBody) SetMembersCanCreateInternalRepositories ¶
func (m *ItemWithOrgPatchRequestBody) SetMembersCanCreateInternalRepositories(value *bool)
SetMembersCanCreateInternalRepositories sets the members_can_create_internal_repositories property value. Whether organization members can create internal repositories, which are visible to all enterprise members. You can only allow members to create internal repositories if your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation.
func (*ItemWithOrgPatchRequestBody) SetMembersCanCreatePages ¶
func (m *ItemWithOrgPatchRequestBody) SetMembersCanCreatePages(value *bool)
SetMembersCanCreatePages sets the members_can_create_pages property value. Whether organization members can create GitHub Pages sites. Existing published sites will not be impacted.
func (*ItemWithOrgPatchRequestBody) SetMembersCanCreatePrivatePages ¶
func (m *ItemWithOrgPatchRequestBody) SetMembersCanCreatePrivatePages(value *bool)
SetMembersCanCreatePrivatePages sets the members_can_create_private_pages property value. Whether organization members can create private GitHub Pages sites. Existing published sites will not be impacted.
func (*ItemWithOrgPatchRequestBody) SetMembersCanCreatePrivateRepositories ¶
func (m *ItemWithOrgPatchRequestBody) SetMembersCanCreatePrivateRepositories(value *bool)
SetMembersCanCreatePrivateRepositories sets the members_can_create_private_repositories property value. Whether organization members can create private repositories, which are visible to organization members with permission. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation.
func (*ItemWithOrgPatchRequestBody) SetMembersCanCreatePublicPages ¶
func (m *ItemWithOrgPatchRequestBody) SetMembersCanCreatePublicPages(value *bool)
SetMembersCanCreatePublicPages sets the members_can_create_public_pages property value. Whether organization members can create public GitHub Pages sites. Existing published sites will not be impacted.
func (*ItemWithOrgPatchRequestBody) SetMembersCanCreatePublicRepositories ¶
func (m *ItemWithOrgPatchRequestBody) SetMembersCanCreatePublicRepositories(value *bool)
SetMembersCanCreatePublicRepositories sets the members_can_create_public_repositories property value. Whether organization members can create public repositories, which are visible to anyone. For more information, see "[Restricting repository creation in your organization](https://docs.github.com/github/setting-up-and-managing-organizations-and-teams/restricting-repository-creation-in-your-organization)" in the GitHub Help documentation.
func (*ItemWithOrgPatchRequestBody) SetMembersCanCreateRepositories ¶
func (m *ItemWithOrgPatchRequestBody) SetMembersCanCreateRepositories(value *bool)
SetMembersCanCreateRepositories sets the members_can_create_repositories property value. Whether of non-admin organization members can create repositories. **Note:** A parameter can override this parameter. See `members_allowed_repository_creation_type` in this table for details.
func (*ItemWithOrgPatchRequestBody) SetMembersCanForkPrivateRepositories ¶
func (m *ItemWithOrgPatchRequestBody) SetMembersCanForkPrivateRepositories(value *bool)
SetMembersCanForkPrivateRepositories sets the members_can_fork_private_repositories property value. Whether organization members can fork private organization repositories.
func (*ItemWithOrgPatchRequestBody) SetName ¶
func (m *ItemWithOrgPatchRequestBody) SetName(value *string)
SetName sets the name property value. The shorthand name of the company.
func (*ItemWithOrgPatchRequestBody) SetSecretScanningEnabledForNewRepositories ¶
func (m *ItemWithOrgPatchRequestBody) SetSecretScanningEnabledForNewRepositories(value *bool)
SetSecretScanningEnabledForNewRepositories sets the secret_scanning_enabled_for_new_repositories property value. Whether secret scanning is automatically enabled for new repositories.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.
func (*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.To use this parameter, you must have admin permissions for the repository or be an owner or security manager for the organization that owns the repository. For more information, see "[Managing security managers in your organization](https://docs.github.com/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."You can check which security and analysis features are currently enabled by using a `GET /orgs/{org}` request.
func (*ItemWithOrgPatchRequestBody) SetTwitterUsername ¶
func (m *ItemWithOrgPatchRequestBody) SetTwitterUsername(value *string)
SetTwitterUsername sets the twitter_username property value. The Twitter username of the company.
func (*ItemWithOrgPatchRequestBody) SetWebCommitSignoffRequired ¶
func (m *ItemWithOrgPatchRequestBody) SetWebCommitSignoffRequired(value *bool)
SetWebCommitSignoffRequired sets the web_commit_signoff_required property value. Whether contributors to organization repositories are required to sign off on commits they make through GitHub's web interface.
type ItemWithOrgPatchRequestBodyable ¶
type ItemWithOrgPatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAdvancedSecurityEnabledForNewRepositories() *bool GetBillingEmail() *string GetBlog() *string GetCompany() *string GetDependabotAlertsEnabledForNewRepositories() *bool GetDependabotSecurityUpdatesEnabledForNewRepositories() *bool GetDependencyGraphEnabledForNewRepositories() *bool GetDescription() *string GetEmail() *string GetHasOrganizationProjects() *bool GetHasRepositoryProjects() *bool GetLocation() *string GetMembersCanCreateInternalRepositories() *bool GetMembersCanCreatePages() *bool GetMembersCanCreatePrivatePages() *bool GetMembersCanCreatePrivateRepositories() *bool GetMembersCanCreatePublicPages() *bool GetMembersCanCreatePublicRepositories() *bool GetMembersCanCreateRepositories() *bool GetMembersCanForkPrivateRepositories() *bool GetName() *string GetSecretScanningEnabledForNewRepositories() *bool GetSecretScanningPushProtectionCustomLink() *string GetSecretScanningPushProtectionCustomLinkEnabled() *bool GetSecretScanningPushProtectionEnabledForNewRepositories() *bool GetTwitterUsername() *string GetWebCommitSignoffRequired() *bool SetAdvancedSecurityEnabledForNewRepositories(value *bool) SetBillingEmail(value *string) SetBlog(value *string) SetCompany(value *string) SetDependabotAlertsEnabledForNewRepositories(value *bool) SetDependabotSecurityUpdatesEnabledForNewRepositories(value *bool) SetDependencyGraphEnabledForNewRepositories(value *bool) SetDescription(value *string) SetEmail(value *string) SetHasOrganizationProjects(value *bool) SetHasRepositoryProjects(value *bool) SetLocation(value *string) SetMembersCanCreateInternalRepositories(value *bool) SetMembersCanCreatePages(value *bool) SetMembersCanCreatePrivatePages(value *bool) SetMembersCanCreatePrivateRepositories(value *bool) SetMembersCanCreatePublicPages(value *bool) SetMembersCanCreatePublicRepositories(value *bool) SetMembersCanCreateRepositories(value *bool) SetMembersCanForkPrivateRepositories(value *bool) SetName(value *string) SetSecretScanningEnabledForNewRepositories(value *bool) SetSecretScanningPushProtectionCustomLink(value *string) SetSecretScanningPushProtectionCustomLinkEnabled(value *bool) SetSecretScanningPushProtectionEnabledForNewRepositories(value *bool) SetTwitterUsername(value *string) SetWebCommitSignoffRequired(value *bool) }
ItemWithOrgPatchRequestBodyable
type ItemWithOrgResponse ¶
type ItemWithOrgResponse struct {
ItemWithOrgDeleteResponse
}
ItemWithOrgResponse Deprecated: This class is obsolete. Use WithOrgDeleteResponse instead.
func NewItemWithOrgResponse ¶
func NewItemWithOrgResponse() *ItemWithOrgResponse
NewItemWithOrgResponse instantiates a new ItemWithOrgResponse and sets the default values.
type ItemWithOrgResponseable ¶
type ItemWithOrgResponseable interface { ItemWithOrgDeleteResponseable i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable }
ItemWithOrgResponseable Deprecated: This class is obsolete. Use WithOrgDeleteResponse instead.
type ItemWithSecurity_productItemRequestBuilder ¶
type ItemWithSecurity_productItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemWithSecurity_productItemRequestBuilder builds and executes requests for operations under \orgs\{org}\{security_product}
func NewItemWithSecurity_productItemRequestBuilder ¶
func NewItemWithSecurity_productItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemWithSecurity_productItemRequestBuilder
NewItemWithSecurity_productItemRequestBuilder instantiates a new WithSecurity_productItemRequestBuilder and sets the default values.
func NewItemWithSecurity_productItemRequestBuilderInternal ¶
func NewItemWithSecurity_productItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemWithSecurity_productItemRequestBuilder
NewItemWithSecurity_productItemRequestBuilderInternal instantiates a new WithSecurity_productItemRequestBuilder and sets the default values.
func (*ItemWithSecurity_productItemRequestBuilder) ByEnablement ¶
func (m *ItemWithSecurity_productItemRequestBuilder) ByEnablement(enablement string) *ItemItemWithEnablementItemRequestBuilder
ByEnablement gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.item.item collection
type OrganizationFull422Error ¶
type OrganizationFull422Error struct {
// contains filtered or unexported fields
}
OrganizationFull422Error composed type wrapper for classes validationError, validationErrorSimple
func NewOrganizationFull422Error ¶
func NewOrganizationFull422Error() *OrganizationFull422Error
NewOrganizationFull422Error instantiates a new organizationFull422Error and sets the default values.
func (*OrganizationFull422Error) GetFieldDeserializers ¶
func (m *OrganizationFull422Error) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model
func (*OrganizationFull422Error) GetIsComposedType ¶
func (m *OrganizationFull422Error) GetIsComposedType() bool
GetIsComposedType determines if the current object is a wrapper around a composed type
func (*OrganizationFull422Error) GetValidationError ¶
func (m *OrganizationFull422Error) GetValidationError() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ValidationErrorable
GetValidationError gets the validationError property value. Composed type representation for type validationError
func (*OrganizationFull422Error) GetValidationErrorSimple ¶
func (m *OrganizationFull422Error) GetValidationErrorSimple() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ValidationErrorSimpleable
GetValidationErrorSimple gets the validationErrorSimple property value. Composed type representation for type validationErrorSimple
func (*OrganizationFull422Error) Serialize ¶
func (m *OrganizationFull422Error) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*OrganizationFull422Error) SetValidationError ¶
func (m *OrganizationFull422Error) SetValidationError(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ValidationErrorable)
SetValidationError sets the validationError property value. Composed type representation for type validationError
func (*OrganizationFull422Error) SetValidationErrorSimple ¶
func (m *OrganizationFull422Error) SetValidationErrorSimple(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ValidationErrorSimpleable)
SetValidationErrorSimple sets the validationErrorSimple property value. Composed type representation for type validationErrorSimple
type OrganizationFull422Errorable ¶
type OrganizationFull422Errorable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetValidationError() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ValidationErrorable GetValidationErrorSimple() i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ValidationErrorSimpleable SetValidationError(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ValidationErrorable) SetValidationErrorSimple(value i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.ValidationErrorSimpleable) }
OrganizationFull422Errorable
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/pkg/github/.orgs.item collection
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
func (*WithOrgItemRequestBuilder) Blocks ¶
func (m *WithOrgItemRequestBuilder) Blocks() *ItemBlocksRequestBuilder
Blocks the blocks property
func (*WithOrgItemRequestBuilder) BySecurity_product ¶
func (m *WithOrgItemRequestBuilder) BySecurity_product(security_product string) *ItemWithSecurity_productItemRequestBuilder
BySecurity_product gets an item from the github.com/octokit/go-sdk/pkg/github/.orgs.item.item collection
func (*WithOrgItemRequestBuilder) CodeScanning ¶
func (m *WithOrgItemRequestBuilder) CodeScanning() *ItemCodeScanningRequestBuilder
CodeScanning the codeScanning property
func (*WithOrgItemRequestBuilder) Codespaces ¶
func (m *WithOrgItemRequestBuilder) Codespaces() *ItemCodespacesRequestBuilder
Codespaces the codespaces property
func (*WithOrgItemRequestBuilder) Copilot ¶
func (m *WithOrgItemRequestBuilder) Copilot() *ItemCopilotRequestBuilder
Copilot the copilot property
func (*WithOrgItemRequestBuilder) Delete ¶
func (m *WithOrgItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *WithOrgItemRequestBuilderDeleteRequestConfiguration) (ItemWithOrgResponseable, 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/site-policy/github-terms/github-terms-of-service Deprecated: This method is obsolete. Use DeleteAsWithOrgDeleteResponse instead. API method documentation
func (*WithOrgItemRequestBuilder) DeleteAsWithOrgDeleteResponse ¶
func (m *WithOrgItemRequestBuilder) DeleteAsWithOrgDeleteResponse(ctx context.Context, requestConfiguration *WithOrgItemRequestBuilderDeleteRequestConfiguration) (ItemWithOrgDeleteResponseable, error)
DeleteAsWithOrgDeleteResponse deletes an organization and all its repositories.The organization login will be unavailable for 90 days after deletion.Please review the Terms of Service regarding account deletion before using this endpoint:https://docs.github.com/site-policy/github-terms/github-terms-of-service API method documentation
func (*WithOrgItemRequestBuilder) Dependabot ¶
func (m *WithOrgItemRequestBuilder) Dependabot() *ItemDependabotRequestBuilder
Dependabot the dependabot property
func (*WithOrgItemRequestBuilder) Docker ¶
func (m *WithOrgItemRequestBuilder) Docker() *ItemDockerRequestBuilder
Docker the docker property
func (*WithOrgItemRequestBuilder) Events ¶
func (m *WithOrgItemRequestBuilder) Events() *ItemEventsRequestBuilder
Events the events property
func (*WithOrgItemRequestBuilder) Failed_invitations ¶
func (m *WithOrgItemRequestBuilder) Failed_invitations() *ItemFailed_invitationsRequestBuilder
Failed_invitations the failed_invitations property
func (*WithOrgItemRequestBuilder) Get ¶
func (m *WithOrgItemRequestBuilder) Get(ctx context.Context, requestConfiguration *WithOrgItemRequestBuilderGetRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationFullable, error)
Get to see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).GitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub plan. See "[Authenticating with GitHub Apps](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/)" for details. For an example response, see 'Response with GitHub plan information' below." API method documentation
func (*WithOrgItemRequestBuilder) Hooks ¶
func (m *WithOrgItemRequestBuilder) Hooks() *ItemHooksRequestBuilder
Hooks the hooks property
func (*WithOrgItemRequestBuilder) Installation ¶
func (m *WithOrgItemRequestBuilder) Installation() *ItemInstallationRequestBuilder
Installation the installation property
func (*WithOrgItemRequestBuilder) Installations ¶
func (m *WithOrgItemRequestBuilder) Installations() *ItemInstallationsRequestBuilder
Installations the installations property
func (*WithOrgItemRequestBuilder) InteractionLimits ¶
func (m *WithOrgItemRequestBuilder) InteractionLimits() *ItemInteractionLimitsRequestBuilder
InteractionLimits the interactionLimits property
func (*WithOrgItemRequestBuilder) Invitations ¶
func (m *WithOrgItemRequestBuilder) Invitations() *ItemInvitationsRequestBuilder
Invitations the invitations property
func (*WithOrgItemRequestBuilder) Issues ¶
func (m *WithOrgItemRequestBuilder) Issues() *ItemIssuesRequestBuilder
Issues the issues property
func (*WithOrgItemRequestBuilder) Members ¶
func (m *WithOrgItemRequestBuilder) Members() *ItemMembersRequestBuilder
Members the members property
func (*WithOrgItemRequestBuilder) Memberships ¶
func (m *WithOrgItemRequestBuilder) Memberships() *ItemMembershipsRequestBuilder
Memberships the memberships property
func (*WithOrgItemRequestBuilder) Migrations ¶
func (m *WithOrgItemRequestBuilder) Migrations() *ItemMigrationsRequestBuilder
Migrations the migrations property
func (*WithOrgItemRequestBuilder) OrganizationFineGrainedPermissions ¶
func (m *WithOrgItemRequestBuilder) OrganizationFineGrainedPermissions() *ItemOrganizationFineGrainedPermissionsRequestBuilder
OrganizationFineGrainedPermissions the organizationFineGrainedPermissions property
func (*WithOrgItemRequestBuilder) OrganizationRoles ¶
func (m *WithOrgItemRequestBuilder) OrganizationRoles() *ItemOrganizationRolesRequestBuilder
OrganizationRoles the organizationRoles property
func (*WithOrgItemRequestBuilder) Outside_collaborators ¶
func (m *WithOrgItemRequestBuilder) Outside_collaborators() *ItemOutside_collaboratorsRequestBuilder
Outside_collaborators the outside_collaborators property
func (*WithOrgItemRequestBuilder) Packages ¶
func (m *WithOrgItemRequestBuilder) Packages() *ItemPackagesRequestBuilder
Packages the packages property
func (*WithOrgItemRequestBuilder) Patch ¶
func (m *WithOrgItemRequestBuilder) Patch(ctx context.Context, body ItemWithOrgPatchRequestBodyable, requestConfiguration *WithOrgItemRequestBuilderPatchRequestConfiguration) (i59ea7d99994c6a4bb9ef742ed717844297d055c7fd3742131406eea67a6404b6.OrganizationFullable, error)
Patch **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).Enables an authenticated organization owner with the `admin:org` scope or the `repo` scope to update the organization's profile and member privileges. API method documentation
func (*WithOrgItemRequestBuilder) PersonalAccessTokenRequests ¶
func (m *WithOrgItemRequestBuilder) PersonalAccessTokenRequests() *ItemPersonalAccessTokenRequestsRequestBuilder
PersonalAccessTokenRequests the personalAccessTokenRequests property
func (*WithOrgItemRequestBuilder) PersonalAccessTokens ¶
func (m *WithOrgItemRequestBuilder) PersonalAccessTokens() *ItemPersonalAccessTokensRequestBuilder
PersonalAccessTokens the personalAccessTokens property
func (*WithOrgItemRequestBuilder) Projects ¶
func (m *WithOrgItemRequestBuilder) Projects() *ItemProjectsRequestBuilder
Projects the projects property
func (*WithOrgItemRequestBuilder) Properties ¶
func (m *WithOrgItemRequestBuilder) Properties() *ItemPropertiesRequestBuilder
Properties the properties property
func (*WithOrgItemRequestBuilder) Public_members ¶
func (m *WithOrgItemRequestBuilder) Public_members() *ItemPublic_membersRequestBuilder
Public_members the public_members property
func (*WithOrgItemRequestBuilder) Repos ¶
func (m *WithOrgItemRequestBuilder) Repos() *ItemReposRequestBuilder
Repos the repos property
func (*WithOrgItemRequestBuilder) Rulesets ¶
func (m *WithOrgItemRequestBuilder) Rulesets() *ItemRulesetsRequestBuilder
Rulesets the rulesets property
func (*WithOrgItemRequestBuilder) SecretScanning ¶
func (m *WithOrgItemRequestBuilder) SecretScanning() *ItemSecretScanningRequestBuilder
SecretScanning the secretScanning property
func (*WithOrgItemRequestBuilder) SecurityAdvisories ¶
func (m *WithOrgItemRequestBuilder) SecurityAdvisories() *ItemSecurityAdvisoriesRequestBuilder
SecurityAdvisories the securityAdvisories property
func (*WithOrgItemRequestBuilder) SecurityManagers ¶
func (m *WithOrgItemRequestBuilder) SecurityManagers() *ItemSecurityManagersRequestBuilder
SecurityManagers the securityManagers property
func (*WithOrgItemRequestBuilder) Settings ¶
func (m *WithOrgItemRequestBuilder) Settings() *ItemSettingsRequestBuilder
Settings the settings property
func (*WithOrgItemRequestBuilder) Teams ¶
func (m *WithOrgItemRequestBuilder) Teams() *ItemTeamsRequestBuilder
Teams the teams property
func (*WithOrgItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *WithOrgItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *WithOrgItemRequestBuilderDeleteRequestConfiguration) (*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/site-policy/github-terms/github-terms-of-service
func (*WithOrgItemRequestBuilder) ToGetRequestInformation ¶
func (m *WithOrgItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *WithOrgItemRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation to see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://docs.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).GitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub plan. See "[Authenticating with GitHub Apps](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/)" for details. For an example response, see 'Response with GitHub plan information' below."
func (*WithOrgItemRequestBuilder) ToPatchRequestInformation ¶
func (m *WithOrgItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemWithOrgPatchRequestBodyable, requestConfiguration *WithOrgItemRequestBuilderPatchRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation **Parameter Deprecation Notice:** GitHub will replace and discontinue `members_allowed_repository_creation_type` in favor of more granular permissions. The new input parameters are `members_can_create_public_repositories`, `members_can_create_private_repositories` for all organizations and `members_can_create_internal_repositories` for organizations associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+. For more information, see the [blog post](https://developer.github.com/changes/2019-12-03-internal-visibility-changes).Enables an authenticated organization owner with the `admin:org` scope or the `repo` scope to update the organization's profile and member privileges.
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.
type WithOrgItemRequestBuilderDeleteRequestConfiguration ¶
type WithOrgItemRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
WithOrgItemRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type WithOrgItemRequestBuilderGetRequestConfiguration ¶
type WithOrgItemRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
WithOrgItemRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type WithOrgItemRequestBuilderPatchRequestConfiguration ¶
type WithOrgItemRequestBuilderPatchRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
WithOrgItemRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
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_by_repository_response.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_response.go
- item_actions_permissions_repositories_with_repository_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_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_generate_jitconfig_response.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_item_with_name_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_response.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_response.go
- item_actions_runners_with_runner_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_response.go
- item_actions_secrets_item_repositories_with_repository_item_request_builder.go
- item_actions_secrets_item_with_secret_name_put_request_body.go
- item_actions_secrets_public_key_request_builder.go
- item_actions_secrets_request_builder.go
- item_actions_secrets_response.go
- item_actions_secrets_with_secret_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_response.go
- item_actions_variables_item_repositories_with_repository_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_response.go
- item_actions_variables_with_name_item_request_builder.go
- item_blocks_request_builder.go
- item_blocks_with_username_item_request_builder.go
- item_code_scanning_alerts_request_builder.go
- item_code_scanning_request_builder.go
- item_codespaces_access_put_request_body.go
- item_codespaces_access_request_builder.go
- item_codespaces_access_selected_users_delete_request_body.go
- item_codespaces_access_selected_users_post_request_body.go
- item_codespaces_access_selected_users_request_builder.go
- item_codespaces_get_response.go
- item_codespaces_request_builder.go
- item_codespaces_response.go
- item_codespaces_secrets_get_response.go
- item_codespaces_secrets_item_repositories_get_response.go
- item_codespaces_secrets_item_repositories_put_request_body.go
- item_codespaces_secrets_item_repositories_request_builder.go
- item_codespaces_secrets_item_repositories_response.go
- item_codespaces_secrets_item_repositories_with_repository_item_request_builder.go
- item_codespaces_secrets_item_with_secret_name_put_request_body.go
- item_codespaces_secrets_public_key_request_builder.go
- item_codespaces_secrets_request_builder.go
- item_codespaces_secrets_response.go
- item_codespaces_secrets_with_secret_name_item_request_builder.go
- item_copilot_billing_request_builder.go
- item_copilot_billing_seats_get_response.go
- item_copilot_billing_seats_request_builder.go
- item_copilot_billing_seats_response.go
- item_copilot_billing_selected_teams_delete_request_body.go
- item_copilot_billing_selected_teams_delete_response.go
- item_copilot_billing_selected_teams_post_request_body.go
- item_copilot_billing_selected_teams_post_response.go
- item_copilot_billing_selected_teams_request_builder.go
- item_copilot_billing_selected_teams_response.go
- item_copilot_billing_selected_users_delete_request_body.go
- item_copilot_billing_selected_users_delete_response.go
- item_copilot_billing_selected_users_post_request_body.go
- item_copilot_billing_selected_users_post_response.go
- item_copilot_billing_selected_users_request_builder.go
- item_copilot_billing_selected_users_response.go
- item_copilot_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_response.go
- item_dependabot_secrets_item_repositories_with_repository_item_request_builder.go
- item_dependabot_secrets_item_with_secret_name_put_request_body.go
- item_dependabot_secrets_public_key_request_builder.go
- item_dependabot_secrets_request_builder.go
- item_dependabot_secrets_response.go
- item_dependabot_secrets_with_secret_name_item_request_builder.go
- item_docker_conflicts_request_builder.go
- item_docker_request_builder.go
- item_events_request_builder.go
- item_failed_invitations_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_item_attempts_response.go
- item_hooks_item_deliveries_request_builder.go
- item_hooks_item_deliveries_with_delivery_item_request_builder.go
- item_hooks_item_pings_request_builder.go
- item_hooks_item_with_hook_patch_request_body.go
- item_hooks_item_with_hook_patch_request_body_config.go
- item_hooks_post_request_body.go
- item_hooks_post_request_body_config.go
- item_hooks_request_builder.go
- item_hooks_with_hook_item_request_builder.go
- item_installation_request_builder.go
- item_installations_get_response.go
- item_installations_request_builder.go
- item_installations_response.go
- item_interaction_limits_get_response_member1.go
- item_interaction_limits_request_builder.go
- item_invitations_item_teams_request_builder.go
- item_invitations_post_request_body.go
- item_invitations_request_builder.go
- item_invitations_with_invitation_item_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_item_codespaces_get_response.go
- item_members_item_codespaces_item_stop_request_builder.go
- item_members_item_codespaces_item_with_codespace_name_delete_response.go
- item_members_item_codespaces_item_with_codespace_name_response.go
- item_members_item_codespaces_request_builder.go
- item_members_item_codespaces_response.go
- item_members_item_codespaces_with_codespace_name_item_request_builder.go
- item_members_item_copilot_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_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_item_request_builder.go
- item_organization_fine_grained_permissions_request_builder.go
- item_organization_roles_get_response.go
- item_organization_roles_item_teams_request_builder.go
- item_organization_roles_item_users_request_builder.go
- item_organization_roles_item_with_role_patch_request_body.go
- item_organization_roles_post_request_body.go
- item_organization_roles_request_builder.go
- item_organization_roles_response.go
- item_organization_roles_teams_item_with_role_item_request_builder.go
- item_organization_roles_teams_request_builder.go
- item_organization_roles_teams_with_team_slug_item_request_builder.go
- item_organization_roles_users_item_with_role_item_request_builder.go
- item_organization_roles_users_request_builder.go
- item_organization_roles_users_with_username_item_request_builder.go
- item_organization_roles_with_role_item_request_builder.go
- item_outside_collaborators_item_with_username422_error.go
- item_outside_collaborators_item_with_username_put_request_body.go
- item_outside_collaborators_item_with_username_put_response.go
- item_outside_collaborators_item_with_username_response.go
- item_outside_collaborators_request_builder.go
- item_outside_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_version_item_request_builder.go
- item_packages_item_with_package_name_item_request_builder.go
- item_packages_request_builder.go
- item_packages_with_package_type_item_request_builder.go
- item_personal_access_token_requests_item_repositories_request_builder.go
- item_personal_access_token_requests_item_with_pat_request_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_response.go
- item_personal_access_token_requests_with_pat_request_item_request_builder.go
- item_personal_access_tokens_item_repositories_request_builder.go
- item_personal_access_tokens_item_with_pat_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_response.go
- item_personal_access_tokens_with_pat_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_property_name_put_request_body.go
- item_properties_schema_patch_request_body.go
- item_properties_schema_request_builder.go
- item_properties_schema_with_custom_property_name_item_request_builder.go
- item_properties_values_patch_request_body.go
- item_properties_values_request_builder.go
- item_public_members_request_builder.go
- item_public_members_with_username_item_request_builder.go
- item_repos_post_request_body.go
- item_repos_post_request_body_custom_properties.go
- item_repos_request_builder.go
- item_rulesets_item_with_ruleset_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_suite_item_request_builder.go
- item_rulesets_with_ruleset_item_request_builder.go
- item_secret_scanning_alerts_request_builder.go
- item_secret_scanning_request_builder.go
- item_security_advisories_request_builder.go
- item_security_managers_request_builder.go
- item_security_managers_teams_request_builder.go
- item_security_managers_teams_with_team_slug_item_request_builder.go
- item_settings_billing_actions_request_builder.go
- item_settings_billing_packages_request_builder.go
- item_settings_billing_request_builder.go
- item_settings_billing_shared_storage_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_item_request_builder.go
- item_teams_item_discussions_item_comments_item_with_comment_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_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_item_request_builder.go
- item_teams_item_discussions_item_with_discussion_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_number_item_request_builder.go
- item_teams_item_invitations_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_403_error.go
- item_teams_item_projects_item_with_project_put_request_body.go
- item_teams_item_projects_request_builder.go
- item_teams_item_projects_with_project_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_slug_patch_request_body.go
- item_teams_post_request_body.go
- item_teams_request_builder.go
- item_teams_with_team_slug_item_request_builder.go
- item_with_org_delete_response.go
- item_with_org_patch_request_body.go
- item_with_org_response.go
- item_with_security_product_item_request_builder.go
- orgs_request_builder.go
- with_org_item_request_builder.go