Skip to content

Commit

Permalink
SubmitAudioTo3DAvatarVideoTask
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jun 9, 2023
1 parent 1b7b772 commit c9dc5c9
Show file tree
Hide file tree
Showing 15 changed files with 1,022 additions and 76 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-avatar/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2023-06-09 Version: 1.0.19
- SubmitAudioTo3DAvatarVideoTask

2023-05-10 Version: 1.0.18
- SendMessage add Feedback param

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-avatar/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-avatar</artifactId>
<packaging>jar</packaging>
<version>1.0.18</version>
<version>1.0.19</version>
<name>aliyun-java-sdk-avatar</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
Expand Up @@ -138,6 +138,8 @@ public static class TaskResult {

private String failCode;

private Integer videoDuration;

public String getVideoUrl() {
return this.videoUrl;
}
Expand Down Expand Up @@ -177,6 +179,14 @@ public String getFailCode() {
public void setFailCode(String failCode) {
this.failCode = failCode;
}

public Integer getVideoDuration() {
return this.videoDuration;
}

public void setVideoDuration(Integer videoDuration) {
this.videoDuration = videoDuration;
}
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
/*
* 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.avatar.model.v20220130;

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

/**
* @author auto create
* @version
*/
public class QueryAvatarListRequest extends RpcAcsRequest<QueryAvatarListResponse> {


private String modelType;

private Integer pageNo;

private Long tenantId;

private Integer pageSize;
public QueryAvatarListRequest() {
super("avatar", "2022-01-30", "QueryAvatarList");
setMethod(MethodType.POST);
}

public String getModelType() {
return this.modelType;
}

public void setModelType(String modelType) {
this.modelType = modelType;
if(modelType != null){
putQueryParameter("ModelType", modelType);
}
}

public Integer getPageNo() {
return this.pageNo;
}

public void setPageNo(Integer pageNo) {
this.pageNo = pageNo;
if(pageNo != null){
putQueryParameter("PageNo", pageNo.toString());
}
}

public Long getTenantId() {
return this.tenantId;
}

public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}

public Integer getPageSize() {
return this.pageSize;
}

public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}

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

}
Loading

0 comments on commit c9dc5c9

Please sign in to comment.