#![allow(clippy::too_many_arguments)]
use serde::{Deserialize, Serialize};
use crate::NaApiError;
use crate::{EndpointGetArgs, EndpointGetOne, NaClient};
use async_trait::async_trait;
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize, EndpointGetOne)]
#[serde(rename_all = "snake_case")]
#[getone(path = "account/details", args = 0)]
pub struct Details {
pub result: String,
pub userid: String,
pub client_id: String,
pub id: String,
pub owner_user_id: String,
pub uuid: String,
pub firstname: String,
pub lastname: String,
pub fullname: String,
pub companyname: String,
pub email: String,
pub address1: String,
pub address2: String,
pub city: String,
pub fullstate: String,
pub state: String,
pub postcode: String,
pub countrycode: String,
pub country: String,
pub phonenumber: String,
pub tax_id: String,
pub email_preferences: String,
pub statecode: String,
pub countryname: String,
pub phonecc: String,
pub phonenumberformatted: String,
#[serde(rename = "telephoneNumber")]
pub telephonenumber: String,
pub billingcid: String,
pub notes: String,
pub currency: String,
pub cclastfour: String,
pub groupid: String,
pub status: String,
pub credit: String,
#[serde(rename = "allowSingleSignOn")]
pub allowsinglesignon: String,
pub lastlogin: String,
}