/*
*
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document:
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ReqGetReferralPoints {
/// made optional to support header auth clients
#[serde(rename = "auth", skip_serializing_if = "Option::is_none")]
pub auth: Option<String>,
#[serde(rename = "account_index")]
pub account_index: i64,
}
impl ReqGetReferralPoints {
pub fn new(account_index: i64) -> ReqGetReferralPoints {
ReqGetReferralPoints {
auth: None,
account_index,
}
}
}