openapi_github/models/
webhooks_review_comment__links.rs1use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct WebhooksReviewCommentLinks {
16 #[serde(rename = "html")]
17 pub html: Box<models::Link>,
18 #[serde(rename = "pull_request")]
19 pub pull_request: Box<models::Link>,
20 #[serde(rename = "self")]
21 pub param_self: Box<models::Link>,
22}
23
24impl WebhooksReviewCommentLinks {
25 pub fn new(html: models::Link, pull_request: models::Link, param_self: models::Link) -> WebhooksReviewCommentLinks {
26 WebhooksReviewCommentLinks {
27 html: Box::new(html),
28 pull_request: Box::new(pull_request),
29 param_self: Box::new(param_self),
30 }
31 }
32}
33