Skip to content

Commit 3075b7e

Browse files
committed
Supported ondemand record.
1 parent debe031 commit 3075b7e

28 files changed

+1253
-1
lines changed

aliyun-java-sdk-vs/ChangeLog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2020-03-11 Version: 1.8.0
2+
- Supported ondemand record.
3+
- Supported ivision template binding.
4+
15
2020-02-18 Version: 1.7.0
26
- Supported customized params in device apis.
37

aliyun-java-sdk-vs/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-vs</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.7.0</version>
7+
<version>1.8.0</version>
88
<name>aliyun-java-sdk-vs</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,145 @@
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.vs.model.v20181212;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
import com.aliyuncs.vs.Endpoint;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class AddVsPullStreamInfoConfigRequest extends RpcAcsRequest<AddVsPullStreamInfoConfigResponse> {
26+
27+
28+
private String startTime;
29+
30+
private String appName;
31+
32+
private String streamName;
33+
34+
private String always;
35+
36+
private String domainName;
37+
38+
private String endTime;
39+
40+
private Long ownerId;
41+
42+
private String sourceUrl;
43+
public AddVsPullStreamInfoConfigRequest() {
44+
super("vs", "2018-12-12", "AddVsPullStreamInfoConfig", "vs");
45+
setMethod(MethodType.POST);
46+
try {
47+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
48+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
49+
} catch (Exception e) {}
50+
}
51+
52+
public String getStartTime() {
53+
return this.startTime;
54+
}
55+
56+
public void setStartTime(String startTime) {
57+
this.startTime = startTime;
58+
if(startTime != null){
59+
putQueryParameter("StartTime", startTime);
60+
}
61+
}
62+
63+
public String getAppName() {
64+
return this.appName;
65+
}
66+
67+
public void setAppName(String appName) {
68+
this.appName = appName;
69+
if(appName != null){
70+
putQueryParameter("AppName", appName);
71+
}
72+
}
73+
74+
public String getStreamName() {
75+
return this.streamName;
76+
}
77+
78+
public void setStreamName(String streamName) {
79+
this.streamName = streamName;
80+
if(streamName != null){
81+
putQueryParameter("StreamName", streamName);
82+
}
83+
}
84+
85+
public String getAlways() {
86+
return this.always;
87+
}
88+
89+
public void setAlways(String always) {
90+
this.always = always;
91+
if(always != null){
92+
putQueryParameter("Always", always);
93+
}
94+
}
95+
96+
public String getDomainName() {
97+
return this.domainName;
98+
}
99+
100+
public void setDomainName(String domainName) {
101+
this.domainName = domainName;
102+
if(domainName != null){
103+
putQueryParameter("DomainName", domainName);
104+
}
105+
}
106+
107+
public String getEndTime() {
108+
return this.endTime;
109+
}
110+
111+
public void setEndTime(String endTime) {
112+
this.endTime = endTime;
113+
if(endTime != null){
114+
putQueryParameter("EndTime", endTime);
115+
}
116+
}
117+
118+
public Long getOwnerId() {
119+
return this.ownerId;
120+
}
121+
122+
public void setOwnerId(Long ownerId) {
123+
this.ownerId = ownerId;
124+
if(ownerId != null){
125+
putQueryParameter("OwnerId", ownerId.toString());
126+
}
127+
}
128+
129+
public String getSourceUrl() {
130+
return this.sourceUrl;
131+
}
132+
133+
public void setSourceUrl(String sourceUrl) {
134+
this.sourceUrl = sourceUrl;
135+
if(sourceUrl != null){
136+
putQueryParameter("SourceUrl", sourceUrl);
137+
}
138+
}
139+
140+
@Override
141+
public Class<AddVsPullStreamInfoConfigResponse> getResponseClass() {
142+
return AddVsPullStreamInfoConfigResponse.class;
143+
}
144+
145+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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.vs.model.v20181212;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.vs.transform.v20181212.AddVsPullStreamInfoConfigResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class AddVsPullStreamInfoConfigResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
public String getRequestId() {
30+
return this.requestId;
31+
}
32+
33+
public void setRequestId(String requestId) {
34+
this.requestId = requestId;
35+
}
36+
37+
@Override
38+
public AddVsPullStreamInfoConfigResponse getInstance(UnmarshallerContext context) {
39+
return AddVsPullStreamInfoConfigResponseUnmarshaller.unmarshall(this, context);
40+
}
41+
}

