use std::{
collections::HashMap,
};
use serde::{self, Serialize, Deserialize};
use serde_json::Value;
#[derive(Debug, Serialize, Deserialize)]
pub struct AcmeAccount {
pub status: String,
pub contact: Option<Vec<String>>,
#[serde(rename="termsOfServiceAgreed")]
pub terms_of_service_agreed: Option<bool>,
#[serde(rename="externalAccountBinding")]
pub external_account_binding: Option<Value>,
pub orders: Option<String>,
#[serde(flatten)]
pub additional_fields: HashMap<String, Value>,
}
#[derive(Debug, Serialize, Deserialize)]
pub struct AcmeAccountRequest {
pub contact: Option<Vec<String>>,
#[serde(rename="termsOfServiceAgreed")]
pub terms_of_service_agreed: Option<bool>,
#[serde(rename="onlyReturnExisting")]
pub only_return_existing: Option<bool>,
#[serde(rename="externalAccountBinding")]
pub external_account_binding: Option<Value>,
}