autogen-stedi 0.3.2

Auto-generated, strongly-typed Rust client for the Stedi APIs
Documentation
/*
 * Core
 *
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 2023-08-01
 * Contact: core@stedi.com
 * Generated by: https://openapi-generator.tech
 */

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

/// TransactionGroupOverrides : Customize the Application IDs for you or your trading partner.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct TransactionGroupOverrides {
    /// Set the [GS-02](https://www.stedi.com/edi/x12/segment/GS#GS-02) element to a custom value. If not set, Stedi uses the Application ID for the local profile associated with the partnership.
    #[serde(rename = "localApplicationId", skip_serializing_if = "Option::is_none")]
    pub local_application_id: Option<String>,
    /// Set the [GS-03](https://www.stedi.com/edi/x12/segment/GS#GS-03) element to a custom value. If not set, Stedi uses the Application ID for the partner profile associated with the partnership.
    #[serde(rename = "partnerApplicationId", skip_serializing_if = "Option::is_none")]
    pub partner_application_id: Option<String>,
}

impl TransactionGroupOverrides {
    /// Customize the Application IDs for you or your trading partner.
    pub fn new() -> TransactionGroupOverrides {
        TransactionGroupOverrides {
            local_application_id: None,
            partner_application_id: None,
        }
    }
}