index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/GetImageDiagnoseResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class GetImageDiagnoseResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public GetImageDiagnoseResponseBody body; public static GetImageDiagnoseResponse build(java.util.Map<String, ?> map) throws Exception { GetImageDiagnoseResponse self = new GetImageDiagnoseResponse(); return TeaModel.build(map, self); } public GetImageDiagnoseResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public GetImageDiagnoseResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public GetImageDiagnoseResponse setBody(GetImageDiagnoseResponseBody body) { this.body = body; return this; } public GetImageDiagnoseResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/GetImageDiagnoseResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class GetImageDiagnoseResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; @NameInMap("Data") public GetImageDiagnoseResponseBodyData data; /** * <strong>example:</strong> * <p>ok</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>DC2DCCC9-C3DF-4F59-8D8E-78185729F16D</p> */ @NameInMap("RequestId") public String requestId; public static GetImageDiagnoseResponseBody build(java.util.Map<String, ?> map) throws Exception { GetImageDiagnoseResponseBody self = new GetImageDiagnoseResponseBody(); return TeaModel.build(map, self); } public GetImageDiagnoseResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public GetImageDiagnoseResponseBody setData(GetImageDiagnoseResponseBodyData data) { this.data = data; return this; } public GetImageDiagnoseResponseBodyData getData() { return this.data; } public GetImageDiagnoseResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public GetImageDiagnoseResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class GetImageDiagnoseResponseBodyData extends TeaModel { /** * <strong>example:</strong> * <p>zh</p> */ @NameInMap("Language") public String language; public static GetImageDiagnoseResponseBodyData build(java.util.Map<String, ?> map) throws Exception { GetImageDiagnoseResponseBodyData self = new GetImageDiagnoseResponseBodyData(); return TeaModel.build(map, self); } public GetImageDiagnoseResponseBodyData setLanguage(String language) { this.language = language; return this; } public String getLanguage() { return this.language; } } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/GetImageTranslateRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class GetImageTranslateRequest extends TeaModel { /** * <strong>example:</strong> * <p>{&quot;have_ocr&quot;: &quot;false&quot;, &quot;without_text&quot;:&quot;true&quot;, &quot;have_psd&quot;: &quot;false&quot;, &quot;ignore_entity&quot;: &quot;false&quot;}</p> */ @NameInMap("Extra") public String extra; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>zh</p> */ @NameInMap("SourceLanguage") public String sourceLanguage; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("TargetLanguage") public String targetLanguage; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="http://xxxxxxx.oss-cn-shenzhen.aliyuncs.com/xxxxxx.jpg">http://xxxxxxx.oss-cn-shenzhen.aliyuncs.com/xxxxxx.jpg</a></p> */ @NameInMap("Url") public String url; public static GetImageTranslateRequest build(java.util.Map<String, ?> map) throws Exception { GetImageTranslateRequest self = new GetImageTranslateRequest(); return TeaModel.build(map, self); } public GetImageTranslateRequest setExtra(String extra) { this.extra = extra; return this; } public String getExtra() { return this.extra; } public GetImageTranslateRequest setSourceLanguage(String sourceLanguage) { this.sourceLanguage = sourceLanguage; return this; } public String getSourceLanguage() { return this.sourceLanguage; } public GetImageTranslateRequest setTargetLanguage(String targetLanguage) { this.targetLanguage = targetLanguage; return this; } public String getTargetLanguage() { return this.targetLanguage; } public GetImageTranslateRequest setUrl(String url) { this.url = url; return this; } public String getUrl() { return this.url; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/GetImageTranslateResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class GetImageTranslateResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public GetImageTranslateResponseBody body; public static GetImageTranslateResponse build(java.util.Map<String, ?> map) throws Exception { GetImageTranslateResponse self = new GetImageTranslateResponse(); return TeaModel.build(map, self); } public GetImageTranslateResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public GetImageTranslateResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public GetImageTranslateResponse setBody(GetImageTranslateResponseBody body) { this.body = body; return this; } public GetImageTranslateResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/GetImageTranslateResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class GetImageTranslateResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; @NameInMap("Data") public GetImageTranslateResponseBodyData data; /** * <strong>example:</strong> * <p>ok</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>A41F6E25-8520-4AF0-90EF-AF7E32840108</p> */ @NameInMap("RequestId") public String requestId; public static GetImageTranslateResponseBody build(java.util.Map<String, ?> map) throws Exception { GetImageTranslateResponseBody self = new GetImageTranslateResponseBody(); return TeaModel.build(map, self); } public GetImageTranslateResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public GetImageTranslateResponseBody setData(GetImageTranslateResponseBodyData data) { this.data = data; return this; } public GetImageTranslateResponseBodyData getData() { return this.data; } public GetImageTranslateResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public GetImageTranslateResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class GetImageTranslateResponseBodyData extends TeaModel { @NameInMap("Orc") public String orc; @NameInMap("PictureEditor") public String pictureEditor; /** * <strong>example:</strong> * <p><a href="https://ae01.alicdn.com/kf/xxxxx.jpeg">https://ae01.alicdn.com/kf/xxxxx.jpeg</a></p> */ @NameInMap("Url") public String url; public static GetImageTranslateResponseBodyData build(java.util.Map<String, ?> map) throws Exception { GetImageTranslateResponseBodyData self = new GetImageTranslateResponseBodyData(); return TeaModel.build(map, self); } public GetImageTranslateResponseBodyData setOrc(String orc) { this.orc = orc; return this; } public String getOrc() { return this.orc; } public GetImageTranslateResponseBodyData setPictureEditor(String pictureEditor) { this.pictureEditor = pictureEditor; return this; } public String getPictureEditor() { return this.pictureEditor; } public GetImageTranslateResponseBodyData setUrl(String url) { this.url = url; return this; } public String getUrl() { return this.url; } } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/GetImageTranslateTaskRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class GetImageTranslateTaskRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>xxxxxx</p> */ @NameInMap("TaskId") public String taskId; public static GetImageTranslateTaskRequest build(java.util.Map<String, ?> map) throws Exception { GetImageTranslateTaskRequest self = new GetImageTranslateTaskRequest(); return TeaModel.build(map, self); } public GetImageTranslateTaskRequest setTaskId(String taskId) { this.taskId = taskId; return this; } public String getTaskId() { return this.taskId; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/GetImageTranslateTaskResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class GetImageTranslateTaskResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public GetImageTranslateTaskResponseBody body; public static GetImageTranslateTaskResponse build(java.util.Map<String, ?> map) throws Exception { GetImageTranslateTaskResponse self = new GetImageTranslateTaskResponse(); return TeaModel.build(map, self); } public GetImageTranslateTaskResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public GetImageTranslateTaskResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public GetImageTranslateTaskResponse setBody(GetImageTranslateTaskResponseBody body) { this.body = body; return this; } public GetImageTranslateTaskResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/GetImageTranslateTaskResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class GetImageTranslateTaskResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; @NameInMap("Data") public GetImageTranslateTaskResponseBodyData data; /** * <strong>example:</strong> * <p>ok</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>xxxxxxx</p> */ @NameInMap("RequestId") public String requestId; public static GetImageTranslateTaskResponseBody build(java.util.Map<String, ?> map) throws Exception { GetImageTranslateTaskResponseBody self = new GetImageTranslateTaskResponseBody(); return TeaModel.build(map, self); } public GetImageTranslateTaskResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public GetImageTranslateTaskResponseBody setData(GetImageTranslateTaskResponseBodyData data) { this.data = data; return this; } public GetImageTranslateTaskResponseBodyData getData() { return this.data; } public GetImageTranslateTaskResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public GetImageTranslateTaskResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class GetImageTranslateTaskResponseBodyData extends TeaModel { /** * <strong>example:</strong> * <p>[{xxxxxx}]</p> */ @NameInMap("ImageData") public String imageData; public static GetImageTranslateTaskResponseBodyData build(java.util.Map<String, ?> map) throws Exception { GetImageTranslateTaskResponseBodyData self = new GetImageTranslateTaskResponseBodyData(); return TeaModel.build(map, self); } public GetImageTranslateTaskResponseBodyData setImageData(String imageData) { this.imageData = imageData; return this; } public String getImageData() { return this.imageData; } } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/GetTitleDiagnoseRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class GetTitleDiagnoseRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>123</p> */ @NameInMap("CategoryId") public String categoryId; /** * <strong>example:</strong> * <p>{ &quot;product_id&quot;: &quot;1&quot;, &quot;platform&quot;: &quot;ae&quot; }</p> */ @NameInMap("Extra") public String extra; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>zh</p> */ @NameInMap("Language") public String language; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ae</p> */ @NameInMap("Platform") public String platform; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>Amroe Japan Comic Theme Uzumaki Naruto Namikaze Minato 3D Visual Cartoon 7 Color USB Touch</p> */ @NameInMap("Title") public String title; public static GetTitleDiagnoseRequest build(java.util.Map<String, ?> map) throws Exception { GetTitleDiagnoseRequest self = new GetTitleDiagnoseRequest(); return TeaModel.build(map, self); } public GetTitleDiagnoseRequest setCategoryId(String categoryId) { this.categoryId = categoryId; return this; } public String getCategoryId() { return this.categoryId; } public GetTitleDiagnoseRequest setExtra(String extra) { this.extra = extra; return this; } public String getExtra() { return this.extra; } public GetTitleDiagnoseRequest setLanguage(String language) { this.language = language; return this; } public String getLanguage() { return this.language; } public GetTitleDiagnoseRequest setPlatform(String platform) { this.platform = platform; return this; } public String getPlatform() { return this.platform; } public GetTitleDiagnoseRequest setTitle(String title) { this.title = title; return this; } public String getTitle() { return this.title; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/GetTitleDiagnoseResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class GetTitleDiagnoseResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public GetTitleDiagnoseResponseBody body; public static GetTitleDiagnoseResponse build(java.util.Map<String, ?> map) throws Exception { GetTitleDiagnoseResponse self = new GetTitleDiagnoseResponse(); return TeaModel.build(map, self); } public GetTitleDiagnoseResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public GetTitleDiagnoseResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public GetTitleDiagnoseResponse setBody(GetTitleDiagnoseResponseBody body) { this.body = body; return this; } public GetTitleDiagnoseResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/GetTitleDiagnoseResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class GetTitleDiagnoseResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; @NameInMap("Data") public GetTitleDiagnoseResponseBodyData data; /** * <strong>example:</strong> * <p>ok</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>DC2DCCC9-C3DF-4F59-8D8E-78185729F16D</p> */ @NameInMap("RequestId") public String requestId; public static GetTitleDiagnoseResponseBody build(java.util.Map<String, ?> map) throws Exception { GetTitleDiagnoseResponseBody self = new GetTitleDiagnoseResponseBody(); return TeaModel.build(map, self); } public GetTitleDiagnoseResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public GetTitleDiagnoseResponseBody setData(GetTitleDiagnoseResponseBodyData data) { this.data = data; return this; } public GetTitleDiagnoseResponseBodyData getData() { return this.data; } public GetTitleDiagnoseResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public GetTitleDiagnoseResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class GetTitleDiagnoseResponseBodyData extends TeaModel { /** * <strong>example:</strong> * <p>Boy</p> */ @NameInMap("AllUppercaseWords") public String allUppercaseWords; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("ContainCoreClasses") public String containCoreClasses; /** * <strong>example:</strong> * <p>baba</p> */ @NameInMap("DisableWords") public String disableWords; /** * <strong>example:</strong> * <p>hi</p> */ @NameInMap("DuplicateWords") public String duplicateWords; /** * <strong>example:</strong> * <p>2</p> */ @NameInMap("LanguageQualityScore") public String languageQualityScore; /** * <strong>example:</strong> * <p>no</p> */ @NameInMap("NoFirstUppercaseList") public String noFirstUppercaseList; /** * <strong>example:</strong> * <p>100</p> */ @NameInMap("OverLengthLimit") public String overLengthLimit; /** * <strong>example:</strong> * <p>3</p> */ @NameInMap("TotalScore") public String totalScore; /** * <strong>example:</strong> * <p>10</p> */ @NameInMap("WordCount") public String wordCount; /** * <strong>example:</strong> * <p>ahk</p> */ @NameInMap("WordSpelledCorrectError") public String wordSpelledCorrectError; public static GetTitleDiagnoseResponseBodyData build(java.util.Map<String, ?> map) throws Exception { GetTitleDiagnoseResponseBodyData self = new GetTitleDiagnoseResponseBodyData(); return TeaModel.build(map, self); } public GetTitleDiagnoseResponseBodyData setAllUppercaseWords(String allUppercaseWords) { this.allUppercaseWords = allUppercaseWords; return this; } public String getAllUppercaseWords() { return this.allUppercaseWords; } public GetTitleDiagnoseResponseBodyData setContainCoreClasses(String containCoreClasses) { this.containCoreClasses = containCoreClasses; return this; } public String getContainCoreClasses() { return this.containCoreClasses; } public GetTitleDiagnoseResponseBodyData setDisableWords(String disableWords) { this.disableWords = disableWords; return this; } public String getDisableWords() { return this.disableWords; } public GetTitleDiagnoseResponseBodyData setDuplicateWords(String duplicateWords) { this.duplicateWords = duplicateWords; return this; } public String getDuplicateWords() { return this.duplicateWords; } public GetTitleDiagnoseResponseBodyData setLanguageQualityScore(String languageQualityScore) { this.languageQualityScore = languageQualityScore; return this; } public String getLanguageQualityScore() { return this.languageQualityScore; } public GetTitleDiagnoseResponseBodyData setNoFirstUppercaseList(String noFirstUppercaseList) { this.noFirstUppercaseList = noFirstUppercaseList; return this; } public String getNoFirstUppercaseList() { return this.noFirstUppercaseList; } public GetTitleDiagnoseResponseBodyData setOverLengthLimit(String overLengthLimit) { this.overLengthLimit = overLengthLimit; return this; } public String getOverLengthLimit() { return this.overLengthLimit; } public GetTitleDiagnoseResponseBodyData setTotalScore(String totalScore) { this.totalScore = totalScore; return this; } public String getTotalScore() { return this.totalScore; } public GetTitleDiagnoseResponseBodyData setWordCount(String wordCount) { this.wordCount = wordCount; return this; } public String getWordCount() { return this.wordCount; } public GetTitleDiagnoseResponseBodyData setWordSpelledCorrectError(String wordSpelledCorrectError) { this.wordSpelledCorrectError = wordSpelledCorrectError; return this; } public String getWordSpelledCorrectError() { return this.wordSpelledCorrectError; } } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/GetTitleGenerateRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class GetTitleGenerateRequest extends TeaModel { /** * <strong>example:</strong> * <p>{2:&quot;None&quot;,10:&quot;Plastic&quot;}</p> */ @NameInMap("Attributes") public String attributes; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>127896018</p> */ @NameInMap("CategoryId") public String categoryId; /** * <strong>example:</strong> * <p>{ &quot;product_id&quot;: &quot;1&quot;, &quot;platform&quot;: &quot;ae&quot; }</p> */ @NameInMap("Extra") public String extra; /** * <strong>example:</strong> * <p>None,Plastic</p> */ @NameInMap("HotWords") public String hotWords; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("Language") public String language; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ae</p> */ @NameInMap("Platform") public String platform; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>10pcs 80ml Kitchen Disposable</p> */ @NameInMap("Title") public String title; public static GetTitleGenerateRequest build(java.util.Map<String, ?> map) throws Exception { GetTitleGenerateRequest self = new GetTitleGenerateRequest(); return TeaModel.build(map, self); } public GetTitleGenerateRequest setAttributes(String attributes) { this.attributes = attributes; return this; } public String getAttributes() { return this.attributes; } public GetTitleGenerateRequest setCategoryId(String categoryId) { this.categoryId = categoryId; return this; } public String getCategoryId() { return this.categoryId; } public GetTitleGenerateRequest setExtra(String extra) { this.extra = extra; return this; } public String getExtra() { return this.extra; } public GetTitleGenerateRequest setHotWords(String hotWords) { this.hotWords = hotWords; return this; } public String getHotWords() { return this.hotWords; } public GetTitleGenerateRequest setLanguage(String language) { this.language = language; return this; } public String getLanguage() { return this.language; } public GetTitleGenerateRequest setPlatform(String platform) { this.platform = platform; return this; } public String getPlatform() { return this.platform; } public GetTitleGenerateRequest setTitle(String title) { this.title = title; return this; } public String getTitle() { return this.title; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/GetTitleGenerateResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class GetTitleGenerateResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public GetTitleGenerateResponseBody body; public static GetTitleGenerateResponse build(java.util.Map<String, ?> map) throws Exception { GetTitleGenerateResponse self = new GetTitleGenerateResponse(); return TeaModel.build(map, self); } public GetTitleGenerateResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public GetTitleGenerateResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public GetTitleGenerateResponse setBody(GetTitleGenerateResponseBody body) { this.body = body; return this; } public GetTitleGenerateResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/GetTitleGenerateResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class GetTitleGenerateResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; @NameInMap("Data") public GetTitleGenerateResponseBodyData data; /** * <strong>example:</strong> * <p>ok</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>DC2DCCC9-C3DF-4F59-8D8E-78185729F16D</p> */ @NameInMap("RequestId") public String requestId; public static GetTitleGenerateResponseBody build(java.util.Map<String, ?> map) throws Exception { GetTitleGenerateResponseBody self = new GetTitleGenerateResponseBody(); return TeaModel.build(map, self); } public GetTitleGenerateResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public GetTitleGenerateResponseBody setData(GetTitleGenerateResponseBodyData data) { this.data = data; return this; } public GetTitleGenerateResponseBodyData getData() { return this.data; } public GetTitleGenerateResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public GetTitleGenerateResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class GetTitleGenerateResponseBodyData extends TeaModel { /** * <strong>example:</strong> * <p>10pcs 80ml Kitchen Disposable Plastic Sauce Cup Pot Chutney Container</p> */ @NameInMap("Titles") public String titles; public static GetTitleGenerateResponseBodyData build(java.util.Map<String, ?> map) throws Exception { GetTitleGenerateResponseBodyData self = new GetTitleGenerateResponseBodyData(); return TeaModel.build(map, self); } public GetTitleGenerateResponseBodyData setTitles(String titles) { this.titles = titles; return this; } public String getTitles() { return this.titles; } } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/GetTitleIntelligenceRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class GetTitleIntelligenceRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>111</p> */ @NameInMap("CatLevelThreeId") public Long catLevelThreeId; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>222</p> */ @NameInMap("CatLevelTwoId") public Long catLevelTwoId; /** * <strong>example:</strong> * <p>{&quot;product_id&quot;:&quot;1212&quot;}</p> */ @NameInMap("Extra") public String extra; /** * <strong>example:</strong> * <p>hello,apple</p> */ @NameInMap("Keywords") public String keywords; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>ae</p> */ @NameInMap("Platform") public String platform; public static GetTitleIntelligenceRequest build(java.util.Map<String, ?> map) throws Exception { GetTitleIntelligenceRequest self = new GetTitleIntelligenceRequest(); return TeaModel.build(map, self); } public GetTitleIntelligenceRequest setCatLevelThreeId(Long catLevelThreeId) { this.catLevelThreeId = catLevelThreeId; return this; } public Long getCatLevelThreeId() { return this.catLevelThreeId; } public GetTitleIntelligenceRequest setCatLevelTwoId(Long catLevelTwoId) { this.catLevelTwoId = catLevelTwoId; return this; } public Long getCatLevelTwoId() { return this.catLevelTwoId; } public GetTitleIntelligenceRequest setExtra(String extra) { this.extra = extra; return this; } public String getExtra() { return this.extra; } public GetTitleIntelligenceRequest setKeywords(String keywords) { this.keywords = keywords; return this; } public String getKeywords() { return this.keywords; } public GetTitleIntelligenceRequest setPlatform(String platform) { this.platform = platform; return this; } public String getPlatform() { return this.platform; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/GetTitleIntelligenceResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class GetTitleIntelligenceResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public GetTitleIntelligenceResponseBody body; public static GetTitleIntelligenceResponse build(java.util.Map<String, ?> map) throws Exception { GetTitleIntelligenceResponse self = new GetTitleIntelligenceResponse(); return TeaModel.build(map, self); } public GetTitleIntelligenceResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public GetTitleIntelligenceResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public GetTitleIntelligenceResponse setBody(GetTitleIntelligenceResponseBody body) { this.body = body; return this; } public GetTitleIntelligenceResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/GetTitleIntelligenceResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class GetTitleIntelligenceResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; @NameInMap("Data") public GetTitleIntelligenceResponseBodyData data; /** * <strong>example:</strong> * <p>success</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>D70487B4-8891-4D24-BB64-8788E53671FB</p> */ @NameInMap("RequestId") public String requestId; public static GetTitleIntelligenceResponseBody build(java.util.Map<String, ?> map) throws Exception { GetTitleIntelligenceResponseBody self = new GetTitleIntelligenceResponseBody(); return TeaModel.build(map, self); } public GetTitleIntelligenceResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public GetTitleIntelligenceResponseBody setData(GetTitleIntelligenceResponseBodyData data) { this.data = data; return this; } public GetTitleIntelligenceResponseBodyData getData() { return this.data; } public GetTitleIntelligenceResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public GetTitleIntelligenceResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class GetTitleIntelligenceResponseBodyData extends TeaModel { /** * <strong>example:</strong> * <p>Custom Hello Kitty PVC Cartoon Apple for Home Garden Complete Apple Bath Shower</p> */ @NameInMap("Titles") public String titles; public static GetTitleIntelligenceResponseBodyData build(java.util.Map<String, ?> map) throws Exception { GetTitleIntelligenceResponseBodyData self = new GetTitleIntelligenceResponseBodyData(); return TeaModel.build(map, self); } public GetTitleIntelligenceResponseBodyData setTitles(String titles) { this.titles = titles; return this; } public String getTitles() { return this.titles; } } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/GetTranslateImageBatchResultRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class GetTranslateImageBatchResultRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>EEA28E6D-4828-5031-BD8C-8FF1B3216842</p> */ @NameInMap("TaskId") public String taskId; public static GetTranslateImageBatchResultRequest build(java.util.Map<String, ?> map) throws Exception { GetTranslateImageBatchResultRequest self = new GetTranslateImageBatchResultRequest(); return TeaModel.build(map, self); } public GetTranslateImageBatchResultRequest setTaskId(String taskId) { this.taskId = taskId; return this; } public String getTaskId() { return this.taskId; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/GetTranslateImageBatchResultResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class GetTranslateImageBatchResultResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public GetTranslateImageBatchResultResponseBody body; public static GetTranslateImageBatchResultResponse build(java.util.Map<String, ?> map) throws Exception { GetTranslateImageBatchResultResponse self = new GetTranslateImageBatchResultResponse(); return TeaModel.build(map, self); } public GetTranslateImageBatchResultResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public GetTranslateImageBatchResultResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public GetTranslateImageBatchResultResponse setBody(GetTranslateImageBatchResultResponseBody body) { this.body = body; return this; } public GetTranslateImageBatchResultResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/GetTranslateImageBatchResultResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class GetTranslateImageBatchResultResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; @NameInMap("Data") public GetTranslateImageBatchResultResponseBodyData data; /** * <strong>example:</strong> * <p>OK</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>DACD263C-C068-5116-83EC-117245AA35CF</p> */ @NameInMap("RequestId") public String requestId; public static GetTranslateImageBatchResultResponseBody build(java.util.Map<String, ?> map) throws Exception { GetTranslateImageBatchResultResponseBody self = new GetTranslateImageBatchResultResponseBody(); return TeaModel.build(map, self); } public GetTranslateImageBatchResultResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public GetTranslateImageBatchResultResponseBody setData(GetTranslateImageBatchResultResponseBodyData data) { this.data = data; return this; } public GetTranslateImageBatchResultResponseBodyData getData() { return this.data; } public GetTranslateImageBatchResultResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public GetTranslateImageBatchResultResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class GetTranslateImageBatchResultResponseBodyDataResult extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; /** * <strong>example:</strong> * <p><a href="https://example.com/example.jpg">https://example.com/example.jpg</a></p> */ @NameInMap("FinalImageUrl") public String finalImageUrl; /** * <strong>example:</strong> * <p><a href="https://example.com/example.jpg">https://example.com/example.jpg</a></p> */ @NameInMap("InPaintingUrl") public String inPaintingUrl; /** * <strong>example:</strong> * <p>OK</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p><a href="https://example.com/example.jpg">https://example.com/example.jpg</a></p> */ @NameInMap("SourceImageUrl") public String sourceImageUrl; /** * <strong>example:</strong> * <p>true</p> */ @NameInMap("Success") public Boolean success; /** * <strong>example:</strong> * <p>{&quot;TemplateJson&quot;: &quot;Editor Template Json String &quot;}</p> */ @NameInMap("TemplateJson") public String templateJson; public static GetTranslateImageBatchResultResponseBodyDataResult build(java.util.Map<String, ?> map) throws Exception { GetTranslateImageBatchResultResponseBodyDataResult self = new GetTranslateImageBatchResultResponseBodyDataResult(); return TeaModel.build(map, self); } public GetTranslateImageBatchResultResponseBodyDataResult setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public GetTranslateImageBatchResultResponseBodyDataResult setFinalImageUrl(String finalImageUrl) { this.finalImageUrl = finalImageUrl; return this; } public String getFinalImageUrl() { return this.finalImageUrl; } public GetTranslateImageBatchResultResponseBodyDataResult setInPaintingUrl(String inPaintingUrl) { this.inPaintingUrl = inPaintingUrl; return this; } public String getInPaintingUrl() { return this.inPaintingUrl; } public GetTranslateImageBatchResultResponseBodyDataResult setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public GetTranslateImageBatchResultResponseBodyDataResult setSourceImageUrl(String sourceImageUrl) { this.sourceImageUrl = sourceImageUrl; return this; } public String getSourceImageUrl() { return this.sourceImageUrl; } public GetTranslateImageBatchResultResponseBodyDataResult setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } public GetTranslateImageBatchResultResponseBodyDataResult setTemplateJson(String templateJson) { this.templateJson = templateJson; return this; } public String getTemplateJson() { return this.templateJson; } } public static class GetTranslateImageBatchResultResponseBodyData extends TeaModel { @NameInMap("Result") public java.util.List<GetTranslateImageBatchResultResponseBodyDataResult> result; /** * <strong>example:</strong> * <p>finished</p> */ @NameInMap("Status") public String status; public static GetTranslateImageBatchResultResponseBodyData build(java.util.Map<String, ?> map) throws Exception { GetTranslateImageBatchResultResponseBodyData self = new GetTranslateImageBatchResultResponseBodyData(); return TeaModel.build(map, self); } public GetTranslateImageBatchResultResponseBodyData setResult(java.util.List<GetTranslateImageBatchResultResponseBodyDataResult> result) { this.result = result; return this; } public java.util.List<GetTranslateImageBatchResultResponseBodyDataResult> getResult() { return this.result; } public GetTranslateImageBatchResultResponseBodyData setStatus(String status) { this.status = status; return this; } public String getStatus() { return this.status; } } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/GetTranslateReportRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class GetTranslateReportRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("ApiName") public String apiName; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2021-03-01 00:00:00</p> */ @NameInMap("BeginTime") public String beginTime; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>2021-03-01 23:59:59</p> */ @NameInMap("EndTime") public String endTime; /** * <p>This parameter is required.</p> */ @NameInMap("Group") public String group; public static GetTranslateReportRequest build(java.util.Map<String, ?> map) throws Exception { GetTranslateReportRequest self = new GetTranslateReportRequest(); return TeaModel.build(map, self); } public GetTranslateReportRequest setApiName(String apiName) { this.apiName = apiName; return this; } public String getApiName() { return this.apiName; } public GetTranslateReportRequest setBeginTime(String beginTime) { this.beginTime = beginTime; return this; } public String getBeginTime() { return this.beginTime; } public GetTranslateReportRequest setEndTime(String endTime) { this.endTime = endTime; return this; } public String getEndTime() { return this.endTime; } public GetTranslateReportRequest setGroup(String group) { this.group = group; return this; } public String getGroup() { return this.group; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/GetTranslateReportResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class GetTranslateReportResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public GetTranslateReportResponseBody body; public static GetTranslateReportResponse build(java.util.Map<String, ?> map) throws Exception { GetTranslateReportResponse self = new GetTranslateReportResponse(); return TeaModel.build(map, self); } public GetTranslateReportResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public GetTranslateReportResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public GetTranslateReportResponse setBody(GetTranslateReportResponseBody body) { this.body = body; return this; } public GetTranslateReportResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/GetTranslateReportResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class GetTranslateReportResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; /** * <strong>example:</strong> * <p>{&quot;result&quot;:[{&quot;time&quot;:&quot;2021-10-21 00:00:00&quot;,&quot;total&quot;:100}]}</p> */ @NameInMap("Data") public String data; /** * <strong>example:</strong> * <p>success</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>86D18195-D89C-4C8C-9DC4-5FCE789CE6D5</p> */ @NameInMap("RequestId") public String requestId; public static GetTranslateReportResponseBody build(java.util.Map<String, ?> map) throws Exception { GetTranslateReportResponseBody self = new GetTranslateReportResponseBody(); return TeaModel.build(map, self); } public GetTranslateReportResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public GetTranslateReportResponseBody setData(String data) { this.data = data; return this; } public String getData() { return this.data; } public GetTranslateReportResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public GetTranslateReportResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/OpenAlimtServiceRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class OpenAlimtServiceRequest extends TeaModel { @NameInMap("OwnerId") public Long ownerId; /** * <strong>example:</strong> * <p>id</p> */ @NameInMap("Type") public String type; public static OpenAlimtServiceRequest build(java.util.Map<String, ?> map) throws Exception { OpenAlimtServiceRequest self = new OpenAlimtServiceRequest(); return TeaModel.build(map, self); } public OpenAlimtServiceRequest setOwnerId(Long ownerId) { this.ownerId = ownerId; return this; } public Long getOwnerId() { return this.ownerId; } public OpenAlimtServiceRequest setType(String type) { this.type = type; return this; } public String getType() { return this.type; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/OpenAlimtServiceResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class OpenAlimtServiceResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public OpenAlimtServiceResponseBody body; public static OpenAlimtServiceResponse build(java.util.Map<String, ?> map) throws Exception { OpenAlimtServiceResponse self = new OpenAlimtServiceResponse(); return TeaModel.build(map, self); } public OpenAlimtServiceResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public OpenAlimtServiceResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public OpenAlimtServiceResponse setBody(OpenAlimtServiceResponseBody body) { this.body = body; return this; } public OpenAlimtServiceResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/OpenAlimtServiceResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class OpenAlimtServiceResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>123456</p> */ @NameInMap("OrderId") public String orderId; /** * <strong>example:</strong> * <p>xxxx-xxxxx</p> */ @NameInMap("RequestId") public String requestId; public static OpenAlimtServiceResponseBody build(java.util.Map<String, ?> map) throws Exception { OpenAlimtServiceResponseBody self = new OpenAlimtServiceResponseBody(); return TeaModel.build(map, self); } public OpenAlimtServiceResponseBody setOrderId(String orderId) { this.orderId = orderId; return this; } public String getOrderId() { return this.orderId; } public OpenAlimtServiceResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateCertificateAdvanceRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateCertificateAdvanceRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>driving_license</p> */ @NameInMap("CertificateType") public String certificateType; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="http://imageurl">http://imageurl</a></p> */ @NameInMap("ImageUrl") public java.io.InputStream imageUrlObject; /** * <strong>example:</strong> * <p>text</p> */ @NameInMap("ResultType") public String resultType; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>zh</p> */ @NameInMap("SourceLanguage") public String sourceLanguage; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("TargetLanguage") public String targetLanguage; public static TranslateCertificateAdvanceRequest build(java.util.Map<String, ?> map) throws Exception { TranslateCertificateAdvanceRequest self = new TranslateCertificateAdvanceRequest(); return TeaModel.build(map, self); } public TranslateCertificateAdvanceRequest setCertificateType(String certificateType) { this.certificateType = certificateType; return this; } public String getCertificateType() { return this.certificateType; } public TranslateCertificateAdvanceRequest setImageUrlObject(java.io.InputStream imageUrlObject) { this.imageUrlObject = imageUrlObject; return this; } public java.io.InputStream getImageUrlObject() { return this.imageUrlObject; } public TranslateCertificateAdvanceRequest setResultType(String resultType) { this.resultType = resultType; return this; } public String getResultType() { return this.resultType; } public TranslateCertificateAdvanceRequest setSourceLanguage(String sourceLanguage) { this.sourceLanguage = sourceLanguage; return this; } public String getSourceLanguage() { return this.sourceLanguage; } public TranslateCertificateAdvanceRequest setTargetLanguage(String targetLanguage) { this.targetLanguage = targetLanguage; return this; } public String getTargetLanguage() { return this.targetLanguage; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateCertificateRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateCertificateRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>driving_license</p> */ @NameInMap("CertificateType") public String certificateType; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="http://imageurl">http://imageurl</a></p> */ @NameInMap("ImageUrl") public String imageUrl; /** * <strong>example:</strong> * <p>text</p> */ @NameInMap("ResultType") public String resultType; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>zh</p> */ @NameInMap("SourceLanguage") public String sourceLanguage; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("TargetLanguage") public String targetLanguage; public static TranslateCertificateRequest build(java.util.Map<String, ?> map) throws Exception { TranslateCertificateRequest self = new TranslateCertificateRequest(); return TeaModel.build(map, self); } public TranslateCertificateRequest setCertificateType(String certificateType) { this.certificateType = certificateType; return this; } public String getCertificateType() { return this.certificateType; } public TranslateCertificateRequest setImageUrl(String imageUrl) { this.imageUrl = imageUrl; return this; } public String getImageUrl() { return this.imageUrl; } public TranslateCertificateRequest setResultType(String resultType) { this.resultType = resultType; return this; } public String getResultType() { return this.resultType; } public TranslateCertificateRequest setSourceLanguage(String sourceLanguage) { this.sourceLanguage = sourceLanguage; return this; } public String getSourceLanguage() { return this.sourceLanguage; } public TranslateCertificateRequest setTargetLanguage(String targetLanguage) { this.targetLanguage = targetLanguage; return this; } public String getTargetLanguage() { return this.targetLanguage; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateCertificateResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateCertificateResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public TranslateCertificateResponseBody body; public static TranslateCertificateResponse build(java.util.Map<String, ?> map) throws Exception { TranslateCertificateResponse self = new TranslateCertificateResponse(); return TeaModel.build(map, self); } public TranslateCertificateResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public TranslateCertificateResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public TranslateCertificateResponse setBody(TranslateCertificateResponseBody body) { this.body = body; return this; } public TranslateCertificateResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateCertificateResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateCertificateResponseBody extends TeaModel { @NameInMap("Data") public TranslateCertificateResponseBodyData data; /** * <strong>example:</strong> * <p>6640DE48-201C-4110-AE87-FB8FA34412B9</p> */ @NameInMap("RequestId") public String requestId; public static TranslateCertificateResponseBody build(java.util.Map<String, ?> map) throws Exception { TranslateCertificateResponseBody self = new TranslateCertificateResponseBody(); return TeaModel.build(map, self); } public TranslateCertificateResponseBody setData(TranslateCertificateResponseBodyData data) { this.data = data; return this; } public TranslateCertificateResponseBodyData getData() { return this.data; } public TranslateCertificateResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class TranslateCertificateResponseBodyDataTranslatedValues extends TeaModel { @NameInMap("Key") public String key; /** * <strong>example:</strong> * <p>name</p> */ @NameInMap("KeyTranslation") public String keyTranslation; @NameInMap("Value") public String value; /** * <strong>example:</strong> * <p>Solemn</p> */ @NameInMap("ValueTranslation") public String valueTranslation; public static TranslateCertificateResponseBodyDataTranslatedValues build(java.util.Map<String, ?> map) throws Exception { TranslateCertificateResponseBodyDataTranslatedValues self = new TranslateCertificateResponseBodyDataTranslatedValues(); return TeaModel.build(map, self); } public TranslateCertificateResponseBodyDataTranslatedValues setKey(String key) { this.key = key; return this; } public String getKey() { return this.key; } public TranslateCertificateResponseBodyDataTranslatedValues setKeyTranslation(String keyTranslation) { this.keyTranslation = keyTranslation; return this; } public String getKeyTranslation() { return this.keyTranslation; } public TranslateCertificateResponseBodyDataTranslatedValues setValue(String value) { this.value = value; return this; } public String getValue() { return this.value; } public TranslateCertificateResponseBodyDataTranslatedValues setValueTranslation(String valueTranslation) { this.valueTranslation = valueTranslation; return this; } public String getValueTranslation() { return this.valueTranslation; } } public static class TranslateCertificateResponseBodyData extends TeaModel { @NameInMap("TranslatedValues") public java.util.List<TranslateCertificateResponseBodyDataTranslatedValues> translatedValues; public static TranslateCertificateResponseBodyData build(java.util.Map<String, ?> map) throws Exception { TranslateCertificateResponseBodyData self = new TranslateCertificateResponseBodyData(); return TeaModel.build(map, self); } public TranslateCertificateResponseBodyData setTranslatedValues(java.util.List<TranslateCertificateResponseBodyDataTranslatedValues> translatedValues) { this.translatedValues = translatedValues; return this; } public java.util.List<TranslateCertificateResponseBodyDataTranslatedValues> getTranslatedValues() { return this.translatedValues; } } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateECommerceRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateECommerceRequest extends TeaModel { /** * <strong>example:</strong> * <p>context信息</p> */ @NameInMap("Context") public String context; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>text</p> */ @NameInMap("FormatType") public String formatType; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>social</p> */ @NameInMap("Scene") public String scene; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("SourceLanguage") public String sourceLanguage; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>Hello</p> */ @NameInMap("SourceText") public String sourceText; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>zh</p> */ @NameInMap("TargetLanguage") public String targetLanguage; public static TranslateECommerceRequest build(java.util.Map<String, ?> map) throws Exception { TranslateECommerceRequest self = new TranslateECommerceRequest(); return TeaModel.build(map, self); } public TranslateECommerceRequest setContext(String context) { this.context = context; return this; } public String getContext() { return this.context; } public TranslateECommerceRequest setFormatType(String formatType) { this.formatType = formatType; return this; } public String getFormatType() { return this.formatType; } public TranslateECommerceRequest setScene(String scene) { this.scene = scene; return this; } public String getScene() { return this.scene; } public TranslateECommerceRequest setSourceLanguage(String sourceLanguage) { this.sourceLanguage = sourceLanguage; return this; } public String getSourceLanguage() { return this.sourceLanguage; } public TranslateECommerceRequest setSourceText(String sourceText) { this.sourceText = sourceText; return this; } public String getSourceText() { return this.sourceText; } public TranslateECommerceRequest setTargetLanguage(String targetLanguage) { this.targetLanguage = targetLanguage; return this; } public String getTargetLanguage() { return this.targetLanguage; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateECommerceResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateECommerceResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public TranslateECommerceResponseBody body; public static TranslateECommerceResponse build(java.util.Map<String, ?> map) throws Exception { TranslateECommerceResponse self = new TranslateECommerceResponse(); return TeaModel.build(map, self); } public TranslateECommerceResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public TranslateECommerceResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public TranslateECommerceResponse setBody(TranslateECommerceResponseBody body) { this.body = body; return this; } public TranslateECommerceResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateECommerceResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateECommerceResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; @NameInMap("Data") public TranslateECommerceResponseBodyData data; /** * <strong>example:</strong> * <p>An error occurred while translating.</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>CC93BB5C-EAB5-579B-AA44-F61528F48FF8</p> */ @NameInMap("RequestId") public String requestId; public static TranslateECommerceResponseBody build(java.util.Map<String, ?> map) throws Exception { TranslateECommerceResponseBody self = new TranslateECommerceResponseBody(); return TeaModel.build(map, self); } public TranslateECommerceResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public TranslateECommerceResponseBody setData(TranslateECommerceResponseBodyData data) { this.data = data; return this; } public TranslateECommerceResponseBodyData getData() { return this.data; } public TranslateECommerceResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public TranslateECommerceResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class TranslateECommerceResponseBodyData extends TeaModel { @NameInMap("DetectedLanguage") public String detectedLanguage; @NameInMap("Translated") public String translated; /** * <strong>example:</strong> * <p>10</p> */ @NameInMap("WordCount") public String wordCount; public static TranslateECommerceResponseBodyData build(java.util.Map<String, ?> map) throws Exception { TranslateECommerceResponseBodyData self = new TranslateECommerceResponseBodyData(); return TeaModel.build(map, self); } public TranslateECommerceResponseBodyData setDetectedLanguage(String detectedLanguage) { this.detectedLanguage = detectedLanguage; return this; } public String getDetectedLanguage() { return this.detectedLanguage; } public TranslateECommerceResponseBodyData setTranslated(String translated) { this.translated = translated; return this; } public String getTranslated() { return this.translated; } public TranslateECommerceResponseBodyData setWordCount(String wordCount) { this.wordCount = wordCount; return this; } public String getWordCount() { return this.wordCount; } } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateGeneralRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateGeneralRequest extends TeaModel { /** * <strong>example:</strong> * <p>{\&quot;appName\&quot;:\&quot;alynx\&quot;}</p> */ @NameInMap("Context") public String context; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>text</p> */ @NameInMap("FormatType") public String formatType; /** * <strong>example:</strong> * <p>general</p> */ @NameInMap("Scene") public String scene; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>zh</p> */ @NameInMap("SourceLanguage") public String sourceLanguage; /** * <p>This parameter is required.</p> */ @NameInMap("SourceText") public String sourceText; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("TargetLanguage") public String targetLanguage; public static TranslateGeneralRequest build(java.util.Map<String, ?> map) throws Exception { TranslateGeneralRequest self = new TranslateGeneralRequest(); return TeaModel.build(map, self); } public TranslateGeneralRequest setContext(String context) { this.context = context; return this; } public String getContext() { return this.context; } public TranslateGeneralRequest setFormatType(String formatType) { this.formatType = formatType; return this; } public String getFormatType() { return this.formatType; } public TranslateGeneralRequest setScene(String scene) { this.scene = scene; return this; } public String getScene() { return this.scene; } public TranslateGeneralRequest setSourceLanguage(String sourceLanguage) { this.sourceLanguage = sourceLanguage; return this; } public String getSourceLanguage() { return this.sourceLanguage; } public TranslateGeneralRequest setSourceText(String sourceText) { this.sourceText = sourceText; return this; } public String getSourceText() { return this.sourceText; } public TranslateGeneralRequest setTargetLanguage(String targetLanguage) { this.targetLanguage = targetLanguage; return this; } public String getTargetLanguage() { return this.targetLanguage; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateGeneralResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateGeneralResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public TranslateGeneralResponseBody body; public static TranslateGeneralResponse build(java.util.Map<String, ?> map) throws Exception { TranslateGeneralResponse self = new TranslateGeneralResponse(); return TeaModel.build(map, self); } public TranslateGeneralResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public TranslateGeneralResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public TranslateGeneralResponse setBody(TranslateGeneralResponseBody body) { this.body = body; return this; } public TranslateGeneralResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateGeneralResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateGeneralResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; @NameInMap("Data") public TranslateGeneralResponseBodyData data; /** * <strong>example:</strong> * <p>success</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>86D18195-D89C-4C8C-9DC4-5FCE789CE6D5</p> */ @NameInMap("RequestId") public String requestId; public static TranslateGeneralResponseBody build(java.util.Map<String, ?> map) throws Exception { TranslateGeneralResponseBody self = new TranslateGeneralResponseBody(); return TeaModel.build(map, self); } public TranslateGeneralResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public TranslateGeneralResponseBody setData(TranslateGeneralResponseBodyData data) { this.data = data; return this; } public TranslateGeneralResponseBodyData getData() { return this.data; } public TranslateGeneralResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public TranslateGeneralResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class TranslateGeneralResponseBodyData extends TeaModel { @NameInMap("DetectedLanguage") public String detectedLanguage; /** * <strong>example:</strong> * <p>Hello</p> */ @NameInMap("Translated") public String translated; /** * <strong>example:</strong> * <p>10</p> */ @NameInMap("WordCount") public String wordCount; public static TranslateGeneralResponseBodyData build(java.util.Map<String, ?> map) throws Exception { TranslateGeneralResponseBodyData self = new TranslateGeneralResponseBodyData(); return TeaModel.build(map, self); } public TranslateGeneralResponseBodyData setDetectedLanguage(String detectedLanguage) { this.detectedLanguage = detectedLanguage; return this; } public String getDetectedLanguage() { return this.detectedLanguage; } public TranslateGeneralResponseBodyData setTranslated(String translated) { this.translated = translated; return this; } public String getTranslated() { return this.translated; } public TranslateGeneralResponseBodyData setWordCount(String wordCount) { this.wordCount = wordCount; return this; } public String getWordCount() { return this.wordCount; } } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateGeneralVpcRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateGeneralVpcRequest extends TeaModel { @NameInMap("Context") public String context; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>text</p> */ @NameInMap("FormatType") public String formatType; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>general</p> */ @NameInMap("Scene") public String scene; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>zh</p> */ @NameInMap("SourceLanguage") public String sourceLanguage; /** * <p>This parameter is required.</p> */ @NameInMap("SourceText") public String sourceText; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("TargetLanguage") public String targetLanguage; public static TranslateGeneralVpcRequest build(java.util.Map<String, ?> map) throws Exception { TranslateGeneralVpcRequest self = new TranslateGeneralVpcRequest(); return TeaModel.build(map, self); } public TranslateGeneralVpcRequest setContext(String context) { this.context = context; return this; } public String getContext() { return this.context; } public TranslateGeneralVpcRequest setFormatType(String formatType) { this.formatType = formatType; return this; } public String getFormatType() { return this.formatType; } public TranslateGeneralVpcRequest setScene(String scene) { this.scene = scene; return this; } public String getScene() { return this.scene; } public TranslateGeneralVpcRequest setSourceLanguage(String sourceLanguage) { this.sourceLanguage = sourceLanguage; return this; } public String getSourceLanguage() { return this.sourceLanguage; } public TranslateGeneralVpcRequest setSourceText(String sourceText) { this.sourceText = sourceText; return this; } public String getSourceText() { return this.sourceText; } public TranslateGeneralVpcRequest setTargetLanguage(String targetLanguage) { this.targetLanguage = targetLanguage; return this; } public String getTargetLanguage() { return this.targetLanguage; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateGeneralVpcResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateGeneralVpcResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public TranslateGeneralVpcResponseBody body; public static TranslateGeneralVpcResponse build(java.util.Map<String, ?> map) throws Exception { TranslateGeneralVpcResponse self = new TranslateGeneralVpcResponse(); return TeaModel.build(map, self); } public TranslateGeneralVpcResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public TranslateGeneralVpcResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public TranslateGeneralVpcResponse setBody(TranslateGeneralVpcResponseBody body) { this.body = body; return this; } public TranslateGeneralVpcResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateGeneralVpcResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateGeneralVpcResponseBody extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; @NameInMap("Data") public TranslateGeneralVpcResponseBodyData data; /** * <strong>example:</strong> * <p>translate from source to target not support</p> */ @NameInMap("Message") public String message; /** * <p>Id of the request</p> * * <strong>example:</strong> * <p>DC2DCCC9-C3DF-4F59-8D8E-78185729F16D</p> */ @NameInMap("RequestId") public String requestId; public static TranslateGeneralVpcResponseBody build(java.util.Map<String, ?> map) throws Exception { TranslateGeneralVpcResponseBody self = new TranslateGeneralVpcResponseBody(); return TeaModel.build(map, self); } public TranslateGeneralVpcResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public TranslateGeneralVpcResponseBody setData(TranslateGeneralVpcResponseBodyData data) { this.data = data; return this; } public TranslateGeneralVpcResponseBodyData getData() { return this.data; } public TranslateGeneralVpcResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public TranslateGeneralVpcResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class TranslateGeneralVpcResponseBodyData extends TeaModel { /** * <strong>example:</strong> * <p>zh</p> */ @NameInMap("DetectedLanguage") public String detectedLanguage; /** * <strong>example:</strong> * <p>Hello</p> */ @NameInMap("Translated") public String translated; /** * <strong>example:</strong> * <p>10</p> */ @NameInMap("WordCount") public String wordCount; public static TranslateGeneralVpcResponseBodyData build(java.util.Map<String, ?> map) throws Exception { TranslateGeneralVpcResponseBodyData self = new TranslateGeneralVpcResponseBodyData(); return TeaModel.build(map, self); } public TranslateGeneralVpcResponseBodyData setDetectedLanguage(String detectedLanguage) { this.detectedLanguage = detectedLanguage; return this; } public String getDetectedLanguage() { return this.detectedLanguage; } public TranslateGeneralVpcResponseBodyData setTranslated(String translated) { this.translated = translated; return this; } public String getTranslated() { return this.translated; } public TranslateGeneralVpcResponseBodyData setWordCount(String wordCount) { this.wordCount = wordCount; return this; } public String getWordCount() { return this.wordCount; } } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateImageBatchRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateImageBatchRequest extends TeaModel { /** * <strong>example:</strong> * <p>my_awesome_task_1</p> */ @NameInMap("CustomTaskId") public String customTaskId; /** * <strong>example:</strong> * <p>{&quot;needEditorData&quot;: &quot;false&quot;, &quot;ignoreEntityRecognize&quot;: &quot;true&quot;}</p> */ @NameInMap("Ext") public String ext; /** * <strong>example:</strong> * <p>general</p> */ @NameInMap("Field") public String field; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p><a href="https://example.com/1.jpg,https://example.com/2.jpg,https://example.com/3.jpg">https://example.com/1.jpg,https://example.com/2.jpg,https://example.com/3.jpg</a></p> */ @NameInMap("ImageUrls") public String imageUrls; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>zh</p> */ @NameInMap("SourceLanguage") public String sourceLanguage; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("TargetLanguage") public String targetLanguage; public static TranslateImageBatchRequest build(java.util.Map<String, ?> map) throws Exception { TranslateImageBatchRequest self = new TranslateImageBatchRequest(); return TeaModel.build(map, self); } public TranslateImageBatchRequest setCustomTaskId(String customTaskId) { this.customTaskId = customTaskId; return this; } public String getCustomTaskId() { return this.customTaskId; } public TranslateImageBatchRequest setExt(String ext) { this.ext = ext; return this; } public String getExt() { return this.ext; } public TranslateImageBatchRequest setField(String field) { this.field = field; return this; } public String getField() { return this.field; } public TranslateImageBatchRequest setImageUrls(String imageUrls) { this.imageUrls = imageUrls; return this; } public String getImageUrls() { return this.imageUrls; } public TranslateImageBatchRequest setSourceLanguage(String sourceLanguage) { this.sourceLanguage = sourceLanguage; return this; } public String getSourceLanguage() { return this.sourceLanguage; } public TranslateImageBatchRequest setTargetLanguage(String targetLanguage) { this.targetLanguage = targetLanguage; return this; } public String getTargetLanguage() { return this.targetLanguage; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateImageBatchResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateImageBatchResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public TranslateImageBatchResponseBody body; public static TranslateImageBatchResponse build(java.util.Map<String, ?> map) throws Exception { TranslateImageBatchResponse self = new TranslateImageBatchResponse(); return TeaModel.build(map, self); } public TranslateImageBatchResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public TranslateImageBatchResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public TranslateImageBatchResponse setBody(TranslateImageBatchResponseBody body) { this.body = body; return this; } public TranslateImageBatchResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateImageBatchResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateImageBatchResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; @NameInMap("Data") public TranslateImageBatchResponseBodyData data; /** * <strong>example:</strong> * <p>OK</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>D774D33D-F1CB-5A2C-A787-E0A2179239CE</p> */ @NameInMap("RequestId") public String requestId; public static TranslateImageBatchResponseBody build(java.util.Map<String, ?> map) throws Exception { TranslateImageBatchResponseBody self = new TranslateImageBatchResponseBody(); return TeaModel.build(map, self); } public TranslateImageBatchResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public TranslateImageBatchResponseBody setData(TranslateImageBatchResponseBodyData data) { this.data = data; return this; } public TranslateImageBatchResponseBodyData getData() { return this.data; } public TranslateImageBatchResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public TranslateImageBatchResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class TranslateImageBatchResponseBodyData extends TeaModel { /** * <strong>example:</strong> * <p>EEA28E6D-4828-5031-BD8C-8FF1B3216842</p> */ @NameInMap("TaskId") public String taskId; public static TranslateImageBatchResponseBodyData build(java.util.Map<String, ?> map) throws Exception { TranslateImageBatchResponseBodyData self = new TranslateImageBatchResponseBodyData(); return TeaModel.build(map, self); } public TranslateImageBatchResponseBodyData setTaskId(String taskId) { this.taskId = taskId; return this; } public String getTaskId() { return this.taskId; } } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateImageRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateImageRequest extends TeaModel { /** * <strong>example:</strong> * <p>{&quot;needEditorData&quot;: &quot;false&quot;, &quot;ignoreEntityRecognize&quot;: &quot;true&quot;}</p> */ @NameInMap("Ext") public String ext; /** * <strong>example:</strong> * <p>general</p> */ @NameInMap("Field") public String field; /** * <strong>example:</strong> * <p>/9j/4...H/9k=</p> */ @NameInMap("ImageBase64") public String imageBase64; /** * <strong>example:</strong> * <p><a href="https://example.com/example.jpg">https://example.com/example.jpg</a></p> */ @NameInMap("ImageUrl") public String imageUrl; /** * <strong>example:</strong> * <p>zh</p> */ @NameInMap("SourceLanguage") public String sourceLanguage; /** * <strong>example:</strong> * <p>en</p> */ @NameInMap("TargetLanguage") public String targetLanguage; public static TranslateImageRequest build(java.util.Map<String, ?> map) throws Exception { TranslateImageRequest self = new TranslateImageRequest(); return TeaModel.build(map, self); } public TranslateImageRequest setExt(String ext) { this.ext = ext; return this; } public String getExt() { return this.ext; } public TranslateImageRequest setField(String field) { this.field = field; return this; } public String getField() { return this.field; } public TranslateImageRequest setImageBase64(String imageBase64) { this.imageBase64 = imageBase64; return this; } public String getImageBase64() { return this.imageBase64; } public TranslateImageRequest setImageUrl(String imageUrl) { this.imageUrl = imageUrl; return this; } public String getImageUrl() { return this.imageUrl; } public TranslateImageRequest setSourceLanguage(String sourceLanguage) { this.sourceLanguage = sourceLanguage; return this; } public String getSourceLanguage() { return this.sourceLanguage; } public TranslateImageRequest setTargetLanguage(String targetLanguage) { this.targetLanguage = targetLanguage; return this; } public String getTargetLanguage() { return this.targetLanguage; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateImageResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateImageResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public TranslateImageResponseBody body; public static TranslateImageResponse build(java.util.Map<String, ?> map) throws Exception { TranslateImageResponse self = new TranslateImageResponse(); return TeaModel.build(map, self); } public TranslateImageResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public TranslateImageResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public TranslateImageResponse setBody(TranslateImageResponseBody body) { this.body = body; return this; } public TranslateImageResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateImageResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateImageResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; @NameInMap("Data") public TranslateImageResponseBodyData data; /** * <strong>example:</strong> * <p>Error Message</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>D774D33D-F1CB-5A2C-A787-E0A2179239CE</p> */ @NameInMap("RequestId") public String requestId; public static TranslateImageResponseBody build(java.util.Map<String, ?> map) throws Exception { TranslateImageResponseBody self = new TranslateImageResponseBody(); return TeaModel.build(map, self); } public TranslateImageResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public TranslateImageResponseBody setData(TranslateImageResponseBodyData data) { this.data = data; return this; } public TranslateImageResponseBodyData getData() { return this.data; } public TranslateImageResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public TranslateImageResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class TranslateImageResponseBodyData extends TeaModel { /** * <strong>example:</strong> * <p><a href="https://example.com/example.jpg">https://example.com/example.jpg</a></p> */ @NameInMap("FinalImageUrl") public String finalImageUrl; /** * <strong>example:</strong> * <p><a href="https://example.com/example.jpg">https://example.com/example.jpg</a></p> */ @NameInMap("InPaintingUrl") public String inPaintingUrl; /** * <strong>example:</strong> * <p>Editor Template Json String</p> */ @NameInMap("TemplateJson") public String templateJson; public static TranslateImageResponseBodyData build(java.util.Map<String, ?> map) throws Exception { TranslateImageResponseBodyData self = new TranslateImageResponseBodyData(); return TeaModel.build(map, self); } public TranslateImageResponseBodyData setFinalImageUrl(String finalImageUrl) { this.finalImageUrl = finalImageUrl; return this; } public String getFinalImageUrl() { return this.finalImageUrl; } public TranslateImageResponseBodyData setInPaintingUrl(String inPaintingUrl) { this.inPaintingUrl = inPaintingUrl; return this; } public String getInPaintingUrl() { return this.inPaintingUrl; } public TranslateImageResponseBodyData setTemplateJson(String templateJson) { this.templateJson = templateJson; return this; } public String getTemplateJson() { return this.templateJson; } } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateRequest extends TeaModel { /** * <strong>example:</strong> * <p>{\&quot;appName\&quot;:\&quot;alynx\&quot;}</p> */ @NameInMap("Context") public String context; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>text</p> */ @NameInMap("FormatType") public String formatType; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>title</p> */ @NameInMap("Scene") public String scene; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>zh</p> */ @NameInMap("SourceLanguage") public String sourceLanguage; /** * <p>This parameter is required.</p> */ @NameInMap("SourceText") public String sourceText; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("TargetLanguage") public String targetLanguage; public static TranslateRequest build(java.util.Map<String, ?> map) throws Exception { TranslateRequest self = new TranslateRequest(); return TeaModel.build(map, self); } public TranslateRequest setContext(String context) { this.context = context; return this; } public String getContext() { return this.context; } public TranslateRequest setFormatType(String formatType) { this.formatType = formatType; return this; } public String getFormatType() { return this.formatType; } public TranslateRequest setScene(String scene) { this.scene = scene; return this; } public String getScene() { return this.scene; } public TranslateRequest setSourceLanguage(String sourceLanguage) { this.sourceLanguage = sourceLanguage; return this; } public String getSourceLanguage() { return this.sourceLanguage; } public TranslateRequest setSourceText(String sourceText) { this.sourceText = sourceText; return this; } public String getSourceText() { return this.sourceText; } public TranslateRequest setTargetLanguage(String targetLanguage) { this.targetLanguage = targetLanguage; return this; } public String getTargetLanguage() { return this.targetLanguage; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public TranslateResponseBody body; public static TranslateResponse build(java.util.Map<String, ?> map) throws Exception { TranslateResponse self = new TranslateResponse(); return TeaModel.build(map, self); } public TranslateResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public TranslateResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public TranslateResponse setBody(TranslateResponseBody body) { this.body = body; return this; } public TranslateResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateResponseBody extends TeaModel { /** * <strong>example:</strong> * <p>200</p> */ @NameInMap("Code") public Integer code; @NameInMap("Data") public TranslateResponseBodyData data; /** * <strong>example:</strong> * <p>success</p> */ @NameInMap("Message") public String message; /** * <strong>example:</strong> * <p>86D18195-D89C-4C8C-9DC4-5FCE789CE6D5</p> */ @NameInMap("RequestId") public String requestId; public static TranslateResponseBody build(java.util.Map<String, ?> map) throws Exception { TranslateResponseBody self = new TranslateResponseBody(); return TeaModel.build(map, self); } public TranslateResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public TranslateResponseBody setData(TranslateResponseBodyData data) { this.data = data; return this; } public TranslateResponseBodyData getData() { return this.data; } public TranslateResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public TranslateResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class TranslateResponseBodyData extends TeaModel { @NameInMap("DetectedLanguage") public String detectedLanguage; /** * <strong>example:</strong> * <p>Hello</p> */ @NameInMap("Translated") public String translated; /** * <strong>example:</strong> * <p>10</p> */ @NameInMap("WordCount") public String wordCount; public static TranslateResponseBodyData build(java.util.Map<String, ?> map) throws Exception { TranslateResponseBodyData self = new TranslateResponseBodyData(); return TeaModel.build(map, self); } public TranslateResponseBodyData setDetectedLanguage(String detectedLanguage) { this.detectedLanguage = detectedLanguage; return this; } public String getDetectedLanguage() { return this.detectedLanguage; } public TranslateResponseBodyData setTranslated(String translated) { this.translated = translated; return this; } public String getTranslated() { return this.translated; } public TranslateResponseBodyData setWordCount(String wordCount) { this.wordCount = wordCount; return this; } public String getWordCount() { return this.wordCount; } } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateSearchRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateSearchRequest extends TeaModel { /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>text</p> * * <strong>if can be null:</strong> * <p>false</p> */ @NameInMap("FormatType") public String formatType; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>query</p> */ @NameInMap("Scene") public String scene; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>zh</p> * * <strong>if can be null:</strong> * <p>false</p> */ @NameInMap("SourceLanguage") public String sourceLanguage; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>今天天气不错</p> */ @NameInMap("SourceText") public String sourceText; /** * <p>This parameter is required.</p> * * <strong>example:</strong> * <p>en</p> */ @NameInMap("TargetLanguage") public String targetLanguage; public static TranslateSearchRequest build(java.util.Map<String, ?> map) throws Exception { TranslateSearchRequest self = new TranslateSearchRequest(); return TeaModel.build(map, self); } public TranslateSearchRequest setFormatType(String formatType) { this.formatType = formatType; return this; } public String getFormatType() { return this.formatType; } public TranslateSearchRequest setScene(String scene) { this.scene = scene; return this; } public String getScene() { return this.scene; } public TranslateSearchRequest setSourceLanguage(String sourceLanguage) { this.sourceLanguage = sourceLanguage; return this; } public String getSourceLanguage() { return this.sourceLanguage; } public TranslateSearchRequest setSourceText(String sourceText) { this.sourceText = sourceText; return this; } public String getSourceText() { return this.sourceText; } public TranslateSearchRequest setTargetLanguage(String targetLanguage) { this.targetLanguage = targetLanguage; return this; } public String getTargetLanguage() { return this.targetLanguage; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateSearchResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateSearchResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public TranslateSearchResponseBody body; public static TranslateSearchResponse build(java.util.Map<String, ?> map) throws Exception { TranslateSearchResponse self = new TranslateSearchResponse(); return TeaModel.build(map, self); } public TranslateSearchResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public TranslateSearchResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public TranslateSearchResponse setBody(TranslateSearchResponseBody body) { this.body = body; return this; } public TranslateSearchResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012
java-sources/com/aliyun/alimt20181012/1.5.1/com/aliyun/alimt20181012/models/TranslateSearchResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20181012.models; import com.aliyun.tea.*; public class TranslateSearchResponseBody extends TeaModel { @NameInMap("Code") public String code; @NameInMap("Data") public TranslateSearchResponseBodyData data; @NameInMap("Message") public String message; @NameInMap("RequestId") public String requestId; public static TranslateSearchResponseBody build(java.util.Map<String, ?> map) throws Exception { TranslateSearchResponseBody self = new TranslateSearchResponseBody(); return TeaModel.build(map, self); } public TranslateSearchResponseBody setCode(String code) { this.code = code; return this; } public String getCode() { return this.code; } public TranslateSearchResponseBody setData(TranslateSearchResponseBodyData data) { this.data = data; return this; } public TranslateSearchResponseBodyData getData() { return this.data; } public TranslateSearchResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public TranslateSearchResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class TranslateSearchResponseBodyData extends TeaModel { @NameInMap("Translated") public String translated; public static TranslateSearchResponseBodyData build(java.util.Map<String, ?> map) throws Exception { TranslateSearchResponseBodyData self = new TranslateSearchResponseBodyData(); return TeaModel.build(map, self); } public TranslateSearchResponseBodyData setTranslated(String translated) { this.translated = translated; return this; } public String getTranslated() { return this.translated; } } }
0
java-sources/com/aliyun/alimt20190102/1.0.0/com/aliyun
java-sources/com/aliyun/alimt20190102/1.0.0/com/aliyun/alimt20190102/Client.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20190102; import com.aliyun.tea.*; import com.aliyun.alimt20190102.models.*; public class Client extends com.aliyun.teaopenapi.Client { public Client(com.aliyun.teaopenapi.models.Config config) throws Exception { super(config); this._endpointRule = "regional"; this._endpointMap = TeaConverter.buildMap( new TeaPair("cn-hangzhou", "mt.cn-hangzhou.aliyuncs.com"), new TeaPair("ap-northeast-1", "mt.aliyuncs.com"), new TeaPair("ap-northeast-2-pop", "mt.aliyuncs.com"), new TeaPair("ap-south-1", "mt.aliyuncs.com"), new TeaPair("ap-southeast-1", "mt.ap-southeast-1.aliyuncs.com"), new TeaPair("ap-southeast-2", "mt.aliyuncs.com"), new TeaPair("ap-southeast-3", "mt.aliyuncs.com"), new TeaPair("ap-southeast-5", "mt.aliyuncs.com"), new TeaPair("cn-beijing", "mt.aliyuncs.com"), new TeaPair("cn-beijing-finance-1", "mt.aliyuncs.com"), new TeaPair("cn-beijing-finance-pop", "mt.aliyuncs.com"), new TeaPair("cn-beijing-gov-1", "mt.aliyuncs.com"), new TeaPair("cn-beijing-nu16-b01", "mt.aliyuncs.com"), new TeaPair("cn-chengdu", "mt.aliyuncs.com"), new TeaPair("cn-edge-1", "mt.aliyuncs.com"), new TeaPair("cn-fujian", "mt.aliyuncs.com"), new TeaPair("cn-haidian-cm12-c01", "mt.aliyuncs.com"), new TeaPair("cn-hangzhou-bj-b01", "mt.aliyuncs.com"), new TeaPair("cn-hangzhou-finance", "mt.aliyuncs.com"), new TeaPair("cn-hangzhou-internal-prod-1", "mt.aliyuncs.com"), new TeaPair("cn-hangzhou-internal-test-1", "mt.aliyuncs.com"), new TeaPair("cn-hangzhou-internal-test-2", "mt.aliyuncs.com"), new TeaPair("cn-hangzhou-internal-test-3", "mt.aliyuncs.com"), new TeaPair("cn-hangzhou-test-306", "mt.aliyuncs.com"), new TeaPair("cn-hongkong", "mt.aliyuncs.com"), new TeaPair("cn-hongkong-finance-pop", "mt.aliyuncs.com"), new TeaPair("cn-huhehaote", "mt.aliyuncs.com"), new TeaPair("cn-north-2-gov-1", "mt.aliyuncs.com"), new TeaPair("cn-qingdao", "mt.aliyuncs.com"), new TeaPair("cn-qingdao-nebula", "mt.aliyuncs.com"), new TeaPair("cn-shanghai", "mt.aliyuncs.com"), new TeaPair("cn-shanghai-et15-b01", "mt.aliyuncs.com"), new TeaPair("cn-shanghai-et2-b01", "mt.aliyuncs.com"), new TeaPair("cn-shanghai-finance-1", "mt.aliyuncs.com"), new TeaPair("cn-shanghai-inner", "mt.aliyuncs.com"), new TeaPair("cn-shanghai-internal-test-1", "mt.aliyuncs.com"), new TeaPair("cn-shenzhen", "mt.aliyuncs.com"), new TeaPair("cn-shenzhen-finance-1", "mt.aliyuncs.com"), new TeaPair("cn-shenzhen-inner", "mt.aliyuncs.com"), new TeaPair("cn-shenzhen-st4-d01", "mt.aliyuncs.com"), new TeaPair("cn-shenzhen-su18-b01", "mt.aliyuncs.com"), new TeaPair("cn-wuhan", "mt.aliyuncs.com"), new TeaPair("cn-yushanfang", "mt.aliyuncs.com"), new TeaPair("cn-zhangbei-na61-b01", "mt.aliyuncs.com"), new TeaPair("cn-zhangjiakou", "mt.aliyuncs.com"), new TeaPair("cn-zhangjiakou-na62-a01", "mt.aliyuncs.com"), new TeaPair("cn-zhengzhou-nebula-1", "mt.aliyuncs.com"), new TeaPair("eu-central-1", "mt.aliyuncs.com"), new TeaPair("eu-west-1", "mt.aliyuncs.com"), new TeaPair("eu-west-1-oxs", "mt.aliyuncs.com"), new TeaPair("me-east-1", "mt.aliyuncs.com"), new TeaPair("rus-west-1-pop", "mt.aliyuncs.com"), new TeaPair("us-east-1", "mt.aliyuncs.com"), new TeaPair("us-west-1", "mt.aliyuncs.com") ); this.checkConfig(config); this._endpoint = this.getEndpoint("alimt", _regionId, _endpointRule, _network, _suffix, _endpointMap, _endpoint); } public String getEndpoint(String productId, String regionId, String endpointRule, String network, String suffix, java.util.Map<String, String> endpointMap, String endpoint) throws Exception { if (!com.aliyun.teautil.Common.empty(endpoint)) { return endpoint; } if (!com.aliyun.teautil.Common.isUnset(endpointMap) && !com.aliyun.teautil.Common.empty(endpointMap.get(regionId))) { return endpointMap.get(regionId); } return com.aliyun.endpointutil.Client.getEndpointRules(productId, regionId, endpointRule, network, suffix); } /** * @param headers map * @param runtime runtime options for this request RuntimeOptions * @return GetResourceResponse */ public GetResourceResponse getResourceWithOptions(java.util.Map<String, String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", headers) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetResource"), new TeaPair("version", "2019-01-02"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/api/resource"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetResourceResponse()); } /** * @return GetResourceResponse */ public GetResourceResponse getResource() throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); java.util.Map<String, String> headers = new java.util.HashMap<>(); return this.getResourceWithOptions(headers, runtime); } /** * @summary 获取系统模型和AI模型 * * @param request ListMtConnectorRequest * @param headers map * @param runtime runtime options for this request RuntimeOptions * @return ListMtConnectorResponse */ public ListMtConnectorResponse listMtConnectorWithOptions(ListMtConnectorRequest request, java.util.Map<String, String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.userId)) { query.put("UserId", request.userId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", headers), new TeaPair("query", com.aliyun.openapiutil.Client.query(query)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ListMtConnector"), new TeaPair("version", "2019-01-02"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/api/alynx/listMtModels"), new TeaPair("method", "GET"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ListMtConnectorResponse()); } /** * @summary 获取系统模型和AI模型 * * @param request ListMtConnectorRequest * @return ListMtConnectorResponse */ public ListMtConnectorResponse listMtConnector(ListMtConnectorRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); java.util.Map<String, String> headers = new java.util.HashMap<>(); return this.listMtConnectorWithOptions(request, headers, runtime); } /** * @param headers map * @param runtime runtime options for this request RuntimeOptions * @return TranslateECommerceResponse */ public TranslateECommerceResponse translateECommerceWithOptions(java.util.Map<String, String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", headers) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "TranslateECommerce"), new TeaPair("version", "2019-01-02"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/api/translate/web/ecommerce"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new TranslateECommerceResponse()); } /** * @return TranslateECommerceResponse */ public TranslateECommerceResponse translateECommerce() throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); java.util.Map<String, String> headers = new java.util.HashMap<>(); return this.translateECommerceWithOptions(headers, runtime); } /** * @param headers map * @param runtime runtime options for this request RuntimeOptions * @return TranslateGeneralResponse */ public TranslateGeneralResponse translateGeneralWithOptions(java.util.Map<String, String> headers, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("headers", headers) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "TranslateGeneral"), new TeaPair("version", "2019-01-02"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/api/translate/web/general"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "ROA"), new TeaPair("reqBodyType", "json"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new TranslateGeneralResponse()); } /** * @return TranslateGeneralResponse */ public TranslateGeneralResponse translateGeneral() throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); java.util.Map<String, String> headers = new java.util.HashMap<>(); return this.translateGeneralWithOptions(headers, runtime); } }
0
java-sources/com/aliyun/alimt20190102/1.0.0/com/aliyun/alimt20190102
java-sources/com/aliyun/alimt20190102/1.0.0/com/aliyun/alimt20190102/models/GetResourceResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20190102.models; import com.aliyun.tea.*; public class GetResourceResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public GetResourceResponseBody body; public static GetResourceResponse build(java.util.Map<String, ?> map) throws Exception { GetResourceResponse self = new GetResourceResponse(); return TeaModel.build(map, self); } public GetResourceResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public GetResourceResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public GetResourceResponse setBody(GetResourceResponseBody body) { this.body = body; return this; } public GetResourceResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alimt20190102/1.0.0/com/aliyun/alimt20190102
java-sources/com/aliyun/alimt20190102/1.0.0/com/aliyun/alimt20190102/models/GetResourceResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20190102.models; import com.aliyun.tea.*; public class GetResourceResponseBody extends TeaModel { @NameInMap("Code") public String code; @NameInMap("Data") public String data; @NameInMap("Message") public String message; @NameInMap("RequestId") public String requestId; public static GetResourceResponseBody build(java.util.Map<String, ?> map) throws Exception { GetResourceResponseBody self = new GetResourceResponseBody(); return TeaModel.build(map, self); } public GetResourceResponseBody setCode(String code) { this.code = code; return this; } public String getCode() { return this.code; } public GetResourceResponseBody setData(String data) { this.data = data; return this; } public String getData() { return this.data; } public GetResourceResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public GetResourceResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alimt20190102/1.0.0/com/aliyun/alimt20190102
java-sources/com/aliyun/alimt20190102/1.0.0/com/aliyun/alimt20190102/models/ListMtConnectorRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20190102.models; import com.aliyun.tea.*; public class ListMtConnectorRequest extends TeaModel { @NameInMap("UserId") public Long userId; public static ListMtConnectorRequest build(java.util.Map<String, ?> map) throws Exception { ListMtConnectorRequest self = new ListMtConnectorRequest(); return TeaModel.build(map, self); } public ListMtConnectorRequest setUserId(Long userId) { this.userId = userId; return this; } public Long getUserId() { return this.userId; } }
0
java-sources/com/aliyun/alimt20190102/1.0.0/com/aliyun/alimt20190102
java-sources/com/aliyun/alimt20190102/1.0.0/com/aliyun/alimt20190102/models/ListMtConnectorResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20190102.models; import com.aliyun.tea.*; public class ListMtConnectorResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public ListMtConnectorResponseBody body; public static ListMtConnectorResponse build(java.util.Map<String, ?> map) throws Exception { ListMtConnectorResponse self = new ListMtConnectorResponse(); return TeaModel.build(map, self); } public ListMtConnectorResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public ListMtConnectorResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public ListMtConnectorResponse setBody(ListMtConnectorResponseBody body) { this.body = body; return this; } public ListMtConnectorResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alimt20190102/1.0.0/com/aliyun/alimt20190102
java-sources/com/aliyun/alimt20190102/1.0.0/com/aliyun/alimt20190102/models/ListMtConnectorResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20190102.models; import com.aliyun.tea.*; public class ListMtConnectorResponseBody extends TeaModel { @NameInMap("RequestId") public String requestId; @NameInMap("bizErrorCode") public Long bizErrorCode; @NameInMap("data") public java.util.List<ListMtConnectorResponseBodyData> data; @NameInMap("errorMessage") public String errorMessage; @NameInMap("success") public String success; public static ListMtConnectorResponseBody build(java.util.Map<String, ?> map) throws Exception { ListMtConnectorResponseBody self = new ListMtConnectorResponseBody(); return TeaModel.build(map, self); } public ListMtConnectorResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public ListMtConnectorResponseBody setBizErrorCode(Long bizErrorCode) { this.bizErrorCode = bizErrorCode; return this; } public Long getBizErrorCode() { return this.bizErrorCode; } public ListMtConnectorResponseBody setData(java.util.List<ListMtConnectorResponseBodyData> data) { this.data = data; return this; } public java.util.List<ListMtConnectorResponseBodyData> getData() { return this.data; } public ListMtConnectorResponseBody setErrorMessage(String errorMessage) { this.errorMessage = errorMessage; return this; } public String getErrorMessage() { return this.errorMessage; } public ListMtConnectorResponseBody setSuccess(String success) { this.success = success; return this; } public String getSuccess() { return this.success; } public static class ListMtConnectorResponseBodyData extends TeaModel { @NameInMap("key") public String key; @NameInMap("value") public String value; public static ListMtConnectorResponseBodyData build(java.util.Map<String, ?> map) throws Exception { ListMtConnectorResponseBodyData self = new ListMtConnectorResponseBodyData(); return TeaModel.build(map, self); } public ListMtConnectorResponseBodyData setKey(String key) { this.key = key; return this; } public String getKey() { return this.key; } public ListMtConnectorResponseBodyData setValue(String value) { this.value = value; return this; } public String getValue() { return this.value; } } }
0
java-sources/com/aliyun/alimt20190102/1.0.0/com/aliyun/alimt20190102
java-sources/com/aliyun/alimt20190102/1.0.0/com/aliyun/alimt20190102/models/TranslateECommerceResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20190102.models; import com.aliyun.tea.*; public class TranslateECommerceResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public TranslateECommerceResponseBody body; public static TranslateECommerceResponse build(java.util.Map<String, ?> map) throws Exception { TranslateECommerceResponse self = new TranslateECommerceResponse(); return TeaModel.build(map, self); } public TranslateECommerceResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public TranslateECommerceResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public TranslateECommerceResponse setBody(TranslateECommerceResponseBody body) { this.body = body; return this; } public TranslateECommerceResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alimt20190102/1.0.0/com/aliyun/alimt20190102
java-sources/com/aliyun/alimt20190102/1.0.0/com/aliyun/alimt20190102/models/TranslateECommerceResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20190102.models; import com.aliyun.tea.*; public class TranslateECommerceResponseBody extends TeaModel { @NameInMap("Code") public String code; @NameInMap("Data") public TranslateECommerceResponseBodyData data; @NameInMap("Message") public String message; @NameInMap("RequestId") public String requestId; public static TranslateECommerceResponseBody build(java.util.Map<String, ?> map) throws Exception { TranslateECommerceResponseBody self = new TranslateECommerceResponseBody(); return TeaModel.build(map, self); } public TranslateECommerceResponseBody setCode(String code) { this.code = code; return this; } public String getCode() { return this.code; } public TranslateECommerceResponseBody setData(TranslateECommerceResponseBodyData data) { this.data = data; return this; } public TranslateECommerceResponseBodyData getData() { return this.data; } public TranslateECommerceResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public TranslateECommerceResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class TranslateECommerceResponseBodyData extends TeaModel { @NameInMap("Translated") public String translated; @NameInMap("WordCount") public String wordCount; public static TranslateECommerceResponseBodyData build(java.util.Map<String, ?> map) throws Exception { TranslateECommerceResponseBodyData self = new TranslateECommerceResponseBodyData(); return TeaModel.build(map, self); } public TranslateECommerceResponseBodyData setTranslated(String translated) { this.translated = translated; return this; } public String getTranslated() { return this.translated; } public TranslateECommerceResponseBodyData setWordCount(String wordCount) { this.wordCount = wordCount; return this; } public String getWordCount() { return this.wordCount; } } }
0
java-sources/com/aliyun/alimt20190102/1.0.0/com/aliyun/alimt20190102
java-sources/com/aliyun/alimt20190102/1.0.0/com/aliyun/alimt20190102/models/TranslateGeneralResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20190102.models; import com.aliyun.tea.*; public class TranslateGeneralResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public TranslateGeneralResponseBody body; public static TranslateGeneralResponse build(java.util.Map<String, ?> map) throws Exception { TranslateGeneralResponse self = new TranslateGeneralResponse(); return TeaModel.build(map, self); } public TranslateGeneralResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public TranslateGeneralResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public TranslateGeneralResponse setBody(TranslateGeneralResponseBody body) { this.body = body; return this; } public TranslateGeneralResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alimt20190102/1.0.0/com/aliyun/alimt20190102
java-sources/com/aliyun/alimt20190102/1.0.0/com/aliyun/alimt20190102/models/TranslateGeneralResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alimt20190102.models; import com.aliyun.tea.*; public class TranslateGeneralResponseBody extends TeaModel { @NameInMap("Code") public String code; @NameInMap("Data") public TranslateGeneralResponseBodyData data; @NameInMap("Message") public String message; @NameInMap("RequestId") public String requestId; public static TranslateGeneralResponseBody build(java.util.Map<String, ?> map) throws Exception { TranslateGeneralResponseBody self = new TranslateGeneralResponseBody(); return TeaModel.build(map, self); } public TranslateGeneralResponseBody setCode(String code) { this.code = code; return this; } public String getCode() { return this.code; } public TranslateGeneralResponseBody setData(TranslateGeneralResponseBodyData data) { this.data = data; return this; } public TranslateGeneralResponseBodyData getData() { return this.data; } public TranslateGeneralResponseBody setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } public TranslateGeneralResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public static class TranslateGeneralResponseBodyData extends TeaModel { @NameInMap("Translated") public String translated; @NameInMap("WordCount") public String wordCount; public static TranslateGeneralResponseBodyData build(java.util.Map<String, ?> map) throws Exception { TranslateGeneralResponseBodyData self = new TranslateGeneralResponseBodyData(); return TeaModel.build(map, self); } public TranslateGeneralResponseBodyData setTranslated(String translated) { this.translated = translated; return this; } public String getTranslated() { return this.translated; } public TranslateGeneralResponseBodyData setWordCount(String wordCount) { this.wordCount = wordCount; return this; } public String getWordCount() { return this.wordCount; } } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/Client.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629; import com.aliyun.tea.*; import com.aliyun.alinlp20200629.models.*; public class Client extends com.aliyun.teaopenapi.Client { public Client(com.aliyun.teaopenapi.models.Config config) throws Exception { super(config); this._endpointRule = "regional"; this.checkConfig(config); this._endpoint = this.getEndpoint("alinlp", _regionId, _endpointRule, _network, _suffix, _endpointMap, _endpoint); } public String getEndpoint(String productId, String regionId, String endpointRule, String network, String suffix, java.util.Map<String, String> endpointMap, String endpoint) throws Exception { if (!com.aliyun.teautil.Common.empty(endpoint)) { return endpoint; } if (!com.aliyun.teautil.Common.isUnset(endpointMap) && !com.aliyun.teautil.Common.empty(endpointMap.get(regionId))) { return endpointMap.get(regionId); } return com.aliyun.endpointutil.Client.getEndpointRules(productId, regionId, endpointRule, network, suffix); } /** * @summary ad画钟算法处理算法 * * @param request ADClockRequest * @param runtime runtime options for this request RuntimeOptions * @return ADClockResponse */ public ADClockResponse aDClockWithOptions(ADClockRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.params)) { body.put("Params", request.params); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ADClock"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ADClockResponse()); } /** * @summary ad画钟算法处理算法 * * @param request ADClockRequest * @return ADClockResponse */ public ADClockResponse aDClock(ADClockRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.aDClockWithOptions(request, runtime); } /** * @summary ad语音处理算法 * * @param request ADMMURequest * @param runtime runtime options for this request RuntimeOptions * @return ADMMUResponse */ public ADMMUResponse aDMMUWithOptions(ADMMURequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.params)) { body.put("Params", request.params); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ADMMU"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ADMMUResponse()); } /** * @summary ad语音处理算法 * * @param request ADMMURequest * @return ADMMUResponse */ public ADMMUResponse aDMMU(ADMMURequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.aDMMUWithOptions(request, runtime); } /** * @summary AD筛查能力,处理用户传入的答题音频和画钟图片从而计算风险结果 * * @param request ADMiniCogRequest * @param runtime runtime options for this request RuntimeOptions * @return ADMiniCogResponse */ public ADMiniCogResponse aDMiniCogWithOptions(ADMiniCogRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.params)) { body.put("Params", request.params); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ADMiniCog"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ADMiniCogResponse()); } /** * @summary AD筛查能力,处理用户传入的答题音频和画钟图片从而计算风险结果 * * @param request ADMiniCogRequest * @return ADMiniCogResponse */ public ADMiniCogResponse aDMiniCog(ADMiniCogRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.aDMiniCogWithOptions(request, runtime); } /** * @summary AD筛查能力,提供给用户查询筛查结果,筛查结果来源自接口ADMIniCog * * @param request ADMiniCogResultRequest * @param runtime runtime options for this request RuntimeOptions * @return ADMiniCogResultResponse */ public ADMiniCogResultResponse aDMiniCogResultWithOptions(ADMiniCogResultRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.params)) { body.put("Params", request.params); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ADMiniCogResult"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ADMiniCogResultResponse()); } /** * @summary AD筛查能力,提供给用户查询筛查结果,筛查结果来源自接口ADMIniCog * * @param request ADMiniCogResultRequest * @return ADMiniCogResultResponse */ public ADMiniCogResultResponse aDMiniCogResult(ADMiniCogResultRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.aDMiniCogResultWithOptions(request, runtime); } /** * @summary 根据条件删除服务数据 * * @param tmpReq DeleteServiceDataByConditionsRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteServiceDataByConditionsResponse */ public DeleteServiceDataByConditionsResponse deleteServiceDataByConditionsWithOptions(DeleteServiceDataByConditionsRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); DeleteServiceDataByConditionsShrinkRequest request = new DeleteServiceDataByConditionsShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.conditions)) { request.conditionsShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.conditions, "Conditions", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.conditionsShrink)) { body.put("Conditions", request.conditionsShrink); } if (!com.aliyun.teautil.Common.isUnset(request.serviceId)) { body.put("ServiceId", request.serviceId); } if (!com.aliyun.teautil.Common.isUnset(request.xDashScopeOpenAPISource)) { body.put("X-DashScope-OpenAPISource", request.xDashScopeOpenAPISource); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteServiceDataByConditions"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteServiceDataByConditionsResponse()); } /** * @summary 根据条件删除服务数据 * * @param request DeleteServiceDataByConditionsRequest * @return DeleteServiceDataByConditionsResponse */ public DeleteServiceDataByConditionsResponse deleteServiceDataByConditions(DeleteServiceDataByConditionsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteServiceDataByConditionsWithOptions(request, runtime); } /** * @summary 根据ids删除服务数据 * * @param tmpReq DeleteServiceDataByIdsRequest * @param runtime runtime options for this request RuntimeOptions * @return DeleteServiceDataByIdsResponse */ public DeleteServiceDataByIdsResponse deleteServiceDataByIdsWithOptions(DeleteServiceDataByIdsRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); DeleteServiceDataByIdsShrinkRequest request = new DeleteServiceDataByIdsShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.ids)) { request.idsShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.ids, "Ids", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.idsShrink)) { body.put("Ids", request.idsShrink); } if (!com.aliyun.teautil.Common.isUnset(request.serviceId)) { body.put("ServiceId", request.serviceId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "DeleteServiceDataByIds"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new DeleteServiceDataByIdsResponse()); } /** * @summary 根据ids删除服务数据 * * @param request DeleteServiceDataByIdsRequest * @return DeleteServiceDataByIdsResponse */ public DeleteServiceDataByIdsResponse deleteServiceDataByIds(DeleteServiceDataByIdsRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.deleteServiceDataByIdsWithOptions(request, runtime); } /** * @summary 品牌预测 * * @param request GetBrandChEcomRequest * @param runtime runtime options for this request RuntimeOptions * @return GetBrandChEcomResponse */ public GetBrandChEcomResponse getBrandChEcomWithOptions(GetBrandChEcomRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.imageUrl)) { body.put("ImageUrl", request.imageUrl); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetBrandChEcom"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetBrandChEcomResponse()); } /** * @summary 品牌预测 * * @param request GetBrandChEcomRequest * @return GetBrandChEcomResponse */ public GetBrandChEcomResponse getBrandChEcom(GetBrandChEcomRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getBrandChEcomWithOptions(request, runtime); } /** * @summary 类目预测 * * @param request GetCateChEcomRequest * @param runtime runtime options for this request RuntimeOptions * @return GetCateChEcomResponse */ public GetCateChEcomResponse getCateChEcomWithOptions(GetCateChEcomRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.imageUrl)) { body.put("ImageUrl", request.imageUrl); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetCateChEcom"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetCateChEcomResponse()); } /** * @summary 类目预测 * * @param request GetCateChEcomRequest * @return GetCateChEcomResponse */ public GetCateChEcomResponse getCateChEcom(GetCateChEcomRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getCateChEcomWithOptions(request, runtime); } /** * @param request GetCheckDuplicationChMedicalRequest * @param runtime runtime options for this request RuntimeOptions * @return GetCheckDuplicationChMedicalResponse */ public GetCheckDuplicationChMedicalResponse getCheckDuplicationChMedicalWithOptions(GetCheckDuplicationChMedicalRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.originQ)) { body.put("OriginQ", request.originQ); } if (!com.aliyun.teautil.Common.isUnset(request.originT)) { body.put("OriginT", request.originT); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetCheckDuplicationChMedical"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetCheckDuplicationChMedicalResponse()); } /** * @param request GetCheckDuplicationChMedicalRequest * @return GetCheckDuplicationChMedicalResponse */ public GetCheckDuplicationChMedicalResponse getCheckDuplicationChMedical(GetCheckDuplicationChMedicalRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getCheckDuplicationChMedicalWithOptions(request, runtime); } /** * @param request GetDiagnosisChMedicalRequest * @param runtime runtime options for this request RuntimeOptions * @return GetDiagnosisChMedicalResponse */ public GetDiagnosisChMedicalResponse getDiagnosisChMedicalWithOptions(GetDiagnosisChMedicalRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.name)) { body.put("Name", request.name); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetDiagnosisChMedical"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetDiagnosisChMedicalResponse()); } /** * @param request GetDiagnosisChMedicalRequest * @return GetDiagnosisChMedicalResponse */ public GetDiagnosisChMedicalResponse getDiagnosisChMedical(GetDiagnosisChMedicalRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getDiagnosisChMedicalWithOptions(request, runtime); } /** * @param request GetDpChEcomRequest * @param runtime runtime options for this request RuntimeOptions * @return GetDpChEcomResponse */ public GetDpChEcomResponse getDpChEcomWithOptions(GetDpChEcomRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetDpChEcom"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetDpChEcomResponse()); } /** * @param request GetDpChEcomRequest * @return GetDpChEcomResponse */ public GetDpChEcomResponse getDpChEcom(GetDpChEcomRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getDpChEcomWithOptions(request, runtime); } /** * @param request GetDpChGeneralCTBRequest * @param runtime runtime options for this request RuntimeOptions * @return GetDpChGeneralCTBResponse */ public GetDpChGeneralCTBResponse getDpChGeneralCTBWithOptions(GetDpChGeneralCTBRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetDpChGeneralCTB"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetDpChGeneralCTBResponse()); } /** * @param request GetDpChGeneralCTBRequest * @return GetDpChGeneralCTBResponse */ public GetDpChGeneralCTBResponse getDpChGeneralCTB(GetDpChGeneralCTBRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getDpChGeneralCTBWithOptions(request, runtime); } /** * @param request GetDpChGeneralStanfordRequest * @param runtime runtime options for this request RuntimeOptions * @return GetDpChGeneralStanfordResponse */ public GetDpChGeneralStanfordResponse getDpChGeneralStanfordWithOptions(GetDpChGeneralStanfordRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetDpChGeneralStanford"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetDpChGeneralStanfordResponse()); } /** * @param request GetDpChGeneralStanfordRequest * @return GetDpChGeneralStanfordResponse */ public GetDpChGeneralStanfordResponse getDpChGeneralStanford(GetDpChGeneralStanfordRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getDpChGeneralStanfordWithOptions(request, runtime); } /** * @param request GetEcChGeneralRequest * @param runtime runtime options for this request RuntimeOptions * @return GetEcChGeneralResponse */ public GetEcChGeneralResponse getEcChGeneralWithOptions(GetEcChGeneralRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetEcChGeneral"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetEcChGeneralResponse()); } /** * @param request GetEcChGeneralRequest * @return GetEcChGeneralResponse */ public GetEcChGeneralResponse getEcChGeneral(GetEcChGeneralRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getEcChGeneralWithOptions(request, runtime); } /** * @param request GetEcEnGeneralRequest * @param runtime runtime options for this request RuntimeOptions * @return GetEcEnGeneralResponse */ public GetEcEnGeneralResponse getEcEnGeneralWithOptions(GetEcEnGeneralRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetEcEnGeneral"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetEcEnGeneralResponse()); } /** * @param request GetEcEnGeneralRequest * @return GetEcEnGeneralResponse */ public GetEcEnGeneralResponse getEcEnGeneral(GetEcEnGeneralRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getEcEnGeneralWithOptions(request, runtime); } /** * @summary embedding * * @param request GetEmbeddingRequest * @param runtime runtime options for this request RuntimeOptions * @return GetEmbeddingResponse */ public GetEmbeddingResponse getEmbeddingWithOptions(GetEmbeddingRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } if (!com.aliyun.teautil.Common.isUnset(request.textType)) { body.put("TextType", request.textType); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetEmbedding"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetEmbeddingResponse()); } /** * @summary embedding * * @param request GetEmbeddingRequest * @return GetEmbeddingResponse */ public GetEmbeddingResponse getEmbedding(GetEmbeddingRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getEmbeddingWithOptions(request, runtime); } /** * @summary 微购整合接口 * * @param request GetItemPubChEcomRequest * @param runtime runtime options for this request RuntimeOptions * @return GetItemPubChEcomResponse */ public GetItemPubChEcomResponse getItemPubChEcomWithOptions(GetItemPubChEcomRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.imageUrl)) { body.put("ImageUrl", request.imageUrl); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetItemPubChEcom"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetItemPubChEcomResponse()); } /** * @summary 微购整合接口 * * @param request GetItemPubChEcomRequest * @return GetItemPubChEcomResponse */ public GetItemPubChEcomResponse getItemPubChEcom(GetItemPubChEcomRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getItemPubChEcomWithOptions(request, runtime); } /** * @param request GetKeywordChEcomRequest * @param runtime runtime options for this request RuntimeOptions * @return GetKeywordChEcomResponse */ public GetKeywordChEcomResponse getKeywordChEcomWithOptions(GetKeywordChEcomRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.apiVersion)) { body.put("ApiVersion", request.apiVersion); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetKeywordChEcom"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetKeywordChEcomResponse()); } /** * @param request GetKeywordChEcomRequest * @return GetKeywordChEcomResponse */ public GetKeywordChEcomResponse getKeywordChEcom(GetKeywordChEcomRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getKeywordChEcomWithOptions(request, runtime); } /** * @param request GetKeywordEnEcomRequest * @param runtime runtime options for this request RuntimeOptions * @return GetKeywordEnEcomResponse */ public GetKeywordEnEcomResponse getKeywordEnEcomWithOptions(GetKeywordEnEcomRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetKeywordEnEcom"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetKeywordEnEcomResponse()); } /** * @param request GetKeywordEnEcomRequest * @return GetKeywordEnEcomResponse */ public GetKeywordEnEcomResponse getKeywordEnEcom(GetKeywordEnEcomRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getKeywordEnEcomWithOptions(request, runtime); } /** * @param request GetMedicineChMedicalRequest * @param runtime runtime options for this request RuntimeOptions * @return GetMedicineChMedicalResponse */ public GetMedicineChMedicalResponse getMedicineChMedicalWithOptions(GetMedicineChMedicalRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.factory)) { body.put("Factory", request.factory); } if (!com.aliyun.teautil.Common.isUnset(request.name)) { body.put("Name", request.name); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.specification)) { body.put("Specification", request.specification); } if (!com.aliyun.teautil.Common.isUnset(request.unit)) { body.put("Unit", request.unit); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetMedicineChMedical"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetMedicineChMedicalResponse()); } /** * @param request GetMedicineChMedicalRequest * @return GetMedicineChMedicalResponse */ public GetMedicineChMedicalResponse getMedicineChMedical(GetMedicineChMedicalRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getMedicineChMedicalWithOptions(request, runtime); } /** * @param request GetNerChEcomRequest * @param runtime runtime options for this request RuntimeOptions * @return GetNerChEcomResponse */ public GetNerChEcomResponse getNerChEcomWithOptions(GetNerChEcomRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lexerId)) { body.put("LexerId", request.lexerId); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetNerChEcom"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetNerChEcomResponse()); } /** * @param request GetNerChEcomRequest * @return GetNerChEcomResponse */ public GetNerChEcomResponse getNerChEcom(GetNerChEcomRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getNerChEcomWithOptions(request, runtime); } /** * @param request GetNerChMedicalRequest * @param runtime runtime options for this request RuntimeOptions * @return GetNerChMedicalResponse */ public GetNerChMedicalResponse getNerChMedicalWithOptions(GetNerChMedicalRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetNerChMedical"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetNerChMedicalResponse()); } /** * @param request GetNerChMedicalRequest * @return GetNerChMedicalResponse */ public GetNerChMedicalResponse getNerChMedical(GetNerChMedicalRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getNerChMedicalWithOptions(request, runtime); } /** * @param request GetNerCustomizedChEcomRequest * @param runtime runtime options for this request RuntimeOptions * @return GetNerCustomizedChEcomResponse */ public GetNerCustomizedChEcomResponse getNerCustomizedChEcomWithOptions(GetNerCustomizedChEcomRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.lexerId)) { body.put("LexerId", request.lexerId); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetNerCustomizedChEcom"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetNerCustomizedChEcomResponse()); } /** * @param request GetNerCustomizedChEcomRequest * @return GetNerCustomizedChEcomResponse */ public GetNerCustomizedChEcomResponse getNerCustomizedChEcom(GetNerCustomizedChEcomRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getNerCustomizedChEcomWithOptions(request, runtime); } /** * @param request GetNerCustomizedSeaEcomRequest * @param runtime runtime options for this request RuntimeOptions * @return GetNerCustomizedSeaEcomResponse */ public GetNerCustomizedSeaEcomResponse getNerCustomizedSeaEcomWithOptions(GetNerCustomizedSeaEcomRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.language)) { body.put("Language", request.language); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetNerCustomizedSeaEcom"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetNerCustomizedSeaEcomResponse()); } /** * @param request GetNerCustomizedSeaEcomRequest * @return GetNerCustomizedSeaEcomResponse */ public GetNerCustomizedSeaEcomResponse getNerCustomizedSeaEcom(GetNerCustomizedSeaEcomRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getNerCustomizedSeaEcomWithOptions(request, runtime); } /** * @summary openNLU * * @param request GetOpenNLURequest * @param runtime runtime options for this request RuntimeOptions * @return GetOpenNLUResponse */ public GetOpenNLUResponse getOpenNLUWithOptions(GetOpenNLURequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.examples)) { body.put("Examples", request.examples); } if (!com.aliyun.teautil.Common.isUnset(request.labels)) { body.put("Labels", request.labels); } if (!com.aliyun.teautil.Common.isUnset(request.sentence)) { body.put("Sentence", request.sentence); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.task)) { body.put("Task", request.task); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetOpenNLU"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetOpenNLUResponse()); } /** * @summary openNLU * * @param request GetOpenNLURequest * @return GetOpenNLUResponse */ public GetOpenNLUResponse getOpenNLU(GetOpenNLURequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getOpenNLUWithOptions(request, runtime); } /** * @summary openNLU高召回版 * * @param request GetOpenNLUHighRecallRequest * @param runtime runtime options for this request RuntimeOptions * @return GetOpenNLUHighRecallResponse */ public GetOpenNLUHighRecallResponse getOpenNLUHighRecallWithOptions(GetOpenNLUHighRecallRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.examples)) { body.put("Examples", request.examples); } if (!com.aliyun.teautil.Common.isUnset(request.labels)) { body.put("Labels", request.labels); } if (!com.aliyun.teautil.Common.isUnset(request.sentence)) { body.put("Sentence", request.sentence); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.task)) { body.put("Task", request.task); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetOpenNLUHighRecall"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetOpenNLUHighRecallResponse()); } /** * @summary openNLU高召回版 * * @param request GetOpenNLUHighRecallRequest * @return GetOpenNLUHighRecallResponse */ public GetOpenNLUHighRecallResponse getOpenNLUHighRecall(GetOpenNLUHighRecallRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getOpenNLUHighRecallWithOptions(request, runtime); } /** * @param request GetOperationChMedicalRequest * @param runtime runtime options for this request RuntimeOptions * @return GetOperationChMedicalResponse */ public GetOperationChMedicalResponse getOperationChMedicalWithOptions(GetOperationChMedicalRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.name)) { body.put("Name", request.name); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetOperationChMedical"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetOperationChMedicalResponse()); } /** * @param request GetOperationChMedicalRequest * @return GetOperationChMedicalResponse */ public GetOperationChMedicalResponse getOperationChMedical(GetOperationChMedicalRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getOperationChMedicalWithOptions(request, runtime); } /** * @param request GetPosChEcomRequest * @param runtime runtime options for this request RuntimeOptions * @return GetPosChEcomResponse */ public GetPosChEcomResponse getPosChEcomWithOptions(GetPosChEcomRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.outType)) { body.put("OutType", request.outType); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } if (!com.aliyun.teautil.Common.isUnset(request.tokenizerId)) { body.put("TokenizerId", request.tokenizerId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetPosChEcom"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetPosChEcomResponse()); } /** * @param request GetPosChEcomRequest * @return GetPosChEcomResponse */ public GetPosChEcomResponse getPosChEcom(GetPosChEcomRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getPosChEcomWithOptions(request, runtime); } /** * @param request GetPosChGeneralRequest * @param runtime runtime options for this request RuntimeOptions * @return GetPosChGeneralResponse */ public GetPosChGeneralResponse getPosChGeneralWithOptions(GetPosChGeneralRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.outType)) { body.put("OutType", request.outType); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } if (!com.aliyun.teautil.Common.isUnset(request.tokenizerId)) { body.put("TokenizerId", request.tokenizerId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetPosChGeneral"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetPosChGeneralResponse()); } /** * @param request GetPosChGeneralRequest * @return GetPosChGeneralResponse */ public GetPosChGeneralResponse getPosChGeneral(GetPosChGeneralRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getPosChGeneralWithOptions(request, runtime); } /** * @param request GetPriceChEcomRequest * @param runtime runtime options for this request RuntimeOptions * @return GetPriceChEcomResponse */ public GetPriceChEcomResponse getPriceChEcomWithOptions(GetPriceChEcomRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetPriceChEcom"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetPriceChEcomResponse()); } /** * @param request GetPriceChEcomRequest * @return GetPriceChEcomResponse */ public GetPriceChEcomResponse getPriceChEcom(GetPriceChEcomRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getPriceChEcomWithOptions(request, runtime); } /** * @summary 测试sse * * @param request GetSSETestRequest * @param runtime runtime options for this request RuntimeOptions * @return GetSSETestResponse */ public GetSSETestResponse getSSETestWithOptions(GetSSETestRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.params)) { body.put("Params", request.params); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetSSETest"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetSSETestResponse()); } /** * @summary 测试sse * * @param request GetSSETestRequest * @return GetSSETestResponse */ public GetSSETestResponse getSSETest(GetSSETestRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getSSETestWithOptions(request, runtime); } /** * @param request GetSaChGeneralRequest * @param runtime runtime options for this request RuntimeOptions * @return GetSaChGeneralResponse */ public GetSaChGeneralResponse getSaChGeneralWithOptions(GetSaChGeneralRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetSaChGeneral"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetSaChGeneralResponse()); } /** * @param request GetSaChGeneralRequest * @return GetSaChGeneralResponse */ public GetSaChGeneralResponse getSaChGeneral(GetSaChGeneralRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getSaChGeneralWithOptions(request, runtime); } /** * @param request GetSaSeaEcomRequest * @param runtime runtime options for this request RuntimeOptions * @return GetSaSeaEcomResponse */ public GetSaSeaEcomResponse getSaSeaEcomWithOptions(GetSaSeaEcomRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.language)) { body.put("Language", request.language); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetSaSeaEcom"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetSaSeaEcomResponse()); } /** * @param request GetSaSeaEcomRequest * @return GetSaSeaEcomResponse */ public GetSaSeaEcomResponse getSaSeaEcom(GetSaSeaEcomRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getSaSeaEcomWithOptions(request, runtime); } /** * @summary 获取服务数据导入状态 * * @param tmpReq GetServiceDataImportStatusRequest * @param runtime runtime options for this request RuntimeOptions * @return GetServiceDataImportStatusResponse */ public GetServiceDataImportStatusResponse getServiceDataImportStatusWithOptions(GetServiceDataImportStatusRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); GetServiceDataImportStatusShrinkRequest request = new GetServiceDataImportStatusShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.dataImportIds)) { request.dataImportIdsShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.dataImportIds, "DataImportIds", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.dataImportIdsShrink)) { body.put("DataImportIds", request.dataImportIdsShrink); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetServiceDataImportStatus"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetServiceDataImportStatusResponse()); } /** * @summary 获取服务数据导入状态 * * @param request GetServiceDataImportStatusRequest * @return GetServiceDataImportStatusResponse */ public GetServiceDataImportStatusResponse getServiceDataImportStatus(GetServiceDataImportStatusRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getServiceDataImportStatusWithOptions(request, runtime); } /** * @param request GetSimilarityChMedicalRequest * @param runtime runtime options for this request RuntimeOptions * @return GetSimilarityChMedicalResponse */ public GetSimilarityChMedicalResponse getSimilarityChMedicalWithOptions(GetSimilarityChMedicalRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.originQ)) { body.put("OriginQ", request.originQ); } if (!com.aliyun.teautil.Common.isUnset(request.originT)) { body.put("OriginT", request.originT); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetSimilarityChMedical"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetSimilarityChMedicalResponse()); } /** * @param request GetSimilarityChMedicalRequest * @return GetSimilarityChMedicalResponse */ public GetSimilarityChMedicalResponse getSimilarityChMedical(GetSimilarityChMedicalRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getSimilarityChMedicalWithOptions(request, runtime); } /** * @param request GetSummaryChEcomRequest * @param runtime runtime options for this request RuntimeOptions * @return GetSummaryChEcomResponse */ public GetSummaryChEcomResponse getSummaryChEcomWithOptions(GetSummaryChEcomRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetSummaryChEcom"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetSummaryChEcomResponse()); } /** * @param request GetSummaryChEcomRequest * @return GetSummaryChEcomResponse */ public GetSummaryChEcomResponse getSummaryChEcom(GetSummaryChEcomRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getSummaryChEcomWithOptions(request, runtime); } /** * @summary 根据id查询tableqa服务基本信息 * * @param request GetTableQAServiceInfoByIdRequest * @param runtime runtime options for this request RuntimeOptions * @return GetTableQAServiceInfoByIdResponse */ public GetTableQAServiceInfoByIdResponse getTableQAServiceInfoByIdWithOptions(GetTableQAServiceInfoByIdRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.serviceId)) { body.put("ServiceId", request.serviceId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetTableQAServiceInfoById"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetTableQAServiceInfoByIdResponse()); } /** * @summary 根据id查询tableqa服务基本信息 * * @param request GetTableQAServiceInfoByIdRequest * @return GetTableQAServiceInfoByIdResponse */ public GetTableQAServiceInfoByIdResponse getTableQAServiceInfoById(GetTableQAServiceInfoByIdRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getTableQAServiceInfoByIdWithOptions(request, runtime); } /** * @param request GetTcChEcomRequest * @param runtime runtime options for this request RuntimeOptions * @return GetTcChEcomResponse */ public GetTcChEcomResponse getTcChEcomWithOptions(GetTcChEcomRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetTcChEcom"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetTcChEcomResponse()); } /** * @param request GetTcChEcomRequest * @return GetTcChEcomResponse */ public GetTcChEcomResponse getTcChEcom(GetTcChEcomRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getTcChEcomWithOptions(request, runtime); } /** * @param request GetTcChGeneralRequest * @param runtime runtime options for this request RuntimeOptions * @return GetTcChGeneralResponse */ public GetTcChGeneralResponse getTcChGeneralWithOptions(GetTcChGeneralRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetTcChGeneral"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetTcChGeneralResponse()); } /** * @param request GetTcChGeneralRequest * @return GetTcChGeneralResponse */ public GetTcChGeneralResponse getTcChGeneral(GetTcChGeneralRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getTcChGeneralWithOptions(request, runtime); } /** * @param request GetTsChEcomRequest * @param runtime runtime options for this request RuntimeOptions * @return GetTsChEcomResponse */ public GetTsChEcomResponse getTsChEcomWithOptions(GetTsChEcomRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.originQ)) { body.put("OriginQ", request.originQ); } if (!com.aliyun.teautil.Common.isUnset(request.originT)) { body.put("OriginT", request.originT); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { body.put("Type", request.type); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetTsChEcom"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetTsChEcomResponse()); } /** * @param request GetTsChEcomRequest * @return GetTsChEcomResponse */ public GetTsChEcomResponse getTsChEcom(GetTsChEcomRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getTsChEcomWithOptions(request, runtime); } /** * @param request GetUserUploadSignRequest * @param runtime runtime options for this request RuntimeOptions * @return GetUserUploadSignResponse */ public GetUserUploadSignResponse getUserUploadSignWithOptions(GetUserUploadSignRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetUserUploadSign"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetUserUploadSignResponse()); } /** * @param request GetUserUploadSignRequest * @return GetUserUploadSignResponse */ public GetUserUploadSignResponse getUserUploadSign(GetUserUploadSignRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getUserUploadSignWithOptions(request, runtime); } /** * @param request GetWeChCommentRequest * @param runtime runtime options for this request RuntimeOptions * @return GetWeChCommentResponse */ public GetWeChCommentResponse getWeChCommentWithOptions(GetWeChCommentRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.operation)) { body.put("Operation", request.operation); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.size)) { body.put("Size", request.size); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } if (!com.aliyun.teautil.Common.isUnset(request.tokenizerId)) { body.put("TokenizerId", request.tokenizerId); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { body.put("Type", request.type); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetWeChComment"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetWeChCommentResponse()); } /** * @param request GetWeChCommentRequest * @return GetWeChCommentResponse */ public GetWeChCommentResponse getWeChComment(GetWeChCommentRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getWeChCommentWithOptions(request, runtime); } /** * @param request GetWeChEcomRequest * @param runtime runtime options for this request RuntimeOptions * @return GetWeChEcomResponse */ public GetWeChEcomResponse getWeChEcomWithOptions(GetWeChEcomRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.operation)) { body.put("Operation", request.operation); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.size)) { body.put("Size", request.size); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } if (!com.aliyun.teautil.Common.isUnset(request.tokenizerId)) { body.put("TokenizerId", request.tokenizerId); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { body.put("Type", request.type); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetWeChEcom"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetWeChEcomResponse()); } /** * @param request GetWeChEcomRequest * @return GetWeChEcomResponse */ public GetWeChEcomResponse getWeChEcom(GetWeChEcomRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getWeChEcomWithOptions(request, runtime); } /** * @param request GetWeChEntertainmentRequest * @param runtime runtime options for this request RuntimeOptions * @return GetWeChEntertainmentResponse */ public GetWeChEntertainmentResponse getWeChEntertainmentWithOptions(GetWeChEntertainmentRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.operation)) { body.put("Operation", request.operation); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.size)) { body.put("Size", request.size); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } if (!com.aliyun.teautil.Common.isUnset(request.tokenizerId)) { body.put("TokenizerId", request.tokenizerId); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { body.put("Type", request.type); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetWeChEntertainment"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetWeChEntertainmentResponse()); } /** * @param request GetWeChEntertainmentRequest * @return GetWeChEntertainmentResponse */ public GetWeChEntertainmentResponse getWeChEntertainment(GetWeChEntertainmentRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getWeChEntertainmentWithOptions(request, runtime); } /** * @param request GetWeChGeneralRequest * @param runtime runtime options for this request RuntimeOptions * @return GetWeChGeneralResponse */ public GetWeChGeneralResponse getWeChGeneralWithOptions(GetWeChGeneralRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.operation)) { body.put("Operation", request.operation); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.size)) { body.put("Size", request.size); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { body.put("Type", request.type); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetWeChGeneral"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetWeChGeneralResponse()); } /** * @param request GetWeChGeneralRequest * @return GetWeChGeneralResponse */ public GetWeChGeneralResponse getWeChGeneral(GetWeChGeneralRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getWeChGeneralWithOptions(request, runtime); } /** * @param request GetWeChSearchRequest * @param runtime runtime options for this request RuntimeOptions * @return GetWeChSearchResponse */ public GetWeChSearchResponse getWeChSearchWithOptions(GetWeChSearchRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.operation)) { body.put("Operation", request.operation); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.size)) { body.put("Size", request.size); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } if (!com.aliyun.teautil.Common.isUnset(request.tokenizerId)) { body.put("TokenizerId", request.tokenizerId); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { body.put("Type", request.type); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetWeChSearch"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetWeChSearchResponse()); } /** * @param request GetWeChSearchRequest * @return GetWeChSearchResponse */ public GetWeChSearchResponse getWeChSearch(GetWeChSearchRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getWeChSearchWithOptions(request, runtime); } /** * @param request GetWsChGeneralRequest * @param runtime runtime options for this request RuntimeOptions * @return GetWsChGeneralResponse */ public GetWsChGeneralResponse getWsChGeneralWithOptions(GetWsChGeneralRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.outType)) { body.put("OutType", request.outType); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } if (!com.aliyun.teautil.Common.isUnset(request.tokenizerId)) { body.put("TokenizerId", request.tokenizerId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetWsChGeneral"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetWsChGeneralResponse()); } /** * @param request GetWsChGeneralRequest * @return GetWsChGeneralResponse */ public GetWsChGeneralResponse getWsChGeneral(GetWsChGeneralRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getWsChGeneralWithOptions(request, runtime); } /** * @param request GetWsCustomizedChEcomCommentRequest * @param runtime runtime options for this request RuntimeOptions * @return GetWsCustomizedChEcomCommentResponse */ public GetWsCustomizedChEcomCommentResponse getWsCustomizedChEcomCommentWithOptions(GetWsCustomizedChEcomCommentRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.outType)) { body.put("OutType", request.outType); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } if (!com.aliyun.teautil.Common.isUnset(request.tokenizerId)) { body.put("TokenizerId", request.tokenizerId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetWsCustomizedChEcomComment"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetWsCustomizedChEcomCommentResponse()); } /** * @param request GetWsCustomizedChEcomCommentRequest * @return GetWsCustomizedChEcomCommentResponse */ public GetWsCustomizedChEcomCommentResponse getWsCustomizedChEcomComment(GetWsCustomizedChEcomCommentRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getWsCustomizedChEcomCommentWithOptions(request, runtime); } /** * @param request GetWsCustomizedChEcomContentRequest * @param runtime runtime options for this request RuntimeOptions * @return GetWsCustomizedChEcomContentResponse */ public GetWsCustomizedChEcomContentResponse getWsCustomizedChEcomContentWithOptions(GetWsCustomizedChEcomContentRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.outType)) { body.put("OutType", request.outType); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } if (!com.aliyun.teautil.Common.isUnset(request.tokenizerId)) { body.put("TokenizerId", request.tokenizerId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetWsCustomizedChEcomContent"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetWsCustomizedChEcomContentResponse()); } /** * @param request GetWsCustomizedChEcomContentRequest * @return GetWsCustomizedChEcomContentResponse */ public GetWsCustomizedChEcomContentResponse getWsCustomizedChEcomContent(GetWsCustomizedChEcomContentRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getWsCustomizedChEcomContentWithOptions(request, runtime); } /** * @param request GetWsCustomizedChEcomTitleRequest * @param runtime runtime options for this request RuntimeOptions * @return GetWsCustomizedChEcomTitleResponse */ public GetWsCustomizedChEcomTitleResponse getWsCustomizedChEcomTitleWithOptions(GetWsCustomizedChEcomTitleRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.outType)) { body.put("OutType", request.outType); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } if (!com.aliyun.teautil.Common.isUnset(request.tokenizerId)) { body.put("TokenizerId", request.tokenizerId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetWsCustomizedChEcomTitle"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetWsCustomizedChEcomTitleResponse()); } /** * @param request GetWsCustomizedChEcomTitleRequest * @return GetWsCustomizedChEcomTitleResponse */ public GetWsCustomizedChEcomTitleResponse getWsCustomizedChEcomTitle(GetWsCustomizedChEcomTitleRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getWsCustomizedChEcomTitleWithOptions(request, runtime); } /** * @param request GetWsCustomizedChEntertainmentRequest * @param runtime runtime options for this request RuntimeOptions * @return GetWsCustomizedChEntertainmentResponse */ public GetWsCustomizedChEntertainmentResponse getWsCustomizedChEntertainmentWithOptions(GetWsCustomizedChEntertainmentRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.outType)) { body.put("OutType", request.outType); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } if (!com.aliyun.teautil.Common.isUnset(request.tokenizerId)) { body.put("TokenizerId", request.tokenizerId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetWsCustomizedChEntertainment"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetWsCustomizedChEntertainmentResponse()); } /** * @param request GetWsCustomizedChEntertainmentRequest * @return GetWsCustomizedChEntertainmentResponse */ public GetWsCustomizedChEntertainmentResponse getWsCustomizedChEntertainment(GetWsCustomizedChEntertainmentRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getWsCustomizedChEntertainmentWithOptions(request, runtime); } /** * @summary a * * @param request GetWsCustomizedChGeneralRequest * @param runtime runtime options for this request RuntimeOptions * @return GetWsCustomizedChGeneralResponse */ public GetWsCustomizedChGeneralResponse getWsCustomizedChGeneralWithOptions(GetWsCustomizedChGeneralRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.outType)) { body.put("OutType", request.outType); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } if (!com.aliyun.teautil.Common.isUnset(request.tokenizerId)) { body.put("TokenizerId", request.tokenizerId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetWsCustomizedChGeneral"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetWsCustomizedChGeneralResponse()); } /** * @summary a * * @param request GetWsCustomizedChGeneralRequest * @return GetWsCustomizedChGeneralResponse */ public GetWsCustomizedChGeneralResponse getWsCustomizedChGeneral(GetWsCustomizedChGeneralRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getWsCustomizedChGeneralWithOptions(request, runtime); } /** * @param request GetWsCustomizedChO2ORequest * @param runtime runtime options for this request RuntimeOptions * @return GetWsCustomizedChO2OResponse */ public GetWsCustomizedChO2OResponse getWsCustomizedChO2OWithOptions(GetWsCustomizedChO2ORequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.outType)) { body.put("OutType", request.outType); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } if (!com.aliyun.teautil.Common.isUnset(request.tokenizerId)) { body.put("TokenizerId", request.tokenizerId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetWsCustomizedChO2O"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetWsCustomizedChO2OResponse()); } /** * @param request GetWsCustomizedChO2ORequest * @return GetWsCustomizedChO2OResponse */ public GetWsCustomizedChO2OResponse getWsCustomizedChO2O(GetWsCustomizedChO2ORequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getWsCustomizedChO2OWithOptions(request, runtime); } /** * @param request GetWsCustomizedSeaEcomRequest * @param runtime runtime options for this request RuntimeOptions * @return GetWsCustomizedSeaEcomResponse */ public GetWsCustomizedSeaEcomResponse getWsCustomizedSeaEcomWithOptions(GetWsCustomizedSeaEcomRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.language)) { body.put("Language", request.language); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetWsCustomizedSeaEcom"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetWsCustomizedSeaEcomResponse()); } /** * @param request GetWsCustomizedSeaEcomRequest * @return GetWsCustomizedSeaEcomResponse */ public GetWsCustomizedSeaEcomResponse getWsCustomizedSeaEcom(GetWsCustomizedSeaEcomRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getWsCustomizedSeaEcomWithOptions(request, runtime); } /** * @param request GetWsCustomizedSeaGeneralRequest * @param runtime runtime options for this request RuntimeOptions * @return GetWsCustomizedSeaGeneralResponse */ public GetWsCustomizedSeaGeneralResponse getWsCustomizedSeaGeneralWithOptions(GetWsCustomizedSeaGeneralRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.language)) { body.put("Language", request.language); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } if (!com.aliyun.teautil.Common.isUnset(request.text)) { body.put("Text", request.text); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "GetWsCustomizedSeaGeneral"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new GetWsCustomizedSeaGeneralResponse()); } /** * @param request GetWsCustomizedSeaGeneralRequest * @return GetWsCustomizedSeaGeneralResponse */ public GetWsCustomizedSeaGeneralResponse getWsCustomizedSeaGeneral(GetWsCustomizedSeaGeneralRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.getWsCustomizedSeaGeneralWithOptions(request, runtime); } /** * @summary 导入服务数据 * * @param tmpReq ImportServiceDataRequest * @param runtime runtime options for this request RuntimeOptions * @return ImportServiceDataResponse */ public ImportServiceDataResponse importServiceDataWithOptions(ImportServiceDataRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); ImportServiceDataShrinkRequest request = new ImportServiceDataShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.partition)) { request.partitionShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.partition, "Partition", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.partitionShrink)) { body.put("Partition", request.partitionShrink); } if (!com.aliyun.teautil.Common.isUnset(request.serviceId)) { body.put("ServiceId", request.serviceId); } if (!com.aliyun.teautil.Common.isUnset(request.subPath)) { body.put("SubPath", request.subPath); } if (!com.aliyun.teautil.Common.isUnset(request.url)) { body.put("Url", request.url); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ImportServiceData"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ImportServiceDataResponse()); } /** * @summary 导入服务数据 * * @param request ImportServiceDataRequest * @return ImportServiceDataResponse */ public ImportServiceDataResponse importServiceData(ImportServiceDataRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.importServiceDataWithOptions(request, runtime); } /** * @summary 导入服务数据V2 * * @param tmpReq ImportServiceDataV2Request * @param runtime runtime options for this request RuntimeOptions * @return ImportServiceDataV2Response */ public ImportServiceDataV2Response importServiceDataV2WithOptions(ImportServiceDataV2Request tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); ImportServiceDataV2ShrinkRequest request = new ImportServiceDataV2ShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.documents)) { request.documentsShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.documents, "Documents", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.dataType)) { body.put("DataType", request.dataType); } if (!com.aliyun.teautil.Common.isUnset(request.documentsShrink)) { body.put("Documents", request.documentsShrink); } if (!com.aliyun.teautil.Common.isUnset(request.serviceId)) { body.put("ServiceId", request.serviceId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "ImportServiceDataV2"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new ImportServiceDataV2Response()); } /** * @summary 导入服务数据V2 * * @param request ImportServiceDataV2Request * @return ImportServiceDataV2Response */ public ImportServiceDataV2Response importServiceDataV2(ImportServiceDataV2Request request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.importServiceDataV2WithOptions(request, runtime); } /** * @param request InsertCustomRequest * @param runtime runtime options for this request RuntimeOptions * @return InsertCustomResponse */ public InsertCustomResponse insertCustomWithOptions(InsertCustomRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.apiId)) { body.put("ApiId", request.apiId); } if (!com.aliyun.teautil.Common.isUnset(request.customFileName)) { body.put("CustomFileName", request.customFileName); } if (!com.aliyun.teautil.Common.isUnset(request.customUrl)) { body.put("CustomUrl", request.customUrl); } if (!com.aliyun.teautil.Common.isUnset(request.regFileName)) { body.put("RegFileName", request.regFileName); } if (!com.aliyun.teautil.Common.isUnset(request.regUrl)) { body.put("RegUrl", request.regUrl); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "InsertCustom"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new InsertCustomResponse()); } /** * @param request InsertCustomRequest * @return InsertCustomResponse */ public InsertCustomResponse insertCustom(InsertCustomRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.insertCustomWithOptions(request, runtime); } /** * @param request OpenAlinlpServiceRequest * @param runtime runtime options for this request RuntimeOptions * @return OpenAlinlpServiceResponse */ public OpenAlinlpServiceResponse openAlinlpServiceWithOptions(com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teaopenapi.models.OpenApiRequest req = new com.aliyun.teaopenapi.models.OpenApiRequest(); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "OpenAlinlpService"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new OpenAlinlpServiceResponse()); } /** * @return OpenAlinlpServiceResponse */ public OpenAlinlpServiceResponse openAlinlpService() throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.openAlinlpServiceWithOptions(runtime); } /** * @summary 多轮改写 * * @param tmpReq PostISConvRewriterRequest * @param runtime runtime options for this request RuntimeOptions * @return PostISConvRewriterResponse */ public PostISConvRewriterResponse postISConvRewriterWithOptions(PostISConvRewriterRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); PostISConvRewriterShrinkRequest request = new PostISConvRewriterShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.input)) { request.inputShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.input, "Input", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.parameters)) { request.parametersShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.parameters, "Parameters", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.algorithm)) { body.put("Algorithm", request.algorithm); } if (!com.aliyun.teautil.Common.isUnset(request.debug)) { body.put("Debug", request.debug); } if (!com.aliyun.teautil.Common.isUnset(request.inputShrink)) { body.put("Input", request.inputShrink); } if (!com.aliyun.teautil.Common.isUnset(request.model)) { body.put("Model", request.model); } if (!com.aliyun.teautil.Common.isUnset(request.parametersShrink)) { body.put("Parameters", request.parametersShrink); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "PostISConvRewriter"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new PostISConvRewriterResponse()); } /** * @summary 多轮改写 * * @param request PostISConvRewriterRequest * @return PostISConvRewriterResponse */ public PostISConvRewriterResponse postISConvRewriter(PostISConvRewriterRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.postISConvRewriterWithOptions(request, runtime); } /** * @summary 通用排序模型 * * @param tmpReq PostISRerankRequest * @param runtime runtime options for this request RuntimeOptions * @return PostISRerankResponse */ public PostISRerankResponse postISRerankWithOptions(PostISRerankRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); PostISRerankShrinkRequest request = new PostISRerankShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.input)) { request.inputShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.input, "Input", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.parameters)) { request.parametersShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.parameters, "Parameters", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.algorithm)) { body.put("Algorithm", request.algorithm); } if (!com.aliyun.teautil.Common.isUnset(request.debug)) { body.put("Debug", request.debug); } if (!com.aliyun.teautil.Common.isUnset(request.inputShrink)) { body.put("Input", request.inputShrink); } if (!com.aliyun.teautil.Common.isUnset(request.model)) { body.put("Model", request.model); } if (!com.aliyun.teautil.Common.isUnset(request.parametersShrink)) { body.put("Parameters", request.parametersShrink); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "PostISRerank"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new PostISRerankResponse()); } /** * @summary 通用排序模型 * * @param request PostISRerankRequest * @return PostISRerankResponse */ public PostISRerankResponse postISRerank(PostISRerankRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.postISRerankWithOptions(request, runtime); } /** * @summary 开放域搜索判定 * * @param tmpReq PostISRetrieveRouterRequest * @param runtime runtime options for this request RuntimeOptions * @return PostISRetrieveRouterResponse */ public PostISRetrieveRouterResponse postISRetrieveRouterWithOptions(PostISRetrieveRouterRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); PostISRetrieveRouterShrinkRequest request = new PostISRetrieveRouterShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.input)) { request.inputShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.input, "Input", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.parameters)) { request.parametersShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.parameters, "Parameters", "json"); } java.util.Map<String, Object> query = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.debug)) { query.put("Debug", request.debug); } if (!com.aliyun.teautil.Common.isUnset(request.inputShrink)) { query.put("Input", request.inputShrink); } if (!com.aliyun.teautil.Common.isUnset(request.parametersShrink)) { query.put("Parameters", request.parametersShrink); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.algorithm)) { body.put("Algorithm", request.algorithm); } if (!com.aliyun.teautil.Common.isUnset(request.model)) { body.put("Model", request.model); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("query", com.aliyun.openapiutil.Client.query(query)), new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "PostISRetrieveRouter"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new PostISRetrieveRouterResponse()); } /** * @summary 开放域搜索判定 * * @param request PostISRetrieveRouterRequest * @return PostISRetrieveRouterResponse */ public PostISRetrieveRouterResponse postISRetrieveRouter(PostISRetrieveRouterRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.postISRetrieveRouterWithOptions(request, runtime); } /** * @summary 对话搜索身份凭证生成 * * @param request PostMSConvSearchTokenGeneratedRequest * @param runtime runtime options for this request RuntimeOptions * @return PostMSConvSearchTokenGeneratedResponse */ public PostMSConvSearchTokenGeneratedResponse postMSConvSearchTokenGeneratedWithOptions(com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teaopenapi.models.OpenApiRequest req = new com.aliyun.teaopenapi.models.OpenApiRequest(); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "PostMSConvSearchTokenGenerated"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new PostMSConvSearchTokenGeneratedResponse()); } /** * @summary 对话搜索身份凭证生成 * * @return PostMSConvSearchTokenGeneratedResponse */ public PostMSConvSearchTokenGeneratedResponse postMSConvSearchTokenGenerated() throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.postMSConvSearchTokenGeneratedWithOptions(runtime); } /** * @summary 数据处理进度查询 * * @param tmpReq PostMSDataProcessingCountRequest * @param runtime runtime options for this request RuntimeOptions * @return PostMSDataProcessingCountResponse */ public PostMSDataProcessingCountResponse postMSDataProcessingCountWithOptions(PostMSDataProcessingCountRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); PostMSDataProcessingCountShrinkRequest request = new PostMSDataProcessingCountShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.dataIds)) { request.dataIdsShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.dataIds, "DataIds", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.dataIdsShrink)) { body.put("DataIds", request.dataIdsShrink); } if (!com.aliyun.teautil.Common.isUnset(request.dataImportId)) { body.put("DataImportId", request.dataImportId); } if (!com.aliyun.teautil.Common.isUnset(request.serviceId)) { body.put("ServiceId", request.serviceId); } if (!com.aliyun.teautil.Common.isUnset(request.xDashScopeOpenAPISource)) { body.put("X-DashScope-OpenAPISource", request.xDashScopeOpenAPISource); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "PostMSDataProcessingCount"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new PostMSDataProcessingCountResponse()); } /** * @summary 数据处理进度查询 * * @param request PostMSDataProcessingCountRequest * @return PostMSDataProcessingCountResponse */ public PostMSDataProcessingCountResponse postMSDataProcessingCount(PostMSDataProcessingCountRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.postMSDataProcessingCountWithOptions(request, runtime); } /** * @summary 搜索增强 * * @param tmpReq PostMSSearchEnhanceRequest * @param runtime runtime options for this request RuntimeOptions * @return PostMSSearchEnhanceResponse */ public PostMSSearchEnhanceResponse postMSSearchEnhanceWithOptions(PostMSSearchEnhanceRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); PostMSSearchEnhanceShrinkRequest request = new PostMSSearchEnhanceShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.customConfigInfo)) { request.customConfigInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.customConfigInfo, "CustomConfigInfo", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.fields)) { request.fieldsShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.fields, "Fields", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.rankModelInfo)) { request.rankModelInfoShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.rankModelInfo, "RankModelInfo", "json"); } if (!com.aliyun.teautil.Common.isUnset(tmpReq.sort)) { request.sortShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.sort, "Sort", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.body)) { body.put("Body", request.body); } if (!com.aliyun.teautil.Common.isUnset(request.customConfigInfoShrink)) { body.put("CustomConfigInfo", request.customConfigInfoShrink); } if (!com.aliyun.teautil.Common.isUnset(request.debug)) { body.put("Debug", request.debug); } if (!com.aliyun.teautil.Common.isUnset(request.fieldsShrink)) { body.put("Fields", request.fieldsShrink); } if (!com.aliyun.teautil.Common.isUnset(request.filters)) { body.put("Filters", request.filters); } if (!com.aliyun.teautil.Common.isUnset(request.minScore)) { body.put("MinScore", request.minScore); } if (!com.aliyun.teautil.Common.isUnset(request.page)) { body.put("Page", request.page); } if (!com.aliyun.teautil.Common.isUnset(request.queries)) { body.put("Queries", request.queries); } if (!com.aliyun.teautil.Common.isUnset(request.rankModelInfoShrink)) { body.put("RankModelInfo", request.rankModelInfoShrink); } if (!com.aliyun.teautil.Common.isUnset(request.rows)) { body.put("Rows", request.rows); } if (!com.aliyun.teautil.Common.isUnset(request.serviceId)) { body.put("ServiceId", request.serviceId); } if (!com.aliyun.teautil.Common.isUnset(request.sortShrink)) { body.put("Sort", request.sortShrink); } if (!com.aliyun.teautil.Common.isUnset(request.type)) { body.put("Type", request.type); } if (!com.aliyun.teautil.Common.isUnset(request.uq)) { body.put("Uq", request.uq); } if (!com.aliyun.teautil.Common.isUnset(request.xDashScopeOpenAPISource)) { body.put("X-DashScope-OpenAPISource", request.xDashScopeOpenAPISource); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "PostMSSearchEnhance"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new PostMSSearchEnhanceResponse()); } /** * @summary 搜索增强 * * @param request PostMSSearchEnhanceRequest * @return PostMSSearchEnhanceResponse */ public PostMSSearchEnhanceResponse postMSSearchEnhance(PostMSSearchEnhanceRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.postMSSearchEnhanceWithOptions(request, runtime); } /** * @summary 导入服务数据V2 * * @param tmpReq PostMSServiceDataImportRequest * @param runtime runtime options for this request RuntimeOptions * @return PostMSServiceDataImportResponse */ public PostMSServiceDataImportResponse postMSServiceDataImportWithOptions(PostMSServiceDataImportRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); PostMSServiceDataImportShrinkRequest request = new PostMSServiceDataImportShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.documents)) { request.documentsShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.documents, "Documents", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.dataType)) { body.put("DataType", request.dataType); } if (!com.aliyun.teautil.Common.isUnset(request.documentsShrink)) { body.put("Documents", request.documentsShrink); } if (!com.aliyun.teautil.Common.isUnset(request.serviceId)) { body.put("ServiceId", request.serviceId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "PostMSServiceDataImport"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new PostMSServiceDataImportResponse()); } /** * @summary 导入服务数据V2 * * @param request PostMSServiceDataImportRequest * @return PostMSServiceDataImportResponse */ public PostMSServiceDataImportResponse postMSServiceDataImport(PostMSServiceDataImportRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.postMSServiceDataImportWithOptions(request, runtime); } /** * @param request RequestTableQARequest * @param runtime runtime options for this request RuntimeOptions * @return RequestTableQAResponse */ public RequestTableQAResponse requestTableQAWithOptions(RequestTableQARequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.params)) { body.put("Params", request.params); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "RequestTableQA"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new RequestTableQAResponse()); } /** * @param request RequestTableQARequest * @return RequestTableQAResponse */ public RequestTableQAResponse requestTableQA(RequestTableQARequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.requestTableQAWithOptions(request, runtime); } /** * @summary 表格问答在线接口 * * @param request RequestTableQAOnlineRequest * @param runtime runtime options for this request RuntimeOptions * @return RequestTableQAOnlineResponse */ public RequestTableQAOnlineResponse requestTableQAOnlineWithOptions(RequestTableQAOnlineRequest request, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(request); java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.botId)) { body.put("BotId", request.botId); } if (!com.aliyun.teautil.Common.isUnset(request.params)) { body.put("Params", request.params); } if (!com.aliyun.teautil.Common.isUnset(request.question)) { body.put("Question", request.question); } if (!com.aliyun.teautil.Common.isUnset(request.serviceCode)) { body.put("ServiceCode", request.serviceCode); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "RequestTableQAOnline"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new RequestTableQAOnlineResponse()); } /** * @summary 表格问答在线接口 * * @param request RequestTableQAOnlineRequest * @return RequestTableQAOnlineResponse */ public RequestTableQAOnlineResponse requestTableQAOnline(RequestTableQAOnlineRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.requestTableQAOnlineWithOptions(request, runtime); } /** * @summary 更新服务数据 * * @param tmpReq UpdateServiceDataRequest * @param runtime runtime options for this request RuntimeOptions * @return UpdateServiceDataResponse */ public UpdateServiceDataResponse updateServiceDataWithOptions(UpdateServiceDataRequest tmpReq, com.aliyun.teautil.models.RuntimeOptions runtime) throws Exception { com.aliyun.teautil.Common.validateModel(tmpReq); UpdateServiceDataShrinkRequest request = new UpdateServiceDataShrinkRequest(); com.aliyun.openapiutil.Client.convert(tmpReq, request); if (!com.aliyun.teautil.Common.isUnset(tmpReq.conditions)) { request.conditionsShrink = com.aliyun.openapiutil.Client.arrayToStringWithSpecifiedStyle(tmpReq.conditions, "Conditions", "json"); } java.util.Map<String, Object> body = new java.util.HashMap<>(); if (!com.aliyun.teautil.Common.isUnset(request.conditionsShrink)) { body.put("Conditions", request.conditionsShrink); } if (!com.aliyun.teautil.Common.isUnset(request.serviceId)) { body.put("ServiceId", request.serviceId); } com.aliyun.teaopenapi.models.OpenApiRequest req = com.aliyun.teaopenapi.models.OpenApiRequest.build(TeaConverter.buildMap( new TeaPair("body", com.aliyun.openapiutil.Client.parseToMap(body)) )); com.aliyun.teaopenapi.models.Params params = com.aliyun.teaopenapi.models.Params.build(TeaConverter.buildMap( new TeaPair("action", "UpdateServiceData"), new TeaPair("version", "2020-06-29"), new TeaPair("protocol", "HTTPS"), new TeaPair("pathname", "/"), new TeaPair("method", "POST"), new TeaPair("authType", "AK"), new TeaPair("style", "RPC"), new TeaPair("reqBodyType", "formData"), new TeaPair("bodyType", "json") )); return TeaModel.toModel(this.callApi(params, req, runtime), new UpdateServiceDataResponse()); } /** * @summary 更新服务数据 * * @param request UpdateServiceDataRequest * @return UpdateServiceDataResponse */ public UpdateServiceDataResponse updateServiceData(UpdateServiceDataRequest request) throws Exception { com.aliyun.teautil.models.RuntimeOptions runtime = new com.aliyun.teautil.models.RuntimeOptions(); return this.updateServiceDataWithOptions(request, runtime); } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/ADClockRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class ADClockRequest extends TeaModel { @NameInMap("Params") public String params; @NameInMap("ServiceCode") public String serviceCode; public static ADClockRequest build(java.util.Map<String, ?> map) throws Exception { ADClockRequest self = new ADClockRequest(); return TeaModel.build(map, self); } public ADClockRequest setParams(String params) { this.params = params; return this; } public String getParams() { return this.params; } public ADClockRequest setServiceCode(String serviceCode) { this.serviceCode = serviceCode; return this; } public String getServiceCode() { return this.serviceCode; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/ADClockResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class ADClockResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public ADClockResponseBody body; public static ADClockResponse build(java.util.Map<String, ?> map) throws Exception { ADClockResponse self = new ADClockResponse(); return TeaModel.build(map, self); } public ADClockResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public ADClockResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public ADClockResponse setBody(ADClockResponseBody body) { this.body = body; return this; } public ADClockResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/ADClockResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class ADClockResponseBody extends TeaModel { @NameInMap("Data") public String data; @NameInMap("RequestId") public String requestId; public static ADClockResponseBody build(java.util.Map<String, ?> map) throws Exception { ADClockResponseBody self = new ADClockResponseBody(); return TeaModel.build(map, self); } public ADClockResponseBody setData(String data) { this.data = data; return this; } public String getData() { return this.data; } public ADClockResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/ADMMURequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class ADMMURequest extends TeaModel { @NameInMap("Params") public String params; @NameInMap("ServiceCode") public String serviceCode; public static ADMMURequest build(java.util.Map<String, ?> map) throws Exception { ADMMURequest self = new ADMMURequest(); return TeaModel.build(map, self); } public ADMMURequest setParams(String params) { this.params = params; return this; } public String getParams() { return this.params; } public ADMMURequest setServiceCode(String serviceCode) { this.serviceCode = serviceCode; return this; } public String getServiceCode() { return this.serviceCode; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/ADMMUResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class ADMMUResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public ADMMUResponseBody body; public static ADMMUResponse build(java.util.Map<String, ?> map) throws Exception { ADMMUResponse self = new ADMMUResponse(); return TeaModel.build(map, self); } public ADMMUResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public ADMMUResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public ADMMUResponse setBody(ADMMUResponseBody body) { this.body = body; return this; } public ADMMUResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/ADMMUResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class ADMMUResponseBody extends TeaModel { @NameInMap("Data") public String data; @NameInMap("RequestId") public String requestId; public static ADMMUResponseBody build(java.util.Map<String, ?> map) throws Exception { ADMMUResponseBody self = new ADMMUResponseBody(); return TeaModel.build(map, self); } public ADMMUResponseBody setData(String data) { this.data = data; return this; } public String getData() { return this.data; } public ADMMUResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/ADMiniCogRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class ADMiniCogRequest extends TeaModel { @NameInMap("Params") public String params; @NameInMap("ServiceCode") public String serviceCode; public static ADMiniCogRequest build(java.util.Map<String, ?> map) throws Exception { ADMiniCogRequest self = new ADMiniCogRequest(); return TeaModel.build(map, self); } public ADMiniCogRequest setParams(String params) { this.params = params; return this; } public String getParams() { return this.params; } public ADMiniCogRequest setServiceCode(String serviceCode) { this.serviceCode = serviceCode; return this; } public String getServiceCode() { return this.serviceCode; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/ADMiniCogResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class ADMiniCogResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public ADMiniCogResponseBody body; public static ADMiniCogResponse build(java.util.Map<String, ?> map) throws Exception { ADMiniCogResponse self = new ADMiniCogResponse(); return TeaModel.build(map, self); } public ADMiniCogResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public ADMiniCogResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public ADMiniCogResponse setBody(ADMiniCogResponseBody body) { this.body = body; return this; } public ADMiniCogResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/ADMiniCogResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class ADMiniCogResponseBody extends TeaModel { @NameInMap("Data") public String data; @NameInMap("RequestId") public String requestId; public static ADMiniCogResponseBody build(java.util.Map<String, ?> map) throws Exception { ADMiniCogResponseBody self = new ADMiniCogResponseBody(); return TeaModel.build(map, self); } public ADMiniCogResponseBody setData(String data) { this.data = data; return this; } public String getData() { return this.data; } public ADMiniCogResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/ADMiniCogResultRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class ADMiniCogResultRequest extends TeaModel { @NameInMap("Params") public String params; @NameInMap("ServiceCode") public String serviceCode; public static ADMiniCogResultRequest build(java.util.Map<String, ?> map) throws Exception { ADMiniCogResultRequest self = new ADMiniCogResultRequest(); return TeaModel.build(map, self); } public ADMiniCogResultRequest setParams(String params) { this.params = params; return this; } public String getParams() { return this.params; } public ADMiniCogResultRequest setServiceCode(String serviceCode) { this.serviceCode = serviceCode; return this; } public String getServiceCode() { return this.serviceCode; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/ADMiniCogResultResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class ADMiniCogResultResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public ADMiniCogResultResponseBody body; public static ADMiniCogResultResponse build(java.util.Map<String, ?> map) throws Exception { ADMiniCogResultResponse self = new ADMiniCogResultResponse(); return TeaModel.build(map, self); } public ADMiniCogResultResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public ADMiniCogResultResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public ADMiniCogResultResponse setBody(ADMiniCogResultResponseBody body) { this.body = body; return this; } public ADMiniCogResultResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/ADMiniCogResultResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class ADMiniCogResultResponseBody extends TeaModel { @NameInMap("Data") public String data; @NameInMap("RequestId") public String requestId; public static ADMiniCogResultResponseBody build(java.util.Map<String, ?> map) throws Exception { ADMiniCogResultResponseBody self = new ADMiniCogResultResponseBody(); return TeaModel.build(map, self); } public ADMiniCogResultResponseBody setData(String data) { this.data = data; return this; } public String getData() { return this.data; } public ADMiniCogResultResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/DataValue.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class DataValue extends TeaModel { @NameInMap("ServiceId") public Long serviceId; @NameInMap("Status") public String status; @NameInMap("Code") public Integer code; @NameInMap("Message") public String message; public static DataValue build(java.util.Map<String, ?> map) throws Exception { DataValue self = new DataValue(); return TeaModel.build(map, self); } public DataValue setServiceId(Long serviceId) { this.serviceId = serviceId; return this; } public Long getServiceId() { return this.serviceId; } public DataValue setStatus(String status) { this.status = status; return this; } public String getStatus() { return this.status; } public DataValue setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public DataValue setMessage(String message) { this.message = message; return this; } public String getMessage() { return this.message; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/DeleteServiceDataByConditionsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class DeleteServiceDataByConditionsRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("Conditions") public java.util.Map<String, ?> conditions; /** * <p>This parameter is required.</p> */ @NameInMap("ServiceId") public Long serviceId; @NameInMap("X-DashScope-OpenAPISource") public String xDashScopeOpenAPISource; public static DeleteServiceDataByConditionsRequest build(java.util.Map<String, ?> map) throws Exception { DeleteServiceDataByConditionsRequest self = new DeleteServiceDataByConditionsRequest(); return TeaModel.build(map, self); } public DeleteServiceDataByConditionsRequest setConditions(java.util.Map<String, ?> conditions) { this.conditions = conditions; return this; } public java.util.Map<String, ?> getConditions() { return this.conditions; } public DeleteServiceDataByConditionsRequest setServiceId(Long serviceId) { this.serviceId = serviceId; return this; } public Long getServiceId() { return this.serviceId; } public DeleteServiceDataByConditionsRequest setXDashScopeOpenAPISource(String xDashScopeOpenAPISource) { this.xDashScopeOpenAPISource = xDashScopeOpenAPISource; return this; } public String getXDashScopeOpenAPISource() { return this.xDashScopeOpenAPISource; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/DeleteServiceDataByConditionsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class DeleteServiceDataByConditionsResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public DeleteServiceDataByConditionsResponseBody body; public static DeleteServiceDataByConditionsResponse build(java.util.Map<String, ?> map) throws Exception { DeleteServiceDataByConditionsResponse self = new DeleteServiceDataByConditionsResponse(); return TeaModel.build(map, self); } public DeleteServiceDataByConditionsResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public DeleteServiceDataByConditionsResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public DeleteServiceDataByConditionsResponse setBody(DeleteServiceDataByConditionsResponseBody body) { this.body = body; return this; } public DeleteServiceDataByConditionsResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/DeleteServiceDataByConditionsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class DeleteServiceDataByConditionsResponseBody extends TeaModel { @NameInMap("Code") public Integer code; @NameInMap("Data") public Object data; @NameInMap("Msg") public String msg; @NameInMap("RequestId") public String requestId; @NameInMap("Success") public Boolean success; public static DeleteServiceDataByConditionsResponseBody build(java.util.Map<String, ?> map) throws Exception { DeleteServiceDataByConditionsResponseBody self = new DeleteServiceDataByConditionsResponseBody(); return TeaModel.build(map, self); } public DeleteServiceDataByConditionsResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public DeleteServiceDataByConditionsResponseBody setData(Object data) { this.data = data; return this; } public Object getData() { return this.data; } public DeleteServiceDataByConditionsResponseBody setMsg(String msg) { this.msg = msg; return this; } public String getMsg() { return this.msg; } public DeleteServiceDataByConditionsResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public DeleteServiceDataByConditionsResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/DeleteServiceDataByConditionsShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class DeleteServiceDataByConditionsShrinkRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("Conditions") public String conditionsShrink; /** * <p>This parameter is required.</p> */ @NameInMap("ServiceId") public Long serviceId; @NameInMap("X-DashScope-OpenAPISource") public String xDashScopeOpenAPISource; public static DeleteServiceDataByConditionsShrinkRequest build(java.util.Map<String, ?> map) throws Exception { DeleteServiceDataByConditionsShrinkRequest self = new DeleteServiceDataByConditionsShrinkRequest(); return TeaModel.build(map, self); } public DeleteServiceDataByConditionsShrinkRequest setConditionsShrink(String conditionsShrink) { this.conditionsShrink = conditionsShrink; return this; } public String getConditionsShrink() { return this.conditionsShrink; } public DeleteServiceDataByConditionsShrinkRequest setServiceId(Long serviceId) { this.serviceId = serviceId; return this; } public Long getServiceId() { return this.serviceId; } public DeleteServiceDataByConditionsShrinkRequest setXDashScopeOpenAPISource(String xDashScopeOpenAPISource) { this.xDashScopeOpenAPISource = xDashScopeOpenAPISource; return this; } public String getXDashScopeOpenAPISource() { return this.xDashScopeOpenAPISource; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/DeleteServiceDataByIdsRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class DeleteServiceDataByIdsRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("Ids") public java.util.List<String> ids; /** * <p>This parameter is required.</p> */ @NameInMap("ServiceId") public Long serviceId; public static DeleteServiceDataByIdsRequest build(java.util.Map<String, ?> map) throws Exception { DeleteServiceDataByIdsRequest self = new DeleteServiceDataByIdsRequest(); return TeaModel.build(map, self); } public DeleteServiceDataByIdsRequest setIds(java.util.List<String> ids) { this.ids = ids; return this; } public java.util.List<String> getIds() { return this.ids; } public DeleteServiceDataByIdsRequest setServiceId(Long serviceId) { this.serviceId = serviceId; return this; } public Long getServiceId() { return this.serviceId; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/DeleteServiceDataByIdsResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class DeleteServiceDataByIdsResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public DeleteServiceDataByIdsResponseBody body; public static DeleteServiceDataByIdsResponse build(java.util.Map<String, ?> map) throws Exception { DeleteServiceDataByIdsResponse self = new DeleteServiceDataByIdsResponse(); return TeaModel.build(map, self); } public DeleteServiceDataByIdsResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public DeleteServiceDataByIdsResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public DeleteServiceDataByIdsResponse setBody(DeleteServiceDataByIdsResponseBody body) { this.body = body; return this; } public DeleteServiceDataByIdsResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/DeleteServiceDataByIdsResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class DeleteServiceDataByIdsResponseBody extends TeaModel { @NameInMap("Code") public Integer code; @NameInMap("Data") public Object data; @NameInMap("Msg") public String msg; @NameInMap("RequestId") public String requestId; @NameInMap("Success") public Boolean success; public static DeleteServiceDataByIdsResponseBody build(java.util.Map<String, ?> map) throws Exception { DeleteServiceDataByIdsResponseBody self = new DeleteServiceDataByIdsResponseBody(); return TeaModel.build(map, self); } public DeleteServiceDataByIdsResponseBody setCode(Integer code) { this.code = code; return this; } public Integer getCode() { return this.code; } public DeleteServiceDataByIdsResponseBody setData(Object data) { this.data = data; return this; } public Object getData() { return this.data; } public DeleteServiceDataByIdsResponseBody setMsg(String msg) { this.msg = msg; return this; } public String getMsg() { return this.msg; } public DeleteServiceDataByIdsResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } public DeleteServiceDataByIdsResponseBody setSuccess(Boolean success) { this.success = success; return this; } public Boolean getSuccess() { return this.success; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/DeleteServiceDataByIdsShrinkRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class DeleteServiceDataByIdsShrinkRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("Ids") public String idsShrink; /** * <p>This parameter is required.</p> */ @NameInMap("ServiceId") public Long serviceId; public static DeleteServiceDataByIdsShrinkRequest build(java.util.Map<String, ?> map) throws Exception { DeleteServiceDataByIdsShrinkRequest self = new DeleteServiceDataByIdsShrinkRequest(); return TeaModel.build(map, self); } public DeleteServiceDataByIdsShrinkRequest setIdsShrink(String idsShrink) { this.idsShrink = idsShrink; return this; } public String getIdsShrink() { return this.idsShrink; } public DeleteServiceDataByIdsShrinkRequest setServiceId(Long serviceId) { this.serviceId = serviceId; return this; } public Long getServiceId() { return this.serviceId; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/GetBrandChEcomRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class GetBrandChEcomRequest extends TeaModel { @NameInMap("ImageUrl") public String imageUrl; /** * <p>This parameter is required.</p> */ @NameInMap("ServiceCode") public String serviceCode; @NameInMap("Text") public String text; public static GetBrandChEcomRequest build(java.util.Map<String, ?> map) throws Exception { GetBrandChEcomRequest self = new GetBrandChEcomRequest(); return TeaModel.build(map, self); } public GetBrandChEcomRequest setImageUrl(String imageUrl) { this.imageUrl = imageUrl; return this; } public String getImageUrl() { return this.imageUrl; } public GetBrandChEcomRequest setServiceCode(String serviceCode) { this.serviceCode = serviceCode; return this; } public String getServiceCode() { return this.serviceCode; } public GetBrandChEcomRequest setText(String text) { this.text = text; return this; } public String getText() { return this.text; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/GetBrandChEcomResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class GetBrandChEcomResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public GetBrandChEcomResponseBody body; public static GetBrandChEcomResponse build(java.util.Map<String, ?> map) throws Exception { GetBrandChEcomResponse self = new GetBrandChEcomResponse(); return TeaModel.build(map, self); } public GetBrandChEcomResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public GetBrandChEcomResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public GetBrandChEcomResponse setBody(GetBrandChEcomResponseBody body) { this.body = body; return this; } public GetBrandChEcomResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/GetBrandChEcomResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class GetBrandChEcomResponseBody extends TeaModel { @NameInMap("Data") public String data; @NameInMap("RequestId") public String requestId; public static GetBrandChEcomResponseBody build(java.util.Map<String, ?> map) throws Exception { GetBrandChEcomResponseBody self = new GetBrandChEcomResponseBody(); return TeaModel.build(map, self); } public GetBrandChEcomResponseBody setData(String data) { this.data = data; return this; } public String getData() { return this.data; } public GetBrandChEcomResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/GetCateChEcomRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class GetCateChEcomRequest extends TeaModel { @NameInMap("ImageUrl") public String imageUrl; /** * <p>This parameter is required.</p> */ @NameInMap("ServiceCode") public String serviceCode; /** * <p>This parameter is required.</p> */ @NameInMap("Text") public String text; public static GetCateChEcomRequest build(java.util.Map<String, ?> map) throws Exception { GetCateChEcomRequest self = new GetCateChEcomRequest(); return TeaModel.build(map, self); } public GetCateChEcomRequest setImageUrl(String imageUrl) { this.imageUrl = imageUrl; return this; } public String getImageUrl() { return this.imageUrl; } public GetCateChEcomRequest setServiceCode(String serviceCode) { this.serviceCode = serviceCode; return this; } public String getServiceCode() { return this.serviceCode; } public GetCateChEcomRequest setText(String text) { this.text = text; return this; } public String getText() { return this.text; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/GetCateChEcomResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class GetCateChEcomResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public GetCateChEcomResponseBody body; public static GetCateChEcomResponse build(java.util.Map<String, ?> map) throws Exception { GetCateChEcomResponse self = new GetCateChEcomResponse(); return TeaModel.build(map, self); } public GetCateChEcomResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public GetCateChEcomResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public GetCateChEcomResponse setBody(GetCateChEcomResponseBody body) { this.body = body; return this; } public GetCateChEcomResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/GetCateChEcomResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class GetCateChEcomResponseBody extends TeaModel { @NameInMap("Data") public String data; @NameInMap("RequestId") public String requestId; public static GetCateChEcomResponseBody build(java.util.Map<String, ?> map) throws Exception { GetCateChEcomResponseBody self = new GetCateChEcomResponseBody(); return TeaModel.build(map, self); } public GetCateChEcomResponseBody setData(String data) { this.data = data; return this; } public String getData() { return this.data; } public GetCateChEcomResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/GetCheckDuplicationChMedicalRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class GetCheckDuplicationChMedicalRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("OriginQ") public String originQ; /** * <p>This parameter is required.</p> */ @NameInMap("OriginT") public String originT; /** * <p>This parameter is required.</p> */ @NameInMap("ServiceCode") public String serviceCode; public static GetCheckDuplicationChMedicalRequest build(java.util.Map<String, ?> map) throws Exception { GetCheckDuplicationChMedicalRequest self = new GetCheckDuplicationChMedicalRequest(); return TeaModel.build(map, self); } public GetCheckDuplicationChMedicalRequest setOriginQ(String originQ) { this.originQ = originQ; return this; } public String getOriginQ() { return this.originQ; } public GetCheckDuplicationChMedicalRequest setOriginT(String originT) { this.originT = originT; return this; } public String getOriginT() { return this.originT; } public GetCheckDuplicationChMedicalRequest setServiceCode(String serviceCode) { this.serviceCode = serviceCode; return this; } public String getServiceCode() { return this.serviceCode; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/GetCheckDuplicationChMedicalResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class GetCheckDuplicationChMedicalResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public GetCheckDuplicationChMedicalResponseBody body; public static GetCheckDuplicationChMedicalResponse build(java.util.Map<String, ?> map) throws Exception { GetCheckDuplicationChMedicalResponse self = new GetCheckDuplicationChMedicalResponse(); return TeaModel.build(map, self); } public GetCheckDuplicationChMedicalResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public GetCheckDuplicationChMedicalResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public GetCheckDuplicationChMedicalResponse setBody(GetCheckDuplicationChMedicalResponseBody body) { this.body = body; return this; } public GetCheckDuplicationChMedicalResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/GetCheckDuplicationChMedicalResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class GetCheckDuplicationChMedicalResponseBody extends TeaModel { @NameInMap("Data") public String data; @NameInMap("RequestId") public String requestId; public static GetCheckDuplicationChMedicalResponseBody build(java.util.Map<String, ?> map) throws Exception { GetCheckDuplicationChMedicalResponseBody self = new GetCheckDuplicationChMedicalResponseBody(); return TeaModel.build(map, self); } public GetCheckDuplicationChMedicalResponseBody setData(String data) { this.data = data; return this; } public String getData() { return this.data; } public GetCheckDuplicationChMedicalResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/GetDiagnosisChMedicalRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class GetDiagnosisChMedicalRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("Name") public String name; /** * <p>This parameter is required.</p> */ @NameInMap("ServiceCode") public String serviceCode; public static GetDiagnosisChMedicalRequest build(java.util.Map<String, ?> map) throws Exception { GetDiagnosisChMedicalRequest self = new GetDiagnosisChMedicalRequest(); return TeaModel.build(map, self); } public GetDiagnosisChMedicalRequest setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public GetDiagnosisChMedicalRequest setServiceCode(String serviceCode) { this.serviceCode = serviceCode; return this; } public String getServiceCode() { return this.serviceCode; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/GetDiagnosisChMedicalResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class GetDiagnosisChMedicalResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public GetDiagnosisChMedicalResponseBody body; public static GetDiagnosisChMedicalResponse build(java.util.Map<String, ?> map) throws Exception { GetDiagnosisChMedicalResponse self = new GetDiagnosisChMedicalResponse(); return TeaModel.build(map, self); } public GetDiagnosisChMedicalResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public GetDiagnosisChMedicalResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public GetDiagnosisChMedicalResponse setBody(GetDiagnosisChMedicalResponseBody body) { this.body = body; return this; } public GetDiagnosisChMedicalResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/GetDiagnosisChMedicalResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class GetDiagnosisChMedicalResponseBody extends TeaModel { @NameInMap("Data") public String data; @NameInMap("RequestId") public String requestId; public static GetDiagnosisChMedicalResponseBody build(java.util.Map<String, ?> map) throws Exception { GetDiagnosisChMedicalResponseBody self = new GetDiagnosisChMedicalResponseBody(); return TeaModel.build(map, self); } public GetDiagnosisChMedicalResponseBody setData(String data) { this.data = data; return this; } public String getData() { return this.data; } public GetDiagnosisChMedicalResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/GetDpChEcomRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class GetDpChEcomRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("ServiceCode") public String serviceCode; /** * <p>This parameter is required.</p> */ @NameInMap("Text") public String text; public static GetDpChEcomRequest build(java.util.Map<String, ?> map) throws Exception { GetDpChEcomRequest self = new GetDpChEcomRequest(); return TeaModel.build(map, self); } public GetDpChEcomRequest setServiceCode(String serviceCode) { this.serviceCode = serviceCode; return this; } public String getServiceCode() { return this.serviceCode; } public GetDpChEcomRequest setText(String text) { this.text = text; return this; } public String getText() { return this.text; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/GetDpChEcomResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class GetDpChEcomResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public GetDpChEcomResponseBody body; public static GetDpChEcomResponse build(java.util.Map<String, ?> map) throws Exception { GetDpChEcomResponse self = new GetDpChEcomResponse(); return TeaModel.build(map, self); } public GetDpChEcomResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public GetDpChEcomResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public GetDpChEcomResponse setBody(GetDpChEcomResponseBody body) { this.body = body; return this; } public GetDpChEcomResponseBody getBody() { return this.body; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/GetDpChEcomResponseBody.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class GetDpChEcomResponseBody extends TeaModel { @NameInMap("Data") public String data; @NameInMap("RequestId") public String requestId; public static GetDpChEcomResponseBody build(java.util.Map<String, ?> map) throws Exception { GetDpChEcomResponseBody self = new GetDpChEcomResponseBody(); return TeaModel.build(map, self); } public GetDpChEcomResponseBody setData(String data) { this.data = data; return this; } public String getData() { return this.data; } public GetDpChEcomResponseBody setRequestId(String requestId) { this.requestId = requestId; return this; } public String getRequestId() { return this.requestId; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/GetDpChGeneralCTBRequest.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class GetDpChGeneralCTBRequest extends TeaModel { /** * <p>This parameter is required.</p> */ @NameInMap("ServiceCode") public String serviceCode; /** * <p>This parameter is required.</p> */ @NameInMap("Text") public String text; public static GetDpChGeneralCTBRequest build(java.util.Map<String, ?> map) throws Exception { GetDpChGeneralCTBRequest self = new GetDpChGeneralCTBRequest(); return TeaModel.build(map, self); } public GetDpChGeneralCTBRequest setServiceCode(String serviceCode) { this.serviceCode = serviceCode; return this; } public String getServiceCode() { return this.serviceCode; } public GetDpChGeneralCTBRequest setText(String text) { this.text = text; return this; } public String getText() { return this.text; } }
0
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629
java-sources/com/aliyun/alinlp20200629/3.1.0/com/aliyun/alinlp20200629/models/GetDpChGeneralCTBResponse.java
// This file is auto-generated, don't edit it. Thanks. package com.aliyun.alinlp20200629.models; import com.aliyun.tea.*; public class GetDpChGeneralCTBResponse extends TeaModel { @NameInMap("headers") public java.util.Map<String, String> headers; @NameInMap("statusCode") public Integer statusCode; @NameInMap("body") public GetDpChGeneralCTBResponseBody body; public static GetDpChGeneralCTBResponse build(java.util.Map<String, ?> map) throws Exception { GetDpChGeneralCTBResponse self = new GetDpChGeneralCTBResponse(); return TeaModel.build(map, self); } public GetDpChGeneralCTBResponse setHeaders(java.util.Map<String, String> headers) { this.headers = headers; return this; } public java.util.Map<String, String> getHeaders() { return this.headers; } public GetDpChGeneralCTBResponse setStatusCode(Integer statusCode) { this.statusCode = statusCode; return this; } public Integer getStatusCode() { return this.statusCode; } public GetDpChGeneralCTBResponse setBody(GetDpChGeneralCTBResponseBody body) { this.body = body; return this; } public GetDpChGeneralCTBResponseBody getBody() { return this.body; } }