/*
* Hanzo Cloud API
*
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
*
* The version of the OpenAPI document: v1
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct EsignCompletion {
/// DocumentStatus is COMPLETED when this was the last signature and the document sealed here, PENDING while others have still to sign.
#[serde(rename = "documentStatus", skip_serializing_if = "Option::is_none")]
pub document_status: Option<String>,
/// RecipientID is the recipient who finished.
#[serde(rename = "recipientId", skip_serializing_if = "Option::is_none")]
pub recipient_id: Option<String>,
/// Sealed is whether the document sealed on this call — the field values rendered onto the PDF and a real x509 PKCS#7 signature applied.
#[serde(rename = "sealed", skip_serializing_if = "Option::is_none")]
pub sealed: Option<bool>,
}
impl EsignCompletion {
pub fn new() -> EsignCompletion {
EsignCompletion {
document_status: None,
recipient_id: None,
sealed: None,
}
}
}