enterprises

package
v0.0.5-GHES.3.11 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateItemActionsPermissionsOrganizationsGetResponseFromDiscriminatorValue

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

func CreateItemActionsPermissionsOrganizationsPutRequestBodyFromDiscriminatorValue

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

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

func CreateItemActionsPermissionsPutRequestBodyFromDiscriminatorValue

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

func CreateItemActionsRunnerGroupsGetResponseFromDiscriminatorValue

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

func CreateItemActionsRunnerGroupsItemOrganizationsGetResponseFromDiscriminatorValue

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

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

func CreateItemActionsRunnerGroupsItemOrganizationsPutRequestBodyFromDiscriminatorValue

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

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

func CreateItemActionsRunnerGroupsItemRunnersGetResponseFromDiscriminatorValue

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

func CreateItemActionsRunnerGroupsItemRunnersPutRequestBodyFromDiscriminatorValue

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

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

func CreateItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBodyFromDiscriminatorValue

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

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

func CreateItemActionsRunnerGroupsPostRequestBodyFromDiscriminatorValue

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

func CreateItemActionsRunnersGenerateJitconfigPostRequestBodyFromDiscriminatorValue

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

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

func CreateItemActionsRunnersGenerateJitconfigPostResponseFromDiscriminatorValue

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

func CreateItemActionsRunnersGetResponseFromDiscriminatorValue

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

func CreateItemActionsRunnersItemLabelsDeleteResponseFromDiscriminatorValue

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

func CreateItemActionsRunnersItemLabelsGetResponseFromDiscriminatorValue

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

func CreateItemActionsRunnersItemLabelsItemWithNameDeleteResponseFromDiscriminatorValue

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

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

func CreateItemActionsRunnersItemLabelsPostRequestBodyFromDiscriminatorValue

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

func CreateItemActionsRunnersItemLabelsPostResponseFromDiscriminatorValue

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

func CreateItemActionsRunnersItemLabelsPutRequestBodyFromDiscriminatorValue

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

func CreateItemActionsRunnersItemLabelsPutResponseFromDiscriminatorValue

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

func CreateItemCode_security_and_analysisPatchRequestBodyFromDiscriminatorValue

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

Types

type EnterprisesRequestBuilder

EnterprisesRequestBuilder builds and executes requests for operations under \enterprises

func NewEnterprisesRequestBuilder

NewEnterprisesRequestBuilder instantiates a new EnterprisesRequestBuilder and sets the default values.

func NewEnterprisesRequestBuilderInternal

func NewEnterprisesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *EnterprisesRequestBuilder

NewEnterprisesRequestBuilderInternal instantiates a new EnterprisesRequestBuilder and sets the default values.

func (*EnterprisesRequestBuilder) ByEnterprise

ByEnterprise gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.enterprises.item collection returns a *WithEnterpriseItemRequestBuilder when successful

type ItemActionsCacheRequestBuilder

ItemActionsCacheRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\cache

func NewItemActionsCacheRequestBuilder

NewItemActionsCacheRequestBuilder instantiates a new ItemActionsCacheRequestBuilder and sets the default values.

func NewItemActionsCacheRequestBuilderInternal

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

NewItemActionsCacheRequestBuilderInternal instantiates a new ItemActionsCacheRequestBuilder and sets the default values.

func (*ItemActionsCacheRequestBuilder) Usage

Usage the usage property returns a *ItemActionsCacheUsageRequestBuilder when successful

func (*ItemActionsCacheRequestBuilder) UsagePolicy

UsagePolicy the usagePolicy property returns a *ItemActionsCacheUsagePolicyRequestBuilder when successful

type ItemActionsCacheUsagePolicyRequestBuilder

type ItemActionsCacheUsagePolicyRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsCacheUsagePolicyRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\cache\usage-policy

func NewItemActionsCacheUsagePolicyRequestBuilder

NewItemActionsCacheUsagePolicyRequestBuilder instantiates a new ItemActionsCacheUsagePolicyRequestBuilder and sets the default values.

func NewItemActionsCacheUsagePolicyRequestBuilderInternal

func NewItemActionsCacheUsagePolicyRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsCacheUsagePolicyRequestBuilder

NewItemActionsCacheUsagePolicyRequestBuilderInternal instantiates a new ItemActionsCacheUsagePolicyRequestBuilder and sets the default values.

func (*ItemActionsCacheUsagePolicyRequestBuilder) Get

Get gets the GitHub Actions cache usage policy for an enterprise.OAuth tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. returns a ActionsCacheUsagePolicyEnterpriseable when successful API method documentation

func (*ItemActionsCacheUsagePolicyRequestBuilder) Patch

Patch sets the GitHub Actions cache usage policy for an enterprise.OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. API method documentation

func (*ItemActionsCacheUsagePolicyRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets the GitHub Actions cache usage policy for an enterprise.OAuth tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsCacheUsagePolicyRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation sets the GitHub Actions cache usage policy for an enterprise.OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsCacheUsagePolicyRequestBuilder) WithUrl

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

type ItemActionsCacheUsageRequestBuilder

ItemActionsCacheUsageRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\cache\usage

func NewItemActionsCacheUsageRequestBuilder

NewItemActionsCacheUsageRequestBuilder instantiates a new ItemActionsCacheUsageRequestBuilder and sets the default values.

func NewItemActionsCacheUsageRequestBuilderInternal

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

NewItemActionsCacheUsageRequestBuilderInternal instantiates a new ItemActionsCacheUsageRequestBuilder and sets the default values.

func (*ItemActionsCacheUsageRequestBuilder) Get

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

func (*ItemActionsCacheUsageRequestBuilder) ToGetRequestInformation

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

func (*ItemActionsCacheUsageRequestBuilder) WithUrl

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

type ItemActionsPermissionsOrganizationsGetResponse

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

func NewItemActionsPermissionsOrganizationsGetResponse

func NewItemActionsPermissionsOrganizationsGetResponse() *ItemActionsPermissionsOrganizationsGetResponse

NewItemActionsPermissionsOrganizationsGetResponse instantiates a new ItemActionsPermissionsOrganizationsGetResponse and sets the default values.

func (*ItemActionsPermissionsOrganizationsGetResponse) GetAdditionalData

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

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

func (*ItemActionsPermissionsOrganizationsGetResponse) GetFieldDeserializers

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

func (*ItemActionsPermissionsOrganizationsGetResponse) GetOrganizations

GetOrganizations gets the organizations property value. The organizations property returns a []OrganizationSimpleable when successful

func (*ItemActionsPermissionsOrganizationsGetResponse) GetTotalCount

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

func (*ItemActionsPermissionsOrganizationsGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsPermissionsOrganizationsGetResponse) SetAdditionalData

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

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

func (*ItemActionsPermissionsOrganizationsGetResponse) SetOrganizations

SetOrganizations sets the organizations property value. The organizations property

func (*ItemActionsPermissionsOrganizationsGetResponse) SetTotalCount

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsPermissionsOrganizationsPutRequestBody

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

func NewItemActionsPermissionsOrganizationsPutRequestBody

func NewItemActionsPermissionsOrganizationsPutRequestBody() *ItemActionsPermissionsOrganizationsPutRequestBody

NewItemActionsPermissionsOrganizationsPutRequestBody instantiates a new ItemActionsPermissionsOrganizationsPutRequestBody and sets the default values.

func (*ItemActionsPermissionsOrganizationsPutRequestBody) GetAdditionalData

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

func (*ItemActionsPermissionsOrganizationsPutRequestBody) GetFieldDeserializers

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

func (*ItemActionsPermissionsOrganizationsPutRequestBody) GetSelectedOrganizationIds

func (m *ItemActionsPermissionsOrganizationsPutRequestBody) GetSelectedOrganizationIds() []int32

GetSelectedOrganizationIds gets the selected_organization_ids property value. List of organization IDs to enable for GitHub Actions. returns a []int32 when successful

func (*ItemActionsPermissionsOrganizationsPutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsPermissionsOrganizationsPutRequestBody) SetAdditionalData

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

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

func (*ItemActionsPermissionsOrganizationsPutRequestBody) SetSelectedOrganizationIds

func (m *ItemActionsPermissionsOrganizationsPutRequestBody) SetSelectedOrganizationIds(value []int32)

SetSelectedOrganizationIds sets the selected_organization_ids property value. List of organization IDs to enable for GitHub Actions.

type ItemActionsPermissionsOrganizationsPutRequestBodyable

type ItemActionsPermissionsOrganizationsPutRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetSelectedOrganizationIds() []int32
	SetSelectedOrganizationIds(value []int32)
}

type ItemActionsPermissionsOrganizationsRequestBuilder

type ItemActionsPermissionsOrganizationsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsPermissionsOrganizationsRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\permissions\organizations

func NewItemActionsPermissionsOrganizationsRequestBuilder

NewItemActionsPermissionsOrganizationsRequestBuilder instantiates a new ItemActionsPermissionsOrganizationsRequestBuilder and sets the default values.

func NewItemActionsPermissionsOrganizationsRequestBuilderInternal

func NewItemActionsPermissionsOrganizationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsOrganizationsRequestBuilder

NewItemActionsPermissionsOrganizationsRequestBuilderInternal instantiates a new ItemActionsPermissionsOrganizationsRequestBuilder and sets the default values.

func (*ItemActionsPermissionsOrganizationsRequestBuilder) ByOrg_id

ByOrg_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.enterprises.item.actions.permissions.organizations.item collection returns a *ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder when successful

func (*ItemActionsPermissionsOrganizationsRequestBuilder) Get

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

func (*ItemActionsPermissionsOrganizationsRequestBuilder) Put

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

func (*ItemActionsPermissionsOrganizationsRequestBuilder) ToGetRequestInformation

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

func (*ItemActionsPermissionsOrganizationsRequestBuilder) ToPutRequestInformation

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

func (*ItemActionsPermissionsOrganizationsRequestBuilder) WithUrl

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

type ItemActionsPermissionsOrganizationsRequestBuilderGetQueryParameters

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

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

type ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder

type ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\permissions\organizations\{org_id}

func NewItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder

func NewItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder

NewItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder instantiates a new ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder and sets the default values.

func NewItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilderInternal

func NewItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder

NewItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilderInternal instantiates a new ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder and sets the default values.

func (*ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder) Delete

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

func (*ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder) Put

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

func (*ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder) ToDeleteRequestInformation

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

func (*ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder) ToPutRequestInformation

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

func (*ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder) WithUrl

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

type ItemActionsPermissionsPutRequestBody

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

func NewItemActionsPermissionsPutRequestBody

func NewItemActionsPermissionsPutRequestBody() *ItemActionsPermissionsPutRequestBody

NewItemActionsPermissionsPutRequestBody instantiates a new ItemActionsPermissionsPutRequestBody and sets the default values.

func (*ItemActionsPermissionsPutRequestBody) GetAdditionalData

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

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

func (*ItemActionsPermissionsPutRequestBody) GetAllowedActions

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

func (*ItemActionsPermissionsPutRequestBody) GetEnabledOrganizations

GetEnabledOrganizations gets the enabled_organizations property value. The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions. returns a *EnabledOrganizations when successful

func (*ItemActionsPermissionsPutRequestBody) GetFieldDeserializers

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

func (*ItemActionsPermissionsPutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsPermissionsPutRequestBody) SetAdditionalData

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

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

func (*ItemActionsPermissionsPutRequestBody) SetAllowedActions

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

func (*ItemActionsPermissionsPutRequestBody) SetEnabledOrganizations

SetEnabledOrganizations sets the enabled_organizations property value. The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions.

type ItemActionsPermissionsRequestBuilder

type ItemActionsPermissionsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsPermissionsRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\permissions

func NewItemActionsPermissionsRequestBuilder

NewItemActionsPermissionsRequestBuilder instantiates a new ItemActionsPermissionsRequestBuilder and sets the default values.

func NewItemActionsPermissionsRequestBuilderInternal

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

NewItemActionsPermissionsRequestBuilderInternal instantiates a new ItemActionsPermissionsRequestBuilder and sets the default values.

func (*ItemActionsPermissionsRequestBuilder) Get

Get gets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. returns a ActionsEnterprisePermissionsable when successful API method documentation

func (*ItemActionsPermissionsRequestBuilder) Organizations

Organizations the organizations property returns a *ItemActionsPermissionsOrganizationsRequestBuilder when successful

func (*ItemActionsPermissionsRequestBuilder) Put

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

func (*ItemActionsPermissionsRequestBuilder) SelectedActions

SelectedActions the selectedActions property returns a *ItemActionsPermissionsSelectedActionsRequestBuilder when successful

func (*ItemActionsPermissionsRequestBuilder) ToGetRequestInformation

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

func (*ItemActionsPermissionsRequestBuilder) ToPutRequestInformation

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

func (*ItemActionsPermissionsRequestBuilder) WithUrl

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

func (*ItemActionsPermissionsRequestBuilder) Workflow

Workflow the workflow property returns a *ItemActionsPermissionsWorkflowRequestBuilder when successful

type ItemActionsPermissionsSelectedActionsRequestBuilder

type ItemActionsPermissionsSelectedActionsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsPermissionsSelectedActionsRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\permissions\selected-actions

func NewItemActionsPermissionsSelectedActionsRequestBuilder

NewItemActionsPermissionsSelectedActionsRequestBuilder instantiates a new ItemActionsPermissionsSelectedActionsRequestBuilder and sets the default values.

func NewItemActionsPermissionsSelectedActionsRequestBuilderInternal

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

NewItemActionsPermissionsSelectedActionsRequestBuilderInternal instantiates a new ItemActionsPermissionsSelectedActionsRequestBuilder and sets the default values.

func (*ItemActionsPermissionsSelectedActionsRequestBuilder) Get

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

func (*ItemActionsPermissionsSelectedActionsRequestBuilder) Put

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

func (*ItemActionsPermissionsSelectedActionsRequestBuilder) ToGetRequestInformation

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

func (*ItemActionsPermissionsSelectedActionsRequestBuilder) ToPutRequestInformation

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

func (*ItemActionsPermissionsSelectedActionsRequestBuilder) WithUrl

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

type ItemActionsPermissionsWorkflowRequestBuilder

type ItemActionsPermissionsWorkflowRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsPermissionsWorkflowRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\permissions\workflow

func NewItemActionsPermissionsWorkflowRequestBuilder

NewItemActionsPermissionsWorkflowRequestBuilder instantiates a new ItemActionsPermissionsWorkflowRequestBuilder and sets the default values.

func NewItemActionsPermissionsWorkflowRequestBuilderInternal

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

NewItemActionsPermissionsWorkflowRequestBuilderInternal instantiates a new ItemActionsPermissionsWorkflowRequestBuilder and sets the default values.

func (*ItemActionsPermissionsWorkflowRequestBuilder) Get

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

func (*ItemActionsPermissionsWorkflowRequestBuilder) Put

Put sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an enterprise, and setswhether GitHub Actions can submit approving pull request reviews. For more information, see"[Enforcing a policy for workflow permissions in your enterprise](https://docs.github.com/enterprise-server@3.11/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise#enforcing-a-policy-for-workflow-permissions-in-your-enterprise)."OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. API method documentation

func (*ItemActionsPermissionsWorkflowRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an enterprise,as well as whether GitHub Actions can submit approving pull request reviews. For more information, see"[Enforcing a policy for workflow permissions in your enterprise](https://docs.github.com/enterprise-server@3.11/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise#enforcing-a-policy-for-workflow-permissions-in-your-enterprise)."OAuth tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsPermissionsWorkflowRequestBuilder) ToPutRequestInformation

ToPutRequestInformation sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an enterprise, and setswhether GitHub Actions can submit approving pull request reviews. For more information, see"[Enforcing a policy for workflow permissions in your enterprise](https://docs.github.com/enterprise-server@3.11/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise#enforcing-a-policy-for-workflow-permissions-in-your-enterprise)."OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsPermissionsWorkflowRequestBuilder) WithUrl

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

type ItemActionsRequestBuilder

ItemActionsRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions

func NewItemActionsRequestBuilder

NewItemActionsRequestBuilder instantiates a new ItemActionsRequestBuilder and sets the default values.

func NewItemActionsRequestBuilderInternal

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

NewItemActionsRequestBuilderInternal instantiates a new ItemActionsRequestBuilder and sets the default values.

func (*ItemActionsRequestBuilder) Cache

Cache the cache property returns a *ItemActionsCacheRequestBuilder when successful

func (*ItemActionsRequestBuilder) Permissions

Permissions the permissions property returns a *ItemActionsPermissionsRequestBuilder when successful

func (*ItemActionsRequestBuilder) RunnerGroups

RunnerGroups the runnerGroups property returns a *ItemActionsRunnerGroupsRequestBuilder when successful

func (*ItemActionsRequestBuilder) Runners

Runners the runners property returns a *ItemActionsRunnersRequestBuilder when successful

type ItemActionsRunnerGroupsGetResponse

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

func NewItemActionsRunnerGroupsGetResponse

func NewItemActionsRunnerGroupsGetResponse() *ItemActionsRunnerGroupsGetResponse

NewItemActionsRunnerGroupsGetResponse instantiates a new ItemActionsRunnerGroupsGetResponse and sets the default values.

func (*ItemActionsRunnerGroupsGetResponse) GetAdditionalData

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

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

func (*ItemActionsRunnerGroupsGetResponse) GetFieldDeserializers

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

func (*ItemActionsRunnerGroupsGetResponse) GetRunnerGroups

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

func (*ItemActionsRunnerGroupsGetResponse) GetTotalCount

func (m *ItemActionsRunnerGroupsGetResponse) GetTotalCount() *float64

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

func (*ItemActionsRunnerGroupsGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnerGroupsGetResponse) SetAdditionalData

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

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

func (*ItemActionsRunnerGroupsGetResponse) SetRunnerGroups

SetRunnerGroups sets the runner_groups property value. The runner_groups property

func (*ItemActionsRunnerGroupsGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsRunnerGroupsItemOrganizationsGetResponse

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

func NewItemActionsRunnerGroupsItemOrganizationsGetResponse

func NewItemActionsRunnerGroupsItemOrganizationsGetResponse() *ItemActionsRunnerGroupsItemOrganizationsGetResponse

NewItemActionsRunnerGroupsItemOrganizationsGetResponse instantiates a new ItemActionsRunnerGroupsItemOrganizationsGetResponse and sets the default values.

func (*ItemActionsRunnerGroupsItemOrganizationsGetResponse) GetAdditionalData

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

func (*ItemActionsRunnerGroupsItemOrganizationsGetResponse) GetFieldDeserializers

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

func (*ItemActionsRunnerGroupsItemOrganizationsGetResponse) GetOrganizations

GetOrganizations gets the organizations property value. The organizations property returns a []OrganizationSimpleable when successful

func (*ItemActionsRunnerGroupsItemOrganizationsGetResponse) GetTotalCount

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

func (*ItemActionsRunnerGroupsItemOrganizationsGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnerGroupsItemOrganizationsGetResponse) SetAdditionalData

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

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

func (*ItemActionsRunnerGroupsItemOrganizationsGetResponse) SetOrganizations

SetOrganizations sets the organizations property value. The organizations property

func (*ItemActionsRunnerGroupsItemOrganizationsGetResponse) SetTotalCount

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsRunnerGroupsItemOrganizationsPutRequestBody

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

func NewItemActionsRunnerGroupsItemOrganizationsPutRequestBody

func NewItemActionsRunnerGroupsItemOrganizationsPutRequestBody() *ItemActionsRunnerGroupsItemOrganizationsPutRequestBody

NewItemActionsRunnerGroupsItemOrganizationsPutRequestBody instantiates a new ItemActionsRunnerGroupsItemOrganizationsPutRequestBody and sets the default values.

func (*ItemActionsRunnerGroupsItemOrganizationsPutRequestBody) GetAdditionalData

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

func (*ItemActionsRunnerGroupsItemOrganizationsPutRequestBody) GetFieldDeserializers

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

func (*ItemActionsRunnerGroupsItemOrganizationsPutRequestBody) GetSelectedOrganizationIds

func (m *ItemActionsRunnerGroupsItemOrganizationsPutRequestBody) GetSelectedOrganizationIds() []int32

GetSelectedOrganizationIds gets the selected_organization_ids property value. List of organization IDs that can access the runner group. returns a []int32 when successful

func (*ItemActionsRunnerGroupsItemOrganizationsPutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnerGroupsItemOrganizationsPutRequestBody) SetAdditionalData

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

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

func (*ItemActionsRunnerGroupsItemOrganizationsPutRequestBody) SetSelectedOrganizationIds

func (m *ItemActionsRunnerGroupsItemOrganizationsPutRequestBody) SetSelectedOrganizationIds(value []int32)

SetSelectedOrganizationIds sets the selected_organization_ids property value. List of organization IDs that can access the runner group.

type ItemActionsRunnerGroupsItemOrganizationsPutRequestBodyable

type ItemActionsRunnerGroupsItemOrganizationsPutRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetSelectedOrganizationIds() []int32
	SetSelectedOrganizationIds(value []int32)
}

