/*
* Bluefin API
*
* Bluefin API
*
* The version of the OpenAPI document: 1.0.0
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CountryResponse {
/// The country code in ISO 3166-1 alpha-2 format.
#[serde(rename = "country")]
pub country: String,
/// Indicates if the country is blocked.
#[serde(rename = "isBlockedCountry")]
pub is_blocked_country: bool,
}
impl CountryResponse {
pub fn new(country: String, is_blocked_country: bool) -> CountryResponse {
CountryResponse {
country,
is_blocked_country,
}
}
}