prawn 0.0.1

Rust Client for the Tidal API providing comprehensive API coverag, and easy OAuth management
Documentation
/*
 * 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};

/// FileUploadLink : Upload link
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct FileUploadLink {
    /// Href to upload actual file to
    #[serde(rename = "href")]
    pub href: String,
    #[serde(rename = "meta")]
    pub meta: Box<models::FileUploadLinkMeta>,
}

impl FileUploadLink {
    /// Upload link
    pub fn new(href: String, meta: models::FileUploadLinkMeta) -> FileUploadLink {
        FileUploadLink {
            href,
            meta: Box::new(meta),
        }
    }
}