Skip to content

Commit fc6b1fd

Browse files
Commit via running ake Sources/gists
1 parent 83a5f5c commit fc6b1fd

File tree

1 file changed

+25
-13
lines changed

1 file changed

+25
-13
lines changed

Sources/gists/Types.swift

Lines changed: 25 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,8 @@ public enum Components {
619619
public var site_admin: Swift.Bool
620620
/// - Remark: Generated from `#/components/schemas/simple-user/starred_at`.
621621
public var starred_at: Swift.String?
622+
/// - Remark: Generated from `#/components/schemas/simple-user/user_view_type`.
623+
public var user_view_type: Swift.String?
622624
/// Creates a new `simple_hyphen_user`.
623625
///
624626
/// - Parameters:
@@ -643,6 +645,7 @@ public enum Components {
643645
/// - _type:
644646
/// - site_admin:
645647
/// - starred_at:
648+
/// - user_view_type:
646649
public init(
647650
name: Swift.String? = nil,
648651
email: Swift.String? = nil,
@@ -664,7 +667,8 @@ public enum Components {
664667
received_events_url: Swift.String,
665668
_type: Swift.String,
666669
site_admin: Swift.Bool,
667-
starred_at: Swift.String? = nil
670+
starred_at: Swift.String? = nil,
671+
user_view_type: Swift.String? = nil
668672
) {
669673
self.name = name
670674
self.email = email
@@ -687,6 +691,7 @@ public enum Components {
687691
self._type = _type
688692
self.site_admin = site_admin
689693
self.starred_at = starred_at
694+
self.user_view_type = user_view_type
690695
}
691696
public enum CodingKeys: String, CodingKey {
692697
case name
@@ -710,6 +715,7 @@ public enum Components {
710715
case _type = "type"
711716
case site_admin
712717
case starred_at
718+
case user_view_type
713719
}
714720
}
715721
/// Basic Error
@@ -795,6 +801,8 @@ public enum Components {
795801
public var site_admin: Swift.Bool
796802
/// - Remark: Generated from `#/components/schemas/nullable-simple-user/starred_at`.
797803
public var starred_at: Swift.String?
804+
/// - Remark: Generated from `#/components/schemas/nullable-simple-user/user_view_type`.
805+
public var user_view_type: Swift.String?
798806
/// Creates a new `nullable_hyphen_simple_hyphen_user`.
799807
///
800808
/// - Parameters:
@@ -819,6 +827,7 @@ public enum Components {
819827
/// - _type:
820828
/// - site_admin:
821829
/// - starred_at:
830+
/// - user_view_type:
822831
public init(
823832
name: Swift.String? = nil,
824833
email: Swift.String? = nil,
@@ -840,7 +849,8 @@ public enum Components {
840849
received_events_url: Swift.String,
841850
_type: Swift.String,
842851
site_admin: Swift.Bool,
843-
starred_at: Swift.String? = nil
852+
starred_at: Swift.String? = nil,
853+
user_view_type: Swift.String? = nil
844854
) {
845855
self.name = name
846856
self.email = email
@@ -863,6 +873,7 @@ public enum Components {
863873
self._type = _type
864874
self.site_admin = site_admin
865875
self.starred_at = starred_at
876+
self.user_view_type = user_view_type
866877
}
867878
public enum CodingKeys: String, CodingKey {
868879
case name
@@ -886,6 +897,7 @@ public enum Components {
886897
case _type = "type"
887898
case site_admin
888899
case starred_at
900+
case user_view_type
889901
}
890902
}
891903
/// Validation Error
@@ -1226,6 +1238,8 @@ public enum Components {
12261238
public var login: Swift.String
12271239
/// - Remark: Generated from `#/components/schemas/public-user/id`.
12281240
public var id: Swift.Int64
1241+
/// - Remark: Generated from `#/components/schemas/public-user/user_view_type`.
1242+
public var user_view_type: Swift.String?
12291243
/// - Remark: Generated from `#/components/schemas/public-user/node_id`.
12301244
public var node_id: Swift.String
12311245
/// - Remark: Generated from `#/components/schemas/public-user/avatar_url`.
@@ -1325,8 +1339,6 @@ public enum Components {
13251339
}
13261340
/// - Remark: Generated from `#/components/schemas/public-user/plan`.
13271341
public var plan: Components.Schemas.public_hyphen_user.planPayload?
1328-
/// - Remark: Generated from `#/components/schemas/public-user/suspended_at`.
1329-
public var suspended_at: Foundation.Date?
13301342
/// - Remark: Generated from `#/components/schemas/public-user/private_gists`.
13311343
public var private_gists: Swift.Int?
13321344
/// - Remark: Generated from `#/components/schemas/public-user/total_private_repos`.
@@ -1342,6 +1354,7 @@ public enum Components {
13421354
/// - Parameters:
13431355
/// - login:
13441356
/// - id:
1357+
/// - user_view_type:
13451358
/// - node_id:
13461359
/// - avatar_url:
13471360
/// - gravatar_id:
@@ -1374,7 +1387,6 @@ public enum Components {
13741387
/// - created_at:
13751388
/// - updated_at:
13761389
/// - plan:
1377-
/// - suspended_at:
13781390
/// - private_gists:
13791391
/// - total_private_repos:
13801392
/// - owned_private_repos:
@@ -1383,6 +1395,7 @@ public enum Components {
13831395
public init(
13841396
login: Swift.String,
13851397
id: Swift.Int64,
1398+
user_view_type: Swift.String? = nil,
13861399
node_id: Swift.String,
13871400
avatar_url: Swift.String,
13881401
gravatar_id: Swift.String? = nil,
@@ -1415,7 +1428,6 @@ public enum Components {
14151428
created_at: Foundation.Date,
14161429
updated_at: Foundation.Date,
14171430
plan: Components.Schemas.public_hyphen_user.planPayload? = nil,
1418-
suspended_at: Foundation.Date? = nil,
14191431
private_gists: Swift.Int? = nil,
14201432
total_private_repos: Swift.Int? = nil,
14211433
owned_private_repos: Swift.Int? = nil,
@@ -1424,6 +1436,7 @@ public enum Components {
14241436
) {
14251437
self.login = login
14261438
self.id = id
1439+
self.user_view_type = user_view_type
14271440
self.node_id = node_id
14281441
self.avatar_url = avatar_url
14291442
self.gravatar_id = gravatar_id
@@ -1456,7 +1469,6 @@ public enum Components {
14561469
self.created_at = created_at
14571470
self.updated_at = updated_at
14581471
self.plan = plan
1459-
self.suspended_at = suspended_at
14601472
self.private_gists = private_gists
14611473
self.total_private_repos = total_private_repos
14621474
self.owned_private_repos = owned_private_repos
@@ -1466,6 +1478,7 @@ public enum Components {
14661478
public enum CodingKeys: String, CodingKey {
14671479
case login
14681480
case id
1481+
case user_view_type
14691482
case node_id
14701483
case avatar_url
14711484
case gravatar_id
@@ -1498,7 +1511,6 @@ public enum Components {
14981511
case created_at
14991512
case updated_at
15001513
case plan
1501-
case suspended_at
15021514
case private_gists
15031515
case total_private_repos
15041516
case owned_private_repos
@@ -1515,6 +1527,10 @@ public enum Components {
15151527
Swift.Int64.self,
15161528
forKey: .id
15171529
)
1530+
user_view_type = try container.decodeIfPresent(
1531+
Swift.String.self,
1532+
forKey: .user_view_type
1533+
)
15181534
node_id = try container.decode(
15191535
Swift.String.self,
15201536
forKey: .node_id
@@ -1643,10 +1659,6 @@ public enum Components {
16431659
Components.Schemas.public_hyphen_user.planPayload.self,
16441660
forKey: .plan
16451661
)
1646-
suspended_at = try container.decodeIfPresent(
1647-
Foundation.Date.self,
1648-
forKey: .suspended_at
1649-
)
16501662
private_gists = try container.decodeIfPresent(
16511663
Swift.Int.self,
16521664
forKey: .private_gists
@@ -1670,6 +1682,7 @@ public enum Components {
16701682
try decoder.ensureNoAdditionalProperties(knownKeys: [
16711683
"login",
16721684
"id",
1685+
"user_view_type",
16731686
"node_id",
16741687
"avatar_url",
16751688
"gravatar_id",
@@ -1702,7 +1715,6 @@ public enum Components {
17021715
"created_at",
17031716
"updated_at",
17041717
"plan",
1705-
"suspended_at",
17061718
"private_gists",
17071719
"total_private_repos",
17081720
"owned_private_repos",

0 commit comments

Comments
 (0)