uapi_sdk_rust/models/generated/
get_network_icp_200_response.rs

1/*
2 * UAPI
3 *
4 * UAPI 官方接口文档
5 *
6 * The version of the OpenAPI document: 1.0.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 GetNetworkIcp200Response {
16    #[serde(rename = "code", skip_serializing_if = "Option::is_none")]
17    pub code: Option<String>,
18    #[serde(rename = "domain", skip_serializing_if = "Option::is_none")]
19    pub domain: Option<String>,
20    #[serde(rename = "msg", skip_serializing_if = "Option::is_none")]
21    pub msg: Option<String>,
22    /// 主办单位的性质 (企业/个人)
23    #[serde(rename = "natureName", skip_serializing_if = "Option::is_none")]
24    pub nature_name: Option<String>,
25    /// ICP备案号
26    #[serde(rename = "serviceLicence", skip_serializing_if = "Option::is_none")]
27    pub service_licence: Option<String>,
28    /// 主办单位名称
29    #[serde(rename = "unitName", skip_serializing_if = "Option::is_none")]
30    pub unit_name: Option<String>,
31}
32
33impl GetNetworkIcp200Response {
34    pub fn new() -> GetNetworkIcp200Response {
35        GetNetworkIcp200Response {
36            code: None,
37            domain: None,
38            msg: None,
39            nature_name: None,
40            service_licence: None,
41            unit_name: None,
42        }
43    }
44}
45