gitea_client/models/
create_issue_comment_option.rs

1/*
2 * Gitea API
3 *
4 * This documentation describes the Gitea API.
5 *
6 * The version of the OpenAPI document: 1.22.1
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// CreateIssueCommentOption : CreateIssueCommentOption options for creating a comment on an issue
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct CreateIssueCommentOption {
17    #[serde(rename = "body")]
18    pub body: String,
19}
20
21impl CreateIssueCommentOption {
22    /// CreateIssueCommentOption options for creating a comment on an issue
23    pub fn new(body: String) -> CreateIssueCommentOption {
24        CreateIssueCommentOption {
25            body,
26        }
27    }
28}
29