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:
@@ -0,0 +1,43 @@
|
||||
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
||||
|
||||
import Foundation
|
||||
|
||||
extension Operations {
|
||||
/// A model object
|
||||
public struct UploadPlaylistRequest: APIValue {
|
||||
/// Force overwriting of duplicate playlists.
|
||||
/// By default, a playlist file uploaded with the same path will overwrite the existing playlist.
|
||||
/// The `force` argument is used to disable overwriting.
|
||||
/// If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded.
|
||||
///
|
||||
public let force: Operations.Force
|
||||
/// absolute path to a directory on the server where m3u files are stored, or the absolute path to a playlist file on the server.
|
||||
/// If the `path` argument is a directory, that path will be scanned for playlist files to be processed.
|
||||
/// Each file in that directory creates a separate playlist, with a name based on the filename of the file that created it.
|
||||
/// The GUID of each playlist is based on the filename.
|
||||
/// If the `path` argument is a file, that file will be used to create a new playlist, with the name based on the filename of the file that created it.
|
||||
/// The GUID of each playlist is based on the filename.
|
||||
///
|
||||
public let path: String
|
||||
|
||||
/// Creates an object with the specified parameters
|
||||
///
|
||||
/// - Parameter force: Force overwriting of duplicate playlists.
|
||||
/// By default, a playlist file uploaded with the same path will overwrite the existing playlist.
|
||||
/// The `force` argument is used to disable overwriting.
|
||||
/// If the `force` argument is set to 0, a new playlist will be created suffixed with the date and time that the duplicate was uploaded.
|
||||
///
|
||||
/// - Parameter path: absolute path to a directory on the server where m3u files are stored, or the absolute path to a playlist file on the server.
|
||||
/// If the `path` argument is a directory, that path will be scanned for playlist files to be processed.
|
||||
/// Each file in that directory creates a separate playlist, with a name based on the filename of the file that created it.
|
||||
/// The GUID of each playlist is based on the filename.
|
||||
/// If the `path` argument is a file, that file will be used to create a new playlist, with the name based on the filename of the file that created it.
|
||||
/// The GUID of each playlist is based on the filename.
|
||||
///
|
||||
///
|
||||
public init(force: Operations.Force, path: String) {
|
||||
self.force = force
|
||||
self.path = path
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user