mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 20:57:46 +00:00
43 lines
1.4 KiB
Swift
43 lines
1.4 KiB
Swift
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
|
|
import Foundation
|
|
|
|
extension Operations {
|
|
/// A model object
|
|
public struct GetLibraryHubsMediaContainer {
|
|
public let allowSync: Bool?
|
|
public let hub: [Operations.GetLibraryHubsHub]?
|
|
public let identifier: String?
|
|
public let librarySectionID: Int?
|
|
public let librarySectionTitle: String?
|
|
public let librarySectionUUID: String?
|
|
public let size: Int?
|
|
|
|
/// Creates an object with the specified parameters
|
|
///
|
|
///
|
|
public init(allowSync: Bool? = nil, hub: [Operations.GetLibraryHubsHub]? = nil, identifier: String? = nil, librarySectionID: Int? = nil, librarySectionTitle: String? = nil, librarySectionUUID: String? = nil, size: Int? = nil) {
|
|
self.allowSync = allowSync
|
|
self.hub = hub
|
|
self.identifier = identifier
|
|
self.librarySectionID = librarySectionID
|
|
self.librarySectionTitle = librarySectionTitle
|
|
self.librarySectionUUID = librarySectionUUID
|
|
self.size = size
|
|
}
|
|
}
|
|
}
|
|
|
|
extension Operations.GetLibraryHubsMediaContainer: Codable {
|
|
enum CodingKeys: String, CodingKey {
|
|
case allowSync
|
|
case hub = "Hub"
|
|
case identifier
|
|
case librarySectionID
|
|
case librarySectionTitle
|
|
case librarySectionUUID
|
|
case size
|
|
}
|
|
}
|
|
|