onesignal_rust_api/models/
create_api_key_response.rs1#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
14pub struct CreateApiKeyResponse {
15 #[serde(rename = "token_id", skip_serializing_if = "Option::is_none")]
16 pub token_id: Option<String>,
17 #[serde(rename = "formatted_token", skip_serializing_if = "Option::is_none")]
18 pub formatted_token: Option<String>,
19}
20
21impl CreateApiKeyResponse {
22 pub fn new() -> CreateApiKeyResponse {
23 CreateApiKeyResponse {
24 token_id: None,
25 formatted_token: None,
26 }
27 }
28}
29
30