Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9755114

Browse files
Commit via running: make Sources/users
1 parent 9410622 commit 9755114

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

‎Sources/users/Types.swift‎

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2631,6 +2631,8 @@ public enum Components {
26312631
public var verified: Swift.Bool
26322632
/// - Remark: Generated from `#/components/schemas/key/read_only`.
26332633
public var readOnly: Swift.Bool
2634+
/// - Remark: Generated from `#/components/schemas/key/last_used`.
2635+
public var lastUsed: Foundation.Date?
26342636
/// Creates a new `Key`.
26352637
///
26362638
/// - Parameters:
@@ -2641,14 +2643,16 @@ public enum Components {
26412643
/// - createdAt:
26422644
/// - verified:
26432645
/// - readOnly:
2646+
/// - lastUsed:
26442647
public init(
26452648
key: Swift.String,
26462649
id: Swift.Int64,
26472650
url: Swift.String,
26482651
title: Swift.String,
26492652
createdAt: Foundation.Date,
26502653
verified: Swift.Bool,
2651-
readOnly: Swift.Bool
2654+
readOnly: Swift.Bool,
2655+
lastUsed: Foundation.Date? = nil
26522656
) {
26532657
self.key = key
26542658
self.id = id
@@ -2657,6 +2661,7 @@ public enum Components {
26572661
self.createdAt = createdAt
26582662
self.verified = verified
26592663
self.readOnly = readOnly
2664+
self.lastUsed = lastUsed
26602665
}
26612666
public enum CodingKeys: String, CodingKey {
26622667
case key
@@ -2666,6 +2671,7 @@ public enum Components {
26662671
case createdAt = "created_at"
26672672
case verified
26682673
case readOnly = "read_only"
2674+
case lastUsed = "last_used"
26692675
}
26702676
}
26712677
/// Social media account
@@ -2782,25 +2788,31 @@ public enum Components {
27822788
public var key: Swift.String
27832789
/// - Remark: Generated from `#/components/schemas/key-simple/created_at`.
27842790
public var createdAt: Foundation.Date?
2791+
/// - Remark: Generated from `#/components/schemas/key-simple/last_used`.
2792+
public var lastUsed: Foundation.Date?
27852793
/// Creates a new `KeySimple`.
27862794
///
27872795
/// - Parameters:
27882796
/// - id:
27892797
/// - key:
27902798
/// - createdAt:
2799+
/// - lastUsed:
27912800
public init(
27922801
id: Swift.Int,
27932802
key: Swift.String,
2794-
createdAt: Foundation.Date? = nil
2803+
createdAt: Foundation.Date? = nil,
2804+
lastUsed: Foundation.Date? = nil
27952805
) {
27962806
self.id = id
27972807
self.key = key
27982808
self.createdAt = createdAt
2809+
self.lastUsed = lastUsed
27992810
}
28002811
public enum CodingKeys: String, CodingKey {
28012812
case id
28022813
case key
28032814
case createdAt = "created_at"
2815+
case lastUsed = "last_used"
28042816
}
28052817
}
28062818
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /