mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-07 04:20:54 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.399.2
This commit is contained in:
@@ -20,7 +20,7 @@ extension Operations {
|
||||
public let product: String
|
||||
public let qr: String
|
||||
public let trusted: Bool
|
||||
public let authToken: AnyValue?
|
||||
public let authToken: String?
|
||||
public let newRegistration: AnyValue?
|
||||
|
||||
/// Creates an object with the specified parameters
|
||||
@@ -29,7 +29,7 @@ extension Operations {
|
||||
/// - Parameter expiresIn: The number of seconds this pin expires, by default 900 seconds
|
||||
/// - Parameter location: Geo location data
|
||||
///
|
||||
public init(clientIdentifier: String, code: String, createdAt: Date, expiresAt: Date, expiresIn: Int, id: Int, location: Operations.GeoData, product: String, qr: String, trusted: Bool, authToken: AnyValue? = nil, newRegistration: AnyValue? = nil) {
|
||||
public init(clientIdentifier: String, code: String, createdAt: Date, expiresAt: Date, expiresIn: Int, id: Int, location: Operations.GeoData, product: String, qr: String, trusted: Bool, authToken: String? = nil, newRegistration: AnyValue? = nil) {
|
||||
self.clientIdentifier = clientIdentifier
|
||||
self.code = code
|
||||
self._createdAt = DateTime<Date>(wrappedValue: createdAt)
|
||||
@@ -73,7 +73,7 @@ extension Operations.GetPinAuthPinContainer: Codable {
|
||||
self.product = try container.decode(String.self, forKey: .product)
|
||||
self.qr = try container.decode(String.self, forKey: .qr)
|
||||
self.trusted = try container.decode(Bool.self, forKey: .trusted)
|
||||
self.authToken = try container.decodeIfPresent(AnyValue.self, forKey: .authToken)
|
||||
self.authToken = try container.decodeIfPresent(String.self, forKey: .authToken)
|
||||
self.newRegistration = try container.decodeIfPresent(AnyValue.self, forKey: .newRegistration)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user