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
/*
 * Pulsar Admin REST API
 *
 * This provides the REST API for admin operations
 *
 * The version of the OpenAPI document: v2
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct IsCompatibilityResponse {
    #[serde(rename = "compatibility", skip_serializing_if = "Option::is_none")]
    pub compatibility: Option<bool>,
    #[serde(rename = "schemaCompatibilityStrategy", skip_serializing_if = "Option::is_none")]
    pub schema_compatibility_strategy: Option<String>,
}

impl IsCompatibilityResponse {
    pub fn new() -> IsCompatibilityResponse {
        IsCompatibilityResponse {
            compatibility: None,
            schema_compatibility_strategy: None,
        }
    }
}