Skip to content

Commit c97c30c

Browse files
Commit via running ake Sources/repos
1 parent 632b41c commit c97c30c

File tree

1 file changed

+32
-17
lines changed

1 file changed

+32
-17
lines changed

Sources/repos/Types.swift

Lines changed: 32 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5818,7 +5818,7 @@ public enum Components {
58185818
/// - Remark: Generated from `#/components/schemas/simple-user/login`.
58195819
public var login: Swift.String
58205820
/// - Remark: Generated from `#/components/schemas/simple-user/id`.
5821-
public var id: Swift.Int
5821+
public var id: Swift.Int64
58225822
/// - Remark: Generated from `#/components/schemas/simple-user/node_id`.
58235823
public var node_id: Swift.String
58245824
/// - Remark: Generated from `#/components/schemas/simple-user/avatar_url`.
@@ -5881,7 +5881,7 @@ public enum Components {
58815881
name: Swift.String? = nil,
58825882
email: Swift.String? = nil,
58835883
login: Swift.String,
5884-
id: Swift.Int,
5884+
id: Swift.Int64,
58855885
node_id: Swift.String,
58865886
avatar_url: Swift.String,
58875887
gravatar_id: Swift.String? = nil,
@@ -6025,7 +6025,7 @@ public enum Components {
60256025
/// - Remark: Generated from `#/components/schemas/nullable-simple-user/login`.
60266026
public var login: Swift.String
60276027
/// - Remark: Generated from `#/components/schemas/nullable-simple-user/id`.
6028-
public var id: Swift.Int
6028+
public var id: Swift.Int64
60296029
/// - Remark: Generated from `#/components/schemas/nullable-simple-user/node_id`.
60306030
public var node_id: Swift.String
60316031
/// - Remark: Generated from `#/components/schemas/nullable-simple-user/avatar_url`.
@@ -6088,7 +6088,7 @@ public enum Components {
60886088
name: Swift.String? = nil,
60896089
email: Swift.String? = nil,
60906090
login: Swift.String,
6091-
id: Swift.Int,
6091+
id: Swift.Int64,
60926092
node_id: Swift.String,
60936093
avatar_url: Swift.String,
60946094
gravatar_id: Swift.String? = nil,
@@ -11078,21 +11078,36 @@ public enum Components {
1107811078
///
1107911079
/// - Remark: Generated from `#/components/schemas/repository-ruleset-conditions-repository-property-spec/property_values`.
1108011080
public var property_values: [Swift.String]
11081+
/// The source of the repository property. Defaults to 'custom' if not specified.
11082+
///
11083+
/// - Remark: Generated from `#/components/schemas/repository-ruleset-conditions-repository-property-spec/source`.
11084+
@frozen public enum sourcePayload: String, Codable, Hashable, Sendable {
11085+
case custom = "custom"
11086+
case system = "system"
11087+
}
11088+
/// The source of the repository property. Defaults to 'custom' if not specified.
11089+
///
11090+
/// - Remark: Generated from `#/components/schemas/repository-ruleset-conditions-repository-property-spec/source`.
11091+
public var source: Components.Schemas.repository_hyphen_ruleset_hyphen_conditions_hyphen_repository_hyphen_property_hyphen_spec.sourcePayload?
1108111092
/// Creates a new `repository_hyphen_ruleset_hyphen_conditions_hyphen_repository_hyphen_property_hyphen_spec`.
1108211093
///
1108311094
/// - Parameters:
1108411095
/// - name: The name of the repository property to target
1108511096
/// - property_values: The values to match for the repository property
11097+
/// - source: The source of the repository property. Defaults to 'custom' if not specified.
1108611098
public init(
1108711099
name: Swift.String,
11088-
property_values: [Swift.String]
11100+
property_values: [Swift.String],
11101+
source: Components.Schemas.repository_hyphen_ruleset_hyphen_conditions_hyphen_repository_hyphen_property_hyphen_spec.sourcePayload? = nil
1108911102
) {
1109011103
self.name = name
1109111104
self.property_values = property_values
11105+
self.source = source
1109211106
}
1109311107
public enum CodingKeys: String, CodingKey {
1109411108
case name
1109511109
case property_values
11110+
case source
1109611111
}
1109711112
}
1109811113
/// Parameters for a repository property condition
@@ -13264,7 +13279,7 @@ public enum Components {
1326413279
/// Unique identifier of the deployment
1326513280
///
1326613281
/// - Remark: Generated from `#/components/schemas/deployment/id`.
13267-
public var id: Swift.Int
13282+
public var id: Swift.Int64
1326813283
/// - Remark: Generated from `#/components/schemas/deployment/node_id`.
1326913284
public var node_id: Swift.String
1327013285
/// - Remark: Generated from `#/components/schemas/deployment/sha`.
@@ -13383,7 +13398,7 @@ public enum Components {
1338313398
/// - performed_via_github_app:
1338413399
public init(
1338513400
url: Swift.String,
13386-
id: Swift.Int,
13401+
id: Swift.Int64,
1338713402
node_id: Swift.String,
1338813403
sha: Swift.String,
1338913404
ref: Swift.String,
@@ -13860,7 +13875,7 @@ public enum Components {
1386013875
/// - Remark: Generated from `#/components/schemas/branch-restriction-policy/usersPayload/login`.
1386113876
public var login: Swift.String?
1386213877
/// - Remark: Generated from `#/components/schemas/branch-restriction-policy/usersPayload/id`.
13863-
public var id: Swift.Int?
13878+
public var id: Swift.Int64?
1386413879
/// - Remark: Generated from `#/components/schemas/branch-restriction-policy/usersPayload/node_id`.
1386513880
public var node_id: Swift.String?
1386613881
/// - Remark: Generated from `#/components/schemas/branch-restriction-policy/usersPayload/avatar_url`.
@@ -13916,7 +13931,7 @@ public enum Components {
1391613931
/// - site_admin:
1391713932
public init(
1391813933
login: Swift.String? = nil,
13919-
id: Swift.Int? = nil,
13934+
id: Swift.Int64? = nil,
1392013935
node_id: Swift.String? = nil,
1392113936
avatar_url: Swift.String? = nil,
1392213937
gravatar_id: Swift.String? = nil,
@@ -15771,7 +15786,7 @@ public enum Components {
1577115786
/// - Remark: Generated from `#/components/schemas/collaborator/login`.
1577215787
public var login: Swift.String
1577315788
/// - Remark: Generated from `#/components/schemas/collaborator/id`.
15774-
public var id: Swift.Int
15789+
public var id: Swift.Int64
1577515790
/// - Remark: Generated from `#/components/schemas/collaborator/email`.
1577615791
public var email: Swift.String?
1577715792
/// - Remark: Generated from `#/components/schemas/collaborator/name`.
@@ -15880,7 +15895,7 @@ public enum Components {
1588015895
/// - role_name:
1588115896
public init(
1588215897
login: Swift.String,
15883-
id: Swift.Int,
15898+
id: Swift.Int64,
1588415899
email: Swift.String? = nil,
1588515900
name: Swift.String? = nil,
1588615901
node_id: Swift.String,
@@ -16048,7 +16063,7 @@ public enum Components {
1604816063
/// - Remark: Generated from `#/components/schemas/nullable-collaborator/login`.
1604916064
public var login: Swift.String
1605016065
/// - Remark: Generated from `#/components/schemas/nullable-collaborator/id`.
16051-
public var id: Swift.Int
16066+
public var id: Swift.Int64
1605216067
/// - Remark: Generated from `#/components/schemas/nullable-collaborator/email`.
1605316068
public var email: Swift.String?
1605416069
/// - Remark: Generated from `#/components/schemas/nullable-collaborator/name`.
@@ -16157,7 +16172,7 @@ public enum Components {
1615716172
/// - role_name:
1615816173
public init(
1615916174
login: Swift.String,
16160-
id: Swift.Int,
16175+
id: Swift.Int64,
1616116176
email: Swift.String? = nil,
1616216177
name: Swift.String? = nil,
1616316178
node_id: Swift.String,
@@ -16484,7 +16499,7 @@ public enum Components {
1648416499
/// - Remark: Generated from `#/components/schemas/pull-request-simple/url`.
1648516500
public var url: Swift.String
1648616501
/// - Remark: Generated from `#/components/schemas/pull-request-simple/id`.
16487-
public var id: Swift.Int
16502+
public var id: Swift.Int64
1648816503
/// - Remark: Generated from `#/components/schemas/pull-request-simple/node_id`.
1648916504
public var node_id: Swift.String
1649016505
/// - Remark: Generated from `#/components/schemas/pull-request-simple/html_url`.
@@ -16792,7 +16807,7 @@ public enum Components {
1679216807
/// - draft: Indicates whether or not the pull request is a draft.
1679316808
public init(
1679416809
url: Swift.String,
16795-
id: Swift.Int,
16810+
id: Swift.Int64,
1679616811
node_id: Swift.String,
1679716812
html_url: Swift.String,
1679816813
diff_url: Swift.String,
@@ -18551,7 +18566,7 @@ public enum Components {
1855118566
/// - Remark: Generated from `#/components/schemas/deployment-status/url`.
1855218567
public var url: Swift.String
1855318568
/// - Remark: Generated from `#/components/schemas/deployment-status/id`.
18554-
public var id: Swift.Int
18569+
public var id: Swift.Int64
1855518570
/// - Remark: Generated from `#/components/schemas/deployment-status/node_id`.
1855618571
public var node_id: Swift.String
1855718572
/// The state of the status.
@@ -18622,7 +18637,7 @@ public enum Components {
1862218637
/// - performed_via_github_app:
1862318638
public init(
1862418639
url: Swift.String,
18625-
id: Swift.Int,
18640+
id: Swift.Int64,
1862618641
node_id: Swift.String,
1862718642
state: Components.Schemas.deployment_hyphen_status.statePayload,
1862818643
creator: Components.Schemas.nullable_hyphen_simple_hyphen_user? = nil,

0 commit comments

Comments
 (0)