wb-api-client 4.0.0

Wildberries Seller API client (generated)
Documentation
/*
 * DBS
 *
 * Узнать больше о модели DBS можно в [справочном центре](https://seller.wildberries.ru/instructions/category/6572e024-7428-4db1-86a8-a4c7dbebbfcf?goBackOption=prevRoute&categoryId=5a8e1202-0865-45b7-acae-5d0afc7add56)  С помощью методов раздела DBS (Delivery by Seller) вы можете: - управлять [сборочными заданиями](https://dev.wildberries.ru/openapi/dbs#tag/dbsAssemblyOrders) - добавлять, редактировать и удалять [идентификаторы маркировки](https://dev.wildberries.ru/openapi/dbs#tag/dbsLabelIdentifiers) Протестировать методы DBS вы можете в [песочнице](https://dev.wildberries.ru/sandbox). Также в песочнице доступны [специальные методы](https://dev.wildberries.ru/docs/openapi-other/sandbox-environment#tag/marketplaceDbs) для эмуляции действий пользователя
 *
 * The version of the OpenAPI document: dbs
 *
 * Generated by: https://openapi-generator.tech
 */

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

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct ApiPeriodStatusSetDeliverResponse {
    /// Детали ошибки
    #[serde(rename = "errors", skip_serializing_if = "Option::is_none")]
    pub errors: Option<Vec<models::ApiPeriodBatchErrorDeliverResponse>>,
    /// Есть ли ошибки
    #[serde(rename = "isError", skip_serializing_if = "Option::is_none")]
    pub is_error: Option<bool>,
    /// ID сборочного задания с успешно обновлёнными данными
    #[serde(rename = "orderId", skip_serializing_if = "Option::is_none")]
    pub order_id: Option<i64>,
}

impl ApiPeriodStatusSetDeliverResponse {
    pub fn new() -> ApiPeriodStatusSetDeliverResponse {
        ApiPeriodStatusSetDeliverResponse {
            errors: None,
            is_error: None,
            order_id: None,
        }
    }
}