wb-api-client 3.0.0

Wildberries Seller API client (generated)
Documentation
/*
 * Документы и бухгалтерия
 *
 * Узнать больше о документах и бухгалтерии можно в [справочном центре](https://seller.wildberries.ru/instructions/category/ba929b64-1f89-4426-82d7-ce998ee552bd?goBackOption=prevRoute&categoryId=3c971375-9939-45e8-ab82-376019be8942)  Просмотр [баланса](https://dev.wildberries.ru/openapi/documents-and-accounting#tag/balance), [финансовых отчётов](https://dev.wildberries.ru/openapi/documents-and-accounting#tag/financialReports) и [документов](https://dev.wildberries.ru/openapi/documents-and-accounting#tag/documents) продавца.
 *
 * The version of the OpenAPI document: finances
 *
 * Generated by: https://openapi-generator.tech
 */

use crate::finances::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetDocsData {
    /// Название документа
    #[serde(rename = "fileName", skip_serializing_if = "Option::is_none")]
    pub file_name: Option<String>,
    /// Формат документа
    #[serde(rename = "extension", skip_serializing_if = "Option::is_none")]
    pub extension: Option<String>,
    /// Документ в кодировке base64
    #[serde(rename = "document", skip_serializing_if = "Option::is_none")]
    pub document: Option<String>,
}

impl GetDocsData {
    pub fn new() -> GetDocsData {
        GetDocsData {
            file_name: None,
            extension: None,
            document: None,
        }
    }
}