/*
* 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
*/
use crate::models;
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ApiResponseGasPrice {
#[serde(rename = "success")]
pub success: bool,
#[serde(rename = "message")]
pub message: String,
#[serde(rename = "data", skip_serializing_if = "Option::is_none")]
pub data: Option<Box<models::GasPrice>>,
}
impl ApiResponseGasPrice {
pub fn new(success: bool, message: String) -> ApiResponseGasPrice {
ApiResponseGasPrice {
success,
message,
data: None,
}
}
}