rusty_box/rest_api/users/models/session_termination_message.rs
1/*
2 * Box Platform API
3 *
4 * [Box Platform](https://box.dev) provides functionality to provide access to content stored within [Box](https://box.com). It provides endpoints for basic manipulation of files and folders, management of users within an enterprise, as well as more complex topics such as legal holds and retention policies.
5 *
6 * The version of the OpenAPI document: 2.0.0
7 * Contact: devrel@box.com
8 * Generated by: https://openapi-generator.tech
9 */
10
11/// SessionTerminationMessage : A message informing about the termination job status
12
13//TODO: DEPRECATED - This will be removed in a future version
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct SessionTerminationMessage {
16 /// The unique identifier for the termination job status
17 #[serde(rename = "message", skip_serializing_if = "Option::is_none")]
18 pub message: Option<String>,
19}
20
21impl SessionTerminationMessage {
22 /// A message informing about the termination job status
23 pub fn new() -> SessionTerminationMessage {
24 SessionTerminationMessage { message: None }
25 }
26}