/*
* Selling Partner API for Notifications
*
* The Selling Partner API for Notifications lets you subscribe to notifications that are relevant to a selling partner's business. Using this API you can create a destination to receive notifications, subscribe to notifications, delete notification subscriptions, and more. For more information, refer to the [Notifications Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/notifications-api-v1-use-case-guide).
*
* The version of the OpenAPI document: v1
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// DestinationResource : The destination resource types.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct DestinationResource {
#[serde(rename = "sqs", skip_serializing_if = "Option::is_none")]
pub sqs: Option<Box<models::notifications::SqsResource>>,
#[serde(rename = "eventBridge", skip_serializing_if = "Option::is_none")]
pub event_bridge: Option<Box<models::notifications::EventBridgeResource>>,
}
impl DestinationResource {
/// The destination resource types.
pub fn new() -> DestinationResource {
DestinationResource {
sqs: None,
event_bridge: None,
}
}
}