Skip to content

Commit 094d314

Browse files
authored
format
1 parent 568145c commit 094d314

File tree

1 file changed

+174
-172
lines changed

1 file changed

+174
-172
lines changed
Lines changed: 174 additions & 172 deletions
Original file line numberDiff line numberDiff line change
@@ -1,195 +1,197 @@
11
package com.qiniu.qvs.model;
22

33
public class NameSpace {
4-
private String ID;
5-
private String Name; // 空间名称(格式"^[a-zA-Z0-9_-]{1,100}$")
6-
private String Desc; // 空间描述
7-
private String AccessType; // 接入类型"gb28181"或者“rtmp”
8-
private int RTMPURLType; // accessType为“rtmp”时,推拉流地址计算方式,1:static, 2:dynamic
9-
private String[] Domains; // 直播域名
10-
private String Callback; // 后台服务器回调URL
11-
private boolean Disabled; // 流是否被启用, false:启用,true:禁用
12-
private String RecordTemplateId; // 录制模版id
13-
private String SnapShotTemplateId; // 截图模版id
14-
private boolean RecordTemplateApplyAll; // 空间模版是否应用到全局
15-
private boolean SnapTemplateApplyAll; // 截图模版是否应用到全局
16-
private int CreatedAt;// 空间创建时间
17-
private int UpdatedAt; // 空间更新时间
18-
private int DevicesCount; // 设备数量
19-
private int StreamCount; // 流数量
20-
private int OnlineStreamCount; // 在线流数量
21-
private int DisabledStreamCount; // 禁用流数量
22-
23-
private int urlMode; // 推拉流地址计算方式,1:static, 2:dynamic
24-
private String zone; // 存储区域
25-
private boolean hlsLowLatency; // hls低延迟开关
26-
27-
public String getID() {
28-
return ID;
29-
}
30-
31-
public void setID(String ID) {
32-
this.ID = ID;
33-
}
34-
35-
public String getName() {
36-
return Name;
37-
}
38-
39-
public void setName(String name) {
40-
Name = name;
41-
}
42-
43-
public String getDesc() {
44-
return Desc;
45-
}
46-
47-
public void setDesc(String desc) {
48-
Desc = desc;
49-
}
50-
51-
public String getAccessType() {
52-
return AccessType;
53-
}
54-
55-
public void setAccessType(String accessType) {
56-
AccessType = accessType;
57-
}
58-
59-
public int getRTMPURLType() {
60-
return RTMPURLType;
61-
}
62-
63-
public void setRTMPURLType(int RTMPURLType) {
64-
this.RTMPURLType = RTMPURLType;
65-
}
66-
67-
public String[] getDomains() {
68-
return Domains;
69-
}
70-
71-
public void setDomains(String[] domains) {
72-
Domains = domains;
73-
}
74-
75-
public String getCallback() {
76-
return Callback;
77-
}
78-
79-
public void setCallback(String callback) {
80-
Callback = callback;
81-
}
82-
83-
public boolean isDisabled() {
84-
return Disabled;
85-
}
86-
87-
public void setDisabled(boolean disabled) {
88-
Disabled = disabled;
89-
}
90-
91-
public String getRecordTemplateId() {
92-
return RecordTemplateId;
93-
}
94-
95-
public void setRecordTemplateId(String recordTemplateId) {
96-
RecordTemplateId = recordTemplateId;
97-
}
98-
99-
public String getSnapShotTemplateId() {
100-
return SnapShotTemplateId;
101-
}
102-
103-
public void setSnapShotTemplateId(String snapShotTemplateId) {
104-
SnapShotTemplateId = snapShotTemplateId;
105-
}
106-
107-
public boolean isRecordTemplateApplyAll() {
108-
return RecordTemplateApplyAll;
109-
}
110-
111-
public void setRecordTemplateApplyAll(boolean recordTemplateApplyAll) {
112-
RecordTemplateApplyAll = recordTemplateApplyAll;
113-
}
114-
115-
public boolean isSnapTemplateApplyAll() {
116-
return SnapTemplateApplyAll;
117-
}
118-
119-
public void setSnapTemplateApplyAll(boolean snapTemplateApplyAll) {
120-
SnapTemplateApplyAll = snapTemplateApplyAll;
121-
}
4+
private String id;
5+
private String name; // 空间名称(格式"^[a-zA-Z0-9_-]{1,100}$")
6+
private String desc; // 空间描述
7+
private String accessType; // 接入类型"gb28181"或者“rtmp”
8+
private int rtmpUrlType; // accessType为“rtmp”时,推拉流地址计算方式,1:static, 2:dynamic
9+
public static final int Static = 1;
10+
public static final int Dynamic = 2;
11+
private String[] domains; // 直播域名
12+
private String callback; // 后台服务器回调URL
13+
private boolean disabled; // 流是否被启用, false:启用,true:禁用
14+
private String recordTemplateId; // 录制模版id
15+
private String snapShotTemplateId; // 截图模版id
16+
private boolean recordTemplateApplyAll; // 空间模版是否应用到全局
17+
private boolean snapTemplateApplyAll; // 截图模版是否应用到全局
18+
private int createdAt; // 空间创建时间
19+
private int updatedAt; // 空间更新时间
20+
private int devicesCount; // 设备数量
21+
private int streamCount; // 流数量
22+
private int onlineStreamCount; // 在线流数量
23+
private int disabledStreamCount; // 禁用流数量
24+
25+
private int urlMode; // 推拉流地址计算方式,1:static, 2:dynamic
26+
private String zone; // 存储区域
27+
private boolean hlsLowLatency; // hls低延迟开关
28+
29+
public String getId() {
30+
return id;
31+
}
32+
33+
public void setId(String id) {
34+
this.id = id;
35+
}
36+
37+
public String getName() {
38+
return name;
39+
}
40+
41+
public void setName(String name) {
42+
this.name = name;
43+
}
44+
45+
public String getDesc() {
46+
return desc;
47+
}
48+
49+
public void setDesc(String desc) {
50+
this.desc = desc;
51+
}
52+
53+
public String getAccessType() {
54+
return accessType;
55+
}
56+
57+
public void setAccessType(String accessType) {
58+
this.accessType = accessType;
59+
}
60+
61+
public int getRtmpUrlType() {
62+
return rtmpUrlType;
63+
}
64+
65+
public void setRtmpUrlType(int rtmpUrlType) {
66+
this.rtmpUrlType = rtmpUrlType;
67+
}
68+
69+
public String[] getDomains() {
70+
return domains;
71+
}
72+
73+
public void setDomains(String[] domains) {
74+
this.domains = domains;
75+
}
76+
77+
public String getCallback() {
78+
return callback;
79+
}
80+
81+
public void setCallback(String callback) {
82+
this.callback = callback;
83+
}
84+
85+
public boolean isDisabled() {
86+
return disabled;
87+
}
88+
89+
public void setDisabled(boolean disabled) {
90+
this.disabled = disabled;
91+
}
92+
93+
public String getRecordTemplateId() {
94+
return recordTemplateId;
95+
}
96+
97+
public void setRecordTemplateId(String recordTemplateId) {
98+
this.recordTemplateId = recordTemplateId;
99+
}
100+
101+
public String getSnapShotTemplateId() {
102+
return snapShotTemplateId;
103+
}
104+
105+
public void setSnapShotTemplateId(String snapShotTemplateId) {
106+
this.snapShotTemplateId = snapShotTemplateId;
107+
}
108+
109+
public boolean isRecordTemplateApplyAll() {
110+
return recordTemplateApplyAll;
111+
}
112+
113+
public void setRecordTemplateApplyAll(boolean recordTemplateApplyAll) {
114+
this.recordTemplateApplyAll = recordTemplateApplyAll;
115+
}
116+
117+
public boolean isSnapTemplateApplyAll() {
118+
return snapTemplateApplyAll;
119+
}
120+
121+
public void setSnapTemplateApplyAll(boolean snapTemplateApplyAll) {
122+
this.snapTemplateApplyAll = snapTemplateApplyAll;
123+
}
122124

123-
public int getCreatedAt() {
124-
return CreatedAt;
125-
}
125+
public int getCreatedAt() {
126+
return createdAt;
127+
}
126128

127-
public void setCreatedAt(int createdAt) {
128-
CreatedAt = createdAt;
129-
}
129+
public void setCreatedAt(int createdAt) {
130+
this.createdAt = createdAt;
131+
}
130132

131-
public int getUpdatedAt() {
132-
return UpdatedAt;
133-
}
133+
public int getUpdatedAt() {
134+
return updatedAt;
135+
}
134136

135-
public void setUpdatedAt(int updatedAt) {
136-
UpdatedAt = updatedAt;
137-
}
137+
public void setUpdatedAt(int updatedAt) {
138+
this.updatedAt = updatedAt;
139+
}
138140

139-
public int getDevicesCount() {
140-
return DevicesCount;
141-
}
141+
public int getDevicesCount() {
142+
return devicesCount;
143+
}
142144

143-
public void setDevicesCount(int devicesCount) {
144-
DevicesCount = devicesCount;
145-
}
145+
public void setDevicesCount(int devicesCount) {
146+
this.devicesCount = devicesCount;
147+
}
146148

147-
public int getStreamCount() {
148-
return StreamCount;
149-
}
149+
public int getStreamCount() {
150+
return streamCount;
151+
}
150152

151-
public void setStreamCount(int streamCount) {
152-
StreamCount = streamCount;
153-
}
153+
public void setStreamCount(int streamCount) {
154+
this.streamCount = streamCount;
155+
}
154156

155-
public int getOnlineStreamCount() {
156-
return OnlineStreamCount;
157-
}
157+
public int getOnlineStreamCount() {
158+
return onlineStreamCount;
159+
}
158160

159-
public void setOnlineStreamCount(int onlineStreamCount) {
160-
OnlineStreamCount = onlineStreamCount;
161-
}
161+
public void setOnlineStreamCount(int onlineStreamCount) {
162+
this.onlineStreamCount = onlineStreamCount;
163+
}
162164

163-
public int getDisabledStreamCount() {
164-
return DisabledStreamCount;
165-
}
165+
public int getDisabledStreamCount() {
166+
return disabledStreamCount;
167+
}
166168

167-
public void setDisabledStreamCount(int disabledStreamCount) {
168-
DisabledStreamCount = disabledStreamCount;
169-
}
169+
public void setDisabledStreamCount(int disabledStreamCount) {
170+
this.disabledStreamCount = disabledStreamCount;
171+
}
170172

171-
public int getUrlMode() {
172-
return urlMode;
173-
}
173+
public int getUrlMode() {
174+
return urlMode;
175+
}
174176

175-
public void setUrlMode(int urlMode) {
176-
this.urlMode = urlMode;
177-
}
177+
public void setUrlMode(int urlMode) {
178+
this.urlMode = urlMode;
179+
}
178180

179-
public String getZone() {
180-
return zone;
181-
}
181+
public String getZone() {
182+
return zone;
183+
}
182184

183-
public void setZone(String zone) {
184-
this.zone = zone;
185-
}
185+
public void setZone(String zone) {
186+
this.zone = zone;
187+
}
186188

187-
public boolean isHlsLowLatency() {
188-
return hlsLowLatency;
189-
}
189+
public boolean isHlsLowLatency() {
190+
return hlsLowLatency;
191+
}
190192

191-
public void setHlsLowLatency(boolean hlsLowLatency) {
192-
this.hlsLowLatency = hlsLowLatency;
193-
}
193+
public void setHlsLowLatency(boolean hlsLowLatency) {
194+
this.hlsLowLatency = hlsLowLatency;
195+
}
194196

195197
}

0 commit comments

Comments
 (0)