bsac_api_client/models/
check_for_update.rs

1/*
2 * BsacScheduleApp
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: 1.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct CheckForUpdate {
16    #[serde(rename = "version", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
17    pub version: Option<Option<String>>,
18    #[serde(rename = "url", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
19    pub url: Option<Option<String>>,
20}
21
22impl CheckForUpdate {
23    pub fn new() -> CheckForUpdate {
24        CheckForUpdate {
25            version: None,
26            url: None,
27        }
28    }
29}
30