type ItemActionsRunnerGroupsItemOrganizationsRequestBuilder

type ItemActionsRunnerGroupsItemOrganizationsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsRunnerGroupsItemOrganizationsRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\runner-groups\{runner_group_id}\organizations

func NewItemActionsRunnerGroupsItemOrganizationsRequestBuilder

func NewItemActionsRunnerGroupsItemOrganizationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnerGroupsItemOrganizationsRequestBuilder

NewItemActionsRunnerGroupsItemOrganizationsRequestBuilder instantiates a new ItemActionsRunnerGroupsItemOrganizationsRequestBuilder and sets the default values.

func NewItemActionsRunnerGroupsItemOrganizationsRequestBuilderInternal

func NewItemActionsRunnerGroupsItemOrganizationsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnerGroupsItemOrganizationsRequestBuilder

NewItemActionsRunnerGroupsItemOrganizationsRequestBuilderInternal instantiates a new ItemActionsRunnerGroupsItemOrganizationsRequestBuilder and sets the default values.

func (*ItemActionsRunnerGroupsItemOrganizationsRequestBuilder) ByOrg_id

ByOrg_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.enterprises.item.actions.runnerGroups.item.organizations.item collection returns a *ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder when successful

func (*ItemActionsRunnerGroupsItemOrganizationsRequestBuilder) Get

Get lists the organizations with access to a self-hosted runner group.OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a ItemActionsRunnerGroupsItemOrganizationsGetResponseable when successful API method documentation

func (*ItemActionsRunnerGroupsItemOrganizationsRequestBuilder) Put

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

func (*ItemActionsRunnerGroupsItemOrganizationsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists the organizations with access to a self-hosted runner group.OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnerGroupsItemOrganizationsRequestBuilder) ToPutRequestInformation

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

func (*ItemActionsRunnerGroupsItemOrganizationsRequestBuilder) WithUrl

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

type ItemActionsRunnerGroupsItemOrganizationsRequestBuilderGetQueryParameters

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

ItemActionsRunnerGroupsItemOrganizationsRequestBuilderGetQueryParameters lists the organizations with access to a self-hosted runner group.OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.

type ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder

type ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\runner-groups\{runner_group_id}\organizations\{org_id}

func NewItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder

func NewItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder

NewItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder instantiates a new ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder and sets the default values.

func NewItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilderInternal

func NewItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder

NewItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilderInternal instantiates a new ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder and sets the default values.

func (*ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder) Delete

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

func (*ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder) Put

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

func (*ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder) ToDeleteRequestInformation

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

func (*ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder) ToPutRequestInformation

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

func (*ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder) WithUrl

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

type ItemActionsRunnerGroupsItemRunnersGetResponse

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

func NewItemActionsRunnerGroupsItemRunnersGetResponse

func NewItemActionsRunnerGroupsItemRunnersGetResponse() *ItemActionsRunnerGroupsItemRunnersGetResponse

NewItemActionsRunnerGroupsItemRunnersGetResponse instantiates a new ItemActionsRunnerGroupsItemRunnersGetResponse and sets the default values.

func (*ItemActionsRunnerGroupsItemRunnersGetResponse) GetAdditionalData

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

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

func (*ItemActionsRunnerGroupsItemRunnersGetResponse) GetFieldDeserializers

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

func (*ItemActionsRunnerGroupsItemRunnersGetResponse) GetRunners

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

func (*ItemActionsRunnerGroupsItemRunnersGetResponse) GetTotalCount

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

func (*ItemActionsRunnerGroupsItemRunnersGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnerGroupsItemRunnersGetResponse) SetAdditionalData

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

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

func (*ItemActionsRunnerGroupsItemRunnersGetResponse) SetRunners

SetRunners sets the runners property value. The runners property

