mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 12:47:44 +00:00
45 lines
1.3 KiB
Swift
45 lines
1.3 KiB
Swift
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
import Foundation
|
|
|
|
extension Operations {
|
|
/// A model object
|
|
public struct GetSessionsMedia {
|
|
public let audioChannels: Int?
|
|
public let audioCodec: String?
|
|
public let bitrate: Int?
|
|
public let container: String?
|
|
public let duration: Int?
|
|
public let id: String?
|
|
public let part: [Operations.GetSessionsPart]?
|
|
public let selected: Bool?
|
|
|
|
/// Creates an object with the specified parameters
|
|
///
|
|
///
|
|
public init(audioChannels: Int? = nil, audioCodec: String? = nil, bitrate: Int? = nil, container: String? = nil, duration: Int? = nil, id: String? = nil, part: [Operations.GetSessionsPart]? = nil, selected: Bool? = nil) {
|
|
self.audioChannels = audioChannels
|
|
self.audioCodec = audioCodec
|
|
self.bitrate = bitrate
|
|
self.container = container
|
|
self.duration = duration
|
|
self.id = id
|
|
self.part = part
|
|
self.selected = selected
|
|
}
|
|
}}
|
|
|
|
extension Operations.GetSessionsMedia: Codable {
|
|
enum CodingKeys: String, CodingKey {
|
|
case audioChannels
|
|
case audioCodec
|
|
case bitrate
|
|
case container
|
|
case duration
|
|
case id
|
|
case part = "Part"
|
|
case selected
|
|
}
|
|
}
|
|
|