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/security-advisories/Types.swift
+45-7Lines changed: 45 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -546,6 +546,8 @@ public enum Components {
546
546
publicvarsite_admin:Swift.Bool
547
547
/// - Remark: Generated from `#/components/schemas/simple-user/starred_at`.
548
548
publicvarstarred_at:Swift.String?
549
+
/// - Remark: Generated from `#/components/schemas/simple-user/user_view_type`.
550
+
publicvaruser_view_type:Swift.String?
549
551
/// Creates a new `simple_hyphen_user`.
550
552
///
551
553
/// - Parameters:
@@ -570,6 +572,7 @@ public enum Components {
570
572
/// - _type:
571
573
/// - site_admin:
572
574
/// - starred_at:
575
+
/// - user_view_type:
573
576
publicinit(
574
577
name:Swift.String?=nil,
575
578
email:Swift.String?=nil,
@@ -591,7 +594,8 @@ public enum Components {
591
594
received_events_url:Swift.String,
592
595
_type:Swift.String,
593
596
site_admin:Swift.Bool,
594
-
starred_at:Swift.String?=nil
597
+
starred_at:Swift.String?=nil,
598
+
user_view_type:Swift.String?=nil
595
599
){
596
600
self.name = name
597
601
self.email = email
@@ -614,6 +618,7 @@ public enum Components {
614
618
self._type = _type
615
619
self.site_admin = site_admin
616
620
self.starred_at = starred_at
621
+
self.user_view_type = user_view_type
617
622
}
618
623
publicenumCodingKeys:String,CodingKey{
619
624
case name
@@ -637,6 +642,7 @@ public enum Components {
637
642
case _type ="type"
638
643
case site_admin
639
644
case starred_at
645
+
case user_view_type
640
646
}
641
647
}
642
648
/// The type of credit the user is receiving.
@@ -1234,6 +1240,8 @@ public enum Components {
1234
1240
publicvarsite_admin:Swift.Bool
1235
1241
/// - Remark: Generated from `#/components/schemas/nullable-simple-user/starred_at`.
1236
1242
publicvarstarred_at:Swift.String?
1243
+
/// - Remark: Generated from `#/components/schemas/nullable-simple-user/user_view_type`.
1244
+
publicvaruser_view_type:Swift.String?
1237
1245
/// Creates a new `nullable_hyphen_simple_hyphen_user`.
1238
1246
///
1239
1247
/// - Parameters:
@@ -1258,6 +1266,7 @@ public enum Components {
1258
1266
/// - _type:
1259
1267
/// - site_admin:
1260
1268
/// - starred_at:
1269
+
/// - user_view_type:
1261
1270
publicinit(
1262
1271
name:Swift.String?=nil,
1263
1272
email:Swift.String?=nil,
@@ -1279,7 +1288,8 @@ public enum Components {
1279
1288
received_events_url:Swift.String,
1280
1289
_type:Swift.String,
1281
1290
site_admin:Swift.Bool,
1282
-
starred_at:Swift.String?=nil
1291
+
starred_at:Swift.String?=nil,
1292
+
user_view_type:Swift.String?=nil
1283
1293
){
1284
1294
self.name = name
1285
1295
self.email = email
@@ -1302,6 +1312,7 @@ public enum Components {
1302
1312
self._type = _type
1303
1313
self.site_admin = site_admin
1304
1314
self.starred_at = starred_at
1315
+
self.user_view_type = user_view_type
1305
1316
}
1306
1317
publicenumCodingKeys:String,CodingKey{
1307
1318
case name
@@ -1325,6 +1336,7 @@ public enum Components {
1325
1336
case _type ="type"
1326
1337
case site_admin
1327
1338
case starred_at
1339
+
case user_view_type
1328
1340
}
1329
1341
}
1330
1342
/// Scim Error
@@ -1798,7 +1810,7 @@ public enum Components {
1798
1810
///
1799
1811
/// - Remark: Generated from `#/components/schemas/repository/allow_update_branch`.
1800
1812
publicvarallow_update_branch:Swift.Bool?
1801
-
/// Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.
1813
+
/// Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.
1802
1814
///
1803
1815
/// - Remark: Generated from `#/components/schemas/repository/use_squash_pr_title_as_default`.
1804
1816
@available(*, deprecated)
@@ -1986,7 +1998,7 @@ public enum Components {
1986
1998
/// - allow_auto_merge: Whether to allow Auto-merge to be used on pull requests.
1987
1999
/// - delete_branch_on_merge: Whether to delete head branches when pull requests are merged
1988
2000
/// - allow_update_branch: Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.
1989
-
/// - use_squash_pr_title_as_default: Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.
2001
+
/// - use_squash_pr_title_as_default: Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.
1990
2002
/// - squash_merge_commit_title: The default value for a squash merge commit title:
1991
2003
/// - squash_merge_commit_message: The default value for a squash merge commit message:
1992
2004
/// - merge_commit_title: The default value for a merge commit title.
@@ -3034,6 +3046,28 @@ public enum Components {
3034
3046
}
3035
3047
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_non_provider_patterns`.
/// - Remark: Generated from `#/components/schemas/nullable-repository/allow_update_branch`.
3313
3351
publicvarallow_update_branch:Swift.Bool?
3314
-
/// Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.
3352
+
/// Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.
3315
3353
///
3316
3354
/// - Remark: Generated from `#/components/schemas/nullable-repository/use_squash_pr_title_as_default`.
3317
3355
@available(*, deprecated)
@@ -3499,7 +3537,7 @@ public enum Components {
3499
3537
/// - allow_auto_merge: Whether to allow Auto-merge to be used on pull requests.
3500
3538
/// - delete_branch_on_merge: Whether to delete head branches when pull requests are merged
3501
3539
/// - allow_update_branch: Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.
3502
-
/// - use_squash_pr_title_as_default: Whether a squash merge commit can use the pull request title as default. **This property has been deprecated. Please use `squash_merge_commit_title` instead.
3540
+
/// - use_squash_pr_title_as_default: Whether a squash merge commit can use the pull request title as default. **This property is closing down. Please use `squash_merge_commit_title` instead.
3503
3541
/// - squash_merge_commit_title: The default value for a squash merge commit title:
3504
3542
/// - squash_merge_commit_message: The default value for a squash merge commit message:
3505
3543
/// - merge_commit_title: The default value for a merge commit title.
0 commit comments