aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/user_response.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/models/user_response.rs')
-rw-r--r--src/models/user_response.rs30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/models/user_response.rs b/src/models/user_response.rs
new file mode 100644
index 0000000..e2427e0
--- /dev/null
+++ b/src/models/user_response.rs
@@ -0,0 +1,30 @@
+/*
+ * 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.youneedabudget.com
+ *
+ * The version of the OpenAPI document: 1.0.0
+ *
+ * Generated by: https://openapi-generator.tech
+ */
+
+
+#[allow(unused_imports)]
+use serde_json::Value;
+
+
+#[derive(Debug, Serialize, Deserialize)]
+pub struct UserResponse {
+ #[serde(rename = "data")]
+ pub data: ::models::UserResponseData,
+}
+
+impl UserResponse {
+ pub fn new(data: ::models::UserResponseData) -> UserResponse {
+ UserResponse {
+ data: data,
+ }
+ }
+}
+
+