btcpay_client/models/
basic_app_data.rs

1/*
2 * BTCPay Greenfield API
3 *
4 * A full API to use your BTCPay Server
5 *
6 * The version of the OpenAPI document: v1
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct BasicAppData {
16    /// Id of the app
17    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
18    pub id: Option<String>,
19    /// Name given to the app when it was created
20    #[serde(rename = "name", skip_serializing_if = "Option::is_none")]
21    pub name: Option<String>,
22    /// Id of the store to which the app belongs
23    #[serde(rename = "storeId", skip_serializing_if = "Option::is_none")]
24    pub store_id: Option<String>,
25    /// UNIX timestamp for when the app was created
26    #[serde(rename = "created", skip_serializing_if = "Option::is_none")]
27    pub created: Option<i32>,
28    /// Type of the app which was created
29    #[serde(rename = "appType", skip_serializing_if = "Option::is_none")]
30    pub app_type: Option<String>,
31}
32
33impl BasicAppData {
34    pub fn new() -> BasicAppData {
35        BasicAppData {
36            id: None,
37            name: None,
38            store_id: None,
39            created: None,
40            app_type: None,
41        }
42    }
43}
44
45