aliyun-java-sdk-vs/src/main/java/com/aliyuncs/vs/model/v20181212/BatchBindTemplatesRequest.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ public class BatchBindTemplatesRequest extends RpcAcsRequest<BatchBindTemplatesR
2727

2828
private Boolean replace;
2929

30+
private String templateType;
31+
3032
private String instanceType;
3133

3234
private Boolean applyAll;
@@ -56,6 +58,17 @@ public void setReplace(Boolean replace) {
5658
}
5759
}
5860

61+
public String getTemplateType() {
62+
return this.templateType;
63+
}
64+
65+
public void setTemplateType(String templateType) {
66+
this.templateType = templateType;
67+
if(templateType != null){
68+
putQueryParameter("TemplateType", templateType);
69+
}
70+
}
71+
5972
public String getInstanceType() {
6073
return this.instanceType;
6174
}

aliyun-java-sdk-vs/src/main/java/com/aliyuncs/vs/model/v20181212/BindTemplateRequest.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ public class BindTemplateRequest extends RpcAcsRequest<BindTemplateResponse> {
2727

2828
private Boolean replace;
2929

30+
private String templateType;
31+
3032
private String instanceType;
3133

3234
private Boolean applyAll;
@@ -56,6 +58,17 @@ public void setReplace(Boolean replace) {
5658
}
5759
}
5860

61+
public String getTemplateType() {
62+
return this.templateType;
63+
}
64+
65+
public void setTemplateType(String templateType) {
66+
this.templateType = templateType;
67+
if(templateType != null){
68+
putQueryParameter("TemplateType", templateType);
69+
}
70+
}
71+
5972
public String getInstanceType() {
6073
return this.instanceType;
6174
}

aliyun-java-sdk-vs/src/main/java/com/aliyuncs/vs/model/v20181212/CreateTemplateRequest.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ public class CreateTemplateRequest extends RpcAcsRequest<CreateTemplateResponse>
5151

5252
private String endTime;
5353

54+
private String trigger;
55+
5456
private Long ownerId;
5557

5658
private String jpgSequence;
@@ -220,6 +222,17 @@ public void setEndTime(String endTime) {
220222
}
221223
}
222224

225+
public String getTrigger() {
226+
return this.trigger;
227+
}
228+
229+
public void setTrigger(String trigger) {
230+
this.trigger = trigger;
231+
if(trigger != null){
232+
putQueryParameter("Trigger", trigger);
233+
}
234+
}
235+
223236
public Long getOwnerId() {
224237
return this.ownerId;
225238
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
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.vs.model.v20181212;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
import com.aliyuncs.vs.Endpoint;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class DeleteVsPullStreamInfoConfigRequest extends RpcAcsRequest<DeleteVsPullStreamInfoConfigResponse> {
26+
27+
28+
private String appName;
29+
30+
private String streamName;
31+
32+
private String domainName;
33+
34+
private Long ownerId;
35+
public DeleteVsPullStreamInfoConfigRequest() {
36+
super("vs", "2018-12-12", "DeleteVsPullStreamInfoConfig", "vs");
37+
setMethod(MethodType.POST);
38+
try {
39+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
40+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
41+
} catch (Exception e) {}
42+
}
43+
44+
public String getAppName() {
45+
return this.appName;
46+
}
47+
48+
public void setAppName(String appName) {
49+
this.appName = appName;
50+
if(appName != null){
51+
putQueryParameter("AppName", appName);
52+
}
53+
}
54+
55+
public String getStreamName() {
56+
return this.streamName;
57+
}
58+
59+
public void setStreamName(String streamName) {
60+
this.streamName = streamName;
61+
if(streamName != null){
62+
putQueryParameter("StreamName", streamName);
63+
}
64+
}
65+
66+
public String getDomainName() {
67+
return this.domainName;
68+
}
69+
70+
public void setDomainName(String domainName) {
71+
this.domainName = domainName;
72+
if(domainName != null){
73+
putQueryParameter("DomainName", domainName);
74+
}
75+
}
76+
77+
public Long getOwnerId() {
78+
return this.ownerId;
79+
}
80+
81+
public void setOwnerId(Long ownerId) {
82+
this.ownerId = ownerId;
83+
if(ownerId != null){
84+
putQueryParameter("OwnerId", ownerId.toString());
85+
}
86+
}
87+
88+
@Override
89+
public Class<DeleteVsPullStreamInfoConfigResponse> getResponseClass() {
90+
return DeleteVsPullStreamInfoConfigResponse.class;
91+
}
92+
93+
}

0 commit comments

Comments
 (0)