amazon-spapi 2.0.3

A Rust client library for Amazon Selling Partner API (SP-API)
Documentation
/*
 * The Selling Partner API for Automotive.
 *
 * The Selling Partner API for Automotive provides programmatic access to information needed by selling partners to provide compatibility information about their listed products.
 *
 * The version of the OpenAPI document: 2024-11-01
 * 
 * Generated by: https://openapi-generator.tech
 */

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

/// VehicleIdentifiers : Combination of vehicle standard and id that can uniquely identify a vehicle from Amazon's catalog.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct VehicleIdentifiers {
    #[serde(rename = "standard")]
    pub standard: models::vehicles_2024_11_01::VehicleStandard,
    /// Id that can uniquely identify a vehicle based the vehicle identification standard.
    #[serde(rename = "value")]
    pub value: String,
}

impl VehicleIdentifiers {
    /// Combination of vehicle standard and id that can uniquely identify a vehicle from Amazon's catalog.
    pub fn new(standard: models::vehicles_2024_11_01::VehicleStandard, value: String) -> VehicleIdentifiers {
        VehicleIdentifiers {
            standard,
            value,
        }
    }
}