You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// - Remark: Generated from `#/components/schemas/organization-programmatic-access-grant-request/token_id`.
7010
7018
public var token_id: Swift.Int
7019
+
/// The name given to the user's token. This field can also be found in an organization's settings page for Active Tokens.
7020
+
///
7021
+
/// - Remark: Generated from `#/components/schemas/organization-programmatic-access-grant-request/token_name`.
7022
+
public var token_name: Swift.String
7011
7023
/// Whether the associated fine-grained personal access token has expired.
7012
7024
///
7013
7025
/// - Remark: Generated from `#/components/schemas/organization-programmatic-access-grant-request/token_expired`.
@@ -7031,6 +7043,7 @@ public enum Components {
7031
7043
/// - permissions: Permissions requested, categorized by type of permission.
7032
7044
/// - created_at: Date and time when the request for access was created.
7033
7045
/// - token_id: Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants.
7046
+
/// - token_name: The name given to the user's token. This field can also be found in an organization's settings page for Active Tokens.
7034
7047
/// - token_expired: Whether the associated fine-grained personal access token has expired.
7035
7048
/// - token_expires_at: Date and time when the associated fine-grained personal access token expires.
7036
7049
/// - token_last_used_at: Date and time when the associated fine-grained personal access token was last used for authentication.
/// - Remark: Generated from `#/components/schemas/organization-programmatic-access-grant/token_id`.
7198
7214
public var token_id: Swift.Int
7215
+
/// The name given to the user's token. This field can also be found in an organization's settings page for Active Tokens.
7216
+
///
7217
+
/// - Remark: Generated from `#/components/schemas/organization-programmatic-access-grant/token_name`.
7218
+
public var token_name: Swift.String
7199
7219
/// Whether the associated fine-grained personal access token has expired.
7200
7220
///
7201
7221
/// - Remark: Generated from `#/components/schemas/organization-programmatic-access-grant/token_expired`.
@@ -7218,6 +7238,7 @@ public enum Components {
7218
7238
/// - permissions: Permissions requested, categorized by type of permission.
7219
7239
/// - access_granted_at: Date and time when the fine-grained personal access token was approved to access the organization.
7220
7240
/// - token_id: Unique identifier of the user's token. This field can also be found in audit log events and the organization's settings for their PAT grants.
7241
+
/// - token_name: The name given to the user's token. This field can also be found in an organization's settings page for Active Tokens.
7221
7242
/// - token_expired: Whether the associated fine-grained personal access token has expired.
7222
7243
/// - token_expires_at: Date and time when the associated fine-grained personal access token expires.
7223
7244
/// - token_last_used_at: Date and time when the associated fine-grained personal access token was last used for authentication.
/// - Remark: Generated from `#/paths/orgs/{org}/PATCH/requestBody/json/secret_scanning_push_protection_custom_link`.
8511
8535
public var secret_scanning_push_protection_custom_link: Swift.String?
8536
+
/// Controls whether or not deploy keys may be added and used for repositories in the organization.
8537
+
///
8538
+
/// - Remark: Generated from `#/paths/orgs/{org}/PATCH/requestBody/json/deploy_keys_enabled_for_repositories`.
8539
+
public var deploy_keys_enabled_for_repositories: Swift.Bool?
8512
8540
/// Creates a new `jsonPayload`.
8513
8541
///
8514
8542
/// - Parameters:
@@ -8541,6 +8569,7 @@ public enum Operations {
8541
8569
/// - secret_scanning_push_protection_enabled_for_new_repositories: **Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/rest/code-security/configurations) instead.
8542
8570
/// - secret_scanning_push_protection_custom_link_enabled: Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection.
8543
8571
/// - secret_scanning_push_protection_custom_link: If `secret_scanning_push_protection_custom_link_enabled` is true, the URL that will be displayed to contributors who are blocked from pushing a secret.
8572
+
/// - deploy_keys_enabled_for_repositories: Controls whether or not deploy keys may be added and used for repositories in the organization.
0 commit comments