/*
 * Binance Staking REST API
 *
 * OpenAPI Specification for the Binance Staking REST API
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

#![allow(unused_imports)]
use crate::staking::rest_api::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetOnChainYieldsLockedSubscriptionPreviewResponse {
    #[serde(rename = "rewardAsset", skip_serializing_if = "Option::is_none")]
    pub reward_asset: Option<String>,
    #[serde(rename = "totalRewardAmt", skip_serializing_if = "Option::is_none")]
    pub total_reward_amt: Option<String>,
    #[serde(rename = "nextPay", skip_serializing_if = "Option::is_none")]
    pub next_pay: Option<String>,
    #[serde(rename = "nextPayDate", skip_serializing_if = "Option::is_none")]
    pub next_pay_date: Option<String>,
    #[serde(rename = "rewardsPayDate", skip_serializing_if = "Option::is_none")]
    pub rewards_pay_date: Option<String>,
    #[serde(rename = "valueDate", skip_serializing_if = "Option::is_none")]
    pub value_date: Option<String>,
    #[serde(rename = "rewardsEndDate", skip_serializing_if = "Option::is_none")]
    pub rewards_end_date: Option<String>,
    #[serde(rename = "deliverDate", skip_serializing_if = "Option::is_none")]
    pub deliver_date: Option<String>,
    #[serde(
        rename = "nextSubscriptionDate",
        skip_serializing_if = "Option::is_none"
    )]
    pub next_subscription_date: Option<String>,
}

impl GetOnChainYieldsLockedSubscriptionPreviewResponse {
    #[must_use]
    pub fn new() -> GetOnChainYieldsLockedSubscriptionPreviewResponse {
        GetOnChainYieldsLockedSubscriptionPreviewResponse {
            reward_asset: None,
            total_reward_amt: None,
            next_pay: None,
            next_pay_date: None,
            rewards_pay_date: None,
            value_date: None,
            rewards_end_date: None,
            deliver_date: None,
            next_subscription_date: None,
        }
    }
}
