amazon_spapi/models/messaging/get_messaging_action_response_links.rs
1/*
2 * Selling Partner API for Messaging
3 *
4 * With the Messaging API you can build applications that send messages to buyers. You can get a list of message types that are available for an order that you specify, then call an operation that sends a message to the buyer for that order. The Messaging API returns responses that are formed according to the <a href=https://tools.ietf.org/html/draft-kelly-json-hal-08>JSON Hypertext Application Language</a> (HAL) standard.
5 *
6 * The version of the OpenAPI document: v1
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// GetMessagingActionResponseLinks : The links response that is associated with the messaging action.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct GetMessagingActionResponseLinks {
17 #[serde(rename = "self")]
18 pub param_self: Box<models::messaging::LinkObject>,
19 #[serde(rename = "schema")]
20 pub schema: Box<models::messaging::LinkObject>,
21}
22
23impl GetMessagingActionResponseLinks {
24 /// The links response that is associated with the messaging action.
25 pub fn new(param_self: models::messaging::LinkObject, schema: models::messaging::LinkObject) -> GetMessagingActionResponseLinks {
26 GetMessagingActionResponseLinks {
27 param_self: Box::new(param_self),
28 schema: Box::new(schema),
29 }
30 }
31}
32