gitea_client/models/
node_info_services.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/// NodeInfoServices : NodeInfoServices contains the third party sites this server can connect to via their application API
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct NodeInfoServices {
17    #[serde(rename = "inbound", skip_serializing_if = "Option::is_none")]
18    pub inbound: Option<Vec<String>>,
19    #[serde(rename = "outbound", skip_serializing_if = "Option::is_none")]
20    pub outbound: Option<Vec<String>>,
21}
22
23impl NodeInfoServices {
24    /// NodeInfoServices contains the third party sites this server can connect to via their application API
25    pub fn new() -> NodeInfoServices {
26        NodeInfoServices {
27            inbound: None,
28            outbound: None,
29        }
30    }
31}
32