mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 20:57:46 +00:00
ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.152.1
This commit is contained in:
29
Sources/Plexswift/models/operations/GetFileHashRequest.swift
Normal file
29
Sources/Plexswift/models/operations/GetFileHashRequest.swift
Normal file
@@ -0,0 +1,29 @@
|
||||
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
||||
|
||||
import Foundation
|
||||
|
||||
extension Operations {
|
||||
/// A model object
|
||||
public struct GetFileHashRequest: APIValue {
|
||||
/// This is the path to the local file, must be prefixed by `file://`
|
||||
public let url: String
|
||||
/// Item type
|
||||
@DecimalSerialized
|
||||
public private(set) var type: Double?
|
||||
|
||||
/// Creates an object with the specified parameters
|
||||
///
|
||||
/// - Parameter url: This is the path to the local file, must be prefixed by `file://`
|
||||
/// - Parameter type: Item type
|
||||
///
|
||||
public init(url: String, type: Double? = nil) {
|
||||
self.url = url
|
||||
self._type = DecimalSerialized<Double?>(wrappedValue: type)
|
||||
}
|
||||
}
|
||||
}
|
||||
extension Operations.GetFileHashRequest {
|
||||
var typeWrapper: DecimalSerialized<Double?> {
|
||||
return _type
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user