hermes_ebay_commerce_identity/models/error_parameter.rs
1/*
2 * Identity API
3 *
4 * <span class=\"tablenote\"><b>Note:</b> Not all the account related fields are returned for an authenticated user. The fields returned in the response are controlled by the scopes and are available only to select developers approved by business units.</span><br /><br />Retrieves the authenticated user's account profile information. It can be used to let users log into your app or site using eBay, which frees you from needing to store and protect user's PII (Personal Identifiable Information) data.
5 *
6 * The version of the OpenAPI document: v2.0.0
7 * Contact: your-email@example.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct ErrorParameter {
16 /// The object of the error.
17 #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
18 pub name: Option<String>,
19 /// The value of the object.
20 #[serde(rename = "value", skip_serializing_if = "Option::is_none")]
21 pub value: Option<String>,
22}
23
24impl ErrorParameter {
25 pub fn new() -> ErrorParameter {
26 ErrorParameter {
27 name: None,
28 value: None,
29 }
30 }
31}
32