Files
plexswift/Sources/Plexswift/models/operations/GetPlaylistContentsPart.swift
2024-04-11 11:10:38 -05:00

52 lines
1.6 KiB
Swift

// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
import Foundation
extension Operations {
/// A model object
public struct GetPlaylistContentsPart {
public let audioProfile: String?
public let container: String?
public let duration: Int?
public let file: String?
public let has64bitOffsets: Bool?
public let id: Int?
public let key: String?
public let optimizedForStreaming: Bool?
public let size: Int?
public let videoProfile: String?
/// Creates an object with the specified parameters
///
///
public init(audioProfile: String? = nil, container: String? = nil, duration: Int? = nil, file: String? = nil, has64bitOffsets: Bool? = nil, id: Int? = nil, key: String? = nil, optimizedForStreaming: Bool? = nil, size: Int? = nil, videoProfile: String? = nil) {
self.audioProfile = audioProfile
self.container = container
self.duration = duration
self.file = file
self.has64bitOffsets = has64bitOffsets
self.id = id
self.key = key
self.optimizedForStreaming = optimizedForStreaming
self.size = size
self.videoProfile = videoProfile
}
}
}
extension Operations.GetPlaylistContentsPart: Codable {
enum CodingKeys: String, CodingKey {
case audioProfile
case container
case duration
case file
case has64bitOffsets
case id
case key
case optimizedForStreaming
case size
case videoProfile
}
}