zsgf_client/models/
follower_put_model.rs

1/*
2 * 全部  API 文档
3 *
4 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5 *
6 * The version of the OpenAPI document: v1
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 FollowerPutModel {
16    #[serde(rename = "alias", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
17    pub alias: Option<Option<String>>,
18    #[serde(rename = "closenessScore", skip_serializing_if = "Option::is_none")]
19    pub closeness_score: Option<i64>,
20    #[serde(rename = "attentionScore", skip_serializing_if = "Option::is_none")]
21    pub attention_score: Option<i64>,
22    #[serde(rename = "tags", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
23    pub tags: Option<Option<String>>,
24    #[serde(rename = "status", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
25    pub status: Option<Option<String>>,
26    #[serde(rename = "remark", default, with = "::serde_with::rust::double_option", skip_serializing_if = "Option::is_none")]
27    pub remark: Option<Option<String>>,
28}
29
30impl FollowerPutModel {
31    pub fn new() -> FollowerPutModel {
32        FollowerPutModel {
33            alias: None,
34            closeness_score: None,
35            attention_score: None,
36            tags: None,
37            status: None,
38            remark: None,
39        }
40    }
41}
42