func (*ItemActionsRunnerGroupsItemRunnersGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsRunnerGroupsItemRunnersPutRequestBody

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

func NewItemActionsRunnerGroupsItemRunnersPutRequestBody

func NewItemActionsRunnerGroupsItemRunnersPutRequestBody() *ItemActionsRunnerGroupsItemRunnersPutRequestBody

NewItemActionsRunnerGroupsItemRunnersPutRequestBody instantiates a new ItemActionsRunnerGroupsItemRunnersPutRequestBody and sets the default values.

func (*ItemActionsRunnerGroupsItemRunnersPutRequestBody) GetAdditionalData

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

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

func (*ItemActionsRunnerGroupsItemRunnersPutRequestBody) GetFieldDeserializers

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

func (*ItemActionsRunnerGroupsItemRunnersPutRequestBody) GetRunners

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

func (*ItemActionsRunnerGroupsItemRunnersPutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnerGroupsItemRunnersPutRequestBody) SetAdditionalData

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

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

func (*ItemActionsRunnerGroupsItemRunnersPutRequestBody) SetRunners

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

type ItemActionsRunnerGroupsItemRunnersRequestBuilder

type ItemActionsRunnerGroupsItemRunnersRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsRunnerGroupsItemRunnersRequestBuilder

NewItemActionsRunnerGroupsItemRunnersRequestBuilder instantiates a new ItemActionsRunnerGroupsItemRunnersRequestBuilder and sets the default values.

func NewItemActionsRunnerGroupsItemRunnersRequestBuilderInternal

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

NewItemActionsRunnerGroupsItemRunnersRequestBuilderInternal instantiates a new ItemActionsRunnerGroupsItemRunnersRequestBuilder and sets the default values.

func (*ItemActionsRunnerGroupsItemRunnersRequestBuilder) ByRunner_id

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

func (*ItemActionsRunnerGroupsItemRunnersRequestBuilder) Get

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

func (*ItemActionsRunnerGroupsItemRunnersRequestBuilder) Put

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

func (*ItemActionsRunnerGroupsItemRunnersRequestBuilder) ToGetRequestInformation

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

func (*ItemActionsRunnerGroupsItemRunnersRequestBuilder) ToPutRequestInformation

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

func (*ItemActionsRunnerGroupsItemRunnersRequestBuilder) WithUrl

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

type ItemActionsRunnerGroupsItemRunnersRequestBuilderGetQueryParameters

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

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

type ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder

type ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder

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

NewItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder instantiates a new ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder and sets the default values.

func NewItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilderInternal

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

NewItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilderInternal instantiates a new ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder and sets the default values.

func (*ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) Delete

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

func (*ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) Put

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

func (*ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) ToDeleteRequestInformation

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

func (*ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) ToPutRequestInformation

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

func (*ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) WithUrl

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

type ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody

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

func NewItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody

func NewItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody() *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody

NewItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody instantiates a new ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody and sets the default values.

func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetAdditionalData

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

func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetAllowsPublicRepositories

func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetAllowsPublicRepositories() *bool

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

func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetFieldDeserializers

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

func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetName

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

func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetRestrictedToWorkflows

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

func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetSelectedWorkflows

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

func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetAdditionalData

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

func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetAllowsPublicRepositories

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

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

func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetName

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

func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetRestrictedToWorkflows

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

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

func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetSelectedWorkflows

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

type ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBodyable

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

type ItemActionsRunnerGroupsPostRequestBody

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

func NewItemActionsRunnerGroupsPostRequestBody

func NewItemActionsRunnerGroupsPostRequestBody() *ItemActionsRunnerGroupsPostRequestBody

NewItemActionsRunnerGroupsPostRequestBody instantiates a new ItemActionsRunnerGroupsPostRequestBody and sets the default values.

func (*ItemActionsRunnerGroupsPostRequestBody) GetAdditionalData

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

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

func (*ItemActionsRunnerGroupsPostRequestBody) GetAllowsPublicRepositories

func (m *ItemActionsRunnerGroupsPostRequestBody) GetAllowsPublicRepositories() *bool

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

func (*ItemActionsRunnerGroupsPostRequestBody) GetFieldDeserializers

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

func (*ItemActionsRunnerGroupsPostRequestBody) GetName

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

func (*ItemActionsRunnerGroupsPostRequestBody) GetRestrictedToWorkflows

func (m *ItemActionsRunnerGroupsPostRequestBody) GetRestrictedToWorkflows() *bool

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

func (*ItemActionsRunnerGroupsPostRequestBody) GetRunners

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

func (*ItemActionsRunnerGroupsPostRequestBody) GetSelectedOrganizationIds

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

GetSelectedOrganizationIds gets the selected_organization_ids property value. List of organization IDs that can access the runner group. returns a []int32 when successful

func (*ItemActionsRunnerGroupsPostRequestBody) GetSelectedWorkflows

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

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

func (*ItemActionsRunnerGroupsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnerGroupsPostRequestBody) SetAdditionalData

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

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

func (*ItemActionsRunnerGroupsPostRequestBody) SetAllowsPublicRepositories

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

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

func (*ItemActionsRunnerGroupsPostRequestBody) SetName

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

func (*ItemActionsRunnerGroupsPostRequestBody) SetRestrictedToWorkflows

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

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

func (*ItemActionsRunnerGroupsPostRequestBody) SetRunners

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

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

func (*ItemActionsRunnerGroupsPostRequestBody) SetSelectedOrganizationIds

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

SetSelectedOrganizationIds sets the selected_organization_ids property value. List of organization IDs that can access the runner group.

func (*ItemActionsRunnerGroupsPostRequestBody) SetSelectedWorkflows

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

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

type ItemActionsRunnerGroupsPostRequestBodyable

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

type ItemActionsRunnerGroupsRequestBuilder

type ItemActionsRunnerGroupsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsRunnerGroupsRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\runner-groups

func NewItemActionsRunnerGroupsRequestBuilder

NewItemActionsRunnerGroupsRequestBuilder instantiates a new ItemActionsRunnerGroupsRequestBuilder and sets the default values.

func NewItemActionsRunnerGroupsRequestBuilderInternal

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

NewItemActionsRunnerGroupsRequestBuilderInternal instantiates a new ItemActionsRunnerGroupsRequestBuilder and sets the default values.

func (*ItemActionsRunnerGroupsRequestBuilder) ByRunner_group_id

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

func (*ItemActionsRunnerGroupsRequestBuilder) Get

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

func (*ItemActionsRunnerGroupsRequestBuilder) Post

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

func (*ItemActionsRunnerGroupsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all self-hosted runner groups for an enterprise.OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnerGroupsRequestBuilder) ToPostRequestInformation

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

func (*ItemActionsRunnerGroupsRequestBuilder) WithUrl

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

type ItemActionsRunnerGroupsRequestBuilderGetQueryParameters

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

ItemActionsRunnerGroupsRequestBuilderGetQueryParameters lists all self-hosted runner groups for an enterprise.OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.

type ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder

type ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder

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

NewItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder instantiates a new ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder and sets the default values.

func NewItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilderInternal

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

NewItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilderInternal instantiates a new ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder and sets the default values.

func (*ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Delete

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

func (*ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Get

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

func (*ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Organizations

Organizations the organizations property returns a *ItemActionsRunnerGroupsItemOrganizationsRequestBuilder when successful

func (*ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Patch

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

func (*ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Runners

Runners the runners property returns a *ItemActionsRunnerGroupsItemRunnersRequestBuilder when successful

func (*ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) ToDeleteRequestInformation

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

func (*ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) ToGetRequestInformation

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

func (*ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) ToPatchRequestInformation

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

func (*ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) WithUrl

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

type ItemActionsRunnersDownloadsRequestBuilder

type ItemActionsRunnersDownloadsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsRunnersDownloadsRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\runners\downloads

func NewItemActionsRunnersDownloadsRequestBuilder

NewItemActionsRunnersDownloadsRequestBuilder instantiates a new ItemActionsRunnersDownloadsRequestBuilder and sets the default values.

func NewItemActionsRunnersDownloadsRequestBuilderInternal

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

NewItemActionsRunnersDownloadsRequestBuilderInternal instantiates a new ItemActionsRunnersDownloadsRequestBuilder and sets the default values.

func (*ItemActionsRunnersDownloadsRequestBuilder) Get

Get lists binaries for the runner application that you can download and run.OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a []RunnerApplicationable when successful API method documentation

func (*ItemActionsRunnersDownloadsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists binaries for the runner application that you can download and run.OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnersDownloadsRequestBuilder) WithUrl

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

type ItemActionsRunnersGenerateJitconfigPostRequestBody

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

func NewItemActionsRunnersGenerateJitconfigPostRequestBody

func NewItemActionsRunnersGenerateJitconfigPostRequestBody() *ItemActionsRunnersGenerateJitconfigPostRequestBody

NewItemActionsRunnersGenerateJitconfigPostRequestBody instantiates a new ItemActionsRunnersGenerateJitconfigPostRequestBody and sets the default values.

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetAdditionalData

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

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetFieldDeserializers

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

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetLabels

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

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetName

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

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetRunnerGroupId

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

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetWorkFolder

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

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) SetAdditionalData

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

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

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) SetLabels

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

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) SetName

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

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) SetRunnerGroupId

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

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

func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) SetWorkFolder

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

type ItemActionsRunnersGenerateJitconfigPostRequestBodyable

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

type ItemActionsRunnersGenerateJitconfigPostResponse

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

func NewItemActionsRunnersGenerateJitconfigPostResponse

func NewItemActionsRunnersGenerateJitconfigPostResponse() *ItemActionsRunnersGenerateJitconfigPostResponse

NewItemActionsRunnersGenerateJitconfigPostResponse instantiates a new ItemActionsRunnersGenerateJitconfigPostResponse and sets the default values.

func (*ItemActionsRunnersGenerateJitconfigPostResponse) GetAdditionalData

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

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

func (*ItemActionsRunnersGenerateJitconfigPostResponse) GetEncodedJitConfig

func (m *ItemActionsRunnersGenerateJitconfigPostResponse) GetEncodedJitConfig() *string

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

func (*ItemActionsRunnersGenerateJitconfigPostResponse) GetFieldDeserializers

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

func (*ItemActionsRunnersGenerateJitconfigPostResponse) GetRunner

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

func (*ItemActionsRunnersGenerateJitconfigPostResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersGenerateJitconfigPostResponse) SetAdditionalData

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

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

func (*ItemActionsRunnersGenerateJitconfigPostResponse) SetEncodedJitConfig

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

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

func (*ItemActionsRunnersGenerateJitconfigPostResponse) SetRunner

SetRunner sets the runner property value. A self hosted runner

type ItemActionsRunnersGenerateJitconfigRequestBuilder

type ItemActionsRunnersGenerateJitconfigRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsRunnersGenerateJitconfigRequestBuilder

NewItemActionsRunnersGenerateJitconfigRequestBuilder instantiates a new ItemActionsRunnersGenerateJitconfigRequestBuilder and sets the default values.

func NewItemActionsRunnersGenerateJitconfigRequestBuilderInternal

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

NewItemActionsRunnersGenerateJitconfigRequestBuilderInternal instantiates a new ItemActionsRunnersGenerateJitconfigRequestBuilder and sets the default values.

func (*ItemActionsRunnersGenerateJitconfigRequestBuilder) Post

Post generates a configuration that can be passed to the runner application at startup.OAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a ItemActionsRunnersGenerateJitconfigPostResponseable when successful returns a BasicError error when the service returns a 404 status code returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation

func (*ItemActionsRunnersGenerateJitconfigRequestBuilder) ToPostRequestInformation

ToPostRequestInformation generates a configuration that can be passed to the runner application at startup.OAuth tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnersGenerateJitconfigRequestBuilder) WithUrl

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

type ItemActionsRunnersGetResponse

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

func NewItemActionsRunnersGetResponse

func NewItemActionsRunnersGetResponse() *ItemActionsRunnersGetResponse

NewItemActionsRunnersGetResponse instantiates a new ItemActionsRunnersGetResponse and sets the default values.

func (*ItemActionsRunnersGetResponse) GetAdditionalData

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

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

func (*ItemActionsRunnersGetResponse) GetFieldDeserializers

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

func (*ItemActionsRunnersGetResponse) GetRunners

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

func (*ItemActionsRunnersGetResponse) GetTotalCount

func (m *ItemActionsRunnersGetResponse) GetTotalCount() *float64

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

func (*ItemActionsRunnersGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersGetResponse) SetAdditionalData

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

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

func (*ItemActionsRunnersGetResponse) SetRunners

SetRunners sets the runners property value. The runners property

func (*ItemActionsRunnersGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsRunnersItemLabelsDeleteResponse

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

func NewItemActionsRunnersItemLabelsDeleteResponse

func NewItemActionsRunnersItemLabelsDeleteResponse() *ItemActionsRunnersItemLabelsDeleteResponse

NewItemActionsRunnersItemLabelsDeleteResponse instantiates a new ItemActionsRunnersItemLabelsDeleteResponse and sets the default values.

func (*ItemActionsRunnersItemLabelsDeleteResponse) GetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsDeleteResponse) GetFieldDeserializers

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

func (*ItemActionsRunnersItemLabelsDeleteResponse) GetLabels

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

func (*ItemActionsRunnersItemLabelsDeleteResponse) GetTotalCount

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

func (*ItemActionsRunnersItemLabelsDeleteResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersItemLabelsDeleteResponse) SetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsDeleteResponse) SetLabels

SetLabels sets the labels property value. The labels property

func (*ItemActionsRunnersItemLabelsDeleteResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsRunnersItemLabelsGetResponse

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

func NewItemActionsRunnersItemLabelsGetResponse

func NewItemActionsRunnersItemLabelsGetResponse() *ItemActionsRunnersItemLabelsGetResponse

NewItemActionsRunnersItemLabelsGetResponse instantiates a new ItemActionsRunnersItemLabelsGetResponse and sets the default values.

func (*ItemActionsRunnersItemLabelsGetResponse) GetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsGetResponse) GetFieldDeserializers

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

func (*ItemActionsRunnersItemLabelsGetResponse) GetLabels

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

func (*ItemActionsRunnersItemLabelsGetResponse) GetTotalCount

func (m *ItemActionsRunnersItemLabelsGetResponse) GetTotalCount() *int32

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

func (*ItemActionsRunnersItemLabelsGetResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersItemLabelsGetResponse) SetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsGetResponse) SetLabels

SetLabels sets the labels property value. The labels property

