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
42
43
44
45
46
47
48
/*
* Hanzo Cloud API
*
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
*
* The version of the OpenAPI document: v1
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct EmbedStatusResp {
/// App is the app this verdict is about.
#[serde(rename = "app", skip_serializing_if = "Option::is_none")]
pub app: Option<String>,
/// EmbedURL is the in-app landing URL to frame. Empty when the caller is not entitled — a non-entitled caller never receives it.
#[serde(rename = "embedUrl", skip_serializing_if = "Option::is_none")]
pub embed_url: Option<String>,
/// Entitled is whether the caller's org may frame this brand-owned app.
#[serde(rename = "entitled", skip_serializing_if = "Option::is_none")]
pub entitled: Option<bool>,
/// Origin is the app's origin on this deployment's own brand domain.
#[serde(rename = "origin", skip_serializing_if = "Option::is_none")]
pub origin: Option<String>,
/// Phase is the verdict in one word: not-entitled, not-provisioned or ready.
#[serde(rename = "phase", skip_serializing_if = "Option::is_none")]
pub phase: Option<String>,
/// Reachable is whether the app answered the liveness probe.
#[serde(rename = "reachable", skip_serializing_if = "Option::is_none")]
pub reachable: Option<bool>,
}
impl EmbedStatusResp {
pub fn new() -> EmbedStatusResp {
EmbedStatusResp {
app: None,
embed_url: None,
entitled: None,
origin: None,
phase: None,
reachable: None,
}
}
}