figma-api 0.31.4

This is the OpenAPI specification for the [Figma REST API](https://www.figma.com/developers/api). Note: we are releasing the OpenAPI specification as a beta given the large surface area and complexity of the REST API. If you notice any inaccuracies with the specification, please [file an issue](https://github.com/figma/rest-api-spec/issues).
Documentation
/*
 * Figma API
 *
 * This is the OpenAPI specification for the [Figma REST API](https://www.figma.com/developers/api).  Note: we are releasing the OpenAPI specification as a beta given the large surface area and complexity of the REST API. If you notice any inaccuracies with the specification, please [file an issue](https://github.com/figma/rest-api-spec/issues).
 *
 * The version of the OpenAPI document: 0.31.0
 * Contact: support@figma.com
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// BaseShadowEffectBoundVariables : The variables bound to a particular field on this shadow effect
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct BaseShadowEffectBoundVariables {
    #[serde(rename = "radius", skip_serializing_if = "Option::is_none")]
    pub radius: Option<Box<models::VariableAlias>>,
    #[serde(rename = "spread", skip_serializing_if = "Option::is_none")]
    pub spread: Option<Box<models::VariableAlias>>,
    #[serde(rename = "color", skip_serializing_if = "Option::is_none")]
    pub color: Option<Box<models::VariableAlias>>,
    #[serde(rename = "offsetX", skip_serializing_if = "Option::is_none")]
    pub offset_x: Option<Box<models::VariableAlias>>,
    #[serde(rename = "offsetY", skip_serializing_if = "Option::is_none")]
    pub offset_y: Option<Box<models::VariableAlias>>,
}

impl BaseShadowEffectBoundVariables {
    /// The variables bound to a particular field on this shadow effect
    pub fn new() -> BaseShadowEffectBoundVariables {
        BaseShadowEffectBoundVariables {
            radius: None,
            spread: None,
            color: None,
            offset_x: None,
            offset_y: None,
        }
    }
}