ynab_api/models/
transactions_import_response_data.rs

1/*
2 * YNAB API Endpoints
3 *
4 * 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
5 *
6 * The version of the OpenAPI document: 1.72.0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct TransactionsImportResponseData {
16    /// The list of transaction ids that were imported.
17    #[serde(rename = "transaction_ids")]
18    pub transaction_ids: Vec<String>,
19}
20
21impl TransactionsImportResponseData {
22    pub fn new(transaction_ids: Vec<String>) -> TransactionsImportResponseData {
23        TransactionsImportResponseData {
24            transaction_ids,
25        }
26    }
27}
28