mirror of
https://github.com/LukeHagar/plexswift.git
synced 2025-12-06 04:20:52 +00:00
31 lines
671 B
Swift
31 lines
671 B
Swift
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
|
|
import Foundation
|
|
|
|
extension Operations {
|
|
/// A model object
|
|
public struct Image {
|
|
public let alt: String?
|
|
public let type: String?
|
|
public let url: String?
|
|
|
|
/// Creates an object with the specified parameters
|
|
///
|
|
///
|
|
public init(alt: String? = nil, type: String? = nil, url: String? = nil) {
|
|
self.alt = alt
|
|
self.type = type
|
|
self.url = url
|
|
}
|
|
}
|
|
}
|
|
|
|
extension Operations.Image: Codable {
|
|
enum CodingKeys: String, CodingKey {
|
|
case alt
|
|
case type
|
|
case url
|
|
}
|
|
}
|
|
|