33
crates/gitea-client/src/models/issue_config_contact_link.rs
Normal file
33
crates/gitea-client/src/models/issue_config_contact_link.rs
Normal file
@@ -0,0 +1,33 @@
|
||||
/*
|
||||
* Gitea API
|
||||
*
|
||||
* This documentation describes the Gitea API.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.22.1
|
||||
*
|
||||
* Generated by: https://openapi-generator.tech
|
||||
*/
|
||||
|
||||
use crate::models;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
|
||||
pub struct IssueConfigContactLink {
|
||||
#[serde(rename = "about", skip_serializing_if = "Option::is_none")]
|
||||
pub about: Option<String>,
|
||||
#[serde(rename = "name", skip_serializing_if = "Option::is_none")]
|
||||
pub name: Option<String>,
|
||||
#[serde(rename = "url", skip_serializing_if = "Option::is_none")]
|
||||
pub url: Option<String>,
|
||||
}
|
||||
|
||||
impl IssueConfigContactLink {
|
||||
pub fn new() -> IssueConfigContactLink {
|
||||
IssueConfigContactLink {
|
||||
about: None,
|
||||
name: None,
|
||||
url: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user