func (*ItemActionsRunnersItemLabelsGetResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsRunnersItemLabelsItemWithNameDeleteResponse

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

func NewItemActionsRunnersItemLabelsItemWithNameDeleteResponse

func NewItemActionsRunnersItemLabelsItemWithNameDeleteResponse() *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse

NewItemActionsRunnersItemLabelsItemWithNameDeleteResponse instantiates a new ItemActionsRunnersItemLabelsItemWithNameDeleteResponse and sets the default values.

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetAdditionalData

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

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetFieldDeserializers

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

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetLabels

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

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetTotalCount

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

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetLabels

SetLabels sets the labels property value. The labels property

func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetTotalCount

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsRunnersItemLabelsPostRequestBody

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

func NewItemActionsRunnersItemLabelsPostRequestBody

func NewItemActionsRunnersItemLabelsPostRequestBody() *ItemActionsRunnersItemLabelsPostRequestBody

NewItemActionsRunnersItemLabelsPostRequestBody instantiates a new ItemActionsRunnersItemLabelsPostRequestBody and sets the default values.

func (*ItemActionsRunnersItemLabelsPostRequestBody) GetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsPostRequestBody) GetFieldDeserializers

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

func (*ItemActionsRunnersItemLabelsPostRequestBody) GetLabels

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

func (*ItemActionsRunnersItemLabelsPostRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersItemLabelsPostRequestBody) SetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsPostRequestBody) SetLabels

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

type ItemActionsRunnersItemLabelsPostResponse

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

func NewItemActionsRunnersItemLabelsPostResponse

func NewItemActionsRunnersItemLabelsPostResponse() *ItemActionsRunnersItemLabelsPostResponse

NewItemActionsRunnersItemLabelsPostResponse instantiates a new ItemActionsRunnersItemLabelsPostResponse and sets the default values.

func (*ItemActionsRunnersItemLabelsPostResponse) GetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsPostResponse) GetFieldDeserializers

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

func (*ItemActionsRunnersItemLabelsPostResponse) GetLabels

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

func (*ItemActionsRunnersItemLabelsPostResponse) GetTotalCount

func (m *ItemActionsRunnersItemLabelsPostResponse) GetTotalCount() *int32

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

func (*ItemActionsRunnersItemLabelsPostResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersItemLabelsPostResponse) SetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsPostResponse) SetLabels

SetLabels sets the labels property value. The labels property

func (*ItemActionsRunnersItemLabelsPostResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsRunnersItemLabelsPutRequestBody

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

func NewItemActionsRunnersItemLabelsPutRequestBody

func NewItemActionsRunnersItemLabelsPutRequestBody() *ItemActionsRunnersItemLabelsPutRequestBody

NewItemActionsRunnersItemLabelsPutRequestBody instantiates a new ItemActionsRunnersItemLabelsPutRequestBody and sets the default values.

func (*ItemActionsRunnersItemLabelsPutRequestBody) GetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsPutRequestBody) GetFieldDeserializers

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

func (*ItemActionsRunnersItemLabelsPutRequestBody) GetLabels

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

func (*ItemActionsRunnersItemLabelsPutRequestBody) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersItemLabelsPutRequestBody) SetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsPutRequestBody) SetLabels

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

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

type ItemActionsRunnersItemLabelsPutResponse

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

func NewItemActionsRunnersItemLabelsPutResponse

func NewItemActionsRunnersItemLabelsPutResponse() *ItemActionsRunnersItemLabelsPutResponse

NewItemActionsRunnersItemLabelsPutResponse instantiates a new ItemActionsRunnersItemLabelsPutResponse and sets the default values.

func (*ItemActionsRunnersItemLabelsPutResponse) GetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsPutResponse) GetFieldDeserializers

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

func (*ItemActionsRunnersItemLabelsPutResponse) GetLabels

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

func (*ItemActionsRunnersItemLabelsPutResponse) GetTotalCount

func (m *ItemActionsRunnersItemLabelsPutResponse) GetTotalCount() *int32

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

func (*ItemActionsRunnersItemLabelsPutResponse) Serialize

Serialize serializes information the current object

func (*ItemActionsRunnersItemLabelsPutResponse) SetAdditionalData

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

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

func (*ItemActionsRunnersItemLabelsPutResponse) SetLabels

SetLabels sets the labels property value. The labels property

func (*ItemActionsRunnersItemLabelsPutResponse) SetTotalCount

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

SetTotalCount sets the total_count property value. The total_count property

type ItemActionsRunnersItemLabelsRequestBuilder

type ItemActionsRunnersItemLabelsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsRunnersItemLabelsRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\runners\{runner_id}\labels

func NewItemActionsRunnersItemLabelsRequestBuilder

NewItemActionsRunnersItemLabelsRequestBuilder instantiates a new ItemActionsRunnersItemLabelsRequestBuilder and sets the default values.

func NewItemActionsRunnersItemLabelsRequestBuilderInternal

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

NewItemActionsRunnersItemLabelsRequestBuilderInternal instantiates a new ItemActionsRunnersItemLabelsRequestBuilder and sets the default values.

func (*ItemActionsRunnersItemLabelsRequestBuilder) ByName

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

func (*ItemActionsRunnersItemLabelsRequestBuilder) Delete

Delete remove all custom labels from a self-hosted runner configured in anenterprise. Returns the remaining read-only labels from the runner.OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a ItemActionsRunnersItemLabelsDeleteResponseable when successful returns a BasicError error when the service returns a 404 status code returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation

func (*ItemActionsRunnersItemLabelsRequestBuilder) Get

Get lists all labels for a self-hosted runner configured in an enterprise.OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a ItemActionsRunnersItemLabelsGetResponseable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemActionsRunnersItemLabelsRequestBuilder) Post

Post add custom labels to a self-hosted runner configured in an enterprise.OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a ItemActionsRunnersItemLabelsPostResponseable when successful returns a BasicError error when the service returns a 404 status code returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation

func (*ItemActionsRunnersItemLabelsRequestBuilder) Put

Put remove all previous custom labels and set the new custom labels for a specificself-hosted runner configured in an enterprise.OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a ItemActionsRunnersItemLabelsPutResponseable when successful returns a BasicError error when the service returns a 404 status code returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation

func (*ItemActionsRunnersItemLabelsRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation remove all custom labels from a self-hosted runner configured in anenterprise. Returns the remaining read-only labels from the runner.OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnersItemLabelsRequestBuilder) ToGetRequestInformation

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

func (*ItemActionsRunnersItemLabelsRequestBuilder) ToPostRequestInformation

ToPostRequestInformation add custom labels to a self-hosted runner configured in an enterprise.OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnersItemLabelsRequestBuilder) ToPutRequestInformation

ToPutRequestInformation remove all previous custom labels and set the new custom labels for a specificself-hosted runner configured in an enterprise.OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnersItemLabelsRequestBuilder) WithUrl

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

type ItemActionsRunnersItemLabelsWithNameItemRequestBuilder

type ItemActionsRunnersItemLabelsWithNameItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsRunnersItemLabelsWithNameItemRequestBuilder

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

NewItemActionsRunnersItemLabelsWithNameItemRequestBuilder instantiates a new ItemActionsRunnersItemLabelsWithNameItemRequestBuilder and sets the default values.

func NewItemActionsRunnersItemLabelsWithNameItemRequestBuilderInternal

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

NewItemActionsRunnersItemLabelsWithNameItemRequestBuilderInternal instantiates a new ItemActionsRunnersItemLabelsWithNameItemRequestBuilder and sets the default values.

func (*ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) Delete

Delete remove a custom label from a self-hosted runner configuredin an enterprise. Returns the remaining labels from the runner.This endpoint returns a `404 Not Found` status if the custom label is notpresent on the runner.OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a ItemActionsRunnersItemLabelsItemWithNameDeleteResponseable when successful returns a BasicError error when the service returns a 404 status code returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation

func (*ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation remove a custom label from a self-hosted runner configuredin an enterprise. Returns the remaining labels from the runner.This endpoint returns a `404 Not Found` status if the custom label is notpresent on the runner.OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) WithUrl

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

type ItemActionsRunnersRegistrationTokenRequestBuilder

type ItemActionsRunnersRegistrationTokenRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsRunnersRegistrationTokenRequestBuilder

NewItemActionsRunnersRegistrationTokenRequestBuilder instantiates a new ItemActionsRunnersRegistrationTokenRequestBuilder and sets the default values.

func NewItemActionsRunnersRegistrationTokenRequestBuilderInternal

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

NewItemActionsRunnersRegistrationTokenRequestBuilderInternal instantiates a new ItemActionsRunnersRegistrationTokenRequestBuilder and sets the default values.

func (*ItemActionsRunnersRegistrationTokenRequestBuilder) Post

Post returns a token that you can pass to the `config` script. The token expires after one hour.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/enterprises/octo-enterprise --token TOKEN```OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a AuthenticationTokenable when successful API method documentation

func (*ItemActionsRunnersRegistrationTokenRequestBuilder) ToPostRequestInformation

ToPostRequestInformation returns a token that you can pass to the `config` script. The token expires after one hour.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/enterprises/octo-enterprise --token TOKEN```OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnersRegistrationTokenRequestBuilder) WithUrl

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

type ItemActionsRunnersRemoveTokenRequestBuilder

type ItemActionsRunnersRemoveTokenRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

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

func NewItemActionsRunnersRemoveTokenRequestBuilder

NewItemActionsRunnersRemoveTokenRequestBuilder instantiates a new ItemActionsRunnersRemoveTokenRequestBuilder and sets the default values.

func NewItemActionsRunnersRemoveTokenRequestBuilderInternal

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

NewItemActionsRunnersRemoveTokenRequestBuilderInternal instantiates a new ItemActionsRunnersRemoveTokenRequestBuilder and sets the default values.

func (*ItemActionsRunnersRemoveTokenRequestBuilder) Post

Post returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.Example using remove token:To remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by thisendpoint.```./config.sh remove --token TOKEN```OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a AuthenticationTokenable when successful API method documentation

func (*ItemActionsRunnersRemoveTokenRequestBuilder) ToPostRequestInformation

