1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
* 1MSG WhatsApp Business API (Public)
*
* Public client API for sending messages, managing groups, flows, and templates. This is the API exposed to end customers via platform.1msg.io **Authentication:** Pass the channel token in **one** place. The API checks JSON body (`token`), then query string (`?token=`), then `Authorization: Bearer` header (preferred in production). **Documentation:** https://help.1msg.io/platform-1msg/getting-start/quick-start **API Docs:** https://docs.1msg.io/
*
* The version of the OpenAPI document: 2.0.0
* Contact: support@1msg.io
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetStatus200Response {
#[serde(rename = "isCloud", skip_serializing_if = "Option::is_none")]
pub is_cloud: Option<bool>,
/// typically `connected` when the number can send
#[serde(rename = "status", skip_serializing_if = "Option::is_none")]
pub status: Option<String>,
#[serde(rename = "accountStatus", skip_serializing_if = "Option::is_none")]
pub account_status: Option<String>,
#[serde(rename = "mm_lite_available", skip_serializing_if = "Option::is_none")]
pub mm_lite_available: Option<bool>,
/// Optional soft-fail warning when Meta Graph health_status could not be loaded. Never includes internal provider names.
#[serde(rename = "health_status_warning", skip_serializing_if = "Option::is_none")]
pub health_status_warning: Option<String>,
}
impl GetStatus200Response {
pub fn new() -> GetStatus200Response {
GetStatus200Response {
is_cloud: None,
status: None,
account_status: None,
mm_lite_available: None,
health_status_warning: None,
}
}
}