moonsdk 1.0.1

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Documentation
/*
 * moon-vault-api
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 1.0.0
 * 
 * Generated by: https://openapi-generator.tech
 */




#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct TransactionResponseInfo {
    #[serde(rename = "conveyorGas")]
    pub conveyor_gas: String,
    #[serde(rename = "affiliateGas")]
    pub affiliate_gas: String,
    #[serde(rename = "affiliateAggregator")]
    pub affiliate_aggregator: String,
    #[serde(rename = "amountOut")]
    pub amount_out: String,
    #[serde(rename = "amountOutMin")]
    pub amount_out_min: String,
}

impl TransactionResponseInfo {
    pub fn new(conveyor_gas: String, affiliate_gas: String, affiliate_aggregator: String, amount_out: String, amount_out_min: String) -> TransactionResponseInfo {
        TransactionResponseInfo {
            conveyor_gas,
            affiliate_gas,
            affiliate_aggregator,
            amount_out,
            amount_out_min,
        }
    }
}