Documentation
¶
Index ¶
- func CreateItemActionsPermissionsOrganizationsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsPermissionsOrganizationsPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsPermissionsPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnerGroupsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnerGroupsItemOrganizationsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnerGroupsItemOrganizationsPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnerGroupsItemRunnersGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnerGroupsItemRunnersPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnerGroupsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersGenerateJitconfigPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersGenerateJitconfigPostResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersItemLabelsDeleteResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersItemLabelsGetResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersItemLabelsItemWithNameDeleteResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersItemLabelsPostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersItemLabelsPostResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersItemLabelsPutRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemActionsRunnersItemLabelsPutResponseFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- func CreateItemCode_security_and_analysisPatchRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type EnterprisesRequestBuilder
- type ItemActionsCacheRequestBuilder
- type ItemActionsCacheUsagePolicyRequestBuilder
- func (m *ItemActionsCacheUsagePolicyRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemActionsCacheUsagePolicyRequestBuilder) Patch(ctx context.Context, ...) error
- func (m *ItemActionsCacheUsagePolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsCacheUsagePolicyRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsCacheUsagePolicyRequestBuilder) WithUrl(rawUrl string) *ItemActionsCacheUsagePolicyRequestBuilder
- type ItemActionsCacheUsageRequestBuilder
- type ItemActionsPermissionsOrganizationsGetResponse
- func (m *ItemActionsPermissionsOrganizationsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsPermissionsOrganizationsGetResponse) GetFieldDeserializers() ...
- func (m *ItemActionsPermissionsOrganizationsGetResponse) GetOrganizations() ...
- func (m *ItemActionsPermissionsOrganizationsGetResponse) GetTotalCount() *float64
- func (m *ItemActionsPermissionsOrganizationsGetResponse) Serialize(...) error
- func (m *ItemActionsPermissionsOrganizationsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsPermissionsOrganizationsGetResponse) SetOrganizations(...)
- func (m *ItemActionsPermissionsOrganizationsGetResponse) SetTotalCount(value *float64)
- type ItemActionsPermissionsOrganizationsGetResponseable
- type ItemActionsPermissionsOrganizationsPutRequestBody
- func (m *ItemActionsPermissionsOrganizationsPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemActionsPermissionsOrganizationsPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemActionsPermissionsOrganizationsPutRequestBody) GetSelectedOrganizationIds() []int32
- func (m *ItemActionsPermissionsOrganizationsPutRequestBody) Serialize(...) error
- func (m *ItemActionsPermissionsOrganizationsPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemActionsPermissionsOrganizationsPutRequestBody) SetSelectedOrganizationIds(value []int32)
- type ItemActionsPermissionsOrganizationsPutRequestBodyable
- type ItemActionsPermissionsOrganizationsRequestBuilder
- func (m *ItemActionsPermissionsOrganizationsRequestBuilder) ByOrg_id(org_id int32) *ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder
- func (m *ItemActionsPermissionsOrganizationsRequestBuilder) Get(ctx context.Context, ...) (ItemActionsPermissionsOrganizationsGetResponseable, error)
- func (m *ItemActionsPermissionsOrganizationsRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemActionsPermissionsOrganizationsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsPermissionsOrganizationsRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsPermissionsOrganizationsRequestBuilder) WithUrl(rawUrl string) *ItemActionsPermissionsOrganizationsRequestBuilder
- type ItemActionsPermissionsOrganizationsRequestBuilderGetQueryParameters
- type ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder
- func NewItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder(rawUrl string, ...) *ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder
- func NewItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder
- func (m *ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder
- type ItemActionsPermissionsPutRequestBody
- func (m *ItemActionsPermissionsPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemActionsPermissionsPutRequestBody) GetAllowedActions() ...
- func (m *ItemActionsPermissionsPutRequestBody) GetEnabledOrganizations() ...
- func (m *ItemActionsPermissionsPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemActionsPermissionsPutRequestBody) Serialize(...) error
- func (m *ItemActionsPermissionsPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemActionsPermissionsPutRequestBody) SetAllowedActions(...)
- func (m *ItemActionsPermissionsPutRequestBody) SetEnabledOrganizations(...)
- type ItemActionsPermissionsPutRequestBodyable
- type ItemActionsPermissionsRequestBuilder
- func (m *ItemActionsPermissionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemActionsPermissionsRequestBuilder) Organizations() *ItemActionsPermissionsOrganizationsRequestBuilder
- func (m *ItemActionsPermissionsRequestBuilder) Put(ctx context.Context, body ItemActionsPermissionsPutRequestBodyable, ...) error
- func (m *ItemActionsPermissionsRequestBuilder) SelectedActions() *ItemActionsPermissionsSelectedActionsRequestBuilder
- func (m *ItemActionsPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsPermissionsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsPermissionsPutRequestBodyable, ...) (...)
- func (m *ItemActionsPermissionsRequestBuilder) WithUrl(rawUrl string) *ItemActionsPermissionsRequestBuilder
- func (m *ItemActionsPermissionsRequestBuilder) Workflow() *ItemActionsPermissionsWorkflowRequestBuilder
- type ItemActionsPermissionsSelectedActionsRequestBuilder
- func (m *ItemActionsPermissionsSelectedActionsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemActionsPermissionsSelectedActionsRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemActionsPermissionsSelectedActionsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsPermissionsSelectedActionsRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsPermissionsSelectedActionsRequestBuilder) WithUrl(rawUrl string) *ItemActionsPermissionsSelectedActionsRequestBuilder
- type ItemActionsPermissionsWorkflowRequestBuilder
- func (m *ItemActionsPermissionsWorkflowRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemActionsPermissionsWorkflowRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemActionsPermissionsWorkflowRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsPermissionsWorkflowRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsPermissionsWorkflowRequestBuilder) WithUrl(rawUrl string) *ItemActionsPermissionsWorkflowRequestBuilder
- type ItemActionsRequestBuilder
- func (m *ItemActionsRequestBuilder) Cache() *ItemActionsCacheRequestBuilder
- func (m *ItemActionsRequestBuilder) Permissions() *ItemActionsPermissionsRequestBuilder
- func (m *ItemActionsRequestBuilder) RunnerGroups() *ItemActionsRunnerGroupsRequestBuilder
- func (m *ItemActionsRequestBuilder) Runners() *ItemActionsRunnersRequestBuilder
- type ItemActionsRunnerGroupsGetResponse
- func (m *ItemActionsRunnerGroupsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnerGroupsGetResponse) GetFieldDeserializers() ...
- func (m *ItemActionsRunnerGroupsGetResponse) GetRunnerGroups() ...
- func (m *ItemActionsRunnerGroupsGetResponse) GetTotalCount() *float64
- func (m *ItemActionsRunnerGroupsGetResponse) Serialize(...) error
- func (m *ItemActionsRunnerGroupsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnerGroupsGetResponse) SetRunnerGroups(...)
- func (m *ItemActionsRunnerGroupsGetResponse) SetTotalCount(value *float64)
- type ItemActionsRunnerGroupsGetResponseable
- type ItemActionsRunnerGroupsItemOrganizationsGetResponse
- func (m *ItemActionsRunnerGroupsItemOrganizationsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnerGroupsItemOrganizationsGetResponse) GetFieldDeserializers() ...
- func (m *ItemActionsRunnerGroupsItemOrganizationsGetResponse) GetOrganizations() ...
- func (m *ItemActionsRunnerGroupsItemOrganizationsGetResponse) GetTotalCount() *float64
- func (m *ItemActionsRunnerGroupsItemOrganizationsGetResponse) Serialize(...) error
- func (m *ItemActionsRunnerGroupsItemOrganizationsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnerGroupsItemOrganizationsGetResponse) SetOrganizations(...)
- func (m *ItemActionsRunnerGroupsItemOrganizationsGetResponse) SetTotalCount(value *float64)
- type ItemActionsRunnerGroupsItemOrganizationsGetResponseable
- type ItemActionsRunnerGroupsItemOrganizationsPutRequestBody
- func (m *ItemActionsRunnerGroupsItemOrganizationsPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnerGroupsItemOrganizationsPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemActionsRunnerGroupsItemOrganizationsPutRequestBody) GetSelectedOrganizationIds() []int32
- func (m *ItemActionsRunnerGroupsItemOrganizationsPutRequestBody) Serialize(...) error
- func (m *ItemActionsRunnerGroupsItemOrganizationsPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnerGroupsItemOrganizationsPutRequestBody) SetSelectedOrganizationIds(value []int32)
- type ItemActionsRunnerGroupsItemOrganizationsPutRequestBodyable
- type ItemActionsRunnerGroupsItemOrganizationsRequestBuilder
- func NewItemActionsRunnerGroupsItemOrganizationsRequestBuilder(rawUrl string, ...) *ItemActionsRunnerGroupsItemOrganizationsRequestBuilder
- func NewItemActionsRunnerGroupsItemOrganizationsRequestBuilderInternal(pathParameters map[string]string, ...) *ItemActionsRunnerGroupsItemOrganizationsRequestBuilder
- func (m *ItemActionsRunnerGroupsItemOrganizationsRequestBuilder) ByOrg_id(org_id int32) *ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder
- func (m *ItemActionsRunnerGroupsItemOrganizationsRequestBuilder) Get(ctx context.Context, ...) (ItemActionsRunnerGroupsItemOrganizationsGetResponseable, error)
- func (m *ItemActionsRunnerGroupsItemOrganizationsRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemActionsRunnerGroupsItemOrganizationsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsItemOrganizationsRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsItemOrganizationsRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnerGroupsItemOrganizationsRequestBuilder
- type ItemActionsRunnerGroupsItemOrganizationsRequestBuilderGetQueryParameters
- type ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder
- func NewItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder(rawUrl string, ...) *ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder
- func NewItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder
- func (m *ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder
- type ItemActionsRunnerGroupsItemRunnersGetResponse
- func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) GetFieldDeserializers() ...
- func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) GetRunners() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable
- func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) GetTotalCount() *float64
- func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) Serialize(...) error
- func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) SetRunners(...)
- func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) SetTotalCount(value *float64)
- type ItemActionsRunnerGroupsItemRunnersGetResponseable
- type ItemActionsRunnerGroupsItemRunnersPutRequestBody
- func (m *ItemActionsRunnerGroupsItemRunnersPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnerGroupsItemRunnersPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemActionsRunnerGroupsItemRunnersPutRequestBody) GetRunners() []int32
- func (m *ItemActionsRunnerGroupsItemRunnersPutRequestBody) Serialize(...) error
- func (m *ItemActionsRunnerGroupsItemRunnersPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnerGroupsItemRunnersPutRequestBody) SetRunners(value []int32)
- type ItemActionsRunnerGroupsItemRunnersPutRequestBodyable
- type ItemActionsRunnerGroupsItemRunnersRequestBuilder
- func (m *ItemActionsRunnerGroupsItemRunnersRequestBuilder) ByRunner_id(runner_id int32) *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder
- func (m *ItemActionsRunnerGroupsItemRunnersRequestBuilder) Get(ctx context.Context, ...) (ItemActionsRunnerGroupsItemRunnersGetResponseable, error)
- func (m *ItemActionsRunnerGroupsItemRunnersRequestBuilder) Put(ctx context.Context, body ItemActionsRunnerGroupsItemRunnersPutRequestBodyable, ...) error
- func (m *ItemActionsRunnerGroupsItemRunnersRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsItemRunnersRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsRunnerGroupsItemRunnersPutRequestBodyable, ...) (...)
- func (m *ItemActionsRunnerGroupsItemRunnersRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnerGroupsItemRunnersRequestBuilder
- type ItemActionsRunnerGroupsItemRunnersRequestBuilderGetQueryParameters
- type ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder
- func NewItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder(rawUrl string, ...) *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder
- func NewItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder
- func (m *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) Put(ctx context.Context, ...) error
- func (m *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder
- type ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody
- func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetAllowsPublicRepositories() *bool
- func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetName() *string
- func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetRestrictedToWorkflows() *bool
- func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetSelectedWorkflows() []string
- func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) Serialize(...) error
- func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetAllowsPublicRepositories(value *bool)
- func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetName(value *string)
- func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetRestrictedToWorkflows(value *bool)
- func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetSelectedWorkflows(value []string)
- type ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBodyable
- type ItemActionsRunnerGroupsPostRequestBody
- func (m *ItemActionsRunnerGroupsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnerGroupsPostRequestBody) GetAllowsPublicRepositories() *bool
- func (m *ItemActionsRunnerGroupsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemActionsRunnerGroupsPostRequestBody) GetName() *string
- func (m *ItemActionsRunnerGroupsPostRequestBody) GetRestrictedToWorkflows() *bool
- func (m *ItemActionsRunnerGroupsPostRequestBody) GetRunners() []int32
- func (m *ItemActionsRunnerGroupsPostRequestBody) GetSelectedOrganizationIds() []int32
- func (m *ItemActionsRunnerGroupsPostRequestBody) GetSelectedWorkflows() []string
- func (m *ItemActionsRunnerGroupsPostRequestBody) Serialize(...) error
- func (m *ItemActionsRunnerGroupsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnerGroupsPostRequestBody) SetAllowsPublicRepositories(value *bool)
- func (m *ItemActionsRunnerGroupsPostRequestBody) SetName(value *string)
- func (m *ItemActionsRunnerGroupsPostRequestBody) SetRestrictedToWorkflows(value *bool)
- func (m *ItemActionsRunnerGroupsPostRequestBody) SetRunners(value []int32)
- func (m *ItemActionsRunnerGroupsPostRequestBody) SetSelectedOrganizationIds(value []int32)
- func (m *ItemActionsRunnerGroupsPostRequestBody) SetSelectedWorkflows(value []string)
- type ItemActionsRunnerGroupsPostRequestBodyable
- type ItemActionsRunnerGroupsRequestBuilder
- func (m *ItemActionsRunnerGroupsRequestBuilder) ByRunner_group_id(runner_group_id int32) *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder
- func (m *ItemActionsRunnerGroupsRequestBuilder) Get(ctx context.Context, ...) (ItemActionsRunnerGroupsGetResponseable, error)
- func (m *ItemActionsRunnerGroupsRequestBuilder) Post(ctx context.Context, body ItemActionsRunnerGroupsPostRequestBodyable, ...) (...)
- func (m *ItemActionsRunnerGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemActionsRunnerGroupsPostRequestBodyable, ...) (...)
- func (m *ItemActionsRunnerGroupsRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnerGroupsRequestBuilder
- type ItemActionsRunnerGroupsRequestBuilderGetQueryParameters
- type ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder
- func NewItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder(rawUrl string, ...) *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder
- func NewItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder
- func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Organizations() *ItemActionsRunnerGroupsItemOrganizationsRequestBuilder
- func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Runners() *ItemActionsRunnerGroupsItemRunnersRequestBuilder
- func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder
- type ItemActionsRunnersDownloadsRequestBuilder
- func (m *ItemActionsRunnersDownloadsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersDownloadsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersDownloadsRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersDownloadsRequestBuilder
- type ItemActionsRunnersGenerateJitconfigPostRequestBody
- func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetLabels() []string
- func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetName() *string
- func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetRunnerGroupId() *int32
- func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetWorkFolder() *string
- func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) Serialize(...) error
- func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) SetLabels(value []string)
- func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) SetName(value *string)
- func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) SetRunnerGroupId(value *int32)
- func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) SetWorkFolder(value *string)
- type ItemActionsRunnersGenerateJitconfigPostRequestBodyable
- type ItemActionsRunnersGenerateJitconfigPostResponse
- func (m *ItemActionsRunnersGenerateJitconfigPostResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnersGenerateJitconfigPostResponse) GetEncodedJitConfig() *string
- func (m *ItemActionsRunnersGenerateJitconfigPostResponse) GetFieldDeserializers() ...
- func (m *ItemActionsRunnersGenerateJitconfigPostResponse) GetRunner() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable
- func (m *ItemActionsRunnersGenerateJitconfigPostResponse) Serialize(...) error
- func (m *ItemActionsRunnersGenerateJitconfigPostResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnersGenerateJitconfigPostResponse) SetEncodedJitConfig(value *string)
- func (m *ItemActionsRunnersGenerateJitconfigPostResponse) SetRunner(...)
- type ItemActionsRunnersGenerateJitconfigPostResponseable
- type ItemActionsRunnersGenerateJitconfigRequestBuilder
- func (m *ItemActionsRunnersGenerateJitconfigRequestBuilder) Post(ctx context.Context, ...) (ItemActionsRunnersGenerateJitconfigPostResponseable, error)
- func (m *ItemActionsRunnersGenerateJitconfigRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersGenerateJitconfigRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersGenerateJitconfigRequestBuilder
- type ItemActionsRunnersGetResponse
- func (m *ItemActionsRunnersGetResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnersGetResponse) GetFieldDeserializers() ...
- func (m *ItemActionsRunnersGetResponse) GetRunners() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable
- func (m *ItemActionsRunnersGetResponse) GetTotalCount() *float64
- func (m *ItemActionsRunnersGetResponse) Serialize(...) error
- func (m *ItemActionsRunnersGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnersGetResponse) SetRunners(...)
- func (m *ItemActionsRunnersGetResponse) SetTotalCount(value *float64)
- type ItemActionsRunnersGetResponseable
- type ItemActionsRunnersItemLabelsDeleteResponse
- func (m *ItemActionsRunnersItemLabelsDeleteResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnersItemLabelsDeleteResponse) GetFieldDeserializers() ...
- func (m *ItemActionsRunnersItemLabelsDeleteResponse) GetLabels() ...
- func (m *ItemActionsRunnersItemLabelsDeleteResponse) GetTotalCount() *int32
- func (m *ItemActionsRunnersItemLabelsDeleteResponse) Serialize(...) error
- func (m *ItemActionsRunnersItemLabelsDeleteResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnersItemLabelsDeleteResponse) SetLabels(...)
- func (m *ItemActionsRunnersItemLabelsDeleteResponse) SetTotalCount(value *int32)
- type ItemActionsRunnersItemLabelsDeleteResponseable
- type ItemActionsRunnersItemLabelsGetResponse
- func (m *ItemActionsRunnersItemLabelsGetResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnersItemLabelsGetResponse) GetFieldDeserializers() ...
- func (m *ItemActionsRunnersItemLabelsGetResponse) GetLabels() ...
- func (m *ItemActionsRunnersItemLabelsGetResponse) GetTotalCount() *int32
- func (m *ItemActionsRunnersItemLabelsGetResponse) Serialize(...) error
- func (m *ItemActionsRunnersItemLabelsGetResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnersItemLabelsGetResponse) SetLabels(...)
- func (m *ItemActionsRunnersItemLabelsGetResponse) SetTotalCount(value *int32)
- type ItemActionsRunnersItemLabelsGetResponseable
- type ItemActionsRunnersItemLabelsItemWithNameDeleteResponse
- func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetFieldDeserializers() ...
- func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetLabels() ...
- func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetTotalCount() *int32
- func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) Serialize(...) error
- func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetLabels(...)
- func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetTotalCount(value *int32)
- type ItemActionsRunnersItemLabelsItemWithNameDeleteResponseable
- type ItemActionsRunnersItemLabelsPostRequestBody
- func (m *ItemActionsRunnersItemLabelsPostRequestBody) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnersItemLabelsPostRequestBody) GetFieldDeserializers() ...
- func (m *ItemActionsRunnersItemLabelsPostRequestBody) GetLabels() []string
- func (m *ItemActionsRunnersItemLabelsPostRequestBody) Serialize(...) error
- func (m *ItemActionsRunnersItemLabelsPostRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnersItemLabelsPostRequestBody) SetLabels(value []string)
- type ItemActionsRunnersItemLabelsPostRequestBodyable
- type ItemActionsRunnersItemLabelsPostResponse
- func (m *ItemActionsRunnersItemLabelsPostResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnersItemLabelsPostResponse) GetFieldDeserializers() ...
- func (m *ItemActionsRunnersItemLabelsPostResponse) GetLabels() ...
- func (m *ItemActionsRunnersItemLabelsPostResponse) GetTotalCount() *int32
- func (m *ItemActionsRunnersItemLabelsPostResponse) Serialize(...) error
- func (m *ItemActionsRunnersItemLabelsPostResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnersItemLabelsPostResponse) SetLabels(...)
- func (m *ItemActionsRunnersItemLabelsPostResponse) SetTotalCount(value *int32)
- type ItemActionsRunnersItemLabelsPostResponseable
- type ItemActionsRunnersItemLabelsPutRequestBody
- func (m *ItemActionsRunnersItemLabelsPutRequestBody) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnersItemLabelsPutRequestBody) GetFieldDeserializers() ...
- func (m *ItemActionsRunnersItemLabelsPutRequestBody) GetLabels() []string
- func (m *ItemActionsRunnersItemLabelsPutRequestBody) Serialize(...) error
- func (m *ItemActionsRunnersItemLabelsPutRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnersItemLabelsPutRequestBody) SetLabels(value []string)
- type ItemActionsRunnersItemLabelsPutRequestBodyable
- type ItemActionsRunnersItemLabelsPutResponse
- func (m *ItemActionsRunnersItemLabelsPutResponse) GetAdditionalData() map[string]any
- func (m *ItemActionsRunnersItemLabelsPutResponse) GetFieldDeserializers() ...
- func (m *ItemActionsRunnersItemLabelsPutResponse) GetLabels() ...
- func (m *ItemActionsRunnersItemLabelsPutResponse) GetTotalCount() *int32
- func (m *ItemActionsRunnersItemLabelsPutResponse) Serialize(...) error
- func (m *ItemActionsRunnersItemLabelsPutResponse) SetAdditionalData(value map[string]any)
- func (m *ItemActionsRunnersItemLabelsPutResponse) SetLabels(...)
- func (m *ItemActionsRunnersItemLabelsPutResponse) SetTotalCount(value *int32)
- type ItemActionsRunnersItemLabelsPutResponseable
- type ItemActionsRunnersItemLabelsRequestBuilder
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) ByName(name string) *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) Delete(ctx context.Context, ...) (ItemActionsRunnersItemLabelsDeleteResponseable, error)
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) Get(ctx context.Context, ...) (ItemActionsRunnersItemLabelsGetResponseable, error)
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) Post(ctx context.Context, body ItemActionsRunnersItemLabelsPostRequestBodyable, ...) (ItemActionsRunnersItemLabelsPostResponseable, error)
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) Put(ctx context.Context, body ItemActionsRunnersItemLabelsPutRequestBodyable, ...) (ItemActionsRunnersItemLabelsPutResponseable, error)
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemActionsRunnersItemLabelsPostRequestBodyable, ...) (...)
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsRunnersItemLabelsPutRequestBodyable, ...) (...)
- func (m *ItemActionsRunnersItemLabelsRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersItemLabelsRequestBuilder
- type ItemActionsRunnersItemLabelsWithNameItemRequestBuilder
- func NewItemActionsRunnersItemLabelsWithNameItemRequestBuilder(rawUrl string, ...) *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder
- func NewItemActionsRunnersItemLabelsWithNameItemRequestBuilderInternal(pathParameters map[string]string, ...) *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder
- func (m *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) Delete(ctx context.Context, ...) (ItemActionsRunnersItemLabelsItemWithNameDeleteResponseable, error)
- func (m *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder
- type ItemActionsRunnersRegistrationTokenRequestBuilder
- func (m *ItemActionsRunnersRegistrationTokenRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersRegistrationTokenRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersRegistrationTokenRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersRegistrationTokenRequestBuilder
- type ItemActionsRunnersRemoveTokenRequestBuilder
- func (m *ItemActionsRunnersRemoveTokenRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersRemoveTokenRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersRemoveTokenRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersRemoveTokenRequestBuilder
- type ItemActionsRunnersRequestBuilder
- func (m *ItemActionsRunnersRequestBuilder) ByRunner_id(runner_id int32) *ItemActionsRunnersWithRunner_ItemRequestBuilder
- func (m *ItemActionsRunnersRequestBuilder) Downloads() *ItemActionsRunnersDownloadsRequestBuilder
- func (m *ItemActionsRunnersRequestBuilder) GenerateJitconfig() *ItemActionsRunnersGenerateJitconfigRequestBuilder
- func (m *ItemActionsRunnersRequestBuilder) Get(ctx context.Context, ...) (ItemActionsRunnersGetResponseable, error)
- func (m *ItemActionsRunnersRequestBuilder) RegistrationToken() *ItemActionsRunnersRegistrationTokenRequestBuilder
- func (m *ItemActionsRunnersRequestBuilder) RemoveToken() *ItemActionsRunnersRemoveTokenRequestBuilder
- func (m *ItemActionsRunnersRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersRequestBuilder
- type ItemActionsRunnersRequestBuilderGetQueryParameters
- type ItemActionsRunnersWithRunner_ItemRequestBuilder
- func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) Get(ctx context.Context, ...) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable, ...)
- func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) Labels() *ItemActionsRunnersItemLabelsRequestBuilder
- func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersWithRunner_ItemRequestBuilder
- type ItemAuditLogRequestBuilder
- type ItemAuditLogRequestBuilderGetQueryParameters
- type ItemCodeScanningAlertsRequestBuilder
- type ItemCodeScanningAlertsRequestBuilderGetQueryParameters
- type ItemCodeScanningRequestBuilder
- type ItemCode_security_and_analysisPatchRequestBody
- func (m *ItemCode_security_and_analysisPatchRequestBody) GetAdditionalData() map[string]any
- func (m *ItemCode_security_and_analysisPatchRequestBody) GetAdvancedSecurityEnabledForNewRepositories() *bool
- func (m *ItemCode_security_and_analysisPatchRequestBody) GetDependabotAlertsEnabledForNewRepositories() *bool
- func (m *ItemCode_security_and_analysisPatchRequestBody) GetFieldDeserializers() ...
- func (m *ItemCode_security_and_analysisPatchRequestBody) GetSecretScanningEnabledForNewRepositories() *bool
- func (m *ItemCode_security_and_analysisPatchRequestBody) GetSecretScanningPushProtectionCustomLink() *string
- func (m *ItemCode_security_and_analysisPatchRequestBody) GetSecretScanningPushProtectionEnabledForNewRepositories() *bool
- func (m *ItemCode_security_and_analysisPatchRequestBody) Serialize(...) error
- func (m *ItemCode_security_and_analysisPatchRequestBody) SetAdditionalData(value map[string]any)
- func (m *ItemCode_security_and_analysisPatchRequestBody) SetAdvancedSecurityEnabledForNewRepositories(value *bool)
- func (m *ItemCode_security_and_analysisPatchRequestBody) SetDependabotAlertsEnabledForNewRepositories(value *bool)
- func (m *ItemCode_security_and_analysisPatchRequestBody) SetSecretScanningEnabledForNewRepositories(value *bool)
- func (m *ItemCode_security_and_analysisPatchRequestBody) SetSecretScanningPushProtectionCustomLink(value *string)
- func (m *ItemCode_security_and_analysisPatchRequestBody) SetSecretScanningPushProtectionEnabledForNewRepositories(value *bool)
- type ItemCode_security_and_analysisPatchRequestBodyable
- type ItemCode_security_and_analysisRequestBuilder
- func (m *ItemCode_security_and_analysisRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemCode_security_and_analysisRequestBuilder) Patch(ctx context.Context, body ItemCode_security_and_analysisPatchRequestBodyable, ...) error
- func (m *ItemCode_security_and_analysisRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemCode_security_and_analysisRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemCode_security_and_analysisPatchRequestBodyable, ...) (...)
- func (m *ItemCode_security_and_analysisRequestBuilder) WithUrl(rawUrl string) *ItemCode_security_and_analysisRequestBuilder
- type ItemDependabotAlertsRequestBuilder
- type ItemDependabotAlertsRequestBuilderGetQueryParameters
- type ItemDependabotRequestBuilder
- type ItemItemWithEnablementItemRequestBuilder
- func (m *ItemItemWithEnablementItemRequestBuilder) Post(ctx context.Context, ...) error
- func (m *ItemItemWithEnablementItemRequestBuilder) ToPostRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemItemWithEnablementItemRequestBuilder) WithUrl(rawUrl string) *ItemItemWithEnablementItemRequestBuilder
- type ItemSecretScanningAlertsRequestBuilder
- func (m *ItemSecretScanningAlertsRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemSecretScanningAlertsRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemSecretScanningAlertsRequestBuilder) WithUrl(rawUrl string) *ItemSecretScanningAlertsRequestBuilder
- type ItemSecretScanningAlertsRequestBuilderGetQueryParameters
- type ItemSecretScanningRequestBuilder
- type ItemSettingsBillingAdvancedSecurityRequestBuilder
- func (m *ItemSettingsBillingAdvancedSecurityRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *ItemSettingsBillingAdvancedSecurityRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *ItemSettingsBillingAdvancedSecurityRequestBuilder) WithUrl(rawUrl string) *ItemSettingsBillingAdvancedSecurityRequestBuilder
- type ItemSettingsBillingAdvancedSecurityRequestBuilderGetQueryParameters
- type ItemSettingsBillingRequestBuilder
- type ItemSettingsRequestBuilder
- type ItemWithSecurity_productItemRequestBuilder
- type WithEnterpriseItemRequestBuilder
- func (m *WithEnterpriseItemRequestBuilder) Actions() *ItemActionsRequestBuilder
- func (m *WithEnterpriseItemRequestBuilder) AuditLog() *ItemAuditLogRequestBuilder
- func (m *WithEnterpriseItemRequestBuilder) BySecurity_product(security_product string) *ItemWithSecurity_productItemRequestBuilder
- func (m *WithEnterpriseItemRequestBuilder) CodeScanning() *ItemCodeScanningRequestBuilder
- func (m *WithEnterpriseItemRequestBuilder) Code_security_and_analysis() *ItemCode_security_and_analysisRequestBuilder
- func (m *WithEnterpriseItemRequestBuilder) Dependabot() *ItemDependabotRequestBuilder
- func (m *WithEnterpriseItemRequestBuilder) SecretScanning() *ItemSecretScanningRequestBuilder
- func (m *WithEnterpriseItemRequestBuilder) Settings() *ItemSettingsRequestBuilder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateItemActionsPermissionsOrganizationsGetResponseFromDiscriminatorValue ¶
func CreateItemActionsPermissionsOrganizationsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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 ¶
func CreateItemActionsPermissionsPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsPermissionsPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsRunnerGroupsGetResponseFromDiscriminatorValue ¶
func CreateItemActionsRunnerGroupsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnerGroupsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func 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 ¶
func CreateItemActionsRunnerGroupsItemRunnersGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnerGroupsItemRunnersGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsRunnerGroupsItemRunnersPutRequestBodyFromDiscriminatorValue ¶
func CreateItemActionsRunnerGroupsItemRunnersPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnerGroupsItemRunnersPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBodyFromDiscriminatorValue ¶
func CreateItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsRunnerGroupsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemActionsRunnerGroupsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnerGroupsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsRunnersGenerateJitconfigPostRequestBodyFromDiscriminatorValue ¶
func CreateItemActionsRunnersGenerateJitconfigPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersGenerateJitconfigPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsRunnersGenerateJitconfigPostResponseFromDiscriminatorValue ¶
func CreateItemActionsRunnersGenerateJitconfigPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersGenerateJitconfigPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsRunnersGetResponseFromDiscriminatorValue ¶
func CreateItemActionsRunnersGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsRunnersItemLabelsDeleteResponseFromDiscriminatorValue ¶
func CreateItemActionsRunnersItemLabelsDeleteResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersItemLabelsDeleteResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsRunnersItemLabelsGetResponseFromDiscriminatorValue ¶
func CreateItemActionsRunnersItemLabelsGetResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersItemLabelsGetResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsRunnersItemLabelsItemWithNameDeleteResponseFromDiscriminatorValue ¶
func CreateItemActionsRunnersItemLabelsItemWithNameDeleteResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersItemLabelsItemWithNameDeleteResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsRunnersItemLabelsPostRequestBodyFromDiscriminatorValue ¶
func CreateItemActionsRunnersItemLabelsPostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersItemLabelsPostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsRunnersItemLabelsPostResponseFromDiscriminatorValue ¶
func CreateItemActionsRunnersItemLabelsPostResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersItemLabelsPostResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsRunnersItemLabelsPutRequestBodyFromDiscriminatorValue ¶
func CreateItemActionsRunnersItemLabelsPutRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersItemLabelsPutRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemActionsRunnersItemLabelsPutResponseFromDiscriminatorValue ¶
func CreateItemActionsRunnersItemLabelsPutResponseFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemActionsRunnersItemLabelsPutResponseFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
func CreateItemCode_security_and_analysisPatchRequestBodyFromDiscriminatorValue ¶
func CreateItemCode_security_and_analysisPatchRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
CreateItemCode_security_and_analysisPatchRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value returns a Parsable when successful
Types ¶
type EnterprisesRequestBuilder ¶
type EnterprisesRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
EnterprisesRequestBuilder builds and executes requests for operations under \enterprises
func NewEnterprisesRequestBuilder ¶
func NewEnterprisesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *EnterprisesRequestBuilder
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 ¶
func (m *EnterprisesRequestBuilder) ByEnterprise(enterprise string) *WithEnterpriseItemRequestBuilder
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 ¶
type ItemActionsCacheRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsCacheRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\cache
func NewItemActionsCacheRequestBuilder ¶
func NewItemActionsCacheRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsCacheRequestBuilder
NewItemActionsCacheRequestBuilder instantiates a new ItemActionsCacheRequestBuilder and sets the default values.
func NewItemActionsCacheRequestBuilderInternal ¶
func NewItemActionsCacheRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsCacheRequestBuilder
NewItemActionsCacheRequestBuilderInternal instantiates a new ItemActionsCacheRequestBuilder and sets the default values.
func (*ItemActionsCacheRequestBuilder) Usage ¶
func (m *ItemActionsCacheRequestBuilder) Usage() *ItemActionsCacheUsageRequestBuilder
Usage the usage property returns a *ItemActionsCacheUsageRequestBuilder when successful
func (*ItemActionsCacheRequestBuilder) UsagePolicy ¶
func (m *ItemActionsCacheRequestBuilder) UsagePolicy() *ItemActionsCacheUsagePolicyRequestBuilder
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 ¶
func NewItemActionsCacheUsagePolicyRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsCacheUsagePolicyRequestBuilder
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 ¶
func (m *ItemActionsCacheUsagePolicyRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsCacheUsagePolicyEnterpriseable, error)
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 ¶
func (m *ItemActionsCacheUsagePolicyRequestBuilder) Patch(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsCacheUsagePolicyEnterpriseable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsCacheUsagePolicyRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsCacheUsagePolicyRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsCacheUsagePolicyEnterpriseable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsCacheUsagePolicyRequestBuilder) WithUrl(rawUrl string) *ItemActionsCacheUsagePolicyRequestBuilder
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 ¶
type ItemActionsCacheUsageRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsCacheUsageRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\cache\usage
func NewItemActionsCacheUsageRequestBuilder ¶
func NewItemActionsCacheUsageRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsCacheUsageRequestBuilder
NewItemActionsCacheUsageRequestBuilder instantiates a new ItemActionsCacheUsageRequestBuilder and sets the default values.
func NewItemActionsCacheUsageRequestBuilderInternal ¶
func NewItemActionsCacheUsageRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsCacheUsageRequestBuilder
NewItemActionsCacheUsageRequestBuilderInternal instantiates a new ItemActionsCacheUsageRequestBuilder and sets the default values.
func (*ItemActionsCacheUsageRequestBuilder) Get ¶
func (m *ItemActionsCacheUsageRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsCacheUsageOrgEnterpriseable, error)
Get gets the total GitHub Actions cache usage for an 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 ¶
func (m *ItemActionsCacheUsageRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the total GitHub Actions cache usage for an 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 ¶
func (m *ItemActionsCacheUsageRequestBuilder) WithUrl(rawUrl string) *ItemActionsCacheUsageRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemActionsCacheUsageRequestBuilder when successful
type 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 ¶
func (m *ItemActionsPermissionsOrganizationsGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsPermissionsOrganizationsGetResponse) GetOrganizations ¶
func (m *ItemActionsPermissionsOrganizationsGetResponse) GetOrganizations() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationSimpleable
GetOrganizations gets the organizations property value. The organizations property returns a []OrganizationSimpleable when successful
func (*ItemActionsPermissionsOrganizationsGetResponse) GetTotalCount ¶
func (m *ItemActionsPermissionsOrganizationsGetResponse) GetTotalCount() *float64
GetTotalCount gets the total_count property value. The total_count property returns a *float64 when successful
func (*ItemActionsPermissionsOrganizationsGetResponse) Serialize ¶
func (m *ItemActionsPermissionsOrganizationsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsPermissionsOrganizationsGetResponse) SetOrganizations(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationSimpleable)
SetOrganizations sets the organizations property value. The organizations property
func (*ItemActionsPermissionsOrganizationsGetResponse) SetTotalCount ¶
func (m *ItemActionsPermissionsOrganizationsGetResponse) SetTotalCount(value *float64)
SetTotalCount sets the total_count property value. The total_count property
type ItemActionsPermissionsOrganizationsGetResponseable ¶
type ItemActionsPermissionsOrganizationsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetOrganizations() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationSimpleable GetTotalCount() *float64 SetOrganizations(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationSimpleable) SetTotalCount(value *float64) }
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 ¶
func (m *ItemActionsPermissionsOrganizationsPutRequestBody) GetAdditionalData() map[string]any
GetAdditionalData 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 ¶
func (m *ItemActionsPermissionsOrganizationsPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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 ¶
func (m *ItemActionsPermissionsOrganizationsPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func NewItemActionsPermissionsOrganizationsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsOrganizationsRequestBuilder
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 ¶
func (m *ItemActionsPermissionsOrganizationsRequestBuilder) ByOrg_id(org_id int32) *ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder
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 ¶
func (m *ItemActionsPermissionsOrganizationsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsPermissionsOrganizationsRequestBuilderGetQueryParameters]) (ItemActionsPermissionsOrganizationsGetResponseable, error)
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 ¶
func (m *ItemActionsPermissionsOrganizationsRequestBuilder) Put(ctx context.Context, body ItemActionsPermissionsOrganizationsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsPermissionsOrganizationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsPermissionsOrganizationsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsPermissionsOrganizationsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsPermissionsOrganizationsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsPermissionsOrganizationsRequestBuilder) WithUrl(rawUrl string) *ItemActionsPermissionsOrganizationsRequestBuilder
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.10/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.10/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 ¶
func (m *ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder) Put(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsPermissionsOrganizationsWithOrg_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *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 ¶
func (m *ItemActionsPermissionsPutRequestBody) GetAllowedActions() *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.AllowedActions
GetAllowedActions gets the allowed_actions property value. The permissions policy that controls the actions that are allowed to run. returns a *AllowedActions when successful
func (*ItemActionsPermissionsPutRequestBody) GetEnabledOrganizations ¶
func (m *ItemActionsPermissionsPutRequestBody) GetEnabledOrganizations() *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EnabledOrganizations
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 ¶
func (m *ItemActionsPermissionsPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsPermissionsPutRequestBody) Serialize ¶
func (m *ItemActionsPermissionsPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemActionsPermissionsPutRequestBody) SetAdditionalData ¶
func (m *ItemActionsPermissionsPutRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsPermissionsPutRequestBody) SetAllowedActions ¶
func (m *ItemActionsPermissionsPutRequestBody) SetAllowedActions(value *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.AllowedActions)
SetAllowedActions sets the allowed_actions property value. The permissions policy that controls the actions that are allowed to run.
func (*ItemActionsPermissionsPutRequestBody) SetEnabledOrganizations ¶
func (m *ItemActionsPermissionsPutRequestBody) SetEnabledOrganizations(value *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EnabledOrganizations)
SetEnabledOrganizations sets the enabled_organizations property value. The policy that controls the organizations in the enterprise that are allowed to run GitHub Actions.
type ItemActionsPermissionsPutRequestBodyable ¶
type ItemActionsPermissionsPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAllowedActions() *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.AllowedActions GetEnabledOrganizations() *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EnabledOrganizations SetAllowedActions(value *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.AllowedActions) SetEnabledOrganizations(value *ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EnabledOrganizations) }
type ItemActionsPermissionsRequestBuilder ¶
type ItemActionsPermissionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsPermissionsRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\permissions
func NewItemActionsPermissionsRequestBuilder ¶
func NewItemActionsPermissionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsRequestBuilder
NewItemActionsPermissionsRequestBuilder instantiates a new ItemActionsPermissionsRequestBuilder and sets the default values.
func NewItemActionsPermissionsRequestBuilderInternal ¶
func NewItemActionsPermissionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsRequestBuilder
NewItemActionsPermissionsRequestBuilderInternal instantiates a new ItemActionsPermissionsRequestBuilder and sets the default values.
func (*ItemActionsPermissionsRequestBuilder) Get ¶
func (m *ItemActionsPermissionsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsEnterprisePermissionsable, error)
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 ¶
func (m *ItemActionsPermissionsRequestBuilder) Organizations() *ItemActionsPermissionsOrganizationsRequestBuilder
Organizations the organizations property returns a *ItemActionsPermissionsOrganizationsRequestBuilder when successful
func (*ItemActionsPermissionsRequestBuilder) Put ¶
func (m *ItemActionsPermissionsRequestBuilder) Put(ctx context.Context, body ItemActionsPermissionsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put sets the GitHub Actions permissions policy for 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 ¶
func (m *ItemActionsPermissionsRequestBuilder) SelectedActions() *ItemActionsPermissionsSelectedActionsRequestBuilder
SelectedActions the selectedActions property returns a *ItemActionsPermissionsSelectedActionsRequestBuilder when successful
func (*ItemActionsPermissionsRequestBuilder) ToGetRequestInformation ¶
func (m *ItemActionsPermissionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the GitHub Actions permissions policy for 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 ¶
func (m *ItemActionsPermissionsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsPermissionsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation sets the GitHub Actions permissions policy for 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 ¶
func (m *ItemActionsPermissionsRequestBuilder) WithUrl(rawUrl string) *ItemActionsPermissionsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemActionsPermissionsRequestBuilder when successful
func (*ItemActionsPermissionsRequestBuilder) Workflow ¶
func (m *ItemActionsPermissionsRequestBuilder) Workflow() *ItemActionsPermissionsWorkflowRequestBuilder
Workflow the workflow property returns a *ItemActionsPermissionsWorkflowRequestBuilder when successful
type ItemActionsPermissionsSelectedActionsRequestBuilder ¶
type ItemActionsPermissionsSelectedActionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsPermissionsSelectedActionsRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\permissions\selected-actions
func NewItemActionsPermissionsSelectedActionsRequestBuilder ¶
func NewItemActionsPermissionsSelectedActionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsSelectedActionsRequestBuilder
NewItemActionsPermissionsSelectedActionsRequestBuilder instantiates a new ItemActionsPermissionsSelectedActionsRequestBuilder and sets the default values.
func NewItemActionsPermissionsSelectedActionsRequestBuilderInternal ¶
func NewItemActionsPermissionsSelectedActionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsSelectedActionsRequestBuilder
NewItemActionsPermissionsSelectedActionsRequestBuilderInternal instantiates a new ItemActionsPermissionsSelectedActionsRequestBuilder and sets the default values.
func (*ItemActionsPermissionsSelectedActionsRequestBuilder) Get ¶
func (m *ItemActionsPermissionsSelectedActionsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SelectedActionsable, error)
Get gets the selected actions that are allowed in an 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 ¶
func (m *ItemActionsPermissionsSelectedActionsRequestBuilder) Put(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SelectedActionsable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put sets the actions that are allowed in an 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 ¶
func (m *ItemActionsPermissionsSelectedActionsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the selected actions that are allowed in an 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 ¶
func (m *ItemActionsPermissionsSelectedActionsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.SelectedActionsable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation sets the actions that are allowed in an 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 ¶
func (m *ItemActionsPermissionsSelectedActionsRequestBuilder) WithUrl(rawUrl string) *ItemActionsPermissionsSelectedActionsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemActionsPermissionsSelectedActionsRequestBuilder when successful
type ItemActionsPermissionsWorkflowRequestBuilder ¶
type ItemActionsPermissionsWorkflowRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsPermissionsWorkflowRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\permissions\workflow
func NewItemActionsPermissionsWorkflowRequestBuilder ¶
func NewItemActionsPermissionsWorkflowRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsWorkflowRequestBuilder
NewItemActionsPermissionsWorkflowRequestBuilder instantiates a new ItemActionsPermissionsWorkflowRequestBuilder and sets the default values.
func NewItemActionsPermissionsWorkflowRequestBuilderInternal ¶
func NewItemActionsPermissionsWorkflowRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsPermissionsWorkflowRequestBuilder
NewItemActionsPermissionsWorkflowRequestBuilderInternal instantiates a new ItemActionsPermissionsWorkflowRequestBuilder and sets the default values.
func (*ItemActionsPermissionsWorkflowRequestBuilder) Get ¶
func (m *ItemActionsPermissionsWorkflowRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsGetDefaultWorkflowPermissionsable, error)
Get gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an 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.10/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 ¶
func (m *ItemActionsPermissionsWorkflowRequestBuilder) Put(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsSetDefaultWorkflowPermissionsable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an 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.10/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 ¶
func (m *ItemActionsPermissionsWorkflowRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an 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.10/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 ¶
func (m *ItemActionsPermissionsWorkflowRequestBuilder) ToPutRequestInformation(ctx context.Context, body ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.ActionsSetDefaultWorkflowPermissionsable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation sets the default workflow permissions granted to the `GITHUB_TOKEN` when running workflows in an 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.10/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 ¶
func (m *ItemActionsPermissionsWorkflowRequestBuilder) WithUrl(rawUrl string) *ItemActionsPermissionsWorkflowRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemActionsPermissionsWorkflowRequestBuilder when successful
type ItemActionsRequestBuilder ¶
type ItemActionsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions
func NewItemActionsRequestBuilder ¶
func NewItemActionsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRequestBuilder
NewItemActionsRequestBuilder instantiates a new ItemActionsRequestBuilder and sets the default values.
func NewItemActionsRequestBuilderInternal ¶
func NewItemActionsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRequestBuilder
NewItemActionsRequestBuilderInternal instantiates a new ItemActionsRequestBuilder and sets the default values.
func (*ItemActionsRequestBuilder) Cache ¶
func (m *ItemActionsRequestBuilder) Cache() *ItemActionsCacheRequestBuilder
Cache the cache property returns a *ItemActionsCacheRequestBuilder when successful
func (*ItemActionsRequestBuilder) Permissions ¶
func (m *ItemActionsRequestBuilder) Permissions() *ItemActionsPermissionsRequestBuilder
Permissions the permissions property returns a *ItemActionsPermissionsRequestBuilder when successful
func (*ItemActionsRequestBuilder) RunnerGroups ¶
func (m *ItemActionsRequestBuilder) RunnerGroups() *ItemActionsRunnerGroupsRequestBuilder
RunnerGroups the runnerGroups property returns a *ItemActionsRunnerGroupsRequestBuilder when successful
func (*ItemActionsRequestBuilder) Runners ¶
func (m *ItemActionsRequestBuilder) Runners() *ItemActionsRunnersRequestBuilder
Runners the runners property returns a *ItemActionsRunnersRequestBuilder when successful
type ItemActionsRunnerGroupsGetResponse ¶
type ItemActionsRunnerGroupsGetResponse struct {
// contains filtered or unexported fields
}
func NewItemActionsRunnerGroupsGetResponse ¶
func NewItemActionsRunnerGroupsGetResponse() *ItemActionsRunnerGroupsGetResponse
NewItemActionsRunnerGroupsGetResponse instantiates a new ItemActionsRunnerGroupsGetResponse and sets the default values.
func (*ItemActionsRunnerGroupsGetResponse) GetAdditionalData ¶
func (m *ItemActionsRunnerGroupsGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemActionsRunnerGroupsGetResponse) GetFieldDeserializers ¶
func (m *ItemActionsRunnerGroupsGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnerGroupsGetResponse) GetRunnerGroups ¶
func (m *ItemActionsRunnerGroupsGetResponse) GetRunnerGroups() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerGroupsEnterpriseable
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 ¶
func (m *ItemActionsRunnerGroupsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemActionsRunnerGroupsGetResponse) SetAdditionalData ¶
func (m *ItemActionsRunnerGroupsGetResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsRunnerGroupsGetResponse) SetRunnerGroups ¶
func (m *ItemActionsRunnerGroupsGetResponse) SetRunnerGroups(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerGroupsEnterpriseable)
SetRunnerGroups sets the runner_groups property value. The runner_groups property
func (*ItemActionsRunnerGroupsGetResponse) SetTotalCount ¶
func (m *ItemActionsRunnerGroupsGetResponse) SetTotalCount(value *float64)
SetTotalCount sets the total_count property value. The total_count property
type ItemActionsRunnerGroupsGetResponseable ¶
type ItemActionsRunnerGroupsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetRunnerGroups() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerGroupsEnterpriseable GetTotalCount() *float64 SetRunnerGroups(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerGroupsEnterpriseable) SetTotalCount(value *float64) }
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 ¶
func (m *ItemActionsRunnerGroupsItemOrganizationsGetResponse) GetAdditionalData() map[string]any
GetAdditionalData 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 ¶
func (m *ItemActionsRunnerGroupsItemOrganizationsGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnerGroupsItemOrganizationsGetResponse) GetOrganizations ¶
func (m *ItemActionsRunnerGroupsItemOrganizationsGetResponse) GetOrganizations() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationSimpleable
GetOrganizations gets the organizations property value. The organizations property returns a []OrganizationSimpleable when successful
func (*ItemActionsRunnerGroupsItemOrganizationsGetResponse) GetTotalCount ¶
func (m *ItemActionsRunnerGroupsItemOrganizationsGetResponse) GetTotalCount() *float64
GetTotalCount gets the total_count property value. The total_count property returns a *float64 when successful
func (*ItemActionsRunnerGroupsItemOrganizationsGetResponse) Serialize ¶
func (m *ItemActionsRunnerGroupsItemOrganizationsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsRunnerGroupsItemOrganizationsGetResponse) SetOrganizations(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationSimpleable)
SetOrganizations sets the organizations property value. The organizations property
func (*ItemActionsRunnerGroupsItemOrganizationsGetResponse) SetTotalCount ¶
func (m *ItemActionsRunnerGroupsItemOrganizationsGetResponse) SetTotalCount(value *float64)
SetTotalCount sets the total_count property value. The total_count property
type ItemActionsRunnerGroupsItemOrganizationsGetResponseable ¶
type ItemActionsRunnerGroupsItemOrganizationsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetOrganizations() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationSimpleable GetTotalCount() *float64 SetOrganizations(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationSimpleable) SetTotalCount(value *float64) }
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 ¶
func (m *ItemActionsRunnerGroupsItemOrganizationsPutRequestBody) GetAdditionalData() map[string]any
GetAdditionalData 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 ¶
func (m *ItemActionsRunnerGroupsItemOrganizationsPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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 ¶
func (m *ItemActionsRunnerGroupsItemOrganizationsPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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 ¶
func (m *ItemActionsRunnerGroupsItemOrganizationsRequestBuilder) ByOrg_id(org_id int32) *ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder
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 ¶
func (m *ItemActionsRunnerGroupsItemOrganizationsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsRunnerGroupsItemOrganizationsRequestBuilderGetQueryParameters]) (ItemActionsRunnerGroupsItemOrganizationsGetResponseable, error)
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 ¶
func (m *ItemActionsRunnerGroupsItemOrganizationsRequestBuilder) Put(ctx context.Context, body ItemActionsRunnerGroupsItemOrganizationsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsRunnerGroupsItemOrganizationsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsRunnerGroupsItemOrganizationsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnerGroupsItemOrganizationsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsRunnerGroupsItemOrganizationsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnerGroupsItemOrganizationsRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnerGroupsItemOrganizationsRequestBuilder
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.10/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.10/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 ¶
func (m *ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder) Put(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnerGroupsItemOrganizationsWithOrg_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnerGroupsItemRunnersGetResponse) GetRunners ¶
func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) GetRunners() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable
GetRunners gets the runners property value. The runners property returns a []Runnerable when successful
func (*ItemActionsRunnerGroupsItemRunnersGetResponse) GetTotalCount ¶
func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) GetTotalCount() *float64
GetTotalCount gets the total_count property value. The total_count property returns a *float64 when successful
func (*ItemActionsRunnerGroupsItemRunnersGetResponse) Serialize ¶
func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemActionsRunnerGroupsItemRunnersGetResponse) SetAdditionalData ¶
func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsRunnerGroupsItemRunnersGetResponse) SetRunners ¶
func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) SetRunners(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable)
SetRunners sets the runners property value. The runners property
func (*ItemActionsRunnerGroupsItemRunnersGetResponse) SetTotalCount ¶
func (m *ItemActionsRunnerGroupsItemRunnersGetResponse) SetTotalCount(value *float64)
SetTotalCount sets the total_count property value. The total_count property
type ItemActionsRunnerGroupsItemRunnersGetResponseable ¶
type ItemActionsRunnerGroupsItemRunnersGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetRunners() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable GetTotalCount() *float64 SetRunners(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable) SetTotalCount(value *float64) }
type ItemActionsRunnerGroupsItemRunnersPutRequestBody ¶
type ItemActionsRunnerGroupsItemRunnersPutRequestBody struct {
// contains filtered or unexported fields
}
func NewItemActionsRunnerGroupsItemRunnersPutRequestBody ¶
func NewItemActionsRunnerGroupsItemRunnersPutRequestBody() *ItemActionsRunnerGroupsItemRunnersPutRequestBody
NewItemActionsRunnerGroupsItemRunnersPutRequestBody instantiates a new ItemActionsRunnerGroupsItemRunnersPutRequestBody and sets the default values.
func (*ItemActionsRunnerGroupsItemRunnersPutRequestBody) GetAdditionalData ¶
func (m *ItemActionsRunnerGroupsItemRunnersPutRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemActionsRunnerGroupsItemRunnersPutRequestBody) GetFieldDeserializers ¶
func (m *ItemActionsRunnerGroupsItemRunnersPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnerGroupsItemRunnersPutRequestBody) GetRunners ¶
func (m *ItemActionsRunnerGroupsItemRunnersPutRequestBody) GetRunners() []int32
GetRunners gets the runners property value. List of runner IDs to add to the runner group. returns a []int32 when successful
func (*ItemActionsRunnerGroupsItemRunnersPutRequestBody) Serialize ¶
func (m *ItemActionsRunnerGroupsItemRunnersPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemActionsRunnerGroupsItemRunnersPutRequestBody) SetAdditionalData ¶
func (m *ItemActionsRunnerGroupsItemRunnersPutRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsRunnerGroupsItemRunnersPutRequestBody) SetRunners ¶
func (m *ItemActionsRunnerGroupsItemRunnersPutRequestBody) SetRunners(value []int32)
SetRunners sets the runners property value. List of runner IDs to add to the runner group.
type ItemActionsRunnerGroupsItemRunnersPutRequestBodyable ¶
type ItemActionsRunnerGroupsItemRunnersPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetRunners() []int32 SetRunners(value []int32) }
type ItemActionsRunnerGroupsItemRunnersRequestBuilder ¶
type ItemActionsRunnerGroupsItemRunnersRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsRunnerGroupsItemRunnersRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\runner-groups\{runner_group_id}\runners
func NewItemActionsRunnerGroupsItemRunnersRequestBuilder ¶
func NewItemActionsRunnerGroupsItemRunnersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnerGroupsItemRunnersRequestBuilder
NewItemActionsRunnerGroupsItemRunnersRequestBuilder instantiates a new ItemActionsRunnerGroupsItemRunnersRequestBuilder and sets the default values.
func NewItemActionsRunnerGroupsItemRunnersRequestBuilderInternal ¶
func NewItemActionsRunnerGroupsItemRunnersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnerGroupsItemRunnersRequestBuilder
NewItemActionsRunnerGroupsItemRunnersRequestBuilderInternal instantiates a new ItemActionsRunnerGroupsItemRunnersRequestBuilder and sets the default values.
func (*ItemActionsRunnerGroupsItemRunnersRequestBuilder) ByRunner_id ¶
func (m *ItemActionsRunnerGroupsItemRunnersRequestBuilder) ByRunner_id(runner_id int32) *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder
ByRunner_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.enterprises.item.actions.runnerGroups.item.runners.item collection returns a *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder when successful
func (*ItemActionsRunnerGroupsItemRunnersRequestBuilder) Get ¶
func (m *ItemActionsRunnerGroupsItemRunnersRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsRunnerGroupsItemRunnersRequestBuilderGetQueryParameters]) (ItemActionsRunnerGroupsItemRunnersGetResponseable, error)
Get lists 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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersRequestBuilder) Put(ctx context.Context, body ItemActionsRunnerGroupsItemRunnersPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put replaces the list of self-hosted runners that are part of an 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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsRunnerGroupsItemRunnersRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsRunnerGroupsItemRunnersPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation replaces the list of self-hosted runners that are part of an 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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnerGroupsItemRunnersRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemActionsRunnerGroupsItemRunnersRequestBuilder when successful
type ItemActionsRunnerGroupsItemRunnersRequestBuilderGetQueryParameters ¶
type ItemActionsRunnerGroupsItemRunnersRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/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.10/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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete removes a self-hosted runner from a group configured in an 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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) Put(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Put adds a self-hosted runner to a runner group configured in an 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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation removes a self-hosted runner from a group configured in an 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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) ToPutRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation adds a self-hosted runner to a runner group configured in an 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 ¶
func (m *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemActionsRunnerGroupsItemRunnersWithRunner_ItemRequestBuilder when successful
type ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody ¶
type ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody struct {
// contains filtered or unexported fields
}
func NewItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody ¶
func NewItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody() *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody
NewItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody instantiates a new ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody and sets the default values.
func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetAdditionalData ¶
func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetAllowsPublicRepositories ¶
func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetAllowsPublicRepositories() *bool
GetAllowsPublicRepositories gets the allows_public_repositories property value. Whether the runner group can be used by `public` repositories. returns a *bool when successful
func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetFieldDeserializers ¶
func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetName ¶
func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetName() *string
GetName gets the name property value. Name of the runner group. returns a *string when successful
func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetRestrictedToWorkflows ¶
func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetRestrictedToWorkflows() *bool
GetRestrictedToWorkflows gets the restricted_to_workflows property value. If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. returns a *bool when successful
func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetSelectedWorkflows ¶
func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) GetSelectedWorkflows() []string
GetSelectedWorkflows gets the selected_workflows property value. List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`. returns a []string when successful
func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) Serialize ¶
func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetAdditionalData ¶
func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetAllowsPublicRepositories ¶
func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetAllowsPublicRepositories(value *bool)
SetAllowsPublicRepositories sets the allows_public_repositories property value. Whether the runner group can be used by `public` repositories.
func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetName ¶
func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetName(value *string)
SetName sets the name property value. Name of the runner group.
func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetRestrictedToWorkflows ¶
func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetRestrictedToWorkflows(value *bool)
SetRestrictedToWorkflows sets the restricted_to_workflows property value. If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.
func (*ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetSelectedWorkflows ¶
func (m *ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBody) SetSelectedWorkflows(value []string)
SetSelectedWorkflows sets the selected_workflows property value. List of workflows the runner group should be allowed to run. This setting will be ignored unless `restricted_to_workflows` is set to `true`.
type ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBodyable ¶
type ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetAllowsPublicRepositories() *bool GetName() *string GetRestrictedToWorkflows() *bool GetSelectedWorkflows() []string SetAllowsPublicRepositories(value *bool) SetName(value *string) SetRestrictedToWorkflows(value *bool) SetSelectedWorkflows(value []string) }
type ItemActionsRunnerGroupsPostRequestBody ¶
type ItemActionsRunnerGroupsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemActionsRunnerGroupsPostRequestBody ¶
func NewItemActionsRunnerGroupsPostRequestBody() *ItemActionsRunnerGroupsPostRequestBody
NewItemActionsRunnerGroupsPostRequestBody instantiates a new ItemActionsRunnerGroupsPostRequestBody and sets the default values.
func (*ItemActionsRunnerGroupsPostRequestBody) GetAdditionalData ¶
func (m *ItemActionsRunnerGroupsPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemActionsRunnerGroupsPostRequestBody) GetAllowsPublicRepositories ¶
func (m *ItemActionsRunnerGroupsPostRequestBody) GetAllowsPublicRepositories() *bool
GetAllowsPublicRepositories gets the allows_public_repositories property value. Whether the runner group can be used by `public` repositories. returns a *bool when successful
func (*ItemActionsRunnerGroupsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemActionsRunnerGroupsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnerGroupsPostRequestBody) GetName ¶
func (m *ItemActionsRunnerGroupsPostRequestBody) GetName() *string
GetName gets the name property value. Name of the runner group. returns a *string when successful
func (*ItemActionsRunnerGroupsPostRequestBody) GetRestrictedToWorkflows ¶
func (m *ItemActionsRunnerGroupsPostRequestBody) GetRestrictedToWorkflows() *bool
GetRestrictedToWorkflows gets the restricted_to_workflows property value. If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array. returns a *bool when successful
func (*ItemActionsRunnerGroupsPostRequestBody) GetRunners ¶
func (m *ItemActionsRunnerGroupsPostRequestBody) GetRunners() []int32
GetRunners gets the runners property value. List of runner IDs to add to the runner group. returns a []int32 when successful
func (*ItemActionsRunnerGroupsPostRequestBody) 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 ¶
func (m *ItemActionsRunnerGroupsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemActionsRunnerGroupsPostRequestBody) SetAdditionalData ¶
func (m *ItemActionsRunnerGroupsPostRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsRunnerGroupsPostRequestBody) SetAllowsPublicRepositories ¶
func (m *ItemActionsRunnerGroupsPostRequestBody) SetAllowsPublicRepositories(value *bool)
SetAllowsPublicRepositories sets the allows_public_repositories property value. Whether the runner group can be used by `public` repositories.
func (*ItemActionsRunnerGroupsPostRequestBody) SetName ¶
func (m *ItemActionsRunnerGroupsPostRequestBody) SetName(value *string)
SetName sets the name property value. Name of the runner group.
func (*ItemActionsRunnerGroupsPostRequestBody) SetRestrictedToWorkflows ¶
func (m *ItemActionsRunnerGroupsPostRequestBody) SetRestrictedToWorkflows(value *bool)
SetRestrictedToWorkflows sets the restricted_to_workflows property value. If `true`, the runner group will be restricted to running only the workflows specified in the `selected_workflows` array.
func (*ItemActionsRunnerGroupsPostRequestBody) SetRunners ¶
func (m *ItemActionsRunnerGroupsPostRequestBody) SetRunners(value []int32)
SetRunners sets the runners property value. List of runner IDs to add to the runner group.
func (*ItemActionsRunnerGroupsPostRequestBody) 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 ¶
func NewItemActionsRunnerGroupsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnerGroupsRequestBuilder
NewItemActionsRunnerGroupsRequestBuilder instantiates a new ItemActionsRunnerGroupsRequestBuilder and sets the default values.
func NewItemActionsRunnerGroupsRequestBuilderInternal ¶
func NewItemActionsRunnerGroupsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnerGroupsRequestBuilder
NewItemActionsRunnerGroupsRequestBuilderInternal instantiates a new ItemActionsRunnerGroupsRequestBuilder and sets the default values.
func (*ItemActionsRunnerGroupsRequestBuilder) ByRunner_group_id ¶
func (m *ItemActionsRunnerGroupsRequestBuilder) ByRunner_group_id(runner_group_id int32) *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder
ByRunner_group_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.enterprises.item.actions.runnerGroups.item collection returns a *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder when successful
func (*ItemActionsRunnerGroupsRequestBuilder) Get ¶
func (m *ItemActionsRunnerGroupsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsRunnerGroupsRequestBuilderGetQueryParameters]) (ItemActionsRunnerGroupsGetResponseable, error)
Get lists all self-hosted runner groups 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 ¶
func (m *ItemActionsRunnerGroupsRequestBuilder) Post(ctx context.Context, body ItemActionsRunnerGroupsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerGroupsEnterpriseable, error)
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 ¶
func (m *ItemActionsRunnerGroupsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsRunnerGroupsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnerGroupsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemActionsRunnerGroupsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation creates a new self-hosted runner group for an 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 ¶
func (m *ItemActionsRunnerGroupsRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnerGroupsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemActionsRunnerGroupsRequestBuilder when successful
type ItemActionsRunnerGroupsRequestBuilderGetQueryParameters ¶
type ItemActionsRunnerGroupsRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/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.10/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 ¶
func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerGroupsEnterpriseable, error)
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 ¶
func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Organizations() *ItemActionsRunnerGroupsItemOrganizationsRequestBuilder
Organizations the organizations property returns a *ItemActionsRunnerGroupsItemOrganizationsRequestBuilder when successful
func (*ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Patch ¶
func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Patch(ctx context.Context, body ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerGroupsEnterpriseable, error)
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 ¶
func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) Runners() *ItemActionsRunnerGroupsItemRunnersRequestBuilder
Runners the runners property returns a *ItemActionsRunnerGroupsItemRunnersRequestBuilder when successful
func (*ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation deletes a self-hosted runner group for an 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 ¶
func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a specific self-hosted runner group for an 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 ¶
func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemActionsRunnerGroupsItemWithRunner_group_PatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation updates the `name` and `visibility` of a self-hosted runner group in an 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 ¶
func (m *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemActionsRunnerGroupsWithRunner_group_ItemRequestBuilder when successful
type ItemActionsRunnersDownloadsRequestBuilder ¶
type ItemActionsRunnersDownloadsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsRunnersDownloadsRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\runners\downloads
func NewItemActionsRunnersDownloadsRequestBuilder ¶
func NewItemActionsRunnersDownloadsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersDownloadsRequestBuilder
NewItemActionsRunnersDownloadsRequestBuilder instantiates a new ItemActionsRunnersDownloadsRequestBuilder and sets the default values.
func NewItemActionsRunnersDownloadsRequestBuilderInternal ¶
func NewItemActionsRunnersDownloadsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersDownloadsRequestBuilder
NewItemActionsRunnersDownloadsRequestBuilderInternal instantiates a new ItemActionsRunnersDownloadsRequestBuilder and sets the default values.
func (*ItemActionsRunnersDownloadsRequestBuilder) Get ¶
func (m *ItemActionsRunnersDownloadsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerApplicationable, error)
Get lists binaries for the runner application that you can download and run.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 ¶
func (m *ItemActionsRunnersDownloadsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists binaries for the runner application that you can download and run.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 ¶
func (m *ItemActionsRunnersDownloadsRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersDownloadsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemActionsRunnersDownloadsRequestBuilder when successful
type ItemActionsRunnersGenerateJitconfigPostRequestBody ¶
type ItemActionsRunnersGenerateJitconfigPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemActionsRunnersGenerateJitconfigPostRequestBody ¶
func NewItemActionsRunnersGenerateJitconfigPostRequestBody() *ItemActionsRunnersGenerateJitconfigPostRequestBody
NewItemActionsRunnersGenerateJitconfigPostRequestBody instantiates a new ItemActionsRunnersGenerateJitconfigPostRequestBody and sets the default values.
func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetAdditionalData ¶
func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetFieldDeserializers ¶
func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetLabels ¶
func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetLabels() []string
GetLabels gets the labels property value. The names of the custom labels to add to the runner. **Minimum items**: 1. **Maximum items**: 100. returns a []string when successful
func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetName ¶
func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetName() *string
GetName gets the name property value. The name of the new runner. returns a *string when successful
func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetRunnerGroupId ¶
func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetRunnerGroupId() *int32
GetRunnerGroupId gets the runner_group_id property value. The ID of the runner group to register the runner to. returns a *int32 when successful
func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) GetWorkFolder ¶
func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) GetWorkFolder() *string
GetWorkFolder gets the work_folder property value. The working directory to be used for job execution, relative to the runner install directory. returns a *string when successful
func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) Serialize ¶
func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) SetAdditionalData ¶
func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) SetLabels ¶
func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) SetLabels(value []string)
SetLabels sets the labels property value. The names of the custom labels to add to the runner. **Minimum items**: 1. **Maximum items**: 100.
func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) SetName ¶
func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) SetName(value *string)
SetName sets the name property value. The name of the new runner.
func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) SetRunnerGroupId ¶
func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) SetRunnerGroupId(value *int32)
SetRunnerGroupId sets the runner_group_id property value. The ID of the runner group to register the runner to.
func (*ItemActionsRunnersGenerateJitconfigPostRequestBody) SetWorkFolder ¶
func (m *ItemActionsRunnersGenerateJitconfigPostRequestBody) SetWorkFolder(value *string)
SetWorkFolder sets the work_folder property value. The working directory to be used for job execution, relative to the runner install directory.
type ItemActionsRunnersGenerateJitconfigPostRequestBodyable ¶
type ItemActionsRunnersGenerateJitconfigPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []string GetName() *string GetRunnerGroupId() *int32 GetWorkFolder() *string SetLabels(value []string) SetName(value *string) SetRunnerGroupId(value *int32) SetWorkFolder(value *string) }
type ItemActionsRunnersGenerateJitconfigPostResponse ¶
type ItemActionsRunnersGenerateJitconfigPostResponse struct {
// contains filtered or unexported fields
}
func NewItemActionsRunnersGenerateJitconfigPostResponse ¶
func NewItemActionsRunnersGenerateJitconfigPostResponse() *ItemActionsRunnersGenerateJitconfigPostResponse
NewItemActionsRunnersGenerateJitconfigPostResponse instantiates a new ItemActionsRunnersGenerateJitconfigPostResponse and sets the default values.
func (*ItemActionsRunnersGenerateJitconfigPostResponse) GetAdditionalData ¶
func (m *ItemActionsRunnersGenerateJitconfigPostResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemActionsRunnersGenerateJitconfigPostResponse) GetEncodedJitConfig ¶
func (m *ItemActionsRunnersGenerateJitconfigPostResponse) GetEncodedJitConfig() *string
GetEncodedJitConfig gets the encoded_jit_config property value. The base64 encoded runner configuration. returns a *string when successful
func (*ItemActionsRunnersGenerateJitconfigPostResponse) GetFieldDeserializers ¶
func (m *ItemActionsRunnersGenerateJitconfigPostResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnersGenerateJitconfigPostResponse) GetRunner ¶
func (m *ItemActionsRunnersGenerateJitconfigPostResponse) GetRunner() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable
GetRunner gets the runner property value. A self hosted runner returns a Runnerable when successful
func (*ItemActionsRunnersGenerateJitconfigPostResponse) Serialize ¶
func (m *ItemActionsRunnersGenerateJitconfigPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemActionsRunnersGenerateJitconfigPostResponse) SetAdditionalData ¶
func (m *ItemActionsRunnersGenerateJitconfigPostResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsRunnersGenerateJitconfigPostResponse) SetEncodedJitConfig ¶
func (m *ItemActionsRunnersGenerateJitconfigPostResponse) SetEncodedJitConfig(value *string)
SetEncodedJitConfig sets the encoded_jit_config property value. The base64 encoded runner configuration.
func (*ItemActionsRunnersGenerateJitconfigPostResponse) SetRunner ¶
func (m *ItemActionsRunnersGenerateJitconfigPostResponse) SetRunner(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable)
SetRunner sets the runner property value. A self hosted runner
type ItemActionsRunnersGenerateJitconfigPostResponseable ¶
type ItemActionsRunnersGenerateJitconfigPostResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetEncodedJitConfig() *string GetRunner() ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable SetEncodedJitConfig(value *string) SetRunner(value ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable) }
type ItemActionsRunnersGenerateJitconfigRequestBuilder ¶
type ItemActionsRunnersGenerateJitconfigRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsRunnersGenerateJitconfigRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\runners\generate-jitconfig
func NewItemActionsRunnersGenerateJitconfigRequestBuilder ¶
func NewItemActionsRunnersGenerateJitconfigRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersGenerateJitconfigRequestBuilder
NewItemActionsRunnersGenerateJitconfigRequestBuilder instantiates a new ItemActionsRunnersGenerateJitconfigRequestBuilder and sets the default values.
func NewItemActionsRunnersGenerateJitconfigRequestBuilderInternal ¶
func NewItemActionsRunnersGenerateJitconfigRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersGenerateJitconfigRequestBuilder
NewItemActionsRunnersGenerateJitconfigRequestBuilderInternal instantiates a new ItemActionsRunnersGenerateJitconfigRequestBuilder and sets the default values.
func (*ItemActionsRunnersGenerateJitconfigRequestBuilder) Post ¶
func (m *ItemActionsRunnersGenerateJitconfigRequestBuilder) Post(ctx context.Context, body ItemActionsRunnersGenerateJitconfigPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemActionsRunnersGenerateJitconfigPostResponseable, error)
Post generates a configuration that can be passed to the runner application at startup.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 ¶
func (m *ItemActionsRunnersGenerateJitconfigRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemActionsRunnersGenerateJitconfigPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation generates a configuration that can be passed to the runner application at startup.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 ¶
func (m *ItemActionsRunnersGenerateJitconfigRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersGenerateJitconfigRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemActionsRunnersGenerateJitconfigRequestBuilder when successful
type ItemActionsRunnersGetResponse ¶
type ItemActionsRunnersGetResponse struct {
// contains filtered or unexported fields
}
func NewItemActionsRunnersGetResponse ¶
func NewItemActionsRunnersGetResponse() *ItemActionsRunnersGetResponse
NewItemActionsRunnersGetResponse instantiates a new ItemActionsRunnersGetResponse and sets the default values.
func (*ItemActionsRunnersGetResponse) GetAdditionalData ¶
func (m *ItemActionsRunnersGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemActionsRunnersGetResponse) GetFieldDeserializers ¶
func (m *ItemActionsRunnersGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnersGetResponse) GetRunners ¶
func (m *ItemActionsRunnersGetResponse) GetRunners() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable
GetRunners gets the runners property value. The runners property returns a []Runnerable when successful
func (*ItemActionsRunnersGetResponse) GetTotalCount ¶
func (m *ItemActionsRunnersGetResponse) GetTotalCount() *float64
GetTotalCount gets the total_count property value. The total_count property returns a *float64 when successful
func (*ItemActionsRunnersGetResponse) Serialize ¶
func (m *ItemActionsRunnersGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemActionsRunnersGetResponse) SetAdditionalData ¶
func (m *ItemActionsRunnersGetResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsRunnersGetResponse) SetRunners ¶
func (m *ItemActionsRunnersGetResponse) SetRunners(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable)
SetRunners sets the runners property value. The runners property
func (*ItemActionsRunnersGetResponse) SetTotalCount ¶
func (m *ItemActionsRunnersGetResponse) SetTotalCount(value *float64)
SetTotalCount sets the total_count property value. The total_count property
type ItemActionsRunnersGetResponseable ¶
type ItemActionsRunnersGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetRunners() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable GetTotalCount() *float64 SetRunners(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable) SetTotalCount(value *float64) }
type ItemActionsRunnersItemLabelsDeleteResponse ¶
type ItemActionsRunnersItemLabelsDeleteResponse struct {
// contains filtered or unexported fields
}
func NewItemActionsRunnersItemLabelsDeleteResponse ¶
func NewItemActionsRunnersItemLabelsDeleteResponse() *ItemActionsRunnersItemLabelsDeleteResponse
NewItemActionsRunnersItemLabelsDeleteResponse instantiates a new ItemActionsRunnersItemLabelsDeleteResponse and sets the default values.
func (*ItemActionsRunnersItemLabelsDeleteResponse) GetAdditionalData ¶
func (m *ItemActionsRunnersItemLabelsDeleteResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemActionsRunnersItemLabelsDeleteResponse) GetFieldDeserializers ¶
func (m *ItemActionsRunnersItemLabelsDeleteResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnersItemLabelsDeleteResponse) GetLabels ¶
func (m *ItemActionsRunnersItemLabelsDeleteResponse) GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable
GetLabels gets the labels property value. The labels property returns a []RunnerLabelable when successful
func (*ItemActionsRunnersItemLabelsDeleteResponse) GetTotalCount ¶
func (m *ItemActionsRunnersItemLabelsDeleteResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemActionsRunnersItemLabelsDeleteResponse) Serialize ¶
func (m *ItemActionsRunnersItemLabelsDeleteResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemActionsRunnersItemLabelsDeleteResponse) SetAdditionalData ¶
func (m *ItemActionsRunnersItemLabelsDeleteResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsRunnersItemLabelsDeleteResponse) SetLabels ¶
func (m *ItemActionsRunnersItemLabelsDeleteResponse) SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable)
SetLabels sets the labels property value. The labels property
func (*ItemActionsRunnersItemLabelsDeleteResponse) SetTotalCount ¶
func (m *ItemActionsRunnersItemLabelsDeleteResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemActionsRunnersItemLabelsDeleteResponseable ¶
type ItemActionsRunnersItemLabelsDeleteResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable GetTotalCount() *int32 SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable) SetTotalCount(value *int32) }
type ItemActionsRunnersItemLabelsGetResponse ¶
type ItemActionsRunnersItemLabelsGetResponse struct {
// contains filtered or unexported fields
}
func NewItemActionsRunnersItemLabelsGetResponse ¶
func NewItemActionsRunnersItemLabelsGetResponse() *ItemActionsRunnersItemLabelsGetResponse
NewItemActionsRunnersItemLabelsGetResponse instantiates a new ItemActionsRunnersItemLabelsGetResponse and sets the default values.
func (*ItemActionsRunnersItemLabelsGetResponse) GetAdditionalData ¶
func (m *ItemActionsRunnersItemLabelsGetResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemActionsRunnersItemLabelsGetResponse) GetFieldDeserializers ¶
func (m *ItemActionsRunnersItemLabelsGetResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnersItemLabelsGetResponse) GetLabels ¶
func (m *ItemActionsRunnersItemLabelsGetResponse) GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable
GetLabels gets the labels property value. The labels property returns a []RunnerLabelable when successful
func (*ItemActionsRunnersItemLabelsGetResponse) GetTotalCount ¶
func (m *ItemActionsRunnersItemLabelsGetResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemActionsRunnersItemLabelsGetResponse) Serialize ¶
func (m *ItemActionsRunnersItemLabelsGetResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemActionsRunnersItemLabelsGetResponse) SetAdditionalData ¶
func (m *ItemActionsRunnersItemLabelsGetResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsRunnersItemLabelsGetResponse) SetLabels ¶
func (m *ItemActionsRunnersItemLabelsGetResponse) SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable)
SetLabels sets the labels property value. The labels property
func (*ItemActionsRunnersItemLabelsGetResponse) SetTotalCount ¶
func (m *ItemActionsRunnersItemLabelsGetResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemActionsRunnersItemLabelsGetResponseable ¶
type ItemActionsRunnersItemLabelsGetResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable GetTotalCount() *int32 SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable) SetTotalCount(value *int32) }
type ItemActionsRunnersItemLabelsItemWithNameDeleteResponse ¶
type ItemActionsRunnersItemLabelsItemWithNameDeleteResponse struct {
// contains filtered or unexported fields
}
func NewItemActionsRunnersItemLabelsItemWithNameDeleteResponse ¶
func NewItemActionsRunnersItemLabelsItemWithNameDeleteResponse() *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse
NewItemActionsRunnersItemLabelsItemWithNameDeleteResponse instantiates a new ItemActionsRunnersItemLabelsItemWithNameDeleteResponse and sets the default values.
func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetAdditionalData ¶
func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetFieldDeserializers ¶
func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetLabels ¶
func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable
GetLabels gets the labels property value. The labels property returns a []RunnerLabelable when successful
func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetTotalCount ¶
func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) Serialize ¶
func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetAdditionalData ¶
func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetLabels ¶
func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable)
SetLabels sets the labels property value. The labels property
func (*ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetTotalCount ¶
func (m *ItemActionsRunnersItemLabelsItemWithNameDeleteResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemActionsRunnersItemLabelsItemWithNameDeleteResponseable ¶
type ItemActionsRunnersItemLabelsItemWithNameDeleteResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable GetTotalCount() *int32 SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable) SetTotalCount(value *int32) }
type ItemActionsRunnersItemLabelsPostRequestBody ¶
type ItemActionsRunnersItemLabelsPostRequestBody struct {
// contains filtered or unexported fields
}
func NewItemActionsRunnersItemLabelsPostRequestBody ¶
func NewItemActionsRunnersItemLabelsPostRequestBody() *ItemActionsRunnersItemLabelsPostRequestBody
NewItemActionsRunnersItemLabelsPostRequestBody instantiates a new ItemActionsRunnersItemLabelsPostRequestBody and sets the default values.
func (*ItemActionsRunnersItemLabelsPostRequestBody) GetAdditionalData ¶
func (m *ItemActionsRunnersItemLabelsPostRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemActionsRunnersItemLabelsPostRequestBody) GetFieldDeserializers ¶
func (m *ItemActionsRunnersItemLabelsPostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnersItemLabelsPostRequestBody) GetLabels ¶
func (m *ItemActionsRunnersItemLabelsPostRequestBody) GetLabels() []string
GetLabels gets the labels property value. The names of the custom labels to add to the runner. returns a []string when successful
func (*ItemActionsRunnersItemLabelsPostRequestBody) Serialize ¶
func (m *ItemActionsRunnersItemLabelsPostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemActionsRunnersItemLabelsPostRequestBody) SetAdditionalData ¶
func (m *ItemActionsRunnersItemLabelsPostRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsRunnersItemLabelsPostRequestBody) SetLabels ¶
func (m *ItemActionsRunnersItemLabelsPostRequestBody) SetLabels(value []string)
SetLabels sets the labels property value. The names of the custom labels to add to the runner.
type ItemActionsRunnersItemLabelsPostRequestBodyable ¶
type ItemActionsRunnersItemLabelsPostRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []string SetLabels(value []string) }
type ItemActionsRunnersItemLabelsPostResponse ¶
type ItemActionsRunnersItemLabelsPostResponse struct {
// contains filtered or unexported fields
}
func NewItemActionsRunnersItemLabelsPostResponse ¶
func NewItemActionsRunnersItemLabelsPostResponse() *ItemActionsRunnersItemLabelsPostResponse
NewItemActionsRunnersItemLabelsPostResponse instantiates a new ItemActionsRunnersItemLabelsPostResponse and sets the default values.
func (*ItemActionsRunnersItemLabelsPostResponse) GetAdditionalData ¶
func (m *ItemActionsRunnersItemLabelsPostResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemActionsRunnersItemLabelsPostResponse) GetFieldDeserializers ¶
func (m *ItemActionsRunnersItemLabelsPostResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnersItemLabelsPostResponse) GetLabels ¶
func (m *ItemActionsRunnersItemLabelsPostResponse) GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable
GetLabels gets the labels property value. The labels property returns a []RunnerLabelable when successful
func (*ItemActionsRunnersItemLabelsPostResponse) GetTotalCount ¶
func (m *ItemActionsRunnersItemLabelsPostResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemActionsRunnersItemLabelsPostResponse) Serialize ¶
func (m *ItemActionsRunnersItemLabelsPostResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemActionsRunnersItemLabelsPostResponse) SetAdditionalData ¶
func (m *ItemActionsRunnersItemLabelsPostResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsRunnersItemLabelsPostResponse) SetLabels ¶
func (m *ItemActionsRunnersItemLabelsPostResponse) SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable)
SetLabels sets the labels property value. The labels property
func (*ItemActionsRunnersItemLabelsPostResponse) SetTotalCount ¶
func (m *ItemActionsRunnersItemLabelsPostResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemActionsRunnersItemLabelsPostResponseable ¶
type ItemActionsRunnersItemLabelsPostResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable GetTotalCount() *int32 SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable) SetTotalCount(value *int32) }
type ItemActionsRunnersItemLabelsPutRequestBody ¶
type ItemActionsRunnersItemLabelsPutRequestBody struct {
// contains filtered or unexported fields
}
func NewItemActionsRunnersItemLabelsPutRequestBody ¶
func NewItemActionsRunnersItemLabelsPutRequestBody() *ItemActionsRunnersItemLabelsPutRequestBody
NewItemActionsRunnersItemLabelsPutRequestBody instantiates a new ItemActionsRunnersItemLabelsPutRequestBody and sets the default values.
func (*ItemActionsRunnersItemLabelsPutRequestBody) GetAdditionalData ¶
func (m *ItemActionsRunnersItemLabelsPutRequestBody) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemActionsRunnersItemLabelsPutRequestBody) GetFieldDeserializers ¶
func (m *ItemActionsRunnersItemLabelsPutRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnersItemLabelsPutRequestBody) GetLabels ¶
func (m *ItemActionsRunnersItemLabelsPutRequestBody) GetLabels() []string
GetLabels gets the labels property value. The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels. returns a []string when successful
func (*ItemActionsRunnersItemLabelsPutRequestBody) Serialize ¶
func (m *ItemActionsRunnersItemLabelsPutRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemActionsRunnersItemLabelsPutRequestBody) SetAdditionalData ¶
func (m *ItemActionsRunnersItemLabelsPutRequestBody) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsRunnersItemLabelsPutRequestBody) SetLabels ¶
func (m *ItemActionsRunnersItemLabelsPutRequestBody) SetLabels(value []string)
SetLabels sets the labels property value. The names of the custom labels to set for the runner. You can pass an empty array to remove all custom labels.
type ItemActionsRunnersItemLabelsPutRequestBodyable ¶
type ItemActionsRunnersItemLabelsPutRequestBodyable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []string SetLabels(value []string) }
type ItemActionsRunnersItemLabelsPutResponse ¶
type ItemActionsRunnersItemLabelsPutResponse struct {
// contains filtered or unexported fields
}
func NewItemActionsRunnersItemLabelsPutResponse ¶
func NewItemActionsRunnersItemLabelsPutResponse() *ItemActionsRunnersItemLabelsPutResponse
NewItemActionsRunnersItemLabelsPutResponse instantiates a new ItemActionsRunnersItemLabelsPutResponse and sets the default values.
func (*ItemActionsRunnersItemLabelsPutResponse) GetAdditionalData ¶
func (m *ItemActionsRunnersItemLabelsPutResponse) GetAdditionalData() map[string]any
GetAdditionalData gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. returns a map[string]any when successful
func (*ItemActionsRunnersItemLabelsPutResponse) GetFieldDeserializers ¶
func (m *ItemActionsRunnersItemLabelsPutResponse) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*ItemActionsRunnersItemLabelsPutResponse) GetLabels ¶
func (m *ItemActionsRunnersItemLabelsPutResponse) GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable
GetLabels gets the labels property value. The labels property returns a []RunnerLabelable when successful
func (*ItemActionsRunnersItemLabelsPutResponse) GetTotalCount ¶
func (m *ItemActionsRunnersItemLabelsPutResponse) GetTotalCount() *int32
GetTotalCount gets the total_count property value. The total_count property returns a *int32 when successful
func (*ItemActionsRunnersItemLabelsPutResponse) Serialize ¶
func (m *ItemActionsRunnersItemLabelsPutResponse) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
Serialize serializes information the current object
func (*ItemActionsRunnersItemLabelsPutResponse) SetAdditionalData ¶
func (m *ItemActionsRunnersItemLabelsPutResponse) SetAdditionalData(value map[string]any)
SetAdditionalData sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
func (*ItemActionsRunnersItemLabelsPutResponse) SetLabels ¶
func (m *ItemActionsRunnersItemLabelsPutResponse) SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable)
SetLabels sets the labels property value. The labels property
func (*ItemActionsRunnersItemLabelsPutResponse) SetTotalCount ¶
func (m *ItemActionsRunnersItemLabelsPutResponse) SetTotalCount(value *int32)
SetTotalCount sets the total_count property value. The total_count property
type ItemActionsRunnersItemLabelsPutResponseable ¶
type ItemActionsRunnersItemLabelsPutResponseable interface { i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable GetLabels() []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable GetTotalCount() *int32 SetLabels(value []ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.RunnerLabelable) SetTotalCount(value *int32) }
type ItemActionsRunnersItemLabelsRequestBuilder ¶
type ItemActionsRunnersItemLabelsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsRunnersItemLabelsRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\runners\{runner_id}\labels
func NewItemActionsRunnersItemLabelsRequestBuilder ¶
func NewItemActionsRunnersItemLabelsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersItemLabelsRequestBuilder
NewItemActionsRunnersItemLabelsRequestBuilder instantiates a new ItemActionsRunnersItemLabelsRequestBuilder and sets the default values.
func NewItemActionsRunnersItemLabelsRequestBuilderInternal ¶
func NewItemActionsRunnersItemLabelsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersItemLabelsRequestBuilder
NewItemActionsRunnersItemLabelsRequestBuilderInternal instantiates a new ItemActionsRunnersItemLabelsRequestBuilder and sets the default values.
func (*ItemActionsRunnersItemLabelsRequestBuilder) ByName ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) ByName(name string) *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder
ByName gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.enterprises.item.actions.runners.item.labels.item collection returns a *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder when successful
func (*ItemActionsRunnersItemLabelsRequestBuilder) Delete ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemActionsRunnersItemLabelsDeleteResponseable, error)
Delete remove all custom labels from a self-hosted runner configured in 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 ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemActionsRunnersItemLabelsGetResponseable, error)
Get lists all labels for a self-hosted runner configured in an 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 ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) Post(ctx context.Context, body ItemActionsRunnersItemLabelsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemActionsRunnersItemLabelsPostResponseable, error)
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 ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) Put(ctx context.Context, body ItemActionsRunnersItemLabelsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemActionsRunnersItemLabelsPutResponseable, error)
Put remove all previous custom labels and set the new custom labels for a specificself-hosted runner configured in an 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 ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation remove all custom labels from a self-hosted runner configured in 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 ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all labels for a self-hosted runner configured in an 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 ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) ToPostRequestInformation(ctx context.Context, body ItemActionsRunnersItemLabelsPostRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) ToPutRequestInformation(ctx context.Context, body ItemActionsRunnersItemLabelsPutRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPutRequestInformation remove all previous custom labels and set the new custom labels for a specificself-hosted runner configured in an 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 ¶
func (m *ItemActionsRunnersItemLabelsRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersItemLabelsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemActionsRunnersItemLabelsRequestBuilder when successful
type ItemActionsRunnersItemLabelsWithNameItemRequestBuilder ¶
type ItemActionsRunnersItemLabelsWithNameItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsRunnersItemLabelsWithNameItemRequestBuilder builds and executes requests for operations under \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 ¶
func (m *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ItemActionsRunnersItemLabelsItemWithNameDeleteResponseable, error)
Delete remove a custom label from a self-hosted runner configuredin an 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 ¶
func (m *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation remove a custom label from a self-hosted runner configuredin an 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 ¶
func (m *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemActionsRunnersItemLabelsWithNameItemRequestBuilder when successful
type ItemActionsRunnersRegistrationTokenRequestBuilder ¶
type ItemActionsRunnersRegistrationTokenRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsRunnersRegistrationTokenRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\runners\registration-token
func NewItemActionsRunnersRegistrationTokenRequestBuilder ¶
func NewItemActionsRunnersRegistrationTokenRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersRegistrationTokenRequestBuilder
NewItemActionsRunnersRegistrationTokenRequestBuilder instantiates a new ItemActionsRunnersRegistrationTokenRequestBuilder and sets the default values.
func NewItemActionsRunnersRegistrationTokenRequestBuilderInternal ¶
func NewItemActionsRunnersRegistrationTokenRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersRegistrationTokenRequestBuilder
NewItemActionsRunnersRegistrationTokenRequestBuilderInternal instantiates a new ItemActionsRunnersRegistrationTokenRequestBuilder and sets the default values.
func (*ItemActionsRunnersRegistrationTokenRequestBuilder) Post ¶
func (m *ItemActionsRunnersRegistrationTokenRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.AuthenticationTokenable, error)
Post returns a token that you can pass to the `config` script. The token expires after one hour.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 ¶
func (m *ItemActionsRunnersRegistrationTokenRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation returns a token that you can pass to the `config` script. The token expires after one hour.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 ¶
func (m *ItemActionsRunnersRegistrationTokenRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersRegistrationTokenRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemActionsRunnersRegistrationTokenRequestBuilder when successful
type ItemActionsRunnersRemoveTokenRequestBuilder ¶
type ItemActionsRunnersRemoveTokenRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsRunnersRemoveTokenRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\runners\remove-token
func NewItemActionsRunnersRemoveTokenRequestBuilder ¶
func NewItemActionsRunnersRemoveTokenRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersRemoveTokenRequestBuilder
NewItemActionsRunnersRemoveTokenRequestBuilder instantiates a new ItemActionsRunnersRemoveTokenRequestBuilder and sets the default values.
func NewItemActionsRunnersRemoveTokenRequestBuilderInternal ¶
func NewItemActionsRunnersRemoveTokenRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersRemoveTokenRequestBuilder
NewItemActionsRunnersRemoveTokenRequestBuilderInternal instantiates a new ItemActionsRunnersRemoveTokenRequestBuilder and sets the default values.
func (*ItemActionsRunnersRemoveTokenRequestBuilder) Post ¶
func (m *ItemActionsRunnersRemoveTokenRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.AuthenticationTokenable, error)
Post returns a token that you can pass to the `config` script to remove a self-hosted runner from an 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 ¶
func (m *ItemActionsRunnersRemoveTokenRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPostRequestInformation returns a token that you can pass to the `config` script to remove a self-hosted runner from an 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 ¶
func (m *ItemActionsRunnersRemoveTokenRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersRemoveTokenRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemActionsRunnersRemoveTokenRequestBuilder when successful
type ItemActionsRunnersRequestBuilder ¶
type ItemActionsRunnersRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemActionsRunnersRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\actions\runners
func NewItemActionsRunnersRequestBuilder ¶
func NewItemActionsRunnersRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersRequestBuilder
NewItemActionsRunnersRequestBuilder instantiates a new ItemActionsRunnersRequestBuilder and sets the default values.
func NewItemActionsRunnersRequestBuilderInternal ¶
func NewItemActionsRunnersRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersRequestBuilder
NewItemActionsRunnersRequestBuilderInternal instantiates a new ItemActionsRunnersRequestBuilder and sets the default values.
func (*ItemActionsRunnersRequestBuilder) ByRunner_id ¶
func (m *ItemActionsRunnersRequestBuilder) ByRunner_id(runner_id int32) *ItemActionsRunnersWithRunner_ItemRequestBuilder
ByRunner_id gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.enterprises.item.actions.runners.item collection returns a *ItemActionsRunnersWithRunner_ItemRequestBuilder when successful
func (*ItemActionsRunnersRequestBuilder) Downloads ¶
func (m *ItemActionsRunnersRequestBuilder) Downloads() *ItemActionsRunnersDownloadsRequestBuilder
Downloads the downloads property returns a *ItemActionsRunnersDownloadsRequestBuilder when successful
func (*ItemActionsRunnersRequestBuilder) GenerateJitconfig ¶
func (m *ItemActionsRunnersRequestBuilder) GenerateJitconfig() *ItemActionsRunnersGenerateJitconfigRequestBuilder
GenerateJitconfig the generateJitconfig property returns a *ItemActionsRunnersGenerateJitconfigRequestBuilder when successful
func (*ItemActionsRunnersRequestBuilder) Get ¶
func (m *ItemActionsRunnersRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsRunnersRequestBuilderGetQueryParameters]) (ItemActionsRunnersGetResponseable, error)
Get lists all self-hosted runners configured 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 ¶
func (m *ItemActionsRunnersRequestBuilder) RegistrationToken() *ItemActionsRunnersRegistrationTokenRequestBuilder
RegistrationToken the registrationToken property returns a *ItemActionsRunnersRegistrationTokenRequestBuilder when successful
func (*ItemActionsRunnersRequestBuilder) RemoveToken ¶
func (m *ItemActionsRunnersRequestBuilder) RemoveToken() *ItemActionsRunnersRemoveTokenRequestBuilder
RemoveToken the removeToken property returns a *ItemActionsRunnersRemoveTokenRequestBuilder when successful
func (*ItemActionsRunnersRequestBuilder) ToGetRequestInformation ¶
func (m *ItemActionsRunnersRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemActionsRunnersRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists all self-hosted runners configured 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 ¶
func (m *ItemActionsRunnersRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemActionsRunnersRequestBuilder when successful
type ItemActionsRunnersRequestBuilderGetQueryParameters ¶
type ItemActionsRunnersRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/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.10/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 ¶
func NewItemActionsRunnersWithRunner_ItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersWithRunner_ItemRequestBuilder
NewItemActionsRunnersWithRunner_ItemRequestBuilder instantiates a new ItemActionsRunnersWithRunner_ItemRequestBuilder and sets the default values.
func NewItemActionsRunnersWithRunner_ItemRequestBuilderInternal ¶
func NewItemActionsRunnersWithRunner_ItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemActionsRunnersWithRunner_ItemRequestBuilder
NewItemActionsRunnersWithRunner_ItemRequestBuilderInternal instantiates a new ItemActionsRunnersWithRunner_ItemRequestBuilder and sets the default values.
func (*ItemActionsRunnersWithRunner_ItemRequestBuilder) Delete ¶
func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) Delete(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
Delete forces the removal of a self-hosted runner from an 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 ¶
func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.Runnerable, error)
Get gets a specific self-hosted runner configured in an 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 ¶
func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) Labels() *ItemActionsRunnersItemLabelsRequestBuilder
Labels the labels property returns a *ItemActionsRunnersItemLabelsRequestBuilder when successful
func (*ItemActionsRunnersWithRunner_ItemRequestBuilder) ToDeleteRequestInformation ¶
func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation forces the removal of a self-hosted runner from an 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 ¶
func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation gets a specific self-hosted runner configured in an 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 ¶
func (m *ItemActionsRunnersWithRunner_ItemRequestBuilder) WithUrl(rawUrl string) *ItemActionsRunnersWithRunner_ItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemActionsRunnersWithRunner_ItemRequestBuilder when successful
type ItemAuditLogRequestBuilder ¶
type ItemAuditLogRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemAuditLogRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\audit-log
func NewItemAuditLogRequestBuilder ¶
func NewItemAuditLogRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemAuditLogRequestBuilder
NewItemAuditLogRequestBuilder instantiates a new ItemAuditLogRequestBuilder and sets the default values.
func NewItemAuditLogRequestBuilderInternal ¶
func NewItemAuditLogRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemAuditLogRequestBuilder
NewItemAuditLogRequestBuilderInternal instantiates a new ItemAuditLogRequestBuilder and sets the default values.
func (*ItemAuditLogRequestBuilder) Get ¶
func (m *ItemAuditLogRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemAuditLogRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.AuditLogEventable, error)
Get gets the audit log for an 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 ¶
func (m *ItemAuditLogRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemAuditLogRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemAuditLogRequestBuilder) WithUrl(rawUrl string) *ItemAuditLogRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemAuditLogRequestBuilder when successful
type ItemAuditLogRequestBuilderGetQueryParameters ¶
type ItemAuditLogRequestBuilderGetQueryParameters struct { // A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.10/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.10/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.10/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.10/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.10/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 ¶
func NewItemCodeScanningAlertsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodeScanningAlertsRequestBuilder
NewItemCodeScanningAlertsRequestBuilder instantiates a new ItemCodeScanningAlertsRequestBuilder and sets the default values.
func NewItemCodeScanningAlertsRequestBuilderInternal ¶
func NewItemCodeScanningAlertsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodeScanningAlertsRequestBuilder
NewItemCodeScanningAlertsRequestBuilderInternal instantiates a new ItemCodeScanningAlertsRequestBuilder and sets the default values.
func (*ItemCodeScanningAlertsRequestBuilder) Get ¶
func (m *ItemCodeScanningAlertsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemCodeScanningAlertsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.CodeScanningOrganizationAlertItemsable, error)
Get lists code scanning alerts for the default branch for all eligible repositories in an 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.10/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 ¶
func (m *ItemCodeScanningAlertsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemCodeScanningAlertsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation lists code scanning alerts for the default branch for all eligible repositories in an 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.10/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 ¶
func (m *ItemCodeScanningAlertsRequestBuilder) WithUrl(rawUrl string) *ItemCodeScanningAlertsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemCodeScanningAlertsRequestBuilder when successful
type ItemCodeScanningAlertsRequestBuilderGetQueryParameters ¶
type ItemCodeScanningAlertsRequestBuilderGetQueryParameters struct { // A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.10/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.10/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.10/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.10/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.10/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.10/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.10/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 ¶
type ItemCodeScanningRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemCodeScanningRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\code-scanning
func NewItemCodeScanningRequestBuilder ¶
func NewItemCodeScanningRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodeScanningRequestBuilder
NewItemCodeScanningRequestBuilder instantiates a new ItemCodeScanningRequestBuilder and sets the default values.
func NewItemCodeScanningRequestBuilderInternal ¶
func NewItemCodeScanningRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCodeScanningRequestBuilder
NewItemCodeScanningRequestBuilderInternal instantiates a new ItemCodeScanningRequestBuilder and sets the default values.
func (*ItemCodeScanningRequestBuilder) Alerts ¶
func (m *ItemCodeScanningRequestBuilder) Alerts() *ItemCodeScanningAlertsRequestBuilder
Alerts the alerts property returns a *ItemCodeScanningAlertsRequestBuilder when successful
type 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.10/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.10/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)." returns a *bool when successful
func (*ItemCode_security_and_analysisPatchRequestBody) GetFieldDeserializers ¶
func (m *ItemCode_security_and_analysisPatchRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
GetFieldDeserializers the deserialization information for the current model returns a map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode)(error) when successful
func (*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.10/code-security/secret-scanning/about-secret-scanning)." returns a *bool when successful
func (*ItemCode_security_and_analysisPatchRequestBody) GetSecretScanningPushProtectionCustomLink ¶
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.10/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.10/code-security/secret-scanning/protecting-pushes-with-secret-scanning)." returns a *bool when successful
func (*ItemCode_security_and_analysisPatchRequestBody) Serialize ¶
func (m *ItemCode_security_and_analysisPatchRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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.10/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.10/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.10/code-security/secret-scanning/about-secret-scanning)."
func (*ItemCode_security_and_analysisPatchRequestBody) SetSecretScanningPushProtectionCustomLink ¶
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.10/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.10/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 ¶
func NewItemCode_security_and_analysisRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemCode_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 ¶
func (m *ItemCode_security_and_analysisRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.EnterpriseSecurityAnalysisSettingsable, error)
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 ¶
func (m *ItemCode_security_and_analysisRequestBuilder) Patch(ctx context.Context, body ItemCode_security_and_analysisPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemCode_security_and_analysisRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemCode_security_and_analysisRequestBuilder) ToPatchRequestInformation(ctx context.Context, body ItemCode_security_and_analysisPatchRequestBodyable, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemCode_security_and_analysisRequestBuilder) WithUrl(rawUrl string) *ItemCode_security_and_analysisRequestBuilder
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 ¶
type ItemDependabotAlertsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemDependabotAlertsRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\dependabot\alerts
func NewItemDependabotAlertsRequestBuilder ¶
func NewItemDependabotAlertsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotAlertsRequestBuilder
NewItemDependabotAlertsRequestBuilder instantiates a new ItemDependabotAlertsRequestBuilder and sets the default values.
func NewItemDependabotAlertsRequestBuilderInternal ¶
func NewItemDependabotAlertsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotAlertsRequestBuilder
NewItemDependabotAlertsRequestBuilderInternal instantiates a new ItemDependabotAlertsRequestBuilder and sets the default values.
func (*ItemDependabotAlertsRequestBuilder) Get ¶
func (m *ItemDependabotAlertsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemDependabotAlertsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.DependabotAlertWithRepositoryable, error)
Get lists Dependabot alerts for 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.10/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 ¶
func (m *ItemDependabotAlertsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemDependabotAlertsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.10/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 ¶
func (m *ItemDependabotAlertsRequestBuilder) WithUrl(rawUrl string) *ItemDependabotAlertsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemDependabotAlertsRequestBuilder when successful
type ItemDependabotAlertsRequestBuilderGetQueryParameters ¶
type ItemDependabotAlertsRequestBuilderGetQueryParameters struct { // A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.10/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.10/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.10/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.10/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.10/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.10/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 ¶
type ItemDependabotRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemDependabotRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\dependabot
func NewItemDependabotRequestBuilder ¶
func NewItemDependabotRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotRequestBuilder
NewItemDependabotRequestBuilder instantiates a new ItemDependabotRequestBuilder and sets the default values.
func NewItemDependabotRequestBuilderInternal ¶
func NewItemDependabotRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemDependabotRequestBuilder
NewItemDependabotRequestBuilderInternal instantiates a new ItemDependabotRequestBuilder and sets the default values.
func (*ItemDependabotRequestBuilder) Alerts ¶
func (m *ItemDependabotRequestBuilder) Alerts() *ItemDependabotAlertsRequestBuilder
Alerts the alerts property returns a *ItemDependabotAlertsRequestBuilder when successful
type ItemItemWithEnablementItemRequestBuilder ¶
type ItemItemWithEnablementItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemItemWithEnablementItemRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\{security_product}\{enablement}
func NewItemItemWithEnablementItemRequestBuilder ¶
func NewItemItemWithEnablementItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemWithEnablementItemRequestBuilder
NewItemItemWithEnablementItemRequestBuilder instantiates a new ItemItemWithEnablementItemRequestBuilder and sets the default values.
func NewItemItemWithEnablementItemRequestBuilderInternal ¶
func NewItemItemWithEnablementItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemItemWithEnablementItemRequestBuilder
NewItemItemWithEnablementItemRequestBuilderInternal instantiates a new ItemItemWithEnablementItemRequestBuilder and sets the default values.
func (*ItemItemWithEnablementItemRequestBuilder) Post ¶
func (m *ItemItemWithEnablementItemRequestBuilder) Post(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) error
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 ¶
func (m *ItemItemWithEnablementItemRequestBuilder) ToPostRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.DefaultQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemItemWithEnablementItemRequestBuilder) WithUrl(rawUrl string) *ItemItemWithEnablementItemRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemItemWithEnablementItemRequestBuilder when successful
type ItemSecretScanningAlertsRequestBuilder ¶
type ItemSecretScanningAlertsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemSecretScanningAlertsRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\secret-scanning\alerts
func NewItemSecretScanningAlertsRequestBuilder ¶
func NewItemSecretScanningAlertsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecretScanningAlertsRequestBuilder
NewItemSecretScanningAlertsRequestBuilder instantiates a new ItemSecretScanningAlertsRequestBuilder and sets the default values.
func NewItemSecretScanningAlertsRequestBuilderInternal ¶
func NewItemSecretScanningAlertsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecretScanningAlertsRequestBuilder
NewItemSecretScanningAlertsRequestBuilderInternal instantiates a new ItemSecretScanningAlertsRequestBuilder and sets the default values.
func (*ItemSecretScanningAlertsRequestBuilder) Get ¶
func (m *ItemSecretScanningAlertsRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemSecretScanningAlertsRequestBuilderGetQueryParameters]) ([]ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.OrganizationSecretScanningAlertable, error)
Get lists secret scanning alerts for eligible repositories in an 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.10/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 ¶
func (m *ItemSecretScanningAlertsRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemSecretScanningAlertsRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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.10/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization). returns a *RequestInformation when successful
func (*ItemSecretScanningAlertsRequestBuilder) WithUrl ¶
func (m *ItemSecretScanningAlertsRequestBuilder) WithUrl(rawUrl string) *ItemSecretScanningAlertsRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemSecretScanningAlertsRequestBuilder when successful
type ItemSecretScanningAlertsRequestBuilderGetQueryParameters ¶
type ItemSecretScanningAlertsRequestBuilderGetQueryParameters struct { // A cursor, as given in the [Link header](https://docs.github.com/enterprise-server@3.10/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.10/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.10/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.10/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.10/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.10/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.10/organizations/managing-peoples-access-to-your-organization-with-roles/managing-security-managers-in-your-organization).
type ItemSecretScanningRequestBuilder ¶
type ItemSecretScanningRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemSecretScanningRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\secret-scanning
func NewItemSecretScanningRequestBuilder ¶
func NewItemSecretScanningRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecretScanningRequestBuilder
NewItemSecretScanningRequestBuilder instantiates a new ItemSecretScanningRequestBuilder and sets the default values.
func NewItemSecretScanningRequestBuilderInternal ¶
func NewItemSecretScanningRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSecretScanningRequestBuilder
NewItemSecretScanningRequestBuilderInternal instantiates a new ItemSecretScanningRequestBuilder and sets the default values.
func (*ItemSecretScanningRequestBuilder) Alerts ¶
func (m *ItemSecretScanningRequestBuilder) Alerts() *ItemSecretScanningAlertsRequestBuilder
Alerts the alerts property returns a *ItemSecretScanningAlertsRequestBuilder when successful
type ItemSettingsBillingAdvancedSecurityRequestBuilder ¶
type ItemSettingsBillingAdvancedSecurityRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemSettingsBillingAdvancedSecurityRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\settings\billing\advanced-security
func NewItemSettingsBillingAdvancedSecurityRequestBuilder ¶
func NewItemSettingsBillingAdvancedSecurityRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingAdvancedSecurityRequestBuilder
NewItemSettingsBillingAdvancedSecurityRequestBuilder instantiates a new ItemSettingsBillingAdvancedSecurityRequestBuilder and sets the default values.
func NewItemSettingsBillingAdvancedSecurityRequestBuilderInternal ¶
func NewItemSettingsBillingAdvancedSecurityRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingAdvancedSecurityRequestBuilder
NewItemSettingsBillingAdvancedSecurityRequestBuilderInternal instantiates a new ItemSettingsBillingAdvancedSecurityRequestBuilder and sets the default values.
func (*ItemSettingsBillingAdvancedSecurityRequestBuilder) Get ¶
func (m *ItemSettingsBillingAdvancedSecurityRequestBuilder) Get(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemSettingsBillingAdvancedSecurityRequestBuilderGetQueryParameters]) (ie1e2072a5a4eb80f74a1387d59644d3f70804e6b7b2f406016da8826571f1207.AdvancedSecurityActiveCommittersable, error)
Get gets the GitHub Advanced Security active committers for an 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 ¶
func (m *ItemSettingsBillingAdvancedSecurityRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestConfiguration[ItemSettingsBillingAdvancedSecurityRequestBuilderGetQueryParameters]) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *ItemSettingsBillingAdvancedSecurityRequestBuilder) WithUrl(rawUrl string) *ItemSettingsBillingAdvancedSecurityRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *ItemSettingsBillingAdvancedSecurityRequestBuilder when successful
type ItemSettingsBillingAdvancedSecurityRequestBuilderGetQueryParameters ¶
type ItemSettingsBillingAdvancedSecurityRequestBuilderGetQueryParameters struct { // The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-server@3.10/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.10/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 ¶
type ItemSettingsBillingRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemSettingsBillingRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\settings\billing
func NewItemSettingsBillingRequestBuilder ¶
func NewItemSettingsBillingRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingRequestBuilder
NewItemSettingsBillingRequestBuilder instantiates a new ItemSettingsBillingRequestBuilder and sets the default values.
func NewItemSettingsBillingRequestBuilderInternal ¶
func NewItemSettingsBillingRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsBillingRequestBuilder
NewItemSettingsBillingRequestBuilderInternal instantiates a new ItemSettingsBillingRequestBuilder and sets the default values.
func (*ItemSettingsBillingRequestBuilder) AdvancedSecurity ¶
func (m *ItemSettingsBillingRequestBuilder) AdvancedSecurity() *ItemSettingsBillingAdvancedSecurityRequestBuilder
AdvancedSecurity the advancedSecurity property returns a *ItemSettingsBillingAdvancedSecurityRequestBuilder when successful
type ItemSettingsRequestBuilder ¶
type ItemSettingsRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemSettingsRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\settings
func NewItemSettingsRequestBuilder ¶
func NewItemSettingsRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsRequestBuilder
NewItemSettingsRequestBuilder instantiates a new ItemSettingsRequestBuilder and sets the default values.
func NewItemSettingsRequestBuilderInternal ¶
func NewItemSettingsRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemSettingsRequestBuilder
NewItemSettingsRequestBuilderInternal instantiates a new ItemSettingsRequestBuilder and sets the default values.
func (*ItemSettingsRequestBuilder) Billing ¶
func (m *ItemSettingsRequestBuilder) Billing() *ItemSettingsBillingRequestBuilder
Billing the billing property returns a *ItemSettingsBillingRequestBuilder when successful
type ItemWithSecurity_productItemRequestBuilder ¶
type ItemWithSecurity_productItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
ItemWithSecurity_productItemRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}\{security_product}
func NewItemWithSecurity_productItemRequestBuilder ¶
func NewItemWithSecurity_productItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemWithSecurity_productItemRequestBuilder
NewItemWithSecurity_productItemRequestBuilder instantiates a new ItemWithSecurity_productItemRequestBuilder and sets the default values.
func NewItemWithSecurity_productItemRequestBuilderInternal ¶
func NewItemWithSecurity_productItemRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *ItemWithSecurity_productItemRequestBuilder
NewItemWithSecurity_productItemRequestBuilderInternal instantiates a new ItemWithSecurity_productItemRequestBuilder and sets the default values.
func (*ItemWithSecurity_productItemRequestBuilder) ByEnablement ¶
func (m *ItemWithSecurity_productItemRequestBuilder) ByEnablement(enablement string) *ItemItemWithEnablementItemRequestBuilder
ByEnablement gets an item from the github.com/octokit/go-sdk-enterprise-server/pkg/github.enterprises.item.item.item collection returns a *ItemItemWithEnablementItemRequestBuilder when successful
type WithEnterpriseItemRequestBuilder ¶
type WithEnterpriseItemRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
WithEnterpriseItemRequestBuilder builds and executes requests for operations under \enterprises\{enterprise}
func NewWithEnterpriseItemRequestBuilder ¶
func NewWithEnterpriseItemRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *WithEnterpriseItemRequestBuilder
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 ¶
func (m *WithEnterpriseItemRequestBuilder) Actions() *ItemActionsRequestBuilder
Actions the actions property returns a *ItemActionsRequestBuilder when successful
func (*WithEnterpriseItemRequestBuilder) AuditLog ¶
func (m *WithEnterpriseItemRequestBuilder) AuditLog() *ItemAuditLogRequestBuilder
AuditLog the auditLog property returns a *ItemAuditLogRequestBuilder when successful
func (*WithEnterpriseItemRequestBuilder) BySecurity_product ¶
func (m *WithEnterpriseItemRequestBuilder) BySecurity_product(security_product string) *ItemWithSecurity_productItemRequestBuilder
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 ¶
func (m *WithEnterpriseItemRequestBuilder) CodeScanning() *ItemCodeScanningRequestBuilder
CodeScanning the codeScanning property returns a *ItemCodeScanningRequestBuilder when successful
func (*WithEnterpriseItemRequestBuilder) Code_security_and_analysis ¶
func (m *WithEnterpriseItemRequestBuilder) Code_security_and_analysis() *ItemCode_security_and_analysisRequestBuilder
Code_security_and_analysis the code_security_and_analysis property returns a *ItemCode_security_and_analysisRequestBuilder when successful
func (*WithEnterpriseItemRequestBuilder) Dependabot ¶
func (m *WithEnterpriseItemRequestBuilder) Dependabot() *ItemDependabotRequestBuilder
Dependabot the dependabot property returns a *ItemDependabotRequestBuilder when successful
func (*WithEnterpriseItemRequestBuilder) SecretScanning ¶
func (m *WithEnterpriseItemRequestBuilder) SecretScanning() *ItemSecretScanningRequestBuilder
SecretScanning the secretScanning property returns a *ItemSecretScanningRequestBuilder when successful
func (*WithEnterpriseItemRequestBuilder) Settings ¶
func (m *WithEnterpriseItemRequestBuilder) Settings() *ItemSettingsRequestBuilder
Settings the settings property returns a *ItemSettingsRequestBuilder when successful
Source Files
¶
- enterprises_request_builder.go
- item_actions_cache_request_builder.go
- item_actions_cache_usage_policy_request_builder.go
- item_actions_cache_usage_request_builder.go
- item_actions_permissions_organizations_get_response.go
- item_actions_permissions_organizations_put_request_body.go
- item_actions_permissions_organizations_request_builder.go
- item_actions_permissions_organizations_with_org_item_request_builder.go
- item_actions_permissions_put_request_body.go
- item_actions_permissions_request_builder.go
- item_actions_permissions_selected_actions_request_builder.go
- item_actions_permissions_workflow_request_builder.go
- item_actions_request_builder.go
- item_actions_runner_groups_get_response.go
- item_actions_runner_groups_item_organizations_get_response.go
- item_actions_runner_groups_item_organizations_put_request_body.go
- item_actions_runner_groups_item_organizations_request_builder.go
- item_actions_runner_groups_item_organizations_with_org_item_request_builder.go
- item_actions_runner_groups_item_runners_get_response.go
- item_actions_runner_groups_item_runners_put_request_body.go
- item_actions_runner_groups_item_runners_request_builder.go
- item_actions_runner_groups_item_runners_with_runner_item_request_builder.go
- item_actions_runner_groups_item_with_runner_group_patch_request_body.go
- item_actions_runner_groups_post_request_body.go
- item_actions_runner_groups_request_builder.go
- item_actions_runner_groups_with_runner_group_item_request_builder.go
- item_actions_runners_downloads_request_builder.go
- item_actions_runners_generate_jitconfig_post_request_body.go
- item_actions_runners_generate_jitconfig_post_response.go
- item_actions_runners_generate_jitconfig_request_builder.go
- item_actions_runners_get_response.go
- item_actions_runners_item_labels_delete_response.go
- item_actions_runners_item_labels_get_response.go
- item_actions_runners_item_labels_item_with_name_delete_response.go
- item_actions_runners_item_labels_post_request_body.go
- item_actions_runners_item_labels_post_response.go
- item_actions_runners_item_labels_put_request_body.go
- item_actions_runners_item_labels_put_response.go
- item_actions_runners_item_labels_request_builder.go
- item_actions_runners_item_labels_with_name_item_request_builder.go
- item_actions_runners_registration_token_request_builder.go
- item_actions_runners_remove_token_request_builder.go
- item_actions_runners_request_builder.go
- item_actions_runners_with_runner_item_request_builder.go
- item_audit_log_request_builder.go
- item_code_scanning_alerts_request_builder.go
- item_code_scanning_request_builder.go
- item_code_security_and_analysis_patch_request_body.go
- item_code_security_and_analysis_request_builder.go
- item_dependabot_alerts_request_builder.go
- item_dependabot_request_builder.go
- item_item_with_enablement_item_request_builder.go
- item_secret_scanning_alerts_request_builder.go
- item_secret_scanning_request_builder.go
- item_settings_billing_advanced_security_request_builder.go
- item_settings_billing_request_builder.go
- item_settings_request_builder.go
- item_with_security_product_item_request_builder.go
- with_enterprise_item_request_builder.go