Skip to content

Commit 0d855d5

Browse files
committed
Update to support new apis.
1 parent 3a4c7f1 commit 0d855d5

22 files changed

+1170
-1
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+
2024-09-26 Version: 3.9.60
2+
- Update to support new apis.
3+
14
2024-08-22 Version: 3.9.59
25
- Update to support new apis.
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.59</version>
7+
<version>3.9.60</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/AddLiveDomainRequest.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
public class AddLiveDomainRequest extends RpcAcsRequest<AddLiveDomainResponse> {
2626

2727

28+
private String resourceGroupId;
29+
2830
private String securityToken;
2931

3032
private String scope;
@@ -51,6 +53,17 @@ public AddLiveDomainRequest() {
5153
} catch (Exception e) {}
5254
}
5355

56+
public String getResourceGroupId() {
57+
return this.resourceGroupId;
58+
}
59+
60+
public void setResourceGroupId(String resourceGroupId) {
61+
this.resourceGroupId = resourceGroupId;
62+
if(resourceGroupId != null){
63+
putQueryParameter("ResourceGroupId", resourceGroupId);
64+
}
65+
}
66+
5467
public String getSecurityToken() {
5568
return this.securityToken;
5669
}

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ public static class DomainDetail {
7070

7171
private String scope;
7272

73+
private String resourceGroupId;
74+
7375
public String getCertName() {
7476
return this.certName;
7577
}
@@ -165,6 +167,14 @@ public String getScope() {
165167
public void setScope(String scope) {
166168
this.scope = scope;
167169
}
170+
171+
public String getResourceGroupId() {
172+
return this.resourceGroupId;
173+
}
174+
175+
public void setResourceGroupId(String resourceGroupId) {
176+
this.resourceGroupId = resourceGroupId;
177+
}
168178
}
169179

170180
@Override

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ public class DescribeLiveUserDomainsRequest extends RpcAcsRequest<DescribeLiveUs
2828

2929
private Integer pageNumber;
3030

31+
private String resourceGroupId;
32+
3133
private String securityToken;
3234

3335
private Integer pageSize;
@@ -65,6 +67,17 @@ public void setPageNumber(Integer pageNumber) {
6567
}
6668
}
6769

70+
public String getResourceGroupId() {
71+
return this.resourceGroupId;
72+
}
73+
74+
public void setResourceGroupId(String resourceGroupId) {
75+
this.resourceGroupId = resourceGroupId;
76+
if(resourceGroupId != null){
77+
putQueryParameter("ResourceGroupId", resourceGroupId);
78+
}
79+
}
80+
6881
public String getSecurityToken() {
6982
return this.securityToken;
7083
}

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ public static class PageData {
9393

9494
private String regionName;
9595

96+
private String resourceGroupId;
97+
9698
public String getCname() {
9799
return this.cname;
98100
}
@@ -156,6 +158,14 @@ public String getRegionName() {
156158
public void setRegionName(String regionName) {
157159
this.regionName = regionName;
158160
}
161+
162+
public String getResourceGroupId() {
163+
return this.resourceGroupId;
164+
}
165+
166+
public void setResourceGroupId(String resourceGroupId) {
167+
this.resourceGroupId = resourceGroupId;
168+
}
159169
}
160170

161171
@Override

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,9 @@ public void setChannelId(String channelId) {
172172

173173
public static class SingleSubParams {
174174

175+
@SerializedName("MixAudioUserIds")
176+
private List<String> mixAudioUserIds;
177+
175178
@SerializedName("StreamType")
176179
private String streamType;
177180

@@ -181,6 +184,14 @@ public static class SingleSubParams {
181184
@SerializedName("UserId")
182185
private String userId;
183186

187+
public List<String> getMixAudioUserIds() {
188+
return this.mixAudioUserIds;
189+
}
190+
191+
public void setMixAudioUserIds(List<String> mixAudioUserIds) {
192+
this.mixAudioUserIds = mixAudioUserIds;
193+
}
194+
184195
public String getStreamType() {
185196
return this.streamType;
186197
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
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 com.aliyuncs.http.ProtocolType;
19+
import com.aliyuncs.http.MethodType;
20+
import com.aliyuncs.live.Endpoint;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class UpdateCasterResourceGroupRequest extends RpcAcsRequest<UpdateCasterResourceGroupResponse> {
27+
28+
29+
private String casterId;
30+
31+
private Long ownerId;
32+
33+
private String newResourceGroupId;
34+
public UpdateCasterResourceGroupRequest() {
35+
super("live", "2016-11-01", "UpdateCasterResourceGroup", "live");
36+
setProtocol(ProtocolType.HTTPS);
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 getCasterId() {
45+
return this.casterId;
46+
}
47+
48+
public void setCasterId(String casterId) {
49+
this.casterId = casterId;
50+
if(casterId != null){
51+
putQueryParameter("CasterId", casterId);
52+
}
53+
}
54+
55+
public Long getOwnerId() {
56+
return this.ownerId;
57+
}
58+
59+
public void setOwnerId(Long ownerId) {
60+
this.ownerId = ownerId;
61+
if(ownerId != null){
62+
putQueryParameter("OwnerId", ownerId.toString());
63+
}
64+
}
65+
66+
public String getNewResourceGroupId() {
67+
return this.newResourceGroupId;
68+
}
69+
70+
public void setNewResourceGroupId(String newResourceGroupId) {
71+
this.newResourceGroupId = newResourceGroupId;
72+
if(newResourceGroupId != null){
73+
putQueryParameter("NewResourceGroupId", newResourceGroupId);
74+
}
75+
}
76+
77+
@Override
78+
public Class<UpdateCasterResourceGroupResponse> getResponseClass() {
79+
return UpdateCasterResourceGroupResponse.class;
80+
}
81+
82+
}
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.live.model.v20161101;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.live.transform.v20161101.UpdateCasterResourceGroupResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class UpdateCasterResourceGroupResponse 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 UpdateCasterResourceGroupResponse getInstance(UnmarshallerContext context) {
39+
return UpdateCasterResourceGroupResponseUnmarshaller.unmarshall(this, context);
40+
}
41+
}

0 commit comments

Comments
 (0)