amazon-spapi 2.0.3

A Rust client library for Amazon Selling Partner API (SP-API)
Documentation
/*
 * Selling Partner API for Data Kiosk
 *
 * The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
 *
 * The version of the OpenAPI document: 2023-11-15
 * 
 * Generated by: https://openapi-generator.tech
 */

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

/// CreateQueryResponse : The response for the `createQuery` operation.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CreateQueryResponse {
    /// The identifier for the query. This identifier is unique only in combination with a selling partner account ID.
    #[serde(rename = "queryId")]
    pub query_id: String,
}

impl CreateQueryResponse {
    /// The response for the `createQuery` operation.
    pub fn new(query_id: String) -> CreateQueryResponse {
        CreateQueryResponse {
            query_id,
        }
    }
}