ToPostRequestInformation returns a token that you can pass to the `config` script to remove a self-hosted runner from an enterprise. The token expires after one hour.Example using remove token:To remove your self-hosted runner from an enterprise, replace `TOKEN` with the remove token provided by thisendpoint.```./config.sh remove --token TOKEN```OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnersRemoveTokenRequestBuilder) WithUrl

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

type ItemActionsRunnersRequestBuilder

ItemActionsRunnersRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\runners

func NewItemActionsRunnersRequestBuilder

NewItemActionsRunnersRequestBuilder instantiates a new ItemActionsRunnersRequestBuilder and sets the default values.

func NewItemActionsRunnersRequestBuilderInternal

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

NewItemActionsRunnersRequestBuilderInternal instantiates a new ItemActionsRunnersRequestBuilder and sets the default values.

func (*ItemActionsRunnersRequestBuilder) ByRunner_id

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

func (*ItemActionsRunnersRequestBuilder) Downloads

Downloads the downloads property returns a *ItemActionsRunnersDownloadsRequestBuilder when successful

func (*ItemActionsRunnersRequestBuilder) GenerateJitconfig

GenerateJitconfig the generateJitconfig property returns a *ItemActionsRunnersGenerateJitconfigRequestBuilder when successful

func (*ItemActionsRunnersRequestBuilder) Get

Get lists all self-hosted runners configured for an enterprise.OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a ItemActionsRunnersGetResponseable when successful API method documentation

func (*ItemActionsRunnersRequestBuilder) RegistrationToken

RegistrationToken the registrationToken property returns a *ItemActionsRunnersRegistrationTokenRequestBuilder when successful

func (*ItemActionsRunnersRequestBuilder) RemoveToken

RemoveToken the removeToken property returns a *ItemActionsRunnersRemoveTokenRequestBuilder when successful

func (*ItemActionsRunnersRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists all self-hosted runners configured for an enterprise.OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnersRequestBuilder) WithUrl

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

type ItemActionsRunnersRequestBuilderGetQueryParameters

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

ItemActionsRunnersRequestBuilderGetQueryParameters lists all self-hosted runners configured for an enterprise.OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint.

type ItemActionsRunnersWithRunner_ItemRequestBuilder

type ItemActionsRunnersWithRunner_ItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemActionsRunnersWithRunner_ItemRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\runners\{runner_id}

func NewItemActionsRunnersWithRunner_ItemRequestBuilder

NewItemActionsRunnersWithRunner_ItemRequestBuilder instantiates a new ItemActionsRunnersWithRunner_ItemRequestBuilder and sets the default values.

func NewItemActionsRunnersWithRunner_ItemRequestBuilderInternal

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

NewItemActionsRunnersWithRunner_ItemRequestBuilderInternal instantiates a new ItemActionsRunnersWithRunner_ItemRequestBuilder and sets the default values.

func (*ItemActionsRunnersWithRunner_ItemRequestBuilder) Delete

Delete forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. API method documentation

func (*ItemActionsRunnersWithRunner_ItemRequestBuilder) Get

Get gets a specific self-hosted runner configured in an enterprise.OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a Runnerable when successful API method documentation

func (*ItemActionsRunnersWithRunner_ItemRequestBuilder) Labels

Labels the labels property returns a *ItemActionsRunnersItemLabelsRequestBuilder when successful

func (*ItemActionsRunnersWithRunner_ItemRequestBuilder) ToDeleteRequestInformation

ToDeleteRequestInformation forces the removal of a self-hosted runner from an enterprise. You can use this endpoint to completely remove the runner when the machine you were using no longer exists.OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnersWithRunner_ItemRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets a specific self-hosted runner configured in an enterprise.OAuth app tokens and personal access tokens (classic) need the `manage_runners:enterprise` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemActionsRunnersWithRunner_ItemRequestBuilder) WithUrl

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

type ItemAuditLogRequestBuilder

ItemAuditLogRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\audit-log

func NewItemAuditLogRequestBuilder

NewItemAuditLogRequestBuilder instantiates a new ItemAuditLogRequestBuilder and sets the default values.

func NewItemAuditLogRequestBuilderInternal

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

NewItemAuditLogRequestBuilderInternal instantiates a new ItemAuditLogRequestBuilder and sets the default values.

func (*ItemAuditLogRequestBuilder) Get

Get gets the audit log for an enterprise.The authenticated user must be an enterprise admin to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. returns a []AuditLogEventable when successful API method documentation

func (*ItemAuditLogRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets the audit log for an enterprise.The authenticated user must be an enterprise admin to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemAuditLogRequestBuilder) WithUrl

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

type ItemAuditLogRequestBuilderGetQueryParameters

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

ItemAuditLogRequestBuilderGetQueryParameters gets the audit log for an enterprise.The authenticated user must be an enterprise admin to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.

type ItemCodeScanningAlertsRequestBuilder

type ItemCodeScanningAlertsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemCodeScanningAlertsRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\code-scanning\alerts

func NewItemCodeScanningAlertsRequestBuilder

NewItemCodeScanningAlertsRequestBuilder instantiates a new ItemCodeScanningAlertsRequestBuilder and sets the default values.

func NewItemCodeScanningAlertsRequestBuilderInternal

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

NewItemCodeScanningAlertsRequestBuilderInternal instantiates a new ItemCodeScanningAlertsRequestBuilder and sets the default values.

func (*ItemCodeScanningAlertsRequestBuilder) Get

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

func (*ItemCodeScanningAlertsRequestBuilder) ToGetRequestInformation

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

func (*ItemCodeScanningAlertsRequestBuilder) WithUrl

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

type ItemCodeScanningAlertsRequestBuilderGetQueryParameters

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

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

type ItemCodeScanningRequestBuilder

ItemCodeScanningRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\code-scanning

func NewItemCodeScanningRequestBuilder

NewItemCodeScanningRequestBuilder instantiates a new ItemCodeScanningRequestBuilder and sets the default values.

func NewItemCodeScanningRequestBuilderInternal

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

NewItemCodeScanningRequestBuilderInternal instantiates a new ItemCodeScanningRequestBuilder and sets the default values.

func (*ItemCodeScanningRequestBuilder) Alerts

Alerts the alerts property returns a *ItemCodeScanningAlertsRequestBuilder when successful

type ItemCode_security_and_analysisPatchRequestBody

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

func NewItemCode_security_and_analysisPatchRequestBody

func NewItemCode_security_and_analysisPatchRequestBody() *ItemCode_security_and_analysisPatchRequestBody

NewItemCode_security_and_analysisPatchRequestBody instantiates a new ItemCode_security_and_analysisPatchRequestBody and sets the default values.

func (*ItemCode_security_and_analysisPatchRequestBody) GetAdditionalData

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

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

func (*ItemCode_security_and_analysisPatchRequestBody) GetAdvancedSecurityEnabledForNewRepositories

func (m *ItemCode_security_and_analysisPatchRequestBody) GetAdvancedSecurityEnabledForNewRepositories() *bool

GetAdvancedSecurityEnabledForNewRepositories gets the advanced_security_enabled_for_new_repositories property value. Whether GitHub Advanced Security is automatically enabled for new repositories. For more information, see "[About GitHub Advanced Security](https://docs.github.com/enterprise-server@3.11/get-started/learning-about-github/about-github-advanced-security)." returns a *bool when successful

func (*ItemCode_security_and_analysisPatchRequestBody) GetDependabotAlertsEnabledForNewRepositories

func (m *ItemCode_security_and_analysisPatchRequestBody) GetDependabotAlertsEnabledForNewRepositories() *bool

GetDependabotAlertsEnabledForNewRepositories gets the dependabot_alerts_enabled_for_new_repositories property value. Whether Dependabot alerts are automatically enabled for new repositories. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.11/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." returns a *bool when successful

func (*ItemCode_security_and_analysisPatchRequestBody) GetFieldDeserializers

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

func (*ItemCode_security_and_analysisPatchRequestBody) GetSecretScanningEnabledForNewRepositories

func (m *ItemCode_security_and_analysisPatchRequestBody) GetSecretScanningEnabledForNewRepositories() *bool

GetSecretScanningEnabledForNewRepositories gets the secret_scanning_enabled_for_new_repositories property value. Whether secret scanning is automatically enabled for new repositories. For more information, see "[About secret scanning](https://docs.github.com/enterprise-server@3.11/code-security/secret-scanning/about-secret-scanning)." returns a *bool when successful

func (m *ItemCode_security_and_analysisPatchRequestBody) GetSecretScanningPushProtectionCustomLink() *string

GetSecretScanningPushProtectionCustomLink gets the secret_scanning_push_protection_custom_link property value. The URL that will be displayed to contributors who are blocked from pushing a secret. For more information, see "[Protecting pushes with secret scanning](https://docs.github.com/enterprise-server@3.11/code-security/secret-scanning/protecting-pushes-with-secret-scanning)."To disable this functionality, set this field to `null`. returns a *string when successful

func (*ItemCode_security_and_analysisPatchRequestBody) GetSecretScanningPushProtectionEnabledForNewRepositories

func (m *ItemCode_security_and_analysisPatchRequestBody) 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. For more information, see "[Protecting pushes with secret scanning](https://docs.github.com/enterprise-server@3.11/code-security/secret-scanning/protecting-pushes-with-secret-scanning)." returns a *bool when successful

func (*ItemCode_security_and_analysisPatchRequestBody) Serialize

Serialize serializes information the current object

func (*ItemCode_security_and_analysisPatchRequestBody) SetAdditionalData

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

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

func (*ItemCode_security_and_analysisPatchRequestBody) SetAdvancedSecurityEnabledForNewRepositories

func (m *ItemCode_security_and_analysisPatchRequestBody) SetAdvancedSecurityEnabledForNewRepositories(value *bool)

SetAdvancedSecurityEnabledForNewRepositories sets the advanced_security_enabled_for_new_repositories property value. Whether GitHub Advanced Security is automatically enabled for new repositories. For more information, see "[About GitHub Advanced Security](https://docs.github.com/enterprise-server@3.11/get-started/learning-about-github/about-github-advanced-security)."

