mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-10 04:21:03 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.397.2
This commit is contained in:
@@ -1,25 +1,22 @@
|
||||
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
||||
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
||||
|
||||
import Foundation
|
||||
|
||||
extension Operations {
|
||||
/// A model object
|
||||
public struct DeleteLibraryRequest: APIValue {
|
||||
/// the Id of the library to query
|
||||
@DecimalSerialized
|
||||
public private(set) var sectionId: Double
|
||||
/// The unique key of the Plex library.
|
||||
/// Note: This is unique in the context of the Plex server.
|
||||
///
|
||||
public let sectionKey: Int
|
||||
|
||||
/// Creates an object with the specified parameters
|
||||
///
|
||||
/// - Parameter sectionId: the Id of the library to query
|
||||
/// - Parameter sectionKey: The unique key of the Plex library.
|
||||
/// Note: This is unique in the context of the Plex server.
|
||||
///
|
||||
///
|
||||
public init(sectionId: Double) {
|
||||
self._sectionId = DecimalSerialized<Double>(wrappedValue: sectionId)
|
||||
public init(sectionKey: Int) {
|
||||
self.sectionKey = sectionKey
|
||||
}
|
||||
}
|
||||
}
|
||||
extension Operations.DeleteLibraryRequest {
|
||||
var sectionIdWrapper: DecimalSerialized<Double> {
|
||||
return _sectionId
|
||||
}
|
||||
}
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user