lixiaojun
2023-03-20 14801a2e40bc79833c41151a37fe4cb0acbc5c7f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 
namespace IStation.Bimface
{
    public class FileElementsGetRequest
    {
        public FileElementsGetRequest()
        {
            categoryId = null;
            family = null;
            familyType = null;
            floor = null;
            paginationContextId = null;
            paginationNo = null;
            paginationSize = null;
            roomId = null;
            roomToleranceXY = null;
            roomToleranceZ = null;
            specialty = null;
            systemType = null;
        }
 
 
        /// <summary>
        ///  【非必填】筛选条件构件类型id
        /// </summary>
        public string categoryId { get; set; }
 
        /// <summary>
        ///  【非必填】筛选条件族
        /// </summary>
        public string family { get; set; }
 
        /// <summary>
        ///  【非必填】筛选条件族类型
        /// </summary>
        public string familyType { get; set; }
 
        /// <summary>
        ///  【非必填】筛选条件楼层
        /// </summary>
        public string floor { get; set; }
 
        /// <summary>
        ///  【非必填】根据paginationContextId返回构件ID列表
        /// </summary>
        public string paginationContextId { get; set; }
 
        /// <summary>
        ///  【非必填】返回结果中paginationNo对应的页码构件ID项
        /// </summary>
        public int? paginationNo { get; set; }
 
        /// <summary>
        ///  【非必填】返回结果按照paginationSize分页
        /// </summary>
        public int? paginationSize { get; set; }
 
        /// <summary>
        ///  【非必填】筛选条件房间id
        /// </summary>
        public string roomId { get; set; }
 
        /// <summary>
        ///  【非必填】XY坐标轴方向对构件的筛选容忍度
        /// </summary>
        public RoomTolerance? roomToleranceXY { get; set; }
 
        /// <summary>
        ///  【非必填】Z坐标轴方向对构件的筛选容忍度
        /// </summary>
        public RoomTolerance? roomToleranceZ { get; set; }
 
        /// <summary>
        ///  【非必填】筛选条件专业
        /// </summary>
        public string specialty { get; set; }
 
        /// <summary>
        ///  【非必填】筛选条件系统类型
        /// </summary>
        public string systemType { get; set; }
 
        /// <summary>
        /// 获取JSON字典
        /// </summary>
        /// <returns></returns>
        public virtual Dictionary<string, object> GetJsonDict()
        {
            var dic = new Dictionary<string, object>();
            if (categoryId != null)
                dic.Add("categoryId",categoryId);
            if (family != null)
                dic.Add("family", family);
            if(familyType!=null)
                dic.Add("familyType", familyType);
            if (floor != null)
                dic.Add("floor", floor);
            if (paginationContextId != null)
                dic.Add("paginationContextId", paginationContextId);
            if (paginationNo != null)
                dic.Add("paginationNo", paginationNo);
            if (paginationSize != null)
                dic.Add("paginationSize", paginationSize);
            if (roomId != null)
                dic.Add("roomId", roomId);
            if (roomToleranceXY != null)
                dic.Add("roomToleranceXY", roomToleranceXY);
            if (roomToleranceZ != null)
                dic.Add("roomToleranceZ", roomToleranceZ);
            if (specialty != null)
                dic.Add("specialty", specialty);
            if (systemType != null)
                dic.Add("systemType", systemType);
            return dic;
        }
 
 
 
 
 
 
    }
}