prawn 0.0.3

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};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
#[serde(default)]
pub struct ArtistClaimsRelationships {
    #[serde(rename = "acceptedArtists")]
    pub accepted_artists: Box<models::MultiRelationshipDataDocument>,
    #[serde(rename = "owners")]
    pub owners: Box<models::MultiRelationshipDataDocument>,
    #[serde(rename = "recommendedArtists")]
    pub recommended_artists: Box<models::MultiRelationshipDataDocument>,
}

impl ArtistClaimsRelationships {
    pub fn new(accepted_artists: models::MultiRelationshipDataDocument, owners: models::MultiRelationshipDataDocument, recommended_artists: models::MultiRelationshipDataDocument) -> ArtistClaimsRelationships {
        ArtistClaimsRelationships {
            accepted_artists: Box::new(accepted_artists),
            owners: Box::new(owners),
            recommended_artists: Box::new(recommended_artists),
        }
    }
}