/*
* TIDAL API
*
* The TIDAL API is a [JSON:API](https://jsonapi.org/)–compliant web API that exposes TIDAL’s music, metadata, and user-related functionality through a consistent, resource-oriented design. More information and API management are available at [developer.tidal.com](developer.tidal.com)
*
* The version of the OpenAPI document: 1.0.36
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// ArtworkFileMeta : Metadata about an artwork file
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
#[serde(default)]
pub struct ArtworkFileMeta {
/// Height (in pixels)
#[serde(rename = "height")]
pub height: i32,
/// Width (in pixels)
#[serde(rename = "width")]
pub width: i32,
}
impl ArtworkFileMeta {
/// Metadata about an artwork file
pub fn new(height: i32, width: i32) -> ArtworkFileMeta {
ArtworkFileMeta {
height,
width,
}
}
}