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};

/// MdnFile : The location of the Message Disposition Notification (MDN). This is only relevant for AS2 connections.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct MdnFile {
    /// The repository location of the MDN file.
    #[serde(rename = "repository")]
    pub repository: String,
    /// The pointer to the specific MDN file.
    #[serde(rename = "pointer")]
    pub pointer: String,
}

impl MdnFile {
    /// The location of the Message Disposition Notification (MDN). This is only relevant for AS2 connections.
    pub fn new(repository: String, pointer: String) -> MdnFile {
        MdnFile {
            repository,
            pointer,
        }
    }
}