@@ -2631,6 +2631,8 @@ public enum Components {
2631
2631
public var verified: Swift.Bool
2632
2632
/// - Remark: Generated from `#/components/schemas/key/read_only`.
2633
2633
public var readOnly: Swift.Bool
2634
+ /// - Remark: Generated from `#/components/schemas/key/last_used`.
2635
+ public var lastUsed: Foundation.Date?
2634
2636
/// Creates a new `Key`.
2635
2637
///
2636
2638
/// - Parameters:
@@ -2641,14 +2643,16 @@ public enum Components {
2641
2643
/// - createdAt:
2642
2644
/// - verified:
2643
2645
/// - readOnly:
2646
+ /// - lastUsed:
2644
2647
public init(
2645
2648
key: Swift.String,
2646
2649
id: Swift.Int64,
2647
2650
url: Swift.String,
2648
2651
title: Swift.String,
2649
2652
createdAt: Foundation.Date,
2650
2653
verified: Swift.Bool,
2651
- readOnly: Swift.Bool
2654
+ readOnly: Swift.Bool,
2655
+ lastUsed: Foundation.Date? = nil
2652
2656
) {
2653
2657
self.key = key
2654
2658
self.id = id
@@ -2657,6 +2661,7 @@ public enum Components {
2657
2661
self.createdAt = createdAt
2658
2662
self.verified = verified
2659
2663
self.readOnly = readOnly
2664
+ self.lastUsed = lastUsed
2660
2665
}
2661
2666
public enum CodingKeys: String, CodingKey {
2662
2667
case key
@@ -2666,6 +2671,7 @@ public enum Components {
2666
2671
case createdAt = "created_at"
2667
2672
case verified
2668
2673
case readOnly = "read_only"
2674
+ case lastUsed = "last_used"
2669
2675
}
2670
2676
}
2671
2677
/// Social media account
@@ -2782,25 +2788,31 @@ public enum Components {
2782
2788
public var key: Swift.String
2783
2789
/// - Remark: Generated from `#/components/schemas/key-simple/created_at`.
2784
2790
public var createdAt: Foundation.Date?
2791
+ /// - Remark: Generated from `#/components/schemas/key-simple/last_used`.
2792
+ public var lastUsed: Foundation.Date?
2785
2793
/// Creates a new `KeySimple`.
2786
2794
///
2787
2795
/// - Parameters:
2788
2796
/// - id:
2789
2797
/// - key:
2790
2798
/// - createdAt:
2799
+ /// - lastUsed:
2791
2800
public init(
2792
2801
id: Swift.Int,
2793
2802
key: Swift.String,
2794
- createdAt: Foundation.Date? = nil
2803
+ createdAt: Foundation.Date? = nil,
2804
+ lastUsed: Foundation.Date? = nil
2795
2805
) {
2796
2806
self.id = id
2797
2807
self.key = key
2798
2808
self.createdAt = createdAt
2809
+ self.lastUsed = lastUsed
2799
2810
}
2800
2811
public enum CodingKeys: String, CodingKey {
2801
2812
case id
2802
2813
case key
2803
2814
case createdAt = "created_at"
2815
+ case lastUsed = "last_used"
2804
2816
}
2805
2817
}
2806
2818
}
0 commit comments