/*
* Asana
*
* This is the interface for interacting with the [Asana Platform](https://developers.asana.com). Our API reference is generated from our [OpenAPI spec] (https://raw.githubusercontent.com/Asana/developer-docs/master/defs/asana_oas.yaml).
*
* The version of the OpenAPI document: 1.0
*
* Generated by: https://openapi-generator.tech
*/
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct Error {
/// Message providing more detail about the error that occurred, if available.
#[serde(rename = "message", skip_serializing_if = "Option::is_none")]
pub message: Option<String>,
/// Additional information directing developers to resources on how to address and fix the problem, if available.
#[serde(rename = "help", skip_serializing_if = "Option::is_none")]
pub help: Option<String>,
/// *500 errors only*. A unique error phrase which can be used when contacting developer support to help identify the exact occurrence of the problem in Asana’s logs.
#[serde(rename = "phrase", skip_serializing_if = "Option::is_none")]
pub phrase: Option<String>,
}
impl Error {
pub fn new() -> Error {
Error { message: None, help: None, phrase: None }
}
}