openapi_github/models/
webhook_issue_comment_created_issue_all_of_reactions.rs

1/*
2 * GitHub's official OpenAPI spec + Octokit extension
3 *
4 * OpenAPI specs from https://github.com/github/rest-api-description with the 'x-octokit' extension required by the Octokit SDKs
5 *
6 * The version of the OpenAPI document: 16.6.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 WebhookIssueCommentCreatedIssueAllOfReactions {
16    #[serde(rename = "+1", skip_serializing_if = "Option::is_none")]
17    pub plus_1: Option<i32>,
18    #[serde(rename = "-1", skip_serializing_if = "Option::is_none")]
19    pub _1: Option<i32>,
20    #[serde(rename = "confused", skip_serializing_if = "Option::is_none")]
21    pub confused: Option<i32>,
22    #[serde(rename = "eyes", skip_serializing_if = "Option::is_none")]
23    pub eyes: Option<i32>,
24    #[serde(rename = "heart", skip_serializing_if = "Option::is_none")]
25    pub heart: Option<i32>,
26    #[serde(rename = "hooray", skip_serializing_if = "Option::is_none")]
27    pub hooray: Option<i32>,
28    #[serde(rename = "laugh", skip_serializing_if = "Option::is_none")]
29    pub laugh: Option<i32>,
30    #[serde(rename = "rocket", skip_serializing_if = "Option::is_none")]
31    pub rocket: Option<i32>,
32    #[serde(rename = "total_count", skip_serializing_if = "Option::is_none")]
33    pub total_count: Option<i32>,
34    #[serde(rename = "url", skip_serializing_if = "Option::is_none")]
35    pub url: Option<String>,
36}
37
38impl WebhookIssueCommentCreatedIssueAllOfReactions {
39    pub fn new() -> WebhookIssueCommentCreatedIssueAllOfReactions {
40        WebhookIssueCommentCreatedIssueAllOfReactions {
41            plus_1: None,
42            _1: None,
43            confused: None,
44            eyes: None,
45            heart: None,
46            hooray: None,
47            laugh: None,
48            rocket: None,
49            total_count: None,
50            url: None,
51        }
52    }
53}
54