Skip to content

Commit 756e36c

Browse files
committed
Add function.
1 parent 7ec2762 commit 756e36c

23 files changed

+1723
-1
lines changed

aliyun-java-sdk-cdrs/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2021-01-14 Version: 1.0.5
2+
- Add function.
3+
14
2021-01-14 Version: 1.0.4
25
- Update function.
36

aliyun-java-sdk-cdrs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-cdrs</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.0.4</version>
7+
<version>1.0.5</version>
88
<name>aliyun-java-sdk-cdrs</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.cdrs.model.v20201101;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
20+
/**
21+
* @author auto create
22+
* @version
23+
*/
24+
public class DetectTrajectoryRegularPatternRequest extends RpcAcsRequest<DetectTrajectoryRegularPatternResponse> {
25+
26+
27+
private String predictDate;
28+
29+
private String corpId;
30+
31+
private String idValue;
32+
33+
private String idType;
34+
public DetectTrajectoryRegularPatternRequest() {
35+
super("CDRS", "2020-11-01", "DetectTrajectoryRegularPattern");
36+
setMethod(MethodType.POST);
37+
}
38+
39+
public String getPredictDate() {
40+
return this.predictDate;
41+
}
42+
43+
public void setPredictDate(String predictDate) {
44+
this.predictDate = predictDate;
45+
if(predictDate != null){
46+
putBodyParameter("PredictDate", predictDate);
47+
}
48+
}
49+
50+
public String getCorpId() {
51+
return this.corpId;
52+
}
53+
54+
public void setCorpId(String corpId) {
55+
this.corpId = corpId;
56+
if(corpId != null){
57+
putBodyParameter("CorpId", corpId);
58+
}
59+
}
60+
61+
public String getIdValue() {
62+
return this.idValue;
63+
}
64+
65+
public void setIdValue(String idValue) {
66+
this.idValue = idValue;
67+
if(idValue != null){
68+
putBodyParameter("IdValue", idValue);
69+
}
70+
}
71+
72+
public String getIdType() {
73+
return this.idType;
74+
}
75+
76+
public void setIdType(String idType) {
77+
this.idType = idType;
78+
if(idType != null){
79+
putBodyParameter("IdType", idType);
80+
}
81+
}
82+
83+
@Override
84+
public Class<DetectTrajectoryRegularPatternResponse> getResponseClass() {
85+
return DetectTrajectoryRegularPatternResponse.class;
86+
}
87+
88+
}
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.cdrs.model.v20201101;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.cdrs.transform.v20201101.DetectTrajectoryRegularPatternResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class DetectTrajectoryRegularPatternResponse extends AcsResponse {
26+
27+
private Integer code;
28+
29+
private String data;
30+
31+
private String message;
32+
33+
private String requestId;
34+
35+
private Boolean success;
36+
37+
public Integer getCode() {
38+
return this.code;
39+
}
40+
41+
public void setCode(Integer code) {
42+
this.code = code;
43+
}
44+
45+
public String getData() {
46+
return this.data;
47+
}
48+
49+
public void setData(String data) {
50+
this.data = data;
51+
}
52+
53+
public String getMessage() {
54+
return this.message;
55+
}
56+
57+
public void setMessage(String message) {
58+
this.message = message;
59+
}
60+
61+
public String getRequestId() {
62+
return this.requestId;
63+
}
64+
65+
public void setRequestId(String requestId) {
66+
this.requestId = requestId;
67+
}
68+
69+
public Boolean getSuccess() {
70+
return this.success;
71+
}
72+
73+
public void setSuccess(Boolean success) {
74+
this.success = success;
75+
}
76+
77+
@Override
78+
public DetectTrajectoryRegularPatternResponse getInstance(UnmarshallerContext context) {
79+
return DetectTrajectoryRegularPatternResponseUnmarshaller.unmarshall(this, context);
80+
}
81+
82+
@Override
83+
public boolean checkShowJsonItemName() {
84+
return false;
85+
}
86+
}
Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.cdrs.model.v20201101;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import java.util.List;
19+
import com.aliyuncs.http.MethodType;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class IntersectTrajectoryRequest extends RpcAcsRequest<IntersectTrajectoryResponse> {
26+
27+
28+
private String corpId;
29+
30+
private String endTime;
31+
32+
private Integer deltaDistance;
33+
34+
private String startTime;
35+
36+
private Integer deltaTime;
37+
38+
private List<IdList> idLists;
39+
public IntersectTrajectoryRequest() {
40+
super("CDRS", "2020-11-01", "IntersectTrajectory");
41+
setMethod(MethodType.POST);
42+
}
43+
44+
public String getCorpId() {
45+
return this.corpId;
46+
}
47+
48+
public void setCorpId(String corpId) {
49+
this.corpId = corpId;
50+
if(corpId != null){
51+
putBodyParameter("CorpId", corpId);
52+
}
53+
}
54+
55+
public String getEndTime() {
56+
return this.endTime;
57+
}
58+
59+
public void setEndTime(String endTime) {
60+
this.endTime = endTime;
61+
if(endTime != null){
62+
putBodyParameter("EndTime", endTime);
63+
}
64+
}
65+
66+
public Integer getDeltaDistance() {
67+
return this.deltaDistance;
68+
}
69+
70+
public void setDeltaDistance(Integer deltaDistance) {
71+
this.deltaDistance = deltaDistance;
72+
if(deltaDistance != null){
73+
putBodyParameter("DeltaDistance", deltaDistance.toString());
74+
}
75+
}
76+
77+
public String getStartTime() {
78+
return this.startTime;
79+
}
80+
81+
public void setStartTime(String startTime) {
82+
this.startTime = startTime;
83+
if(startTime != null){
84+
putBodyParameter("StartTime", startTime);
85+
}
86+
}
87+
88+
public Integer getDeltaTime() {
89+
return this.deltaTime;
90+
}
91+
92+
public void setDeltaTime(Integer deltaTime) {
93+
this.deltaTime = deltaTime;
94+
if(deltaTime != null){
95+
putBodyParameter("DeltaTime", deltaTime.toString());
96+
}
97+
}
98+
99+
public List<IdList> getIdLists() {
100+
return this.idLists;
101+
}
102+
103+
public void setIdLists(List<IdList> idLists) {
104+
this.idLists = idLists;
105+
if (idLists != null) {
106+
for (int depth1 = 0; depth1 < idLists.size(); depth1++) {
107+
putBodyParameter("IdList." + (depth1 + 1) + ".IdType" , idLists.get(depth1).getIdType());
108+
putBodyParameter("IdList." + (depth1 + 1) + ".IdValue" , idLists.get(depth1).getIdValue());
109+
}
110+
}
111+
}
112+
113+
public static class IdList {
114+
115+
private String idType;
116+
117+
private String idValue;
118+
119+
public String getIdType() {
120+
return this.idType;
121+
}
122+
123+
public void setIdType(String idType) {
124+
this.idType = idType;
125+
}
126+
127+
public String getIdValue() {
128+
return this.idValue;
129+
}
130+
131+
public void setIdValue(String idValue) {
132+
this.idValue = idValue;
133+
}
134+
}
135+
136+
@Override
137+
public Class<IntersectTrajectoryResponse> getResponseClass() {
138+
return IntersectTrajectoryResponse.class;
139+
}
140+
141+
}

0 commit comments

Comments
 (0)