Skip to content

Commit 2303bb6

Browse files
committed
Generated 2016-11-01 for live.
1 parent b57bdf2 commit 2303bb6

10 files changed

+338
-115
lines changed

aliyun-java-sdk-live/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-10-29 Version: 3.9.73
2+
- Generated 2016-11-01 for `live`.
3+
14
2025-09-09 Version: 3.9.72
25
- support query rtc live rooms
36

aliyun-java-sdk-live/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-live</artifactId>
66
<packaging>jar</packaging>
7-
<version>3.9.72</version>
7+
<version>3.9.73</version>
88
<name>aliyun-java-sdk-live</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java

aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/AddCustomLiveStreamTranscodeRequest.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ public class AddCustomLiveStreamTranscodeRequest extends RpcAcsRequest<AddCustom
4747

4848
private String domain;
4949

50+
private Boolean deInterlaced;
51+
5052
private String template;
5153

5254
private String lazy;
@@ -204,6 +206,17 @@ public void setDomain(String domain) {
204206
}
205207
}
206208

209+
public Boolean getDeInterlaced() {
210+
return this.deInterlaced;
211+
}
212+
213+
public void setDeInterlaced(Boolean deInterlaced) {
214+
this.deInterlaced = deInterlaced;
215+
if(deInterlaced != null){
216+
putQueryParameter("DeInterlaced", deInterlaced.toString());
217+
}
218+
}
219+
207220
public String getTemplate() {
208221
return this.template;
209222
}

aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/DescribeLiveStreamTranscodeInfoResponse.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ public static class CustomTranscodeParameters {
146146

147147
private Map<Object,Object> resWithSource;
148148

149+
private Boolean deInterlaced;
150+
149151
public Map<Object,Object> getBitrateWithSource() {
150152
return this.bitrateWithSource;
151153
}
@@ -289,6 +291,14 @@ public Map<Object,Object> getResWithSource() {
289291
public void setResWithSource(Map<Object,Object> resWithSource) {
290292
this.resWithSource = resWithSource;
291293
}
294+
295+
public Boolean getDeInterlaced() {
296+
return this.deInterlaced;
297+
}
298+
299+
public void setDeInterlaced(Boolean deInterlaced) {
300+
this.deInterlaced = deInterlaced;
301+
}
292302
}
293303

294304
public static class EncryptParameters {
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.live.model.v20161101;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import java.util.List;
19+
import com.google.gson.Gson;
20+
import com.google.gson.annotations.SerializedName;
21+
import com.aliyuncs.http.ProtocolType;
22+
import com.aliyuncs.http.MethodType;
23+
import com.aliyuncs.live.Endpoint;
24+
25+
/**
26+
* @author auto create
27+
* @version
28+
*/
29+
public class PutRecordStorageLifeCycleRequest extends RpcAcsRequest<PutRecordStorageLifeCycleResponse> {
30+
31+
32+
@SerializedName("streamIds")
33+
private List<String> streamIds;
34+
35+
private Long unixTimestamp;
36+
37+
private String tag;
38+
public PutRecordStorageLifeCycleRequest() {
39+
super("live", "2016-11-01", "PutRecordStorageLifeCycle", "live");
40+
setProtocol(ProtocolType.HTTPS);
41+
setMethod(MethodType.POST);
42+
try {
43+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
44+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
45+
} catch (Exception e) {}
46+
}
47+
48+
public List<String> getStreamIds() {
49+
return this.streamIds;
50+
}
51+
52+
public void setStreamIds(List<String> streamIds) {
53+
this.streamIds = streamIds;
54+
if (streamIds != null) {
55+
putBodyParameter("StreamIds" , new Gson().toJson(streamIds));
56+
}
57+
}
58+
59+
public Long getUnixTimestamp() {
60+
return this.unixTimestamp;
61+
}
62+
63+
public void setUnixTimestamp(Long unixTimestamp) {
64+
this.unixTimestamp = unixTimestamp;
65+
if(unixTimestamp != null){
66+
putBodyParameter("UnixTimestamp", unixTimestamp.toString());
67+
}
68+
}
69+
70+
public String getTag() {
71+
return this.tag;
72+
}
73+
74+
public void setTag(String tag) {
75+
this.tag = tag;
76+
if(tag != null){
77+
putBodyParameter("Tag", tag);
78+
}
79+
}
80+
81+
@Override
82+
public Class<PutRecordStorageLifeCycleResponse> getResponseClass() {
83+
return PutRecordStorageLifeCycleResponse.class;
84+
}
85+
86+
}
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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.live.model.v20161101;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.live.transform.v20161101.PutRecordStorageLifeCycleResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class PutRecordStorageLifeCycleResponse extends AcsResponse {
26+
27+
private Integer code;
28+
29+
private String msg;
30+
31+
private String requestId;
32+
33+
public Integer getCode() {
34+
return this.code;
35+
}
36+
37+
public void setCode(Integer code) {
38+
this.code = code;
39+
}
40+
41+
public String getMsg() {
42+
return this.msg;
43+
}
44+
45+
public void setMsg(String msg) {
46+
this.msg = msg;
47+
}
48+
49+
public String getRequestId() {
50+
return this.requestId;
51+
}
52+
53+
public void setRequestId(String requestId) {
54+
this.requestId = requestId;
55+
}
56+
57+
@Override
58+
public PutRecordStorageLifeCycleResponse getInstance(UnmarshallerContext context) {
59+
return PutRecordStorageLifeCycleResponseUnmarshaller.unmarshall(this, context);
60+
}
61+
62+
@Override
63+
public boolean checkShowJsonItemName() {
64+
return false;
65+
}
66+
}

aliyun-java-sdk-live/src/main/java/com/aliyuncs/live/model/v20161101/TagLiveResourcesRequest.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ public void setTags(List<Tag> tags) {
5050
this.tags = tags;
5151
if (tags != null) {
5252
for (int depth1 = 0; depth1 < tags.size(); depth1++) {
53-
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
5453
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
54+
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
5555
}
5656
}
5757
}
@@ -93,17 +93,9 @@ public void setResourceType(String resourceType) {
9393

9494
public static class Tag {
9595

96-
private String key;
97-
9896
private String value;
9997

100-
public String getKey() {
101-
return this.key;
102-
}
103-
104-
public void setKey(String key) {
105-
this.key = key;
106-
}
98+
private String key;
10799

108100
public String getValue() {
109101
return this.value;
@@ -112,6 +104,14 @@ public String getValue() {
112104
public void setValue(String value) {
113105
this.value = value;
114106
}
107+
108+
public String getKey() {
109+
return this.key;
110+
}
111+
112+
public void setKey(String key) {
113+
this.key = key;
114+
}
115115
}
116116

117117
@Override

0 commit comments

Comments
 (0)