wb-api-client 5.0.0

Wildberries Seller API client (generated)
Documentation
/*
 * Аналитика и данные
 *
 * Узнать больше об аналитике и данных можно в [справочном центре](https://seller.wildberries.ru/instructions/ru/ru/subcategory/seller-analytics)  В разделе описаны методы получения: 1. [Воронки продаж](https://dev.wildberries.ru/openapi/analytics#tag/salesFunnel) 2. [Ленты заказов](https://dev.wildberries.ru/openapi/analytics#tag/orderFeed) 3. [Поисковых запросов по вашим товарам](https://dev.wildberries.ru/openapi/analytics#tag/searchQueriesForYourItems) 4. [Истории остатков](https://dev.wildberries.ru/openapi/analytics#tag/stocksReport) 5. [Оценки товара](https://dev.wildberries.ru/openapi/analytics#tag/itemRating) 6. [Аналитики продавца в формате CSV](https://dev.wildberries.ru/openapi/analytics#tag/sellerAnalyticsCsv)
 *
 * The version of the OpenAPI document: analytics
 *
 * Generated by: https://openapi-generator.tech
 */

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

/// SearchReportPositionClusters : Количество товаров со средней позицией в поиске:   - `firstHundred` — от 1 до 100   - `secondHundred` — от 101 до 200   - `below` — от 201 и ниже
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct SearchReportPositionClusters {
    #[serde(rename = "firstHundred", skip_serializing_if = "Option::is_none")]
    pub first_hundred: Option<Box<models::SearchReportPositionClustersFirstHundred>>,
    #[serde(rename = "secondHundred", skip_serializing_if = "Option::is_none")]
    pub second_hundred: Option<Box<models::SearchReportPositionClustersSecondHundred>>,
    #[serde(rename = "below", skip_serializing_if = "Option::is_none")]
    pub below: Option<Box<models::SearchReportPositionClustersBelow>>,
}

impl SearchReportPositionClusters {
    /// Количество товаров со средней позицией в поиске:   - `firstHundred` — от 1 до 100   - `secondHundred` — от 101 до 200   - `below` — от 201 и ниже
    pub fn new() -> SearchReportPositionClusters {
        SearchReportPositionClusters {
            first_hundred: None,
            second_hundred: None,
            below: None,
        }
    }
}