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/issues/Types.swift
+24-12Lines changed: 24 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1251,6 +1251,8 @@ public enum Components {
1251
1251
public var site_admin: Swift.Bool
1252
1252
/// - Remark: Generated from `#/components/schemas/simple-user/starred_at`.
1253
1253
public var starred_at: Swift.String?
1254
+
/// - Remark: Generated from `#/components/schemas/simple-user/user_view_type`.
1255
+
public var user_view_type: Swift.String?
1254
1256
/// Creates a new `simple_hyphen_user`.
1255
1257
///
1256
1258
/// - Parameters:
@@ -1275,6 +1277,7 @@ public enum Components {
1275
1277
/// - _type:
1276
1278
/// - site_admin:
1277
1279
/// - starred_at:
1280
+
/// - user_view_type:
1278
1281
public init(
1279
1282
name: Swift.String? = nil,
1280
1283
email: Swift.String? = nil,
@@ -1296,7 +1299,8 @@ public enum Components {
1296
1299
received_events_url: Swift.String,
1297
1300
_type: Swift.String,
1298
1301
site_admin: Swift.Bool,
1299
-
starred_at: Swift.String? = nil
1302
+
starred_at: Swift.String? = nil,
1303
+
user_view_type: Swift.String? = nil
1300
1304
) {
1301
1305
self.name = name
1302
1306
self.email = email
@@ -1319,6 +1323,7 @@ public enum Components {
1319
1323
self._type = _type
1320
1324
self.site_admin = site_admin
1321
1325
self.starred_at = starred_at
1326
+
self.user_view_type = user_view_type
1322
1327
}
1323
1328
public enum CodingKeys: String, CodingKey {
1324
1329
case name
@@ -1342,6 +1347,7 @@ public enum Components {
1342
1347
case _type = "type"
1343
1348
case site_admin
1344
1349
case starred_at
1350
+
case user_view_type
1345
1351
}
1346
1352
}
1347
1353
/// Basic Error
@@ -1427,6 +1433,8 @@ public enum Components {
1427
1433
public var site_admin: Swift.Bool
1428
1434
/// - Remark: Generated from `#/components/schemas/nullable-simple-user/starred_at`.
1429
1435
public var starred_at: Swift.String?
1436
+
/// - Remark: Generated from `#/components/schemas/nullable-simple-user/user_view_type`.
1437
+
public var user_view_type: Swift.String?
1430
1438
/// Creates a new `nullable_hyphen_simple_hyphen_user`.
1431
1439
///
1432
1440
/// - Parameters:
@@ -1451,6 +1459,7 @@ public enum Components {
1451
1459
/// - _type:
1452
1460
/// - site_admin:
1453
1461
/// - starred_at:
1462
+
/// - user_view_type:
1454
1463
public init(
1455
1464
name: Swift.String? = nil,
1456
1465
email: Swift.String? = nil,
@@ -1472,7 +1481,8 @@ public enum Components {
1472
1481
received_events_url: Swift.String,
1473
1482
_type: Swift.String,
1474
1483
site_admin: Swift.Bool,
1475
-
starred_at: Swift.String? = nil
1484
+
starred_at: Swift.String? = nil,
1485
+
user_view_type: Swift.String? = nil
1476
1486
) {
1477
1487
self.name = name
1478
1488
self.email = email
@@ -1495,6 +1505,7 @@ public enum Components {
1495
1505
self._type = _type
1496
1506
self.site_admin = site_admin
1497
1507
self.starred_at = starred_at
1508
+
self.user_view_type = user_view_type
1498
1509
}
1499
1510
public enum CodingKeys: String, CodingKey {
1500
1511
case name
@@ -1518,6 +1529,7 @@ public enum Components {
1518
1529
case _type = "type"
1519
1530
case site_admin
1520
1531
case starred_at
1532
+
case user_view_type
1521
1533
}
1522
1534
}
1523
1535
/// GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.
@@ -2220,7 +2232,7 @@ public enum Components {
2220
2232
///
2221
2233
/// - Remark: Generated from `#/components/schemas/repository/allow_update_branch`.
2222
2234
public var allow_update_branch: Swift.Bool?
2223
-
/// 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.
2235
+
/// 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.
2224
2236
///
2225
2237
/// - Remark: Generated from `#/components/schemas/repository/use_squash_pr_title_as_default`.
2226
2238
@available(*, deprecated)
@@ -2408,7 +2420,7 @@ public enum Components {
2408
2420
/// - allow_auto_merge: Whether to allow Auto-merge to be used on pull requests.
2409
2421
/// - delete_branch_on_merge: Whether to delete head branches when pull requests are merged
2410
2422
/// - 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.
2411
-
/// - 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.
2423
+
/// - 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.
2412
2424
/// - squash_merge_commit_title: The default value for a squash merge commit title:
2413
2425
/// - squash_merge_commit_message: The default value for a squash merge commit message:
2414
2426
/// - merge_commit_title: The default value for a merge commit title.
@@ -6974,11 +6986,11 @@ public enum Components {
6974
6986
///
6975
6987
/// - Remark: Generated from `#/components/schemas/pull-request-review-comment/path`.
6976
6988
public var path: Swift.String
6977
-
/// The line index in the diff to which the comment applies. This field is deprecated; use `line` instead.
6989
+
/// The line index in the diff to which the comment applies. This field is closing down; use `line` instead.
6978
6990
///
6979
6991
/// - Remark: Generated from `#/components/schemas/pull-request-review-comment/position`.
6980
6992
public var position: Swift.Int?
6981
-
/// The index of the original line in the diff to which the comment applies. This field is deprecated; use `original_line` instead.
6993
+
/// The index of the original line in the diff to which the comment applies. This field is closing down; use `original_line` instead.
6982
6994
///
6983
6995
/// - Remark: Generated from `#/components/schemas/pull-request-review-comment/original_position`.
6984
6996
public var original_position: Swift.Int?
@@ -7154,8 +7166,8 @@ public enum Components {
7154
7166
/// - node_id: The node ID of the pull request review comment.
7155
7167
/// - diff_hunk: The diff of the line that the comment refers to.
7156
7168
/// - path: The relative path of the file to which the comment applies.
7157
-
/// - position: The line index in the diff to which the comment applies. This field is deprecated; use `line` instead.
7158
-
/// - original_position: The index of the original line in the diff to which the comment applies. This field is deprecated; use `original_line` instead.
7169
+
/// - position: The line index in the diff to which the comment applies. This field is closing down; use `line` instead.
7170
+
/// - original_position: The index of the original line in the diff to which the comment applies. This field is closing down; use `original_line` instead.
7159
7171
/// - commit_id: The SHA of the commit to which the comment applies.
7160
7172
/// - original_commit_id: The SHA of the original commit to which the comment applies.
7161
7173
/// - in_reply_to_id: The comment ID to reply to.
@@ -9736,7 +9748,7 @@ public enum Operations {
9736
9748
///
9737
9749
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/issues/POST/requestBody/json/body`.
9738
9750
public var body: Swift.String?
9739
-
/// Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is deprecated.**_
9751
+
/// Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is closing down.**_
9740
9752
///
9741
9753
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/issues/POST/requestBody/json/assignee`.
9742
9754
public var assignee: Swift.String?
@@ -9866,7 +9878,7 @@ public enum Operations {
9866
9878
/// - Parameters:
9867
9879
/// - title: The title of the issue.
9868
9880
/// - body: The contents of the issue.
9869
-
/// - assignee: Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is deprecated.**_
9881
+
/// - assignee: Login for the user that this issue should be assigned to. _NOTE: Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. **This field is closing down.**_
9870
9882
/// - milestone:
9871
9883
/// - labels: Labels to associate with this issue. _NOTE: Only users with push access can set labels for new issues. Labels are silently dropped otherwise._
9872
9884
/// - assignees: Logins for Users to assign to this issue. _NOTE: Only users with push access can set assignees for new issues. Assignees are silently dropped otherwise._
@@ -11685,7 +11697,7 @@ public enum Operations {
11685
11697
///
11686
11698
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/issues/{issue_number}/PATCH/requestBody/json/body`.
11687
11699
public var body: Swift.String?
11688
-
/// Username to assign to this issue. **This field is deprecated.**
11700
+
/// Username to assign to this issue. **This field is closing down.**
11689
11701
///
11690
11702
/// - Remark: Generated from `#/paths/repos/{owner}/{repo}/issues/{issue_number}/PATCH/requestBody/json/assignee`.
11691
11703
public var assignee: Swift.String?
@@ -11838,7 +11850,7 @@ public enum Operations {
11838
11850
/// - Parameters:
11839
11851
/// - title: The title of the issue.
11840
11852
/// - body: The contents of the issue.
11841
-
/// - assignee: Username to assign to this issue. **This field is deprecated.**
11853
+
/// - assignee: Username to assign to this issue. **This field is closing down.**
11842
11854
/// - state: The open or closed state of the issue.
11843
11855
/// - state_reason: The reason for the state change. Ignored unless `state` is changed.
0 commit comments