Files
plexswift/Sources/Plexswift/models/operations/GetMediaMetaDataImage.swift

36 lines
1.0 KiB
Swift

// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
import Foundation
extension Operations {
/// A model object
public struct GetMediaMetaDataImage {
/// Alternate text for the image.
public let alt: String
/// The type of image (e.g., coverPoster, background, clearLogo).
public let type: String
/// The URL of the image.
public let url: String
/// Creates an object with the specified parameters
///
/// - Parameter alt: Alternate text for the image.
/// - Parameter type: The type of image (e.g., coverPoster, background, clearLogo).
/// - Parameter url: The URL of the image.
///
public init(alt: String, type: String, url: String) {
self.alt = alt
self.type = type
self.url = url
}
}}
extension Operations.GetMediaMetaDataImage: Codable {
enum CodingKeys: String, CodingKey {
case alt
case type
case url
}
}