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
Copy file name to clipboardExpand all lines: Sources/repos/Types.swift
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -11335,7 +11335,7 @@ public enum Components {
11335
11335
///
11336
11336
/// - Remark: Generated from `#/components/schemas/repository-ruleset-bypass-actor`.
11337
11337
public struct RepositoryRulesetBypassActor: Codable, Hashable, Sendable {
11338
-
/// The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories.
11338
+
/// The ID of the actor that can bypass a ruleset. Required for `Integration`, `RepositoryRole`, and `Team` actor types. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories.
11339
11339
///
11340
11340
/// - Remark: Generated from `#/components/schemas/repository-ruleset-bypass-actor/actor_id`.
11341
11341
public var actorId: Swift.Int?
@@ -11367,7 +11367,7 @@ public enum Components {
11367
11367
/// Creates a new `RepositoryRulesetBypassActor`.
11368
11368
///
11369
11369
/// - Parameters:
11370
-
/// - actorId: The ID of the actor that can bypass a ruleset. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories.
11370
+
/// - actorId: The ID of the actor that can bypass a ruleset. Required for `Integration`, `RepositoryRole`, and `Team` actor types. If `actor_type` is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`, this should be null. `OrganizationAdmin` is not applicable for personal repositories.
11371
11371
/// - actorType: The type of actor that can bypass a ruleset.
11372
11372
/// - bypassMode: When the specified actor can bypass the ruleset. `pull_request` means that an actor can only bypass rules on pull requests. `pull_request` is not applicable for the `DeployKey` actor type. Also, `pull_request` is only applicable to branch rulesets.
11373
11373
public init(
@@ -21586,6 +21586,8 @@ public enum Components {
21586
21586
public var createdAt: Foundation.Date
21587
21587
/// - Remark: Generated from `#/components/schemas/release/published_at`.
21588
21588
public var publishedAt: Foundation.Date?
21589
+
/// - Remark: Generated from `#/components/schemas/release/updated_at`.
21590
+
public var updatedAt: Foundation.Date?
21589
21591
/// - Remark: Generated from `#/components/schemas/release/author`.
21590
21592
public var author: Components.Schemas.SimpleUser
21591
21593
/// - Remark: Generated from `#/components/schemas/release/assets`.
@@ -21622,6 +21624,7 @@ public enum Components {
21622
21624
/// - immutable: Whether or not the release is immutable.
0 commit comments