bitwarden_api_api/models/
int32_int32_key_value_pair.rs

1/*
2 * Bitwarden Internal API
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: latest
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use serde::{Deserialize, Serialize};
12
13use crate::models;
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct Int32Int32KeyValuePair {
17    #[serde(rename = "key", alias = "Key", skip_serializing_if = "Option::is_none")]
18    pub key: Option<i32>,
19    #[serde(
20        rename = "value",
21        alias = "Value",
22        skip_serializing_if = "Option::is_none"
23    )]
24    pub value: Option<i32>,
25}
26
27impl Int32Int32KeyValuePair {
28    pub fn new() -> Int32Int32KeyValuePair {
29        Int32Int32KeyValuePair {
30            key: None,
31            value: None,
32        }
33    }
34}