func (*ItemCode_security_and_analysisPatchRequestBody) SetDependabotAlertsEnabledForNewRepositories

func (m *ItemCode_security_and_analysisPatchRequestBody) SetDependabotAlertsEnabledForNewRepositories(value *bool)

SetDependabotAlertsEnabledForNewRepositories sets the dependabot_alerts_enabled_for_new_repositories property value. Whether Dependabot alerts are automatically enabled for new repositories. For more information, see "[About Dependabot alerts](https://docs.github.com/enterprise-server@3.11/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)."

func (*ItemCode_security_and_analysisPatchRequestBody) SetSecretScanningEnabledForNewRepositories

func (m *ItemCode_security_and_analysisPatchRequestBody) SetSecretScanningEnabledForNewRepositories(value *bool)

SetSecretScanningEnabledForNewRepositories sets the secret_scanning_enabled_for_new_repositories property value. Whether secret scanning is automatically enabled for new repositories. For more information, see "[About secret scanning](https://docs.github.com/enterprise-server@3.11/code-security/secret-scanning/about-secret-scanning)."

func (m *ItemCode_security_and_analysisPatchRequestBody) SetSecretScanningPushProtectionCustomLink(value *string)

SetSecretScanningPushProtectionCustomLink sets the secret_scanning_push_protection_custom_link property value. The URL that will be displayed to contributors who are blocked from pushing a secret. For more information, see "[Protecting pushes with secret scanning](https://docs.github.com/enterprise-server@3.11/code-security/secret-scanning/protecting-pushes-with-secret-scanning)."To disable this functionality, set this field to `null`.

func (*ItemCode_security_and_analysisPatchRequestBody) SetSecretScanningPushProtectionEnabledForNewRepositories

func (m *ItemCode_security_and_analysisPatchRequestBody) 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. For more information, see "[Protecting pushes with secret scanning](https://docs.github.com/enterprise-server@3.11/code-security/secret-scanning/protecting-pushes-with-secret-scanning)."

type ItemCode_security_and_analysisPatchRequestBodyable

type ItemCode_security_and_analysisPatchRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetAdvancedSecurityEnabledForNewRepositories() *bool
	GetDependabotAlertsEnabledForNewRepositories() *bool
	GetSecretScanningEnabledForNewRepositories() *bool
	GetSecretScanningPushProtectionCustomLink() *string
	GetSecretScanningPushProtectionEnabledForNewRepositories() *bool
	SetAdvancedSecurityEnabledForNewRepositories(value *bool)
	SetDependabotAlertsEnabledForNewRepositories(value *bool)
	SetSecretScanningEnabledForNewRepositories(value *bool)
	SetSecretScanningPushProtectionCustomLink(value *string)
	SetSecretScanningPushProtectionEnabledForNewRepositories(value *bool)
}

type ItemCode_security_and_analysisRequestBuilder

type ItemCode_security_and_analysisRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemCode_security_and_analysisRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\code_security_and_analysis

func NewItemCode_security_and_analysisRequestBuilder

NewItemCode_security_and_analysisRequestBuilder instantiates a new ItemCode_security_and_analysisRequestBuilder and sets the default values.

func NewItemCode_security_and_analysisRequestBuilderInternal

func NewItemCode_security_and_analysisRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCode_security_and_analysisRequestBuilder

NewItemCode_security_and_analysisRequestBuilderInternal instantiates a new ItemCode_security_and_analysisRequestBuilder and sets the default values.

func (*ItemCode_security_and_analysisRequestBuilder) Get

Get gets code security and analysis settings for the specified enterprise.The authenticated user must be an administrator of the enterprise in order to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. returns a EnterpriseSecurityAnalysisSettingsable when successful returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemCode_security_and_analysisRequestBuilder) Patch

Patch updates the settings for advanced security, Dependabot alerts, secret scanning, and push protection for new repositories in an enterprise.The authenticated user must be an administrator of the enterprise to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemCode_security_and_analysisRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets code security and analysis settings for the specified enterprise.The authenticated user must be an administrator of the enterprise in order to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCode_security_and_analysisRequestBuilder) ToPatchRequestInformation

ToPatchRequestInformation updates the settings for advanced security, Dependabot alerts, secret scanning, and push protection for new repositories in an enterprise.The authenticated user must be an administrator of the enterprise to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemCode_security_and_analysisRequestBuilder) WithUrl

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

type ItemDependabotAlertsRequestBuilder

ItemDependabotAlertsRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\dependabot\alerts

func NewItemDependabotAlertsRequestBuilder

NewItemDependabotAlertsRequestBuilder instantiates a new ItemDependabotAlertsRequestBuilder and sets the default values.

func NewItemDependabotAlertsRequestBuilderInternal

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

NewItemDependabotAlertsRequestBuilderInternal instantiates a new ItemDependabotAlertsRequestBuilder and sets the default values.

func (*ItemDependabotAlertsRequestBuilder) Get

Get lists Dependabot alerts for repositories that are owned by the specified enterprise.The authenticated user must be a member of the enterprise to use this endpoint.Alerts are only returned for organizations in the enterprise for which you are an organization owner or a security manager. For more information about security managers, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. returns a []DependabotAlertWithRepositoryable when successful returns a BasicError error when the service returns a 403 status code returns a BasicError error when the service returns a 404 status code returns a ValidationErrorSimple error when the service returns a 422 status code API method documentation

func (*ItemDependabotAlertsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists Dependabot alerts for repositories that are owned by the specified enterprise.The authenticated user must be a member of the enterprise to use this endpoint.Alerts are only returned for organizations in the enterprise for which you are an organization owner or a security manager. For more information about security managers, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemDependabotAlertsRequestBuilder) WithUrl

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

type ItemDependabotAlertsRequestBuilderGetQueryParameters

