mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 20:57:46 +00:00
36 lines
972 B
Swift
36 lines
972 B
Swift
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
import Foundation
|
|
|
|
extension Operations {
|
|
/// A model object
|
|
public struct Services {
|
|
public let endpoint: String
|
|
public let identifier: String
|
|
public let secret: String
|
|
public let status: Operations.GetTokenDetailsStatus
|
|
public let token: String
|
|
|
|
/// Creates an object with the specified parameters
|
|
///
|
|
///
|
|
public init(endpoint: String, identifier: String, secret: String, status: Operations.GetTokenDetailsStatus, token: String) {
|
|
self.endpoint = endpoint
|
|
self.identifier = identifier
|
|
self.secret = secret
|
|
self.status = status
|
|
self.token = token
|
|
}
|
|
}}
|
|
|
|
extension Operations.Services: Codable {
|
|
enum CodingKeys: String, CodingKey {
|
|
case endpoint
|
|
case identifier
|
|
case secret
|
|
case status
|
|
case token
|
|
}
|
|
}
|
|
|