deepl_openapi/models/
list_glossary_languages_400_response.rs

1/*
2 * DeepL API Documentation
3 *
4 * The DeepL API provides programmatic access to DeepL’s machine translation technology.
5 *
6 * The version of the OpenAPI document: 2.7.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct ListGlossaryLanguages400Response {
16    /// Generic description of the error.
17    #[serde(rename = "message", skip_serializing_if = "Option::is_none")]
18    pub message: Option<String>,
19    /// More specific description of the error.
20    #[serde(rename = "detail", skip_serializing_if = "Option::is_none")]
21    pub detail: Option<String>,
22}
23
24impl ListGlossaryLanguages400Response {
25    pub fn new() -> ListGlossaryLanguages400Response {
26        ListGlossaryLanguages400Response {
27            message: None,
28            detail: None,
29        }
30    }
31}
32
33