/*
* Antimatter Public API
*
* Interact with the Antimatter Cloud API
*
* The version of the OpenAPI document: 2.0.13
* Contact: support@antimatter.io
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// DomainAuthenticate : An object containing external credentials that can be transmuted into a domain identity token
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DomainAuthenticate {
#[serde(rename = "token")]
pub token: String,
}
impl DomainAuthenticate {
/// An object containing external credentials that can be transmuted into a domain identity token
pub fn new(token: String) -> DomainAuthenticate {
DomainAuthenticate {
token,
}
}
}