gitbundle_sdk/models/
num_contributon_with_date.rs

1/*
2 * GitBundle API
3 *
4 * GitBundle API documentation.
5 *
6 * The version of the OpenAPI document: 3.3.0
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11use serde::{Deserialize, Serialize};
12
13use crate::models;
14
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct NumContributonWithDate {
17    #[serde(rename = "date_contribution")]
18    pub date_contribution: i64,
19    #[serde(rename = "num_contributions")]
20    pub num_contributions: i64,
21}
22
23impl NumContributonWithDate {
24    pub fn new(date_contribution: i64, num_contributions: i64) -> NumContributonWithDate {
25        NumContributonWithDate {
26            date_contribution,
27            num_contributions,
28        }
29    }
30}