Skip to content

Commit

Permalink
Update to support new apis.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jun 4, 2024
1 parent dc796b0 commit f0be5e1
Show file tree
Hide file tree
Showing 38 changed files with 3,215 additions and 1 deletion.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-live/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-06-04 Version: 3.9.52
- Update to support new apis.

2024-05-24 Version: 3.9.51
- Update to support new apis.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-live/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-live</artifactId>
<packaging>jar</packaging>
<version>3.9.51</version>
<version>3.9.52</version>
<name>aliyun-java-sdk-live</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.aliyuncs.live.model.v20161101;

import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.live.Endpoint;

/**
* @author auto create
* @version
*/
public class AddLiveAIProduceRulesRequest extends RpcAcsRequest<AddLiveAIProduceRulesResponse> {


private String description;

private String subtitleName;

private String app;

private Long ownerId;

private Boolean isLazy;

private String liveTemplate;

private String domain;

private Boolean isOrigin;
public AddLiveAIProduceRulesRequest() {
super("live", "2016-11-01", "AddLiveAIProduceRules", "live");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}

public String getDescription() {
return this.description;
}

public void setDescription(String description) {
this.description = description;
if(description != null){
putQueryParameter("Description", description);
}
}

public String getSubtitleName() {
return this.subtitleName;
}

public void setSubtitleName(String subtitleName) {
this.subtitleName = subtitleName;
if(subtitleName != null){
putQueryParameter("SubtitleName", subtitleName);
}
}

public String getApp() {
return this.app;
}

public void setApp(String app) {
this.app = app;
if(app != null){
putQueryParameter("App", app);
}
}

public Long getOwnerId() {
return this.ownerId;
}

public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}

public Boolean getIsLazy() {
return this.isLazy;
}

public void setIsLazy(Boolean isLazy) {
this.isLazy = isLazy;
if(isLazy != null){
putQueryParameter("IsLazy", isLazy.toString());
}
}

public String getLiveTemplate() {
return this.liveTemplate;
}

public void setLiveTemplate(String liveTemplate) {
this.liveTemplate = liveTemplate;
if(liveTemplate != null){
putQueryParameter("LiveTemplate", liveTemplate);
}
}

public String getDomain() {
return this.domain;
}

public void setDomain(String domain) {
this.domain = domain;
if(domain != null){
putQueryParameter("Domain", domain);
}
}

public Boolean getIsOrigin() {
return this.isOrigin;
}

public void setIsOrigin(Boolean isOrigin) {
this.isOrigin = isOrigin;
if(isOrigin != null){
putQueryParameter("IsOrigin", isOrigin.toString());
}
}

@Override
public Class<AddLiveAIProduceRulesResponse> getResponseClass() {
return AddLiveAIProduceRulesResponse.class;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.aliyuncs.live.model.v20161101;

import com.aliyuncs.AcsResponse;
import com.aliyuncs.live.transform.v20161101.AddLiveAIProduceRulesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
* @author auto create
* @version
*/
public class AddLiveAIProduceRulesResponse extends AcsResponse {

private String requestId;

private String rulesId;

public String getRequestId() {
return this.requestId;
}

public void setRequestId(String requestId) {
this.requestId = requestId;
}

public String getRulesId() {
return this.rulesId;
}

public void setRulesId(String rulesId) {
this.rulesId = rulesId;
}

@Override
public AddLiveAIProduceRulesResponse getInstance(UnmarshallerContext context) {
return AddLiveAIProduceRulesResponseUnmarshaller.unmarshall(this, context);
}
}
Loading

0 comments on commit f0be5e1

Please sign in to comment.