printnanny_api_client/models/
webrtc_stream_request.rs

1/*
2 * printnanny-api-client
3 *
4 * Official API client library for printnanny.ai
5 *
6 * The version of the OpenAPI document: 0.135.1
7 * Contact: leigh@printnanny.ai
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct WebrtcStreamRequest {
16    #[serde(rename = "active", skip_serializing_if = "Option::is_none")]
17    pub active: Option<bool>,
18    #[serde(rename = "config_type", skip_serializing_if = "Option::is_none")]
19    pub config_type: Option<crate::models::JanusConfigType>,
20}
21
22impl WebrtcStreamRequest {
23    pub fn new() -> WebrtcStreamRequest {
24        WebrtcStreamRequest {
25            active: None,
26            config_type: None,
27        }
28    }
29}
30
31