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