mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 12:47:44 +00:00
51 lines
1.5 KiB
Swift
51 lines
1.5 KiB
Swift
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
import Foundation
|
|
|
|
extension Operations {
|
|
/// A model object
|
|
public struct Setting {
|
|
public let advanced: Bool?
|
|
public let `default`: Bool?
|
|
public let enumValues: String?
|
|
public let group: String?
|
|
public let hidden: Bool?
|
|
public let id: String?
|
|
public let label: String?
|
|
public let summary: String?
|
|
public let type: String?
|
|
public let value: Bool?
|
|
|
|
/// Creates an object with the specified parameters
|
|
///
|
|
///
|
|
public init(advanced: Bool? = nil, `default`: Bool? = nil, enumValues: String? = nil, group: String? = nil, hidden: Bool? = nil, id: String? = nil, label: String? = nil, summary: String? = nil, type: String? = nil, value: Bool? = nil) {
|
|
self.advanced = advanced
|
|
self.`default` = `default`
|
|
self.enumValues = enumValues
|
|
self.group = group
|
|
self.hidden = hidden
|
|
self.id = id
|
|
self.label = label
|
|
self.summary = summary
|
|
self.type = type
|
|
self.value = value
|
|
}
|
|
}}
|
|
|
|
extension Operations.Setting: Codable {
|
|
enum CodingKeys: String, CodingKey {
|
|
case advanced
|
|
case `default` = "default"
|
|
case enumValues
|
|
case group
|
|
case hidden
|
|
case id
|
|
case label
|
|
case summary
|
|
case type
|
|
case value
|
|
}
|
|
}
|
|
|