/*
* 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 Venue {
/// Name is the media room to join: the value POST /v1/meet/getToken takes as roomName, and the value the media server keys participants on.
#[serde(rename = "name", skip_serializing_if = "Option::is_none")]
pub name: Option<String>,
/// Ready reports that this deployment can mint a join token for this room. It is false on a deployment holding no media-server key, where Name is still correct — the name is a property of the room and the key is a property of the deployment, so a caller learns the room's identity either way and learns not to offer a join button.
#[serde(rename = "ready", skip_serializing_if = "Option::is_none")]
pub ready: Option<bool>,
/// WS is where the media plane is — the address a client opens its own browser-to-server connection to. Empty when this deployment has not been told where its media server lives, which is reported rather than refused: a surface can say a call is unavailable without a second request.
#[serde(rename = "ws", skip_serializing_if = "Option::is_none")]
pub ws: Option<String>,
}
impl Venue {
pub fn new() -> Venue {
Venue {
name: None,
ready: None,
ws: None,
}
}
}