// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. import Foundation extension Operations { /// A model object public struct GetLibraryRequest: APIValue { /// the Id of the library to query @DecimalSerialized public private(set) var sectionId: Double /// Whether or not to include details for a section (types, filters, and sorts). /// Only exists for backwards compatibility, media providers other than the server libraries have it on always. /// public let includeDetails: Operations.IncludeDetails? /// Creates an object with the specified parameters /// /// - Parameter sectionId: the Id of the library to query /// - Parameter includeDetails: Whether or not to include details for a section (types, filters, and sorts). /// Only exists for backwards compatibility, media providers other than the server libraries have it on always. /// /// public init(sectionId: Double, includeDetails: Operations.IncludeDetails? = nil) { self._sectionId = DecimalSerialized(wrappedValue: sectionId) self.includeDetails = includeDetails } } } extension Operations.GetLibraryRequest { var sectionIdWrapper: DecimalSerialized { return _sectionId } }