type ItemDependabotAlertsRequestBuilderGetQueryParameters struct {
	// A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	After *string `uriparametername:"after"`
	// A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Before *string `uriparametername:"before"`
	// The direction to sort the results by.
	Direction *i1a72be8a2e171acbad39b8b772b6f76dcb853adcf2d0dac77f84acd8a56c4c26.GetDirectionQueryParameterType `uriparametername:"direction"`
	// A comma-separated list of ecosystems. If specified, only alerts for these ecosystems will be returned.Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust`
	Ecosystem *string `uriparametername:"ecosystem"`
	// **Deprecated**. The number of results per page (max 100), starting from the first matching result.This parameter must not be used in combination with `last`.Instead, use `per_page` in combination with `after` to fetch the first page of results.
	First *int32 `uriparametername:"first"`
	// **Deprecated**. The number of results per page (max 100), starting from the last matching result.This parameter must not be used in combination with `first`.Instead, use `per_page` in combination with `before` to fetch the last page of results.
	Last *int32 `uriparametername:"last"`
	// A comma-separated list of package names. If specified, only alerts for these packages will be returned.
	Package *string `uriparametername:"package"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// The scope of the vulnerable dependency. If specified, only alerts with this scope will be returned.
	Scope *i1a72be8a2e171acbad39b8b772b6f76dcb853adcf2d0dac77f84acd8a56c4c26.GetScopeQueryParameterType `uriparametername:"scope"`
	// A comma-separated list of severities. If specified, only alerts with these severities will be returned.Can be: `low`, `medium`, `high`, `critical`
	Severity *string `uriparametername:"severity"`
	// The property by which to sort the results.`created` means when the alert was created.`updated` means when the alert's state last changed.
	Sort *i1a72be8a2e171acbad39b8b772b6f76dcb853adcf2d0dac77f84acd8a56c4c26.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 repositories that are owned by the specified enterprise.The authenticated user must be a member of the enterprise to use this endpoint.Alerts are only returned for organizations in the enterprise for which you are an organization owner or a security manager. For more information about security managers, see "[Managing security managers in your organization](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization)."OAuth app tokens and personal access tokens (classic) need the `repo` or `security_events` scope to use this endpoint.

type ItemDependabotRequestBuilder

ItemDependabotRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\dependabot

func NewItemDependabotRequestBuilder

NewItemDependabotRequestBuilder instantiates a new ItemDependabotRequestBuilder and sets the default values.

func NewItemDependabotRequestBuilderInternal

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

NewItemDependabotRequestBuilderInternal instantiates a new ItemDependabotRequestBuilder and sets the default values.

func (*ItemDependabotRequestBuilder) Alerts

Alerts the alerts property returns a *ItemDependabotAlertsRequestBuilder when successful

type ItemItemWithEnablementItemRequestBuilder

type ItemItemWithEnablementItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemItemWithEnablementItemRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\{security_product}\{enablement}

func NewItemItemWithEnablementItemRequestBuilder

NewItemItemWithEnablementItemRequestBuilder instantiates a new ItemItemWithEnablementItemRequestBuilder and sets the default values.

func NewItemItemWithEnablementItemRequestBuilderInternal

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

NewItemItemWithEnablementItemRequestBuilderInternal instantiates a new ItemItemWithEnablementItemRequestBuilder and sets the default values.

func (*ItemItemWithEnablementItemRequestBuilder) Post

Post enables or disables the specified security feature for all repositories in an enterprise.The authenticated user must be an administrator of the enterprise to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. returns a BasicError error when the service returns a 404 status code API method documentation

func (*ItemItemWithEnablementItemRequestBuilder) ToPostRequestInformation

ToPostRequestInformation enables or disables the specified security feature for all repositories in an enterprise.The authenticated user must be an administrator of the enterprise to use this endpoint.OAuth app tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint. returns a *RequestInformation when successful

func (*ItemItemWithEnablementItemRequestBuilder) WithUrl

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

type ItemSecretScanningAlertsRequestBuilder

type ItemSecretScanningAlertsRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemSecretScanningAlertsRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\secret-scanning\alerts

func NewItemSecretScanningAlertsRequestBuilder

NewItemSecretScanningAlertsRequestBuilder instantiates a new ItemSecretScanningAlertsRequestBuilder and sets the default values.

func NewItemSecretScanningAlertsRequestBuilderInternal

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

NewItemSecretScanningAlertsRequestBuilderInternal instantiates a new ItemSecretScanningAlertsRequestBuilder and sets the default values.

func (*ItemSecretScanningAlertsRequestBuilder) Get

Get lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.To use this endpoint, you must be a member of the enterprise, and you must use an access token with the `repo` scope or `security_events` scope. Alerts are only returned for organizations in the enterprise for which you are an organization owner or a [security manager](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). returns a []OrganizationSecretScanningAlertable when successful returns a BasicError error when the service returns a 404 status code returns a Alerts503Error error when the service returns a 503 status code API method documentation

func (*ItemSecretScanningAlertsRequestBuilder) ToGetRequestInformation

ToGetRequestInformation lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.To use this endpoint, you must be a member of the enterprise, and you must use an access token with the `repo` scope or `security_events` scope. Alerts are only returned for organizations in the enterprise for which you are an organization owner or a [security manager](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). returns a *RequestInformation when successful

func (*ItemSecretScanningAlertsRequestBuilder) WithUrl

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

type ItemSecretScanningAlertsRequestBuilderGetQueryParameters

type ItemSecretScanningAlertsRequestBuilderGetQueryParameters struct {
	// A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results after this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	After *string `uriparametername:"after"`
	// A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.11/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for results before this cursor. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Before *string `uriparametername:"before"`
	// The direction to sort the results by.
	Direction *ie731c1b19a2e5cc53591a2f3e26c1721bd2d17fb9da2b8efca9e1e81c4c05962.GetDirectionQueryParameterType `uriparametername:"direction"`
	// The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.11/rest/using-the-rest-api/using-pagination-in-the-rest-api)."
	Per_page *int32 `uriparametername:"per_page"`
	// A comma-separated list of resolutions. Only secret scanning alerts with one of these resolutions are listed. Valid resolutions are `false_positive`, `wont_fix`, `revoked`, `pattern_edited`, `pattern_deleted` or `used_in_tests`.
	Resolution *string `uriparametername:"resolution"`
	// A comma-separated list of secret types to return. By default all secret types are returned.See "[Supported secret scanning patterns](https://docs.github.com/enterprise-server@3.11/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)"for a complete list of secret types.
	Secret_type *string `uriparametername:"secret_type"`
	// The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved.
	Sort *ie731c1b19a2e5cc53591a2f3e26c1721bd2d17fb9da2b8efca9e1e81c4c05962.GetSortQueryParameterType `uriparametername:"sort"`
	// Set to `open` or `resolved` to only list secret scanning alerts in a specific state.
	State *ie731c1b19a2e5cc53591a2f3e26c1721bd2d17fb9da2b8efca9e1e81c4c05962.GetStateQueryParameterType `uriparametername:"state"`
}

ItemSecretScanningAlertsRequestBuilderGetQueryParameters lists secret scanning alerts for eligible repositories in an enterprise, from newest to oldest.To use this endpoint, you must be a member of the enterprise, and you must use an access token with the `repo` scope or `security_events` scope. Alerts are only returned for organizations in the enterprise for which you are an organization owner or a [security manager](https://docs.github.com/enterprise-server@3.11/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).

type ItemSecretScanningRequestBuilder

ItemSecretScanningRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\secret-scanning

func NewItemSecretScanningRequestBuilder

NewItemSecretScanningRequestBuilder instantiates a new ItemSecretScanningRequestBuilder and sets the default values.

func NewItemSecretScanningRequestBuilderInternal

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

NewItemSecretScanningRequestBuilderInternal instantiates a new ItemSecretScanningRequestBuilder and sets the default values.

func (*ItemSecretScanningRequestBuilder) Alerts

Alerts the alerts property returns a *ItemSecretScanningAlertsRequestBuilder when successful

type ItemSettingsBillingAdvancedSecurityRequestBuilder

type ItemSettingsBillingAdvancedSecurityRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemSettingsBillingAdvancedSecurityRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\settings\billing\advanced-security

func NewItemSettingsBillingAdvancedSecurityRequestBuilder

NewItemSettingsBillingAdvancedSecurityRequestBuilder instantiates a new ItemSettingsBillingAdvancedSecurityRequestBuilder and sets the default values.

func NewItemSettingsBillingAdvancedSecurityRequestBuilderInternal

func NewItemSettingsBillingAdvancedSecurityRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingAdvancedSecurityRequestBuilder

NewItemSettingsBillingAdvancedSecurityRequestBuilderInternal instantiates a new ItemSettingsBillingAdvancedSecurityRequestBuilder and sets the default values.

func (*ItemSettingsBillingAdvancedSecurityRequestBuilder) Get

Get gets the GitHub Advanced Security active committers for an enterprise per repository.Each distinct user login across all repositories is counted as a single Advanced Security seat, so the `total_advanced_security_committers` is not the sum of active_users for each repository.The total number of repositories with committer information is tracked by the `total_count` field. returns a AdvancedSecurityActiveCommittersable when successful returns a BasicError error when the service returns a 403 status code API method documentation

func (*ItemSettingsBillingAdvancedSecurityRequestBuilder) ToGetRequestInformation

ToGetRequestInformation gets the GitHub Advanced Security active committers for an enterprise per repository.Each distinct user login across all repositories is counted as a single Advanced Security seat, so the `total_advanced_security_committers` is not the sum of active_users for each repository.The total number of repositories with committer information is tracked by the `total_count` field. returns a *RequestInformation when successful

func (*ItemSettingsBillingAdvancedSecurityRequestBuilder) WithUrl

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

type ItemSettingsBillingAdvancedSecurityRequestBuilderGetQueryParameters

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

ItemSettingsBillingAdvancedSecurityRequestBuilderGetQueryParameters gets the GitHub Advanced Security active committers for an enterprise per repository.Each distinct user login across all repositories is counted as a single Advanced Security seat, so the `total_advanced_security_committers` is not the sum of active_users for each repository.The total number of repositories with committer information is tracked by the `total_count` field.

type ItemSettingsBillingRequestBuilder

ItemSettingsBillingRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\settings\billing

func NewItemSettingsBillingRequestBuilder

NewItemSettingsBillingRequestBuilder instantiates a new ItemSettingsBillingRequestBuilder and sets the default values.

func NewItemSettingsBillingRequestBuilderInternal

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

NewItemSettingsBillingRequestBuilderInternal instantiates a new ItemSettingsBillingRequestBuilder and sets the default values.

func (*ItemSettingsBillingRequestBuilder) AdvancedSecurity

AdvancedSecurity the advancedSecurity property returns a *ItemSettingsBillingAdvancedSecurityRequestBuilder when successful

type ItemSettingsRequestBuilder

ItemSettingsRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\settings

func NewItemSettingsRequestBuilder

NewItemSettingsRequestBuilder instantiates a new ItemSettingsRequestBuilder and sets the default values.

func NewItemSettingsRequestBuilderInternal

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

NewItemSettingsRequestBuilderInternal instantiates a new ItemSettingsRequestBuilder and sets the default values.

func (*ItemSettingsRequestBuilder) Billing

Billing the billing property returns a *ItemSettingsBillingRequestBuilder when successful

type ItemWithSecurity_productItemRequestBuilder

type ItemWithSecurity_productItemRequestBuilder struct {
	i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}

ItemWithSecurity_productItemRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\{security_product}

func NewItemWithSecurity_productItemRequestBuilder

NewItemWithSecurity_productItemRequestBuilder instantiates a new ItemWithSecurity_productItemRequestBuilder and sets the default values.

func NewItemWithSecurity_productItemRequestBuilderInternal

func NewItemWithSecurity_productItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemWithSecurity_productItemRequestBuilder

NewItemWithSecurity_productItemRequestBuilderInternal instantiates a new ItemWithSecurity_productItemRequestBuilder and sets the default values.

func (*ItemWithSecurity_productItemRequestBuilder) ByEnablement

ByEnablement gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.enterprises.item.item.item collection returns a *ItemItemWithEnablementItemRequestBuilder when successful

type WithEnterpriseItemRequestBuilder

WithEnterpriseItemRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}

func NewWithEnterpriseItemRequestBuilder

NewWithEnterpriseItemRequestBuilder instantiates a new WithEnterpriseItemRequestBuilder and sets the default values.

func NewWithEnterpriseItemRequestBuilderInternal

func NewWithEnterpriseItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithEnterpriseItemRequestBuilder

NewWithEnterpriseItemRequestBuilderInternal instantiates a new WithEnterpriseItemRequestBuilder and sets the default values.

func (*WithEnterpriseItemRequestBuilder) Actions

Actions the actions property returns a *ItemActionsRequestBuilder when successful

func (*WithEnterpriseItemRequestBuilder) AuditLog

AuditLog the auditLog property returns a *ItemAuditLogRequestBuilder when successful

func (*WithEnterpriseItemRequestBuilder) BySecurity_product

BySecurity_product gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.enterprises.item.item collection returns a *ItemWithSecurity_productItemRequestBuilder when successful

func (*WithEnterpriseItemRequestBuilder) CodeScanning

CodeScanning the codeScanning property returns a *ItemCodeScanningRequestBuilder when successful

func (*WithEnterpriseItemRequestBuilder) Code_security_and_analysis

Code_security_and_analysis the code_security_and_analysis property returns a *ItemCode_security_and_analysisRequestBuilder when successful

func (*WithEnterpriseItemRequestBuilder) Dependabot

Dependabot the dependabot property returns a *ItemDependabotRequestBuilder when successful

func (*WithEnterpriseItemRequestBuilder) SecretScanning

SecretScanning the secretScanning property returns a *ItemSecretScanningRequestBuilder when successful

func (*WithEnterpriseItemRequestBuilder) Settings

Settings the settings property returns a *ItemSettingsRequestBuilder when successful

Source Files

Jump to

Keyboard shortcuts

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