amazon_spapi/models/data_kiosk_2023_11_15/
create_query_response.rs

1/*
2 * Selling Partner API for Data Kiosk
3 *
4 * The Selling Partner API for Data Kiosk lets you submit GraphQL queries from a variety of schemas to help selling partners manage their businesses.
5 *
6 * The version of the OpenAPI document: 2023-11-15
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// CreateQueryResponse : The response for the `createQuery` operation.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct CreateQueryResponse {
17    /// The identifier for the query. This identifier is unique only in combination with a selling partner account ID.
18    #[serde(rename = "queryId")]
19    pub query_id: String,
20}
21
22impl CreateQueryResponse {
23    /// The response for the `createQuery` operation.
24    pub fn new(query_id: String) -> CreateQueryResponse {
25        CreateQueryResponse {
26            query_id,
27        }
28    }
29}
30