mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-07 04:20:54 +00:00
ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.200.0
This commit is contained in:
51
Sources/Plexswift/models/operations/Setting.swift
Normal file
51
Sources/Plexswift/models/operations/Setting.swift
Normal file
@@ -0,0 +1,51 @@
|
||||
// Code generated by Speakeasy (https://speakeasyapi.dev). 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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user