/*
 * OpenAPI Petstore
 *
 * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
 *
 * OpenAPI spec version: 1.0.0
 * 
 * Generated by: https://openapi-generator.tech
 */

/// ApiResponse : Describes the result of uploading an image resource

#[allow(unused_imports)]
use serde_json::Value;

#[derive(Debug, Serialize, Deserialize)]
pub struct ApiResponse {
    #[serde(rename = "code")]
    pub code: Option<i32>,
    #[serde(rename = "type")]
    pub _type: Option<String>,
    #[serde(rename = "message")]
    pub message: Option<String>,
}

impl ApiResponse {
    /// Describes the result of uploading an image resource
    pub fn new() -> ApiResponse {
        ApiResponse {
            code: None,
            _type: None,
            message: None,
        }
    }
}
