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

/// ArtistsFollowersResourceMetaViewerContext : Optional context about the relationship
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
#[serde(default)]
pub struct ArtistsFollowersResourceMetaViewerContext {
    /// Boolean to indicate if the artist is following my artist
    #[serde(rename = "followsMyArtist", skip_serializing_if = "Option::is_none")]
    pub follows_my_artist: Option<bool>,
    /// Boolean to indicate if my artist is following the artist
    #[serde(rename = "myArtistFollows", skip_serializing_if = "Option::is_none")]
    pub my_artist_follows: Option<bool>,
}

impl ArtistsFollowersResourceMetaViewerContext {
    /// Optional context about the relationship
    pub fn new() -> ArtistsFollowersResourceMetaViewerContext {
        ArtistsFollowersResourceMetaViewerContext {
            follows_my_artist: None,
            my_artist_follows: None,
        }
    }
}