Skip to main content

wb_api_client/communications/models/
response_feedback_question_err.rs

1/*
2 * Общение с покупателями
3 *
4 * Узнать больше об общении с покупателями можно в [справочном центре](https://seller.wildberries.ru/instructions/category/f7f6c465-dd12-422d-80a0-a6d9562115d5?goBackOption=prevRoute&categoryId=30817062-14cc-4a82-bc78-3600c2b0685b)  С помощью методов общения с покупателями вы можете работать с: 1. [Вопросами](https://dev.wildberries.ru/openapi/customer-communication#tag/questions) и [отзывами](https://dev.wildberries.ru/openapi/customer-communication#tag/feedbacks) покупателей 2. [Закреплёнными отзывами](https://dev.wildberries.ru/openapi/customer-communication#tag/pinnedFeedbacks) 3. [Чатами с покупателями](https://dev.wildberries.ru/openapi/customer-communication#tag/buyersChat) 4. [Заявками покупателей на возврат](https://dev.wildberries.ru/openapi/customer-communication#tag/buyersReturns) Протестировать методы общения с покупателями вы можете в [песочнице](https://dev.wildberries.ru/sandbox). Также в песочнице доступны [специальные методы](https://dev.wildberries.ru/docs/openapi-other/sandbox-environment#tag/questionsAndFeedbacks) для управления тестовыми вопросами и отзывами  Узнать, как использовать методы в бизнес-кейсах, можно в [инструкции](https://dev.wildberries.ru/knowledge-base/articles/019d49a4-0b26-7620-8d0b-e3050b7cd01d/obshchenie-s-pokupateliami) по работе с разделом **Общение с покупателями**
5 *
6 * The version of the OpenAPI document: communication
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::communications::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct ResponseFeedbackQuestionErr {
16    #[serde(
17        rename = "data",
18        default,
19        with = "::serde_with::rust::double_option",
20        skip_serializing_if = "Option::is_none"
21    )]
22    pub data: Option<Option<serde_json::Value>>,
23    /// Есть ли ошибка
24    #[serde(rename = "error", skip_serializing_if = "Option::is_none")]
25    pub error: Option<bool>,
26    /// Описание ошибки
27    #[serde(rename = "errorText", skip_serializing_if = "Option::is_none")]
28    pub error_text: Option<String>,
29    /// Дополнительные ошибки
30    #[serde(
31        rename = "additionalErrors",
32        default,
33        with = "::serde_with::rust::double_option",
34        skip_serializing_if = "Option::is_none"
35    )]
36    pub additional_errors: Option<Option<Vec<String>>>,
37    ///
38    #[serde(rename = "requestId", skip_serializing_if = "Option::is_none")]
39    pub request_id: Option<String>,
40}
41
42impl ResponseFeedbackQuestionErr {
43    pub fn new() -> ResponseFeedbackQuestionErr {
44        ResponseFeedbackQuestionErr {
45            data: None,
46            error: None,
47            error_text: None,
48            additional_errors: None,
49            request_id: None,
50        }
51    }
52}