-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
330 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
2023-11-01 Version: 2.0.3 | ||
- Generated 2022-01-30 for `avatar`. | ||
|
||
2023-09-18 Version: 2.0.2 | ||
- add client SDK api | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
146 changes: 146 additions & 0 deletions
146
...vatar/src/main/java/com/aliyuncs/avatar/model/v20220130/SubmitAvatarVideoTaskRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
/* | ||
* 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.google.gson.Gson; | ||
import com.google.gson.annotations.SerializedName; | ||
import com.aliyuncs.http.ProtocolType; | ||
import com.aliyuncs.http.MethodType; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class SubmitAvatarVideoTaskRequest extends RpcAcsRequest<SubmitAvatarVideoTaskResponse> { | ||
|
||
|
||
private String title; | ||
|
||
private String callbackParams; | ||
|
||
private Long tenantId; | ||
|
||
private String videoParams; | ||
|
||
@SerializedName("app") | ||
private App app; | ||
|
||
private String extParams; | ||
|
||
private Boolean callback; | ||
public SubmitAvatarVideoTaskRequest() { | ||
super("avatar", "2022-01-30", "SubmitAvatarVideoTask"); | ||
setProtocol(ProtocolType.HTTPS); | ||
setMethod(MethodType.POST); | ||
} | ||
|
||
public String getTitle() { | ||
return this.title; | ||
} | ||
|
||
public void setTitle(String title) { | ||
this.title = title; | ||
if(title != null){ | ||
putQueryParameter("Title", title); | ||
} | ||
} | ||
|
||
public String getCallbackParams() { | ||
return this.callbackParams; | ||
} | ||
|
||
public void setCallbackParams(String callbackParams) { | ||
this.callbackParams = callbackParams; | ||
if(callbackParams != null){ | ||
putQueryParameter("CallbackParams", callbackParams); | ||
} | ||
} | ||
|
||
public Long getTenantId() { | ||
return this.tenantId; | ||
} | ||
|
||
public void setTenantId(Long tenantId) { | ||
this.tenantId = tenantId; | ||
if(tenantId != null){ | ||
putQueryParameter("TenantId", tenantId.toString()); | ||
} | ||
} | ||
|
||
public String getVideoParams() { | ||
return this.videoParams; | ||
} | ||
|
||
public void setVideoParams(String videoParams) { | ||
this.videoParams = videoParams; | ||
if(videoParams != null){ | ||
putQueryParameter("VideoParams", videoParams); | ||
} | ||
} | ||
|
||
public App getApp() { | ||
return this.app; | ||
} | ||
|
||
public void setApp(App app) { | ||
this.app = app; | ||
if (app != null) { | ||
putQueryParameter("App" , new Gson().toJson(app)); | ||
} | ||
} | ||
|
||
public String getExtParams() { | ||
return this.extParams; | ||
} | ||
|
||
public void setExtParams(String extParams) { | ||
this.extParams = extParams; | ||
if(extParams != null){ | ||
putQueryParameter("ExtParams", extParams); | ||
} | ||
} | ||
|
||
public Boolean getCallback() { | ||
return this.callback; | ||
} | ||
|
||
public void setCallback(Boolean callback) { | ||
this.callback = callback; | ||
if(callback != null){ | ||
putQueryParameter("Callback", callback.toString()); | ||
} | ||
} | ||
|
||
public static class App { | ||
|
||
@SerializedName("AppId") | ||
private String appId; | ||
|
||
public String getAppId() { | ||
return this.appId; | ||
} | ||
|
||
public void setAppId(String appId) { | ||
this.appId = appId; | ||
} | ||
} | ||
|
||
@Override | ||
public Class<SubmitAvatarVideoTaskResponse> getResponseClass() { | ||
return SubmitAvatarVideoTaskResponse.class; | ||
} | ||
|
||
} |
99 changes: 99 additions & 0 deletions
99
...atar/src/main/java/com/aliyuncs/avatar/model/v20220130/SubmitAvatarVideoTaskResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
/* | ||
* 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.AcsResponse; | ||
import com.aliyuncs.avatar.transform.v20220130.SubmitAvatarVideoTaskResponseUnmarshaller; | ||
import com.aliyuncs.transform.UnmarshallerContext; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class SubmitAvatarVideoTaskResponse extends AcsResponse { | ||
|
||
private String requestId; | ||
|
||
private Boolean success; | ||
|
||
private String code; | ||
|
||
private String message; | ||
|
||
private Data data; | ||
|
||
public String getRequestId() { | ||
return this.requestId; | ||
} | ||
|
||
public void setRequestId(String requestId) { | ||
this.requestId = requestId; | ||
} | ||
|
||
public Boolean getSuccess() { | ||
return this.success; | ||
} | ||
|
||
public void setSuccess(Boolean success) { | ||
this.success = success; | ||
} | ||
|
||
public String getCode() { | ||
return this.code; | ||
} | ||
|
||
public void setCode(String code) { | ||
this.code = code; | ||
} | ||
|
||
public String getMessage() { | ||
return this.message; | ||
} | ||
|
||
public void setMessage(String message) { | ||
this.message = message; | ||
} | ||
|
||
public Data getData() { | ||
return this.data; | ||
} | ||
|
||
public void setData(Data data) { | ||
this.data = data; | ||
} | ||
|
||
public static class Data { | ||
|
||
private String taskUuid; | ||
|
||
public String getTaskUuid() { | ||
return this.taskUuid; | ||
} | ||
|
||
public void setTaskUuid(String taskUuid) { | ||
this.taskUuid = taskUuid; | ||
} | ||
} | ||
|
||
@Override | ||
public SubmitAvatarVideoTaskResponse getInstance(UnmarshallerContext context) { | ||
return SubmitAvatarVideoTaskResponseUnmarshaller.unmarshall(this, context); | ||
} | ||
|
||
@Override | ||
public boolean checkShowJsonItemName() { | ||
return false; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.