ynab-api 4.0.0

OpenAPI-generated API bindings for the YNAB API
Documentation
/*
 * YNAB API Endpoints
 *
 * Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body.  API Documentation is at https://api.ynab.com
 *
 * The version of the OpenAPI document: 1.72.0
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct PatchPayeeWrapper {
    #[serde(rename = "payee")]
    pub payee: Box<models::SavePayee>,
}

impl PatchPayeeWrapper {
    pub fn new(payee: models::SavePayee) -> PatchPayeeWrapper {
        PatchPayeeWrapper {
            payee: Box::new(payee),
        }
    }
}