square_api_client/models/register_domain_response.rs
1//! Response struct for the Register Domain API
2
3use serde::Deserialize;
4
5use super::{enums::RegisterDomainResponseStatus, errors::Error};
6
7/// This is a model struct for RegisterDomainResponse type
8#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq)]
9pub struct RegisterDomainResponse {
10 /// Any errors that occurred during the request.
11 pub errors: Option<Vec<Error>>,
12 /// The status of the domain registration.
13 pub status: Option<RegisterDomainResponseStatus>,
14}