Skip to main content

wb_api_client/reports/models/
http4_xx_response.rs

1/*
2 * Отчёты
3 *
4 * Узнать больше об отчётах можно в [справочном центре](https://seller.wildberries.ru/instructions/subcategory/5f2162c5-069b-416d-a4e1-48da2a76e6b0)  С помощью этих методов вы можете получать [основные отчёты](https://dev.wildberries.ru/openapi/reports#tag/mainReports) и отчёты о: 1. [Остатках на складах](https://dev.wildberries.ru/openapi/reports#tag/warehousesInventoryReport) 2. [Товарах с обязательной маркировкой](https://dev.wildberries.ru/openapi/reports#tag/reportOnItemsWithMandatoryLabeling) 3. [Удержаниях](https://dev.wildberries.ru/openapi/reports#tag/retentionReports) 4. [Операциях при приёмке](https://dev.wildberries.ru/openapi/reports#tag/acceptanceExpenses) 5. [Платном хранении](https://dev.wildberries.ru/openapi/reports#tag/paidStorage) 6. [Доле бренда в продажах](https://dev.wildberries.ru/openapi/reports#tag/shareOfBrandInSales) 7. [Заблокированных карточках](https://dev.wildberries.ru/openapi/reports#tag/blockedItems) 8. [Возвратах и перемещении товаров](https://dev.wildberries.ru/openapi/reports#tag/returnsAndItemMovementReport)
5 *
6 * The version of the OpenAPI document: reports
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::reports::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct Http4XxResponse {
16    /// Детали ошибки
17    #[serde(rename = "detail", skip_serializing_if = "Option::is_none")]
18    pub detail: Option<String>,
19    /// ID внутреннего сервиса WB
20    #[serde(rename = "origin", skip_serializing_if = "Option::is_none")]
21    pub origin: Option<String>,
22    /// Уникальный ID запроса
23    #[serde(rename = "requestId", skip_serializing_if = "Option::is_none")]
24    pub request_id: Option<String>,
25    /// Заголовок ошибки
26    #[serde(rename = "title", skip_serializing_if = "Option::is_none")]
27    pub title: Option<String>,
28}
29
30impl Http4XxResponse {
31    pub fn new() -> Http4XxResponse {
32        Http4XxResponse {
33            detail: None,
34            origin: None,
35            request_id: None,
36            title: None,
37        }
38    }
39}