index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/transform/v20191015/SuspendHotlineServiceResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aiccs.transform.v20191015;
import com.aliyuncs.aiccs.model.v20191015.SuspendHotlineServiceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SuspendHotlineServiceResponseUnmarshaller {
public static SuspendHotlineServiceResponse unmarshall(SuspendHotlineServiceResponse suspendHotlineServiceResponse, UnmarshallerContext _ctx) {
suspendHotlineServiceResponse.setRequestId(_ctx.stringValue("SuspendHotlineServiceResponse.RequestId"));
suspendHotlineServiceResponse.setMessage(_ctx.stringValue("SuspendHotlineServiceResponse.Message"));
suspendHotlineServiceResponse.setCode(_ctx.stringValue("SuspendHotlineServiceResponse.Code"));
suspendHotlineServiceResponse.setSuccess(_ctx.booleanValue("SuspendHotlineServiceResponse.Success"));
return suspendHotlineServiceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/transform/v20191015/SuspendOutboundTaskResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aiccs.transform.v20191015;
import com.aliyuncs.aiccs.model.v20191015.SuspendOutboundTaskResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SuspendOutboundTaskResponseUnmarshaller {
public static SuspendOutboundTaskResponse unmarshall(SuspendOutboundTaskResponse suspendOutboundTaskResponse, UnmarshallerContext _ctx) {
suspendOutboundTaskResponse.setRequestId(_ctx.stringValue("SuspendOutboundTaskResponse.RequestId"));
suspendOutboundTaskResponse.setMessage(_ctx.stringValue("SuspendOutboundTaskResponse.Message"));
suspendOutboundTaskResponse.setData(_ctx.stringValue("SuspendOutboundTaskResponse.Data"));
suspendOutboundTaskResponse.setCode(_ctx.stringValue("SuspendOutboundTaskResponse.Code"));
suspendOutboundTaskResponse.setSuccess(_ctx.booleanValue("SuspendOutboundTaskResponse.Success"));
return suspendOutboundTaskResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/transform/v20191015/TransferCallToSkillGroupResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aiccs.transform.v20191015;
import com.aliyuncs.aiccs.model.v20191015.TransferCallToSkillGroupResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class TransferCallToSkillGroupResponseUnmarshaller {
public static TransferCallToSkillGroupResponse unmarshall(TransferCallToSkillGroupResponse transferCallToSkillGroupResponse, UnmarshallerContext _ctx) {
transferCallToSkillGroupResponse.setRequestId(_ctx.stringValue("TransferCallToSkillGroupResponse.RequestId"));
transferCallToSkillGroupResponse.setMessage(_ctx.stringValue("TransferCallToSkillGroupResponse.Message"));
transferCallToSkillGroupResponse.setCode(_ctx.stringValue("TransferCallToSkillGroupResponse.Code"));
transferCallToSkillGroupResponse.setSuccess(_ctx.booleanValue("TransferCallToSkillGroupResponse.Success"));
return transferCallToSkillGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/transform/v20191015/UpdateAgentResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aiccs.transform.v20191015;
import com.aliyuncs.aiccs.model.v20191015.UpdateAgentResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateAgentResponseUnmarshaller {
public static UpdateAgentResponse unmarshall(UpdateAgentResponse updateAgentResponse, UnmarshallerContext _ctx) {
updateAgentResponse.setRequestId(_ctx.stringValue("UpdateAgentResponse.RequestId"));
updateAgentResponse.setMessage(_ctx.stringValue("UpdateAgentResponse.Message"));
updateAgentResponse.setCode(_ctx.stringValue("UpdateAgentResponse.Code"));
updateAgentResponse.setSuccess(_ctx.booleanValue("UpdateAgentResponse.Success"));
return updateAgentResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/transform/v20191015/UpdateOuterAccountResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aiccs.transform.v20191015;
import com.aliyuncs.aiccs.model.v20191015.UpdateOuterAccountResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateOuterAccountResponseUnmarshaller {
public static UpdateOuterAccountResponse unmarshall(UpdateOuterAccountResponse updateOuterAccountResponse, UnmarshallerContext _ctx) {
updateOuterAccountResponse.setRequestId(_ctx.stringValue("UpdateOuterAccountResponse.RequestId"));
updateOuterAccountResponse.setMessage(_ctx.stringValue("UpdateOuterAccountResponse.Message"));
updateOuterAccountResponse.setData(_ctx.stringValue("UpdateOuterAccountResponse.Data"));
updateOuterAccountResponse.setCode(_ctx.stringValue("UpdateOuterAccountResponse.Code"));
updateOuterAccountResponse.setSuccess(_ctx.booleanValue("UpdateOuterAccountResponse.Success"));
return updateOuterAccountResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aiccs/1.2.1/com/aliyuncs/aiccs/transform/v20191015/UpdateSkillGroupResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aiccs.transform.v20191015;
import com.aliyuncs.aiccs.model.v20191015.UpdateSkillGroupResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateSkillGroupResponseUnmarshaller {
public static UpdateSkillGroupResponse unmarshall(UpdateSkillGroupResponse updateSkillGroupResponse, UnmarshallerContext _ctx) {
updateSkillGroupResponse.setRequestId(_ctx.stringValue("UpdateSkillGroupResponse.RequestId"));
updateSkillGroupResponse.setMessage(_ctx.stringValue("UpdateSkillGroupResponse.Message"));
updateSkillGroupResponse.setCode(_ctx.stringValue("UpdateSkillGroupResponse.Code"));
updateSkillGroupResponse.setSuccess(_ctx.booleanValue("UpdateSkillGroupResponse.Success"));
return updateSkillGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model/v20240611/AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aicontent.model.v20240611;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest extends RoaAcsRequest<AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse> {
public AliyunConsoleOpenApiQueryAliyunConsoleServcieListRequest() {
super("AiContent", "20240611", "AliyunConsoleOpenApiQueryAliyunConsoleServcieList");
setProtocol(ProtocolType.HTTPS);
setUriPattern("/api/v1/aliyunconsole/queryAliyunConsoleServcieList");
setMethod(MethodType.GET);
}
@Override
public Class<AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse> getResponseClass() {
return AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model/v20240611/AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aicontent.model.v20240611;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aicontent.transform.v20240611.AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String errCode;
private String errMessage;
private Integer httpStatusCode;
private List<DataItem> data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getErrCode() {
return this.errCode;
}
public void setErrCode(String errCode) {
this.errCode = errCode;
}
public String getErrMessage() {
return this.errMessage;
}
public void setErrMessage(String errMessage) {
this.errMessage = errMessage;
}
public Integer getHttpStatusCode() {
return this.httpStatusCode;
}
public void setHttpStatusCode(Integer httpStatusCode) {
this.httpStatusCode = httpStatusCode;
}
public List<DataItem> getData() {
return this.data;
}
public void setData(List<DataItem> data) {
this.data = data;
}
public static class DataItem {
private String serviceCode;
private String serviceName;
private Integer freeCount;
private Integer freeConcurrencyCount;
public String getServiceCode() {
return this.serviceCode;
}
public void setServiceCode(String serviceCode) {
this.serviceCode = serviceCode;
}
public String getServiceName() {
return this.serviceName;
}
public void setServiceName(String serviceName) {
this.serviceName = serviceName;
}
public Integer getFreeCount() {
return this.freeCount;
}
public void setFreeCount(Integer freeCount) {
this.freeCount = freeCount;
}
public Integer getFreeConcurrencyCount() {
return this.freeConcurrencyCount;
}
public void setFreeConcurrencyCount(Integer freeConcurrencyCount) {
this.freeConcurrencyCount = freeConcurrencyCount;
}
}
@Override
public AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse getInstance(UnmarshallerContext context) {
return AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model/v20240611/Personalizedtxt2imgAddInferenceJobRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aicontent.model.v20240611;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class Personalizedtxt2imgAddInferenceJobRequest extends RoaAcsRequest<Personalizedtxt2imgAddInferenceJobResponse> {
private String body;
public Personalizedtxt2imgAddInferenceJobRequest() {
super("AiContent", "20240611", "Personalizedtxt2imgAddInferenceJob");
setProtocol(ProtocolType.HTTPS);
setUriPattern("/api/v1/personalizedtxt2img/addInferenceJob");
setMethod(MethodType.POST);
}
public String getBody() {
return this.body;
}
public void setBody(String body) {
this.body = body;
if(body != null){
putBodyParameter("body", body);
}
}
@Override
public Class<Personalizedtxt2imgAddInferenceJobResponse> getResponseClass() {
return Personalizedtxt2imgAddInferenceJobResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model/v20240611/Personalizedtxt2imgAddInferenceJobResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aicontent.model.v20240611;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aicontent.transform.v20240611.Personalizedtxt2imgAddInferenceJobResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class Personalizedtxt2imgAddInferenceJobResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String errCode;
private String errMessage;
private Integer httpStatusCode;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getErrCode() {
return this.errCode;
}
public void setErrCode(String errCode) {
this.errCode = errCode;
}
public String getErrMessage() {
return this.errMessage;
}
public void setErrMessage(String errMessage) {
this.errMessage = errMessage;
}
public Integer getHttpStatusCode() {
return this.httpStatusCode;
}
public void setHttpStatusCode(Integer httpStatusCode) {
this.httpStatusCode = httpStatusCode;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String id;
private String promptId;
private String modelId;
private String jobStatus;
private Double jobTrainProgress;
private String createTime;
private List<String> resultImageUrl;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getPromptId() {
return this.promptId;
}
public void setPromptId(String promptId) {
this.promptId = promptId;
}
public String getModelId() {
return this.modelId;
}
public void setModelId(String modelId) {
this.modelId = modelId;
}
public String getJobStatus() {
return this.jobStatus;
}
public void setJobStatus(String jobStatus) {
this.jobStatus = jobStatus;
}
public Double getJobTrainProgress() {
return this.jobTrainProgress;
}
public void setJobTrainProgress(Double jobTrainProgress) {
this.jobTrainProgress = jobTrainProgress;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public List<String> getResultImageUrl() {
return this.resultImageUrl;
}
public void setResultImageUrl(List<String> resultImageUrl) {
this.resultImageUrl = resultImageUrl;
}
}
@Override
public Personalizedtxt2imgAddInferenceJobResponse getInstance(UnmarshallerContext context) {
return Personalizedtxt2imgAddInferenceJobResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model/v20240611/Personalizedtxt2imgAddModelTrainJobRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aicontent.model.v20240611;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class Personalizedtxt2imgAddModelTrainJobRequest extends RoaAcsRequest<Personalizedtxt2imgAddModelTrainJobResponse> {
private String body;
public Personalizedtxt2imgAddModelTrainJobRequest() {
super("AiContent", "20240611", "Personalizedtxt2imgAddModelTrainJob");
setProtocol(ProtocolType.HTTPS);
setUriPattern("/api/v1/personalizedtxt2img/addModelTrainJob");
setMethod(MethodType.POST);
}
public String getBody() {
return this.body;
}
public void setBody(String body) {
this.body = body;
if(body != null){
putBodyParameter("body", body);
}
}
@Override
public Class<Personalizedtxt2imgAddModelTrainJobResponse> getResponseClass() {
return Personalizedtxt2imgAddModelTrainJobResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model/v20240611/Personalizedtxt2imgAddModelTrainJobResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aicontent.model.v20240611;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aicontent.transform.v20240611.Personalizedtxt2imgAddModelTrainJobResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class Personalizedtxt2imgAddModelTrainJobResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String errCode;
private String errMessage;
private Integer httpStatusCode;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getErrCode() {
return this.errCode;
}
public void setErrCode(String errCode) {
this.errCode = errCode;
}
public String getErrMessage() {
return this.errMessage;
}
public void setErrMessage(String errMessage) {
this.errMessage = errMessage;
}
public Integer getHttpStatusCode() {
return this.httpStatusCode;
}
public void setHttpStatusCode(Integer httpStatusCode) {
this.httpStatusCode = httpStatusCode;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String id;
private String modelId;
private String name;
private String objectType;
private String jobStatus;
private Double jobTrainProgress;
private Integer inferenceImageCount;
private String createTime;
private List<InferenceJobListItem> inferenceJobList;
private List<String> imageUrl;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getModelId() {
return this.modelId;
}
public void setModelId(String modelId) {
this.modelId = modelId;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getObjectType() {
return this.objectType;
}
public void setObjectType(String objectType) {
this.objectType = objectType;
}
public String getJobStatus() {
return this.jobStatus;
}
public void setJobStatus(String jobStatus) {
this.jobStatus = jobStatus;
}
public Double getJobTrainProgress() {
return this.jobTrainProgress;
}
public void setJobTrainProgress(Double jobTrainProgress) {
this.jobTrainProgress = jobTrainProgress;
}
public Integer getInferenceImageCount() {
return this.inferenceImageCount;
}
public void setInferenceImageCount(Integer inferenceImageCount) {
this.inferenceImageCount = inferenceImageCount;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public List<InferenceJobListItem> getInferenceJobList() {
return this.inferenceJobList;
}
public void setInferenceJobList(List<InferenceJobListItem> inferenceJobList) {
this.inferenceJobList = inferenceJobList;
}
public List<String> getImageUrl() {
return this.imageUrl;
}
public void setImageUrl(List<String> imageUrl) {
this.imageUrl = imageUrl;
}
public static class InferenceJobListItem {
private String id;
private String promptId;
private String modelId;
private String jobStatus;
private Double jobTrainProgress;
private String createTime;
private List<String> resultImageUrl;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getPromptId() {
return this.promptId;
}
public void setPromptId(String promptId) {
this.promptId = promptId;
}
public String getModelId() {
return this.modelId;
}
public void setModelId(String modelId) {
this.modelId = modelId;
}
public String getJobStatus() {
return this.jobStatus;
}
public void setJobStatus(String jobStatus) {
this.jobStatus = jobStatus;
}
public Double getJobTrainProgress() {
return this.jobTrainProgress;
}
public void setJobTrainProgress(Double jobTrainProgress) {
this.jobTrainProgress = jobTrainProgress;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public List<String> getResultImageUrl() {
return this.resultImageUrl;
}
public void setResultImageUrl(List<String> resultImageUrl) {
this.resultImageUrl = resultImageUrl;
}
}
}
@Override
public Personalizedtxt2imgAddModelTrainJobResponse getInstance(UnmarshallerContext context) {
return Personalizedtxt2imgAddModelTrainJobResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model/v20240611/Personalizedtxt2imgQueryImageAssetRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aicontent.model.v20240611;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class Personalizedtxt2imgQueryImageAssetRequest extends RoaAcsRequest<Personalizedtxt2imgQueryImageAssetResponse> {
private String imageId;
private String modelId;
private String encodeFormat;
private String promptId;
public Personalizedtxt2imgQueryImageAssetRequest() {
super("AiContent", "20240611", "Personalizedtxt2imgQueryImageAsset");
setProtocol(ProtocolType.HTTPS);
setUriPattern("/api/v1/personalizedtxt2img/queryImageAsset");
setMethod(MethodType.GET);
}
public String getImageId() {
return this.imageId;
}
public void setImageId(String imageId) {
this.imageId = imageId;
if(imageId != null){
putQueryParameter("imageId", imageId);
}
}
public String getModelId() {
return this.modelId;
}
public void setModelId(String modelId) {
this.modelId = modelId;
if(modelId != null){
putQueryParameter("modelId", modelId);
}
}
public String getEncodeFormat() {
return this.encodeFormat;
}
public void setEncodeFormat(String encodeFormat) {
this.encodeFormat = encodeFormat;
if(encodeFormat != null){
putQueryParameter("encodeFormat", encodeFormat);
}
}
public String getPromptId() {
return this.promptId;
}
public void setPromptId(String promptId) {
this.promptId = promptId;
if(promptId != null){
putQueryParameter("promptId", promptId);
}
}
@Override
public Class<Personalizedtxt2imgQueryImageAssetResponse> getResponseClass() {
return Personalizedtxt2imgQueryImageAssetResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model/v20240611/Personalizedtxt2imgQueryImageAssetResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aicontent.model.v20240611;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aicontent.transform.v20240611.Personalizedtxt2imgQueryImageAssetResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class Personalizedtxt2imgQueryImageAssetResponse extends AcsResponse {
@Override
public Personalizedtxt2imgQueryImageAssetResponse getInstance(UnmarshallerContext context) {
return Personalizedtxt2imgQueryImageAssetResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model/v20240611/Personalizedtxt2imgQueryInferenceJobInfoRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aicontent.model.v20240611;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class Personalizedtxt2imgQueryInferenceJobInfoRequest extends RoaAcsRequest<Personalizedtxt2imgQueryInferenceJobInfoResponse> {
private String inferenceJobId;
public Personalizedtxt2imgQueryInferenceJobInfoRequest() {
super("AiContent", "20240611", "Personalizedtxt2imgQueryInferenceJobInfo");
setProtocol(ProtocolType.HTTPS);
setUriPattern("/api/v1/personalizedtxt2img/queryInferenceJobInfo");
setMethod(MethodType.GET);
}
public String getInferenceJobId() {
return this.inferenceJobId;
}
public void setInferenceJobId(String inferenceJobId) {
this.inferenceJobId = inferenceJobId;
if(inferenceJobId != null){
putQueryParameter("inferenceJobId", inferenceJobId);
}
}
@Override
public Class<Personalizedtxt2imgQueryInferenceJobInfoResponse> getResponseClass() {
return Personalizedtxt2imgQueryInferenceJobInfoResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model/v20240611/Personalizedtxt2imgQueryInferenceJobInfoResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aicontent.model.v20240611;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aicontent.transform.v20240611.Personalizedtxt2imgQueryInferenceJobInfoResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class Personalizedtxt2imgQueryInferenceJobInfoResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String errCode;
private String errMessage;
private Integer httpStatusCode;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getErrCode() {
return this.errCode;
}
public void setErrCode(String errCode) {
this.errCode = errCode;
}
public String getErrMessage() {
return this.errMessage;
}
public void setErrMessage(String errMessage) {
this.errMessage = errMessage;
}
public Integer getHttpStatusCode() {
return this.httpStatusCode;
}
public void setHttpStatusCode(Integer httpStatusCode) {
this.httpStatusCode = httpStatusCode;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String id;
private String promptId;
private String modelId;
private String jobStatus;
private Double jobTrainProgress;
private String createTime;
private List<String> resultImageUrl;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getPromptId() {
return this.promptId;
}
public void setPromptId(String promptId) {
this.promptId = promptId;
}
public String getModelId() {
return this.modelId;
}
public void setModelId(String modelId) {
this.modelId = modelId;
}
public String getJobStatus() {
return this.jobStatus;
}
public void setJobStatus(String jobStatus) {
this.jobStatus = jobStatus;
}
public Double getJobTrainProgress() {
return this.jobTrainProgress;
}
public void setJobTrainProgress(Double jobTrainProgress) {
this.jobTrainProgress = jobTrainProgress;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public List<String> getResultImageUrl() {
return this.resultImageUrl;
}
public void setResultImageUrl(List<String> resultImageUrl) {
this.resultImageUrl = resultImageUrl;
}
}
@Override
public Personalizedtxt2imgQueryInferenceJobInfoResponse getInstance(UnmarshallerContext context) {
return Personalizedtxt2imgQueryInferenceJobInfoResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model/v20240611/Personalizedtxt2imgQueryModelTrainJobListRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aicontent.model.v20240611;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class Personalizedtxt2imgQueryModelTrainJobListRequest extends RoaAcsRequest<Personalizedtxt2imgQueryModelTrainJobListResponse> {
public Personalizedtxt2imgQueryModelTrainJobListRequest() {
super("AiContent", "20240611", "Personalizedtxt2imgQueryModelTrainJobList");
setProtocol(ProtocolType.HTTPS);
setUriPattern("/api/v1/personalizedtxt2img/queryModelTrainJobList");
setMethod(MethodType.GET);
}
@Override
public Class<Personalizedtxt2imgQueryModelTrainJobListResponse> getResponseClass() {
return Personalizedtxt2imgQueryModelTrainJobListResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model/v20240611/Personalizedtxt2imgQueryModelTrainJobListResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aicontent.model.v20240611;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aicontent.transform.v20240611.Personalizedtxt2imgQueryModelTrainJobListResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class Personalizedtxt2imgQueryModelTrainJobListResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String errCode;
private String errMessage;
private Integer httpStatusCode;
private List<DataItem> data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getErrCode() {
return this.errCode;
}
public void setErrCode(String errCode) {
this.errCode = errCode;
}
public String getErrMessage() {
return this.errMessage;
}
public void setErrMessage(String errMessage) {
this.errMessage = errMessage;
}
public Integer getHttpStatusCode() {
return this.httpStatusCode;
}
public void setHttpStatusCode(Integer httpStatusCode) {
this.httpStatusCode = httpStatusCode;
}
public List<DataItem> getData() {
return this.data;
}
public void setData(List<DataItem> data) {
this.data = data;
}
public static class DataItem {
private String id;
private String modelId;
private String name;
private String objectType;
private String jobStatus;
private Double jobTrainProgress;
private Integer inferenceImageCount;
private String createTime;
private List<InferenceJobListItem> inferenceJobList;
private List<String> imageUrl;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getModelId() {
return this.modelId;
}
public void setModelId(String modelId) {
this.modelId = modelId;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getObjectType() {
return this.objectType;
}
public void setObjectType(String objectType) {
this.objectType = objectType;
}
public String getJobStatus() {
return this.jobStatus;
}
public void setJobStatus(String jobStatus) {
this.jobStatus = jobStatus;
}
public Double getJobTrainProgress() {
return this.jobTrainProgress;
}
public void setJobTrainProgress(Double jobTrainProgress) {
this.jobTrainProgress = jobTrainProgress;
}
public Integer getInferenceImageCount() {
return this.inferenceImageCount;
}
public void setInferenceImageCount(Integer inferenceImageCount) {
this.inferenceImageCount = inferenceImageCount;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public List<InferenceJobListItem> getInferenceJobList() {
return this.inferenceJobList;
}
public void setInferenceJobList(List<InferenceJobListItem> inferenceJobList) {
this.inferenceJobList = inferenceJobList;
}
public List<String> getImageUrl() {
return this.imageUrl;
}
public void setImageUrl(List<String> imageUrl) {
this.imageUrl = imageUrl;
}
public static class InferenceJobListItem {
private String id;
private String promptId;
private String modelId;
private String jobStatus;
private Double jobTrainProgress;
private String createTime;
private List<String> resultImageUrl;
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
public String getPromptId() {
return this.promptId;
}
public void setPromptId(String promptId) {
this.promptId = promptId;
}
public String getModelId() {
return this.modelId;
}
public void setModelId(String modelId) {
this.modelId = modelId;
}
public String getJobStatus() {
return this.jobStatus;
}
public void setJobStatus(String jobStatus) {
this.jobStatus = jobStatus;
}
public Double getJobTrainProgress() {
return this.jobTrainProgress;
}
public void setJobTrainProgress(Double jobTrainProgress) {
this.jobTrainProgress = jobTrainProgress;
}
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public List<String> getResultImageUrl() {
return this.resultImageUrl;
}
public void setResultImageUrl(List<String> resultImageUrl) {
this.resultImageUrl = resultImageUrl;
}
}
}
@Override
public Personalizedtxt2imgQueryModelTrainJobListResponse getInstance(UnmarshallerContext context) {
return Personalizedtxt2imgQueryModelTrainJobListResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model/v20240611/Personalizedtxt2imgQueryModelTrainStatusRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aicontent.model.v20240611;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class Personalizedtxt2imgQueryModelTrainStatusRequest extends RoaAcsRequest<Personalizedtxt2imgQueryModelTrainStatusResponse> {
private String modelId;
public Personalizedtxt2imgQueryModelTrainStatusRequest() {
super("AiContent", "20240611", "Personalizedtxt2imgQueryModelTrainStatus");
setProtocol(ProtocolType.HTTPS);
setUriPattern("/api/v1/personalizedtxt2img/queryModelTrainStatus");
setMethod(MethodType.GET);
}
public String getModelId() {
return this.modelId;
}
public void setModelId(String modelId) {
this.modelId = modelId;
if(modelId != null){
putQueryParameter("modelId", modelId);
}
}
@Override
public Class<Personalizedtxt2imgQueryModelTrainStatusResponse> getResponseClass() {
return Personalizedtxt2imgQueryModelTrainStatusResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/model/v20240611/Personalizedtxt2imgQueryModelTrainStatusResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aicontent.model.v20240611;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aicontent.transform.v20240611.Personalizedtxt2imgQueryModelTrainStatusResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class Personalizedtxt2imgQueryModelTrainStatusResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String errCode;
private String errMessage;
private Integer httpStatusCode;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getErrCode() {
return this.errCode;
}
public void setErrCode(String errCode) {
this.errCode = errCode;
}
public String getErrMessage() {
return this.errMessage;
}
public void setErrMessage(String errMessage) {
this.errMessage = errMessage;
}
public Integer getHttpStatusCode() {
return this.httpStatusCode;
}
public void setHttpStatusCode(Integer httpStatusCode) {
this.httpStatusCode = httpStatusCode;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String modelTrainStatus;
public String getModelTrainStatus() {
return this.modelTrainStatus;
}
public void setModelTrainStatus(String modelTrainStatus) {
this.modelTrainStatus = modelTrainStatus;
}
}
@Override
public Personalizedtxt2imgQueryModelTrainStatusResponse getInstance(UnmarshallerContext context) {
return Personalizedtxt2imgQueryModelTrainStatusResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/transform/v20240611/AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aicontent.transform.v20240611;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aicontent.model.v20240611.AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse;
import com.aliyuncs.aicontent.model.v20240611.AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.DataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponseUnmarshaller {
public static AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse unmarshall(AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse aliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse, UnmarshallerContext _ctx) {
aliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.setRequestId(_ctx.stringValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.requestId"));
aliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.setSuccess(_ctx.booleanValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.success"));
aliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.setErrCode(_ctx.stringValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.errCode"));
aliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.setErrMessage(_ctx.stringValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.errMessage"));
aliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.setHttpStatusCode(_ctx.integerValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.httpStatusCode"));
List<DataItem> data = new ArrayList<DataItem>();
for (int i = 0; i < _ctx.lengthValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.data.Length"); i++) {
DataItem dataItem = new DataItem();
dataItem.setServiceCode(_ctx.stringValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.data["+ i +"].ServiceCode"));
dataItem.setServiceName(_ctx.stringValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.data["+ i +"].ServiceName"));
dataItem.setFreeCount(_ctx.integerValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.data["+ i +"].FreeCount"));
dataItem.setFreeConcurrencyCount(_ctx.integerValue("AliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.data["+ i +"].FreeConcurrencyCount"));
data.add(dataItem);
}
aliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse.setData(data);
return aliyunConsoleOpenApiQueryAliyunConsoleServcieListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/transform/v20240611/Personalizedtxt2imgAddInferenceJobResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aicontent.transform.v20240611;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aicontent.model.v20240611.Personalizedtxt2imgAddInferenceJobResponse;
import com.aliyuncs.aicontent.model.v20240611.Personalizedtxt2imgAddInferenceJobResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class Personalizedtxt2imgAddInferenceJobResponseUnmarshaller {
public static Personalizedtxt2imgAddInferenceJobResponse unmarshall(Personalizedtxt2imgAddInferenceJobResponse personalizedtxt2imgAddInferenceJobResponse, UnmarshallerContext _ctx) {
personalizedtxt2imgAddInferenceJobResponse.setRequestId(_ctx.stringValue("Personalizedtxt2imgAddInferenceJobResponse.requestId"));
personalizedtxt2imgAddInferenceJobResponse.setSuccess(_ctx.booleanValue("Personalizedtxt2imgAddInferenceJobResponse.success"));
personalizedtxt2imgAddInferenceJobResponse.setErrCode(_ctx.stringValue("Personalizedtxt2imgAddInferenceJobResponse.errCode"));
personalizedtxt2imgAddInferenceJobResponse.setErrMessage(_ctx.stringValue("Personalizedtxt2imgAddInferenceJobResponse.errMessage"));
personalizedtxt2imgAddInferenceJobResponse.setHttpStatusCode(_ctx.integerValue("Personalizedtxt2imgAddInferenceJobResponse.httpStatusCode"));
Data data = new Data();
data.setId(_ctx.stringValue("Personalizedtxt2imgAddInferenceJobResponse.data.id"));
data.setPromptId(_ctx.stringValue("Personalizedtxt2imgAddInferenceJobResponse.data.promptId"));
data.setModelId(_ctx.stringValue("Personalizedtxt2imgAddInferenceJobResponse.data.modelId"));
data.setJobStatus(_ctx.stringValue("Personalizedtxt2imgAddInferenceJobResponse.data.jobStatus"));
data.setJobTrainProgress(_ctx.doubleValue("Personalizedtxt2imgAddInferenceJobResponse.data.jobTrainProgress"));
data.setCreateTime(_ctx.stringValue("Personalizedtxt2imgAddInferenceJobResponse.data.createTime"));
List<String> resultImageUrl = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("Personalizedtxt2imgAddInferenceJobResponse.data.resultImageUrl.Length"); i++) {
resultImageUrl.add(_ctx.stringValue("Personalizedtxt2imgAddInferenceJobResponse.data.resultImageUrl["+ i +"]"));
}
data.setResultImageUrl(resultImageUrl);
personalizedtxt2imgAddInferenceJobResponse.setData(data);
return personalizedtxt2imgAddInferenceJobResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/transform/v20240611/Personalizedtxt2imgAddModelTrainJobResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aicontent.transform.v20240611;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aicontent.model.v20240611.Personalizedtxt2imgAddModelTrainJobResponse;
import com.aliyuncs.aicontent.model.v20240611.Personalizedtxt2imgAddModelTrainJobResponse.Data;
import com.aliyuncs.aicontent.model.v20240611.Personalizedtxt2imgAddModelTrainJobResponse.Data.InferenceJobListItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class Personalizedtxt2imgAddModelTrainJobResponseUnmarshaller {
public static Personalizedtxt2imgAddModelTrainJobResponse unmarshall(Personalizedtxt2imgAddModelTrainJobResponse personalizedtxt2imgAddModelTrainJobResponse, UnmarshallerContext _ctx) {
personalizedtxt2imgAddModelTrainJobResponse.setRequestId(_ctx.stringValue("Personalizedtxt2imgAddModelTrainJobResponse.requestId"));
personalizedtxt2imgAddModelTrainJobResponse.setSuccess(_ctx.booleanValue("Personalizedtxt2imgAddModelTrainJobResponse.success"));
personalizedtxt2imgAddModelTrainJobResponse.setErrCode(_ctx.stringValue("Personalizedtxt2imgAddModelTrainJobResponse.errCode"));
personalizedtxt2imgAddModelTrainJobResponse.setErrMessage(_ctx.stringValue("Personalizedtxt2imgAddModelTrainJobResponse.errMessage"));
personalizedtxt2imgAddModelTrainJobResponse.setHttpStatusCode(_ctx.integerValue("Personalizedtxt2imgAddModelTrainJobResponse.httpStatusCode"));
Data data = new Data();
data.setId(_ctx.stringValue("Personalizedtxt2imgAddModelTrainJobResponse.data.id"));
data.setModelId(_ctx.stringValue("Personalizedtxt2imgAddModelTrainJobResponse.data.modelId"));
data.setName(_ctx.stringValue("Personalizedtxt2imgAddModelTrainJobResponse.data.name"));
data.setObjectType(_ctx.stringValue("Personalizedtxt2imgAddModelTrainJobResponse.data.objectType"));
data.setJobStatus(_ctx.stringValue("Personalizedtxt2imgAddModelTrainJobResponse.data.jobStatus"));
data.setJobTrainProgress(_ctx.doubleValue("Personalizedtxt2imgAddModelTrainJobResponse.data.jobTrainProgress"));
data.setInferenceImageCount(_ctx.integerValue("Personalizedtxt2imgAddModelTrainJobResponse.data.inferenceImageCount"));
data.setCreateTime(_ctx.stringValue("Personalizedtxt2imgAddModelTrainJobResponse.data.createTime"));
List<String> imageUrl = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("Personalizedtxt2imgAddModelTrainJobResponse.data.imageUrl.Length"); i++) {
imageUrl.add(_ctx.stringValue("Personalizedtxt2imgAddModelTrainJobResponse.data.imageUrl["+ i +"]"));
}
data.setImageUrl(imageUrl);
List<InferenceJobListItem> inferenceJobList = new ArrayList<InferenceJobListItem>();
for (int i = 0; i < _ctx.lengthValue("Personalizedtxt2imgAddModelTrainJobResponse.data.inferenceJobList.Length"); i++) {
InferenceJobListItem inferenceJobListItem = new InferenceJobListItem();
inferenceJobListItem.setId(_ctx.stringValue("Personalizedtxt2imgAddModelTrainJobResponse.data.inferenceJobList["+ i +"].id"));
inferenceJobListItem.setPromptId(_ctx.stringValue("Personalizedtxt2imgAddModelTrainJobResponse.data.inferenceJobList["+ i +"].promptId"));
inferenceJobListItem.setModelId(_ctx.stringValue("Personalizedtxt2imgAddModelTrainJobResponse.data.inferenceJobList["+ i +"].modelId"));
inferenceJobListItem.setJobStatus(_ctx.stringValue("Personalizedtxt2imgAddModelTrainJobResponse.data.inferenceJobList["+ i +"].jobStatus"));
inferenceJobListItem.setJobTrainProgress(_ctx.doubleValue("Personalizedtxt2imgAddModelTrainJobResponse.data.inferenceJobList["+ i +"].jobTrainProgress"));
inferenceJobListItem.setCreateTime(_ctx.stringValue("Personalizedtxt2imgAddModelTrainJobResponse.data.inferenceJobList["+ i +"].createTime"));
List<String> resultImageUrl = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("Personalizedtxt2imgAddModelTrainJobResponse.data.inferenceJobList["+ i +"].resultImageUrl.Length"); j++) {
resultImageUrl.add(_ctx.stringValue("Personalizedtxt2imgAddModelTrainJobResponse.data.inferenceJobList["+ i +"].resultImageUrl["+ j +"]"));
}
inferenceJobListItem.setResultImageUrl(resultImageUrl);
inferenceJobList.add(inferenceJobListItem);
}
data.setInferenceJobList(inferenceJobList);
personalizedtxt2imgAddModelTrainJobResponse.setData(data);
return personalizedtxt2imgAddModelTrainJobResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/transform/v20240611/Personalizedtxt2imgQueryImageAssetResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aicontent.transform.v20240611;
import com.aliyuncs.aicontent.model.v20240611.Personalizedtxt2imgQueryImageAssetResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class Personalizedtxt2imgQueryImageAssetResponseUnmarshaller {
public static Personalizedtxt2imgQueryImageAssetResponse unmarshall(Personalizedtxt2imgQueryImageAssetResponse personalizedtxt2imgQueryImageAssetResponse, UnmarshallerContext _ctx) {
return personalizedtxt2imgQueryImageAssetResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/transform/v20240611/Personalizedtxt2imgQueryInferenceJobInfoResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aicontent.transform.v20240611;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aicontent.model.v20240611.Personalizedtxt2imgQueryInferenceJobInfoResponse;
import com.aliyuncs.aicontent.model.v20240611.Personalizedtxt2imgQueryInferenceJobInfoResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class Personalizedtxt2imgQueryInferenceJobInfoResponseUnmarshaller {
public static Personalizedtxt2imgQueryInferenceJobInfoResponse unmarshall(Personalizedtxt2imgQueryInferenceJobInfoResponse personalizedtxt2imgQueryInferenceJobInfoResponse, UnmarshallerContext _ctx) {
personalizedtxt2imgQueryInferenceJobInfoResponse.setRequestId(_ctx.stringValue("Personalizedtxt2imgQueryInferenceJobInfoResponse.requestId"));
personalizedtxt2imgQueryInferenceJobInfoResponse.setSuccess(_ctx.booleanValue("Personalizedtxt2imgQueryInferenceJobInfoResponse.success"));
personalizedtxt2imgQueryInferenceJobInfoResponse.setErrCode(_ctx.stringValue("Personalizedtxt2imgQueryInferenceJobInfoResponse.errCode"));
personalizedtxt2imgQueryInferenceJobInfoResponse.setErrMessage(_ctx.stringValue("Personalizedtxt2imgQueryInferenceJobInfoResponse.errMessage"));
personalizedtxt2imgQueryInferenceJobInfoResponse.setHttpStatusCode(_ctx.integerValue("Personalizedtxt2imgQueryInferenceJobInfoResponse.httpStatusCode"));
Data data = new Data();
data.setId(_ctx.stringValue("Personalizedtxt2imgQueryInferenceJobInfoResponse.data.id"));
data.setPromptId(_ctx.stringValue("Personalizedtxt2imgQueryInferenceJobInfoResponse.data.promptId"));
data.setModelId(_ctx.stringValue("Personalizedtxt2imgQueryInferenceJobInfoResponse.data.modelId"));
data.setJobStatus(_ctx.stringValue("Personalizedtxt2imgQueryInferenceJobInfoResponse.data.jobStatus"));
data.setJobTrainProgress(_ctx.doubleValue("Personalizedtxt2imgQueryInferenceJobInfoResponse.data.jobTrainProgress"));
data.setCreateTime(_ctx.stringValue("Personalizedtxt2imgQueryInferenceJobInfoResponse.data.createTime"));
List<String> resultImageUrl = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("Personalizedtxt2imgQueryInferenceJobInfoResponse.data.resultImageUrl.Length"); i++) {
resultImageUrl.add(_ctx.stringValue("Personalizedtxt2imgQueryInferenceJobInfoResponse.data.resultImageUrl["+ i +"]"));
}
data.setResultImageUrl(resultImageUrl);
personalizedtxt2imgQueryInferenceJobInfoResponse.setData(data);
return personalizedtxt2imgQueryInferenceJobInfoResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/transform/v20240611/Personalizedtxt2imgQueryModelTrainJobListResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aicontent.transform.v20240611;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.aicontent.model.v20240611.Personalizedtxt2imgQueryModelTrainJobListResponse;
import com.aliyuncs.aicontent.model.v20240611.Personalizedtxt2imgQueryModelTrainJobListResponse.DataItem;
import com.aliyuncs.aicontent.model.v20240611.Personalizedtxt2imgQueryModelTrainJobListResponse.DataItem.InferenceJobListItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class Personalizedtxt2imgQueryModelTrainJobListResponseUnmarshaller {
public static Personalizedtxt2imgQueryModelTrainJobListResponse unmarshall(Personalizedtxt2imgQueryModelTrainJobListResponse personalizedtxt2imgQueryModelTrainJobListResponse, UnmarshallerContext _ctx) {
personalizedtxt2imgQueryModelTrainJobListResponse.setRequestId(_ctx.stringValue("Personalizedtxt2imgQueryModelTrainJobListResponse.requestId"));
personalizedtxt2imgQueryModelTrainJobListResponse.setSuccess(_ctx.booleanValue("Personalizedtxt2imgQueryModelTrainJobListResponse.success"));
personalizedtxt2imgQueryModelTrainJobListResponse.setErrCode(_ctx.stringValue("Personalizedtxt2imgQueryModelTrainJobListResponse.errCode"));
personalizedtxt2imgQueryModelTrainJobListResponse.setErrMessage(_ctx.stringValue("Personalizedtxt2imgQueryModelTrainJobListResponse.errMessage"));
personalizedtxt2imgQueryModelTrainJobListResponse.setHttpStatusCode(_ctx.integerValue("Personalizedtxt2imgQueryModelTrainJobListResponse.httpStatusCode"));
List<DataItem> data = new ArrayList<DataItem>();
for (int i = 0; i < _ctx.lengthValue("Personalizedtxt2imgQueryModelTrainJobListResponse.data.Length"); i++) {
DataItem dataItem = new DataItem();
dataItem.setId(_ctx.stringValue("Personalizedtxt2imgQueryModelTrainJobListResponse.data["+ i +"].id"));
dataItem.setModelId(_ctx.stringValue("Personalizedtxt2imgQueryModelTrainJobListResponse.data["+ i +"].modelId"));
dataItem.setName(_ctx.stringValue("Personalizedtxt2imgQueryModelTrainJobListResponse.data["+ i +"].name"));
dataItem.setObjectType(_ctx.stringValue("Personalizedtxt2imgQueryModelTrainJobListResponse.data["+ i +"].objectType"));
dataItem.setJobStatus(_ctx.stringValue("Personalizedtxt2imgQueryModelTrainJobListResponse.data["+ i +"].jobStatus"));
dataItem.setJobTrainProgress(_ctx.doubleValue("Personalizedtxt2imgQueryModelTrainJobListResponse.data["+ i +"].jobTrainProgress"));
dataItem.setInferenceImageCount(_ctx.integerValue("Personalizedtxt2imgQueryModelTrainJobListResponse.data["+ i +"].inferenceImageCount"));
dataItem.setCreateTime(_ctx.stringValue("Personalizedtxt2imgQueryModelTrainJobListResponse.data["+ i +"].createTime"));
List<String> imageUrl = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("Personalizedtxt2imgQueryModelTrainJobListResponse.data["+ i +"].imageUrl.Length"); j++) {
imageUrl.add(_ctx.stringValue("Personalizedtxt2imgQueryModelTrainJobListResponse.data["+ i +"].imageUrl["+ j +"]"));
}
dataItem.setImageUrl(imageUrl);
List<InferenceJobListItem> inferenceJobList = new ArrayList<InferenceJobListItem>();
for (int j = 0; j < _ctx.lengthValue("Personalizedtxt2imgQueryModelTrainJobListResponse.data["+ i +"].inferenceJobList.Length"); j++) {
InferenceJobListItem inferenceJobListItem = new InferenceJobListItem();
inferenceJobListItem.setId(_ctx.stringValue("Personalizedtxt2imgQueryModelTrainJobListResponse.data["+ i +"].inferenceJobList["+ j +"].id"));
inferenceJobListItem.setPromptId(_ctx.stringValue("Personalizedtxt2imgQueryModelTrainJobListResponse.data["+ i +"].inferenceJobList["+ j +"].promptId"));
inferenceJobListItem.setModelId(_ctx.stringValue("Personalizedtxt2imgQueryModelTrainJobListResponse.data["+ i +"].inferenceJobList["+ j +"].modelId"));
inferenceJobListItem.setJobStatus(_ctx.stringValue("Personalizedtxt2imgQueryModelTrainJobListResponse.data["+ i +"].inferenceJobList["+ j +"].jobStatus"));
inferenceJobListItem.setJobTrainProgress(_ctx.doubleValue("Personalizedtxt2imgQueryModelTrainJobListResponse.data["+ i +"].inferenceJobList["+ j +"].jobTrainProgress"));
inferenceJobListItem.setCreateTime(_ctx.stringValue("Personalizedtxt2imgQueryModelTrainJobListResponse.data["+ i +"].inferenceJobList["+ j +"].createTime"));
List<String> resultImageUrl = new ArrayList<String>();
for (int k = 0; k < _ctx.lengthValue("Personalizedtxt2imgQueryModelTrainJobListResponse.data["+ i +"].inferenceJobList["+ j +"].resultImageUrl.Length"); k++) {
resultImageUrl.add(_ctx.stringValue("Personalizedtxt2imgQueryModelTrainJobListResponse.data["+ i +"].inferenceJobList["+ j +"].resultImageUrl["+ k +"]"));
}
inferenceJobListItem.setResultImageUrl(resultImageUrl);
inferenceJobList.add(inferenceJobListItem);
}
dataItem.setInferenceJobList(inferenceJobList);
data.add(dataItem);
}
personalizedtxt2imgQueryModelTrainJobListResponse.setData(data);
return personalizedtxt2imgQueryModelTrainJobListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aicontent/1.0.0/com/aliyuncs/aicontent/transform/v20240611/Personalizedtxt2imgQueryModelTrainStatusResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aicontent.transform.v20240611;
import com.aliyuncs.aicontent.model.v20240611.Personalizedtxt2imgQueryModelTrainStatusResponse;
import com.aliyuncs.aicontent.model.v20240611.Personalizedtxt2imgQueryModelTrainStatusResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class Personalizedtxt2imgQueryModelTrainStatusResponseUnmarshaller {
public static Personalizedtxt2imgQueryModelTrainStatusResponse unmarshall(Personalizedtxt2imgQueryModelTrainStatusResponse personalizedtxt2imgQueryModelTrainStatusResponse, UnmarshallerContext _ctx) {
personalizedtxt2imgQueryModelTrainStatusResponse.setRequestId(_ctx.stringValue("Personalizedtxt2imgQueryModelTrainStatusResponse.requestId"));
personalizedtxt2imgQueryModelTrainStatusResponse.setSuccess(_ctx.booleanValue("Personalizedtxt2imgQueryModelTrainStatusResponse.success"));
personalizedtxt2imgQueryModelTrainStatusResponse.setErrCode(_ctx.stringValue("Personalizedtxt2imgQueryModelTrainStatusResponse.errCode"));
personalizedtxt2imgQueryModelTrainStatusResponse.setErrMessage(_ctx.stringValue("Personalizedtxt2imgQueryModelTrainStatusResponse.errMessage"));
personalizedtxt2imgQueryModelTrainStatusResponse.setHttpStatusCode(_ctx.integerValue("Personalizedtxt2imgQueryModelTrainStatusResponse.httpStatusCode"));
Data data = new Data();
data.setModelTrainStatus(_ctx.stringValue("Personalizedtxt2imgQueryModelTrainStatusResponse.data.modelTrainStatus"));
personalizedtxt2imgQueryModelTrainStatusResponse.setData(data);
return personalizedtxt2imgQueryModelTrainStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/model
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/model/v20240111/GenerateCosplayImageRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aigen.model.v20240111;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class GenerateCosplayImageRequest extends RpcAcsRequest<GenerateCosplayImageResponse> {
private String templateImageUrl;
private String faceImageUrl;
private Long style;
public GenerateCosplayImageRequest() {
super("aigen", "2024-01-11", "GenerateCosplayImage");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.POST);
}
public String getTemplateImageUrl() {
return this.templateImageUrl;
}
public void setTemplateImageUrl(String templateImageUrl) {
this.templateImageUrl = templateImageUrl;
if(templateImageUrl != null){
putBodyParameter("TemplateImageUrl", templateImageUrl);
}
}
public String getFaceImageUrl() {
return this.faceImageUrl;
}
public void setFaceImageUrl(String faceImageUrl) {
this.faceImageUrl = faceImageUrl;
if(faceImageUrl != null){
putBodyParameter("FaceImageUrl", faceImageUrl);
}
}
public Long getStyle() {
return this.style;
}
public void setStyle(Long style) {
this.style = style;
if(style != null){
putBodyParameter("Style", style.toString());
}
}
@Override
public Class<GenerateCosplayImageResponse> getResponseClass() {
return GenerateCosplayImageResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/model
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/model/v20240111/GenerateCosplayImageResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aigen.model.v20240111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aigen.transform.v20240111.GenerateCosplayImageResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GenerateCosplayImageResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String resultUrl;
public String getResultUrl() {
return this.resultUrl;
}
public void setResultUrl(String resultUrl) {
this.resultUrl = resultUrl;
}
}
@Override
public GenerateCosplayImageResponse getInstance(UnmarshallerContext context) {
return GenerateCosplayImageResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/model
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/model/v20240111/GenerateTextDeformationRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aigen.model.v20240111;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class GenerateTextDeformationRequest extends RpcAcsRequest<GenerateTextDeformationResponse> {
private String textContent;
private String fontName;
private String ttfUrl;
private Long n;
private Boolean async;
private String prompt;
private String outputImageRatio;
public GenerateTextDeformationRequest() {
super("aigen", "2024-01-11", "GenerateTextDeformation");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.POST);
}
public String getTextContent() {
return this.textContent;
}
public void setTextContent(String textContent) {
this.textContent = textContent;
if(textContent != null){
putBodyParameter("TextContent", textContent);
}
}
public String getFontName() {
return this.fontName;
}
public void setFontName(String fontName) {
this.fontName = fontName;
if(fontName != null){
putBodyParameter("FontName", fontName);
}
}
public String getTtfUrl() {
return this.ttfUrl;
}
public void setTtfUrl(String ttfUrl) {
this.ttfUrl = ttfUrl;
if(ttfUrl != null){
putBodyParameter("TtfUrl", ttfUrl);
}
}
public Long getN() {
return this.n;
}
public void setN(Long n) {
this.n = n;
if(n != null){
putBodyParameter("N", n.toString());
}
}
public Boolean getAsync() {
return this.async;
}
public void setAsync(Boolean async) {
this.async = async;
if(async != null){
putBodyParameter("Async", async.toString());
}
}
public String getPrompt() {
return this.prompt;
}
public void setPrompt(String prompt) {
this.prompt = prompt;
if(prompt != null){
putBodyParameter("Prompt", prompt);
}
}
public String getOutputImageRatio() {
return this.outputImageRatio;
}
public void setOutputImageRatio(String outputImageRatio) {
this.outputImageRatio = outputImageRatio;
if(outputImageRatio != null){
putBodyParameter("OutputImageRatio", outputImageRatio);
}
}
@Override
public Class<GenerateTextDeformationResponse> getResponseClass() {
return GenerateTextDeformationResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/model
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/model/v20240111/GenerateTextDeformationResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aigen.model.v20240111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aigen.transform.v20240111.GenerateTextDeformationResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GenerateTextDeformationResponse extends AcsResponse {
private String requestId;
private String message;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String resultUrl;
public String getResultUrl() {
return this.resultUrl;
}
public void setResultUrl(String resultUrl) {
this.resultUrl = resultUrl;
}
}
@Override
public GenerateTextDeformationResponse getInstance(UnmarshallerContext context) {
return GenerateTextDeformationResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/model
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/model/v20240111/GenerateTextTextureRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aigen.model.v20240111;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class GenerateTextTextureRequest extends RpcAcsRequest<GenerateTextTextureResponse> {
private String textContent;
private String textureStyle;
private String fontName;
private String ttfUrl;
private Long n;
private Boolean alphaChannel;
private String imageUrl;
private Long imageShortSize;
private String prompt;
private String outputImageRatio;
public GenerateTextTextureRequest() {
super("aigen", "2024-01-11", "GenerateTextTexture");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.POST);
}
public String getTextContent() {
return this.textContent;
}
public void setTextContent(String textContent) {
this.textContent = textContent;
if(textContent != null){
putBodyParameter("TextContent", textContent);
}
}
public String getTextureStyle() {
return this.textureStyle;
}
public void setTextureStyle(String textureStyle) {
this.textureStyle = textureStyle;
if(textureStyle != null){
putQueryParameter("TextureStyle", textureStyle);
}
}
public String getFontName() {
return this.fontName;
}
public void setFontName(String fontName) {
this.fontName = fontName;
if(fontName != null){
putBodyParameter("FontName", fontName);
}
}
public String getTtfUrl() {
return this.ttfUrl;
}
public void setTtfUrl(String ttfUrl) {
this.ttfUrl = ttfUrl;
if(ttfUrl != null){
putBodyParameter("TtfUrl", ttfUrl);
}
}
public Long getN() {
return this.n;
}
public void setN(Long n) {
this.n = n;
if(n != null){
putBodyParameter("N", n.toString());
}
}
public Boolean getAlphaChannel() {
return this.alphaChannel;
}
public void setAlphaChannel(Boolean alphaChannel) {
this.alphaChannel = alphaChannel;
if(alphaChannel != null){
putBodyParameter("AlphaChannel", alphaChannel.toString());
}
}
public String getImageUrl() {
return this.imageUrl;
}
public void setImageUrl(String imageUrl) {
this.imageUrl = imageUrl;
if(imageUrl != null){
putBodyParameter("ImageUrl", imageUrl);
}
}
public Long getImageShortSize() {
return this.imageShortSize;
}
public void setImageShortSize(Long imageShortSize) {
this.imageShortSize = imageShortSize;
if(imageShortSize != null){
putBodyParameter("ImageShortSize", imageShortSize.toString());
}
}
public String getPrompt() {
return this.prompt;
}
public void setPrompt(String prompt) {
this.prompt = prompt;
if(prompt != null){
putBodyParameter("Prompt", prompt);
}
}
public String getOutputImageRatio() {
return this.outputImageRatio;
}
public void setOutputImageRatio(String outputImageRatio) {
this.outputImageRatio = outputImageRatio;
if(outputImageRatio != null){
putBodyParameter("OutputImageRatio", outputImageRatio);
}
}
@Override
public Class<GenerateTextTextureResponse> getResponseClass() {
return GenerateTextTextureResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/model
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/model/v20240111/GenerateTextTextureResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aigen.model.v20240111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aigen.transform.v20240111.GenerateTextTextureResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GenerateTextTextureResponse extends AcsResponse {
private String requestId;
private String message;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String resultUrl;
public String getResultUrl() {
return this.resultUrl;
}
public void setResultUrl(String resultUrl) {
this.resultUrl = resultUrl;
}
}
@Override
public GenerateTextTextureResponse getInstance(UnmarshallerContext context) {
return GenerateTextTextureResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/model
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/model/v20240111/InteractiveFullSegmentationRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aigen.model.v20240111;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class InteractiveFullSegmentationRequest extends RpcAcsRequest<InteractiveFullSegmentationResponse> {
private String returnFormat;
private String imageUrl;
public InteractiveFullSegmentationRequest() {
super("aigen", "2024-01-11", "InteractiveFullSegmentation");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.POST);
}
public String getReturnFormat() {
return this.returnFormat;
}
public void setReturnFormat(String returnFormat) {
this.returnFormat = returnFormat;
if(returnFormat != null){
putBodyParameter("ReturnFormat", returnFormat);
}
}
public String getImageUrl() {
return this.imageUrl;
}
public void setImageUrl(String imageUrl) {
this.imageUrl = imageUrl;
if(imageUrl != null){
putBodyParameter("ImageUrl", imageUrl);
}
}
@Override
public Class<InteractiveFullSegmentationResponse> getResponseClass() {
return InteractiveFullSegmentationResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/model
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/model/v20240111/InteractiveFullSegmentationResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aigen.model.v20240111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aigen.transform.v20240111.InteractiveFullSegmentationResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class InteractiveFullSegmentationResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String resultUrl;
public String getResultUrl() {
return this.resultUrl;
}
public void setResultUrl(String resultUrl) {
this.resultUrl = resultUrl;
}
}
@Override
public InteractiveFullSegmentationResponse getInstance(UnmarshallerContext context) {
return InteractiveFullSegmentationResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/model
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/model/v20240111/InteractiveScribbleSegmentationRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aigen.model.v20240111;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class InteractiveScribbleSegmentationRequest extends RpcAcsRequest<InteractiveScribbleSegmentationResponse> {
private String posScribbleImageUrl;
private String integratedMaskUrl;
private String maskImageUrl;
private String returnForm;
private String negScribbleImageUrl;
private String returnFormat;
private String edgeFeathering;
private String imageUrl;
private String postprocessOption;
public InteractiveScribbleSegmentationRequest() {
super("aigen", "2024-01-11", "InteractiveScribbleSegmentation");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.POST);
}
public String getPosScribbleImageUrl() {
return this.posScribbleImageUrl;
}
public void setPosScribbleImageUrl(String posScribbleImageUrl) {
this.posScribbleImageUrl = posScribbleImageUrl;
if(posScribbleImageUrl != null){
putBodyParameter("PosScribbleImageUrl", posScribbleImageUrl);
}
}
public String getIntegratedMaskUrl() {
return this.integratedMaskUrl;
}
public void setIntegratedMaskUrl(String integratedMaskUrl) {
this.integratedMaskUrl = integratedMaskUrl;
if(integratedMaskUrl != null){
putBodyParameter("IntegratedMaskUrl", integratedMaskUrl);
}
}
public String getMaskImageUrl() {
return this.maskImageUrl;
}
public void setMaskImageUrl(String maskImageUrl) {
this.maskImageUrl = maskImageUrl;
if(maskImageUrl != null){
putBodyParameter("MaskImageUrl", maskImageUrl);
}
}
public String getReturnForm() {
return this.returnForm;
}
public void setReturnForm(String returnForm) {
this.returnForm = returnForm;
if(returnForm != null){
putBodyParameter("ReturnForm", returnForm);
}
}
public String getNegScribbleImageUrl() {
return this.negScribbleImageUrl;
}
public void setNegScribbleImageUrl(String negScribbleImageUrl) {
this.negScribbleImageUrl = negScribbleImageUrl;
if(negScribbleImageUrl != null){
putBodyParameter("NegScribbleImageUrl", negScribbleImageUrl);
}
}
public String getReturnFormat() {
return this.returnFormat;
}
public void setReturnFormat(String returnFormat) {
this.returnFormat = returnFormat;
if(returnFormat != null){
putBodyParameter("ReturnFormat", returnFormat);
}
}
public String getEdgeFeathering() {
return this.edgeFeathering;
}
public void setEdgeFeathering(String edgeFeathering) {
this.edgeFeathering = edgeFeathering;
if(edgeFeathering != null){
putBodyParameter("EdgeFeathering", edgeFeathering);
}
}
public String getImageUrl() {
return this.imageUrl;
}
public void setImageUrl(String imageUrl) {
this.imageUrl = imageUrl;
if(imageUrl != null){
putBodyParameter("ImageUrl", imageUrl);
}
}
public String getPostprocessOption() {
return this.postprocessOption;
}
public void setPostprocessOption(String postprocessOption) {
this.postprocessOption = postprocessOption;
if(postprocessOption != null){
putBodyParameter("PostprocessOption", postprocessOption);
}
}
@Override
public Class<InteractiveScribbleSegmentationResponse> getResponseClass() {
return InteractiveScribbleSegmentationResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/model
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/model/v20240111/InteractiveScribbleSegmentationResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aigen.model.v20240111;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aigen.transform.v20240111.InteractiveScribbleSegmentationResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class InteractiveScribbleSegmentationResponse extends AcsResponse {
private String requestId;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String resultUrl;
public String getResultUrl() {
return this.resultUrl;
}
public void setResultUrl(String resultUrl) {
this.resultUrl = resultUrl;
}
}
@Override
public InteractiveScribbleSegmentationResponse getInstance(UnmarshallerContext context) {
return InteractiveScribbleSegmentationResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/transform/v20240111/GenerateCosplayImageResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aigen.transform.v20240111;
import com.aliyuncs.aigen.model.v20240111.GenerateCosplayImageResponse;
import com.aliyuncs.aigen.model.v20240111.GenerateCosplayImageResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class GenerateCosplayImageResponseUnmarshaller {
public static GenerateCosplayImageResponse unmarshall(GenerateCosplayImageResponse generateCosplayImageResponse, UnmarshallerContext _ctx) {
generateCosplayImageResponse.setRequestId(_ctx.stringValue("GenerateCosplayImageResponse.RequestId"));
generateCosplayImageResponse.setCode(_ctx.stringValue("GenerateCosplayImageResponse.Code"));
generateCosplayImageResponse.setMessage(_ctx.stringValue("GenerateCosplayImageResponse.Message"));
Data data = new Data();
data.setResultUrl(_ctx.stringValue("GenerateCosplayImageResponse.Data.ResultUrl"));
generateCosplayImageResponse.setData(data);
return generateCosplayImageResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/transform/v20240111/GenerateTextDeformationResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aigen.transform.v20240111;
import com.aliyuncs.aigen.model.v20240111.GenerateTextDeformationResponse;
import com.aliyuncs.aigen.model.v20240111.GenerateTextDeformationResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class GenerateTextDeformationResponseUnmarshaller {
public static GenerateTextDeformationResponse unmarshall(GenerateTextDeformationResponse generateTextDeformationResponse, UnmarshallerContext _ctx) {
generateTextDeformationResponse.setRequestId(_ctx.stringValue("GenerateTextDeformationResponse.RequestId"));
generateTextDeformationResponse.setMessage(_ctx.stringValue("GenerateTextDeformationResponse.Message"));
Data data = new Data();
data.setResultUrl(_ctx.stringValue("GenerateTextDeformationResponse.Data.ResultUrl"));
generateTextDeformationResponse.setData(data);
return generateTextDeformationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/transform/v20240111/GenerateTextTextureResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aigen.transform.v20240111;
import com.aliyuncs.aigen.model.v20240111.GenerateTextTextureResponse;
import com.aliyuncs.aigen.model.v20240111.GenerateTextTextureResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class GenerateTextTextureResponseUnmarshaller {
public static GenerateTextTextureResponse unmarshall(GenerateTextTextureResponse generateTextTextureResponse, UnmarshallerContext _ctx) {
generateTextTextureResponse.setRequestId(_ctx.stringValue("GenerateTextTextureResponse.RequestId"));
generateTextTextureResponse.setMessage(_ctx.stringValue("GenerateTextTextureResponse.Message"));
Data data = new Data();
data.setResultUrl(_ctx.stringValue("GenerateTextTextureResponse.Data.ResultUrl"));
generateTextTextureResponse.setData(data);
return generateTextTextureResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/transform/v20240111/InteractiveFullSegmentationResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aigen.transform.v20240111;
import com.aliyuncs.aigen.model.v20240111.InteractiveFullSegmentationResponse;
import com.aliyuncs.aigen.model.v20240111.InteractiveFullSegmentationResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class InteractiveFullSegmentationResponseUnmarshaller {
public static InteractiveFullSegmentationResponse unmarshall(InteractiveFullSegmentationResponse interactiveFullSegmentationResponse, UnmarshallerContext _ctx) {
interactiveFullSegmentationResponse.setRequestId(_ctx.stringValue("InteractiveFullSegmentationResponse.RequestId"));
interactiveFullSegmentationResponse.setCode(_ctx.stringValue("InteractiveFullSegmentationResponse.Code"));
interactiveFullSegmentationResponse.setMessage(_ctx.stringValue("InteractiveFullSegmentationResponse.Message"));
Data data = new Data();
data.setResultUrl(_ctx.stringValue("InteractiveFullSegmentationResponse.Data.ResultUrl"));
interactiveFullSegmentationResponse.setData(data);
return interactiveFullSegmentationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aigen/1.0.0/com/aliyuncs/aigen/transform/v20240111/InteractiveScribbleSegmentationResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aigen.transform.v20240111;
import com.aliyuncs.aigen.model.v20240111.InteractiveScribbleSegmentationResponse;
import com.aliyuncs.aigen.model.v20240111.InteractiveScribbleSegmentationResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class InteractiveScribbleSegmentationResponseUnmarshaller {
public static InteractiveScribbleSegmentationResponse unmarshall(InteractiveScribbleSegmentationResponse interactiveScribbleSegmentationResponse, UnmarshallerContext _ctx) {
interactiveScribbleSegmentationResponse.setRequestId(_ctx.stringValue("InteractiveScribbleSegmentationResponse.RequestId"));
Data data = new Data();
data.setResultUrl(_ctx.stringValue("InteractiveScribbleSegmentationResponse.Data.ResultUrl"));
interactiveScribbleSegmentationResponse.setData(data);
return interactiveScribbleSegmentationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model/v20241114/ChatMessageRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimath.model.v20241114;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class ChatMessageRequest extends RpcAcsRequest<ChatMessageResponse> {
private String conversationId;
private String userId;
private String content;
public ChatMessageRequest() {
super("AIMath", "2024-11-14", "ChatMessage");
setMethod(MethodType.POST);
}
public String getConversationId() {
return this.conversationId;
}
public void setConversationId(String conversationId) {
this.conversationId = conversationId;
if(conversationId != null){
putBodyParameter("ConversationId", conversationId);
}
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
if(userId != null){
putBodyParameter("UserId", userId);
}
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
if(content != null){
putBodyParameter("Content", content);
}
}
@Override
public Class<ChatMessageResponse> getResponseClass() {
return ChatMessageResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model/v20241114/ChatMessageResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimath.model.v20241114;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aimath.transform.v20241114.ChatMessageResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ChatMessageResponse extends AcsResponse {
private String requestId;
private String eventType;
private String content;
private Boolean success;
private String errMsg;
private String errCode;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getEventType() {
return this.eventType;
}
public void setEventType(String eventType) {
this.eventType = eventType;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getErrMsg() {
return this.errMsg;
}
public void setErrMsg(String errMsg) {
this.errMsg = errMsg;
}
public String getErrCode() {
return this.errCode;
}
public void setErrCode(String errCode) {
this.errCode = errCode;
}
@Override
public ChatMessageResponse getInstance(UnmarshallerContext context) {
return ChatMessageResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model/v20241114/CreateConversationRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimath.model.v20241114;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class CreateConversationRequest extends RpcAcsRequest<CreateConversationResponse> {
private String outerBizId;
private String userId;
private String exerciseAnswer;
private String exerciseType;
private String exerciseContent;
private String exerciseAnalysis;
public CreateConversationRequest() {
super("AIMath", "2024-11-14", "CreateConversation");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.POST);
}
public String getOuterBizId() {
return this.outerBizId;
}
public void setOuterBizId(String outerBizId) {
this.outerBizId = outerBizId;
if(outerBizId != null){
putBodyParameter("OuterBizId", outerBizId);
}
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
if(userId != null){
putBodyParameter("UserId", userId);
}
}
public String getExerciseAnswer() {
return this.exerciseAnswer;
}
public void setExerciseAnswer(String exerciseAnswer) {
this.exerciseAnswer = exerciseAnswer;
if(exerciseAnswer != null){
putBodyParameter("ExerciseAnswer", exerciseAnswer);
}
}
public String getExerciseType() {
return this.exerciseType;
}
public void setExerciseType(String exerciseType) {
this.exerciseType = exerciseType;
if(exerciseType != null){
putBodyParameter("ExerciseType", exerciseType);
}
}
public String getExerciseContent() {
return this.exerciseContent;
}
public void setExerciseContent(String exerciseContent) {
this.exerciseContent = exerciseContent;
if(exerciseContent != null){
putBodyParameter("ExerciseContent", exerciseContent);
}
}
public String getExerciseAnalysis() {
return this.exerciseAnalysis;
}
public void setExerciseAnalysis(String exerciseAnalysis) {
this.exerciseAnalysis = exerciseAnalysis;
if(exerciseAnalysis != null){
putBodyParameter("ExerciseAnalysis", exerciseAnalysis);
}
}
@Override
public Class<CreateConversationResponse> getResponseClass() {
return CreateConversationResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model/v20241114/CreateConversationResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimath.model.v20241114;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aimath.transform.v20241114.CreateConversationResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateConversationResponse extends AcsResponse {
private String requestId;
private String conversationId;
private String errCode;
private String errMsg;
private Boolean success;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getConversationId() {
return this.conversationId;
}
public void setConversationId(String conversationId) {
this.conversationId = conversationId;
}
public String getErrCode() {
return this.errCode;
}
public void setErrCode(String errCode) {
this.errCode = errCode;
}
public String getErrMsg() {
return this.errMsg;
}
public void setErrMsg(String errMsg) {
this.errMsg = errMsg;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
@Override
public CreateConversationResponse getInstance(UnmarshallerContext context) {
return CreateConversationResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model/v20241114/CreateRelatedConversationRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimath.model.v20241114;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class CreateRelatedConversationRequest extends RpcAcsRequest<CreateRelatedConversationResponse> {
private String outerBizId;
private String userId;
private String exerciseCode;
public CreateRelatedConversationRequest() {
super("AIMath", "2024-11-14", "CreateRelatedConversation");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.POST);
}
public String getOuterBizId() {
return this.outerBizId;
}
public void setOuterBizId(String outerBizId) {
this.outerBizId = outerBizId;
if(outerBizId != null){
putBodyParameter("OuterBizId", outerBizId);
}
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
if(userId != null){
putBodyParameter("UserId", userId);
}
}
public String getExerciseCode() {
return this.exerciseCode;
}
public void setExerciseCode(String exerciseCode) {
this.exerciseCode = exerciseCode;
if(exerciseCode != null){
putBodyParameter("ExerciseCode", exerciseCode);
}
}
@Override
public Class<CreateRelatedConversationResponse> getResponseClass() {
return CreateRelatedConversationResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model/v20241114/CreateRelatedConversationResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimath.model.v20241114;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aimath.transform.v20241114.CreateRelatedConversationResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateRelatedConversationResponse extends AcsResponse {
private String requestId;
private String conversationId;
private String errCode;
private String errMsg;
private Boolean success;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getConversationId() {
return this.conversationId;
}
public void setConversationId(String conversationId) {
this.conversationId = conversationId;
}
public String getErrCode() {
return this.errCode;
}
public void setErrCode(String errCode) {
this.errCode = errCode;
}
public String getErrMsg() {
return this.errMsg;
}
public void setErrMsg(String errMsg) {
this.errMsg = errMsg;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
@Override
public CreateRelatedConversationResponse getInstance(UnmarshallerContext context) {
return CreateRelatedConversationResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model/v20241114/GenAnalysisRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimath.model.v20241114;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class GenAnalysisRequest extends RpcAcsRequest<GenAnalysisResponse> {
private String exerciseContent;
public GenAnalysisRequest() {
super("AIMath", "2024-11-14", "GenAnalysis");
setMethod(MethodType.POST);
}
public String getExerciseContent() {
return this.exerciseContent;
}
public void setExerciseContent(String exerciseContent) {
this.exerciseContent = exerciseContent;
if(exerciseContent != null){
putBodyParameter("ExerciseContent", exerciseContent);
}
}
@Override
public Class<GenAnalysisResponse> getResponseClass() {
return GenAnalysisResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model/v20241114/GenAnalysisResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimath.model.v20241114;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aimath.transform.v20241114.GenAnalysisResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GenAnalysisResponse extends AcsResponse {
private String requestId;
private String eventType;
private String content;
private String errCode;
private String errMsg;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getEventType() {
return this.eventType;
}
public void setEventType(String eventType) {
this.eventType = eventType;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public String getErrCode() {
return this.errCode;
}
public void setErrCode(String errCode) {
this.errCode = errCode;
}
public String getErrMsg() {
return this.errMsg;
}
public void setErrMsg(String errMsg) {
this.errMsg = errMsg;
}
@Override
public GenAnalysisResponse getInstance(UnmarshallerContext context) {
return GenAnalysisResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model/v20241114/GenStepRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimath.model.v20241114;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class GenStepRequest extends RpcAcsRequest<GenStepResponse> {
private String exerciseCode;
public GenStepRequest() {
super("AIMath", "2024-11-14", "GenStep");
setMethod(MethodType.POST);
}
public String getExerciseCode() {
return this.exerciseCode;
}
public void setExerciseCode(String exerciseCode) {
this.exerciseCode = exerciseCode;
if(exerciseCode != null){
putBodyParameter("ExerciseCode", exerciseCode);
}
}
@Override
public Class<GenStepResponse> getResponseClass() {
return GenStepResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model/v20241114/GenStepResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimath.model.v20241114;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aimath.transform.v20241114.GenStepResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GenStepResponse extends AcsResponse {
private String requestId;
private String eventType;
private String content;
private String errCode;
private String errMsg;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getEventType() {
return this.eventType;
}
public void setEventType(String eventType) {
this.eventType = eventType;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public String getErrCode() {
return this.errCode;
}
public void setErrCode(String errCode) {
this.errCode = errCode;
}
public String getErrMsg() {
return this.errMsg;
}
public void setErrMsg(String errMsg) {
this.errMsg = errMsg;
}
@Override
public GenStepResponse getInstance(UnmarshallerContext context) {
return GenStepResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model/v20241114/GlobalConfirmRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimath.model.v20241114;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class GlobalConfirmRequest extends RpcAcsRequest<GlobalConfirmResponse> {
private String tag;
private String exerciseCode;
public GlobalConfirmRequest() {
super("AIMath", "2024-11-14", "GlobalConfirm");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.POST);
}
public String getTag() {
return this.tag;
}
public void setTag(String tag) {
this.tag = tag;
if(tag != null){
putBodyParameter("Tag", tag);
}
}
public String getExerciseCode() {
return this.exerciseCode;
}
public void setExerciseCode(String exerciseCode) {
this.exerciseCode = exerciseCode;
if(exerciseCode != null){
putBodyParameter("ExerciseCode", exerciseCode);
}
}
@Override
public Class<GlobalConfirmResponse> getResponseClass() {
return GlobalConfirmResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model/v20241114/GlobalConfirmResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimath.model.v20241114;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aimath.transform.v20241114.GlobalConfirmResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GlobalConfirmResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String errCode;
private String errMsg;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getErrCode() {
return this.errCode;
}
public void setErrCode(String errCode) {
this.errCode = errCode;
}
public String getErrMsg() {
return this.errMsg;
}
public void setErrMsg(String errMsg) {
this.errMsg = errMsg;
}
@Override
public GlobalConfirmResponse getInstance(UnmarshallerContext context) {
return GlobalConfirmResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model/v20241114/UpdateAnalysisRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimath.model.v20241114;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class UpdateAnalysisRequest extends RpcAcsRequest<UpdateAnalysisResponse> {
private String content;
private String contentCode;
private String exerciseCode;
public UpdateAnalysisRequest() {
super("AIMath", "2024-11-14", "UpdateAnalysis");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.POST);
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
if(content != null){
putBodyParameter("Content", content);
}
}
public String getContentCode() {
return this.contentCode;
}
public void setContentCode(String contentCode) {
this.contentCode = contentCode;
if(contentCode != null){
putBodyParameter("ContentCode", contentCode);
}
}
public String getExerciseCode() {
return this.exerciseCode;
}
public void setExerciseCode(String exerciseCode) {
this.exerciseCode = exerciseCode;
if(exerciseCode != null){
putBodyParameter("ExerciseCode", exerciseCode);
}
}
@Override
public Class<UpdateAnalysisResponse> getResponseClass() {
return UpdateAnalysisResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model/v20241114/UpdateAnalysisResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimath.model.v20241114;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aimath.transform.v20241114.UpdateAnalysisResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateAnalysisResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String errCode;
private String errMsg;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getErrCode() {
return this.errCode;
}
public void setErrCode(String errCode) {
this.errCode = errCode;
}
public String getErrMsg() {
return this.errMsg;
}
public void setErrMsg(String errMsg) {
this.errMsg = errMsg;
}
@Override
public UpdateAnalysisResponse getInstance(UnmarshallerContext context) {
return UpdateAnalysisResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model/v20241114/UpdateStepRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimath.model.v20241114;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class UpdateStepRequest extends RpcAcsRequest<UpdateStepResponse> {
private String content;
private String contentCode;
private String exerciseCode;
public UpdateStepRequest() {
super("AIMath", "2024-11-14", "UpdateStep");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.POST);
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
if(content != null){
putBodyParameter("Content", content);
}
}
public String getContentCode() {
return this.contentCode;
}
public void setContentCode(String contentCode) {
this.contentCode = contentCode;
if(contentCode != null){
putBodyParameter("ContentCode", contentCode);
}
}
public String getExerciseCode() {
return this.exerciseCode;
}
public void setExerciseCode(String exerciseCode) {
this.exerciseCode = exerciseCode;
if(exerciseCode != null){
putBodyParameter("ExerciseCode", exerciseCode);
}
}
@Override
public Class<UpdateStepResponse> getResponseClass() {
return UpdateStepResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/model/v20241114/UpdateStepResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimath.model.v20241114;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aimath.transform.v20241114.UpdateStepResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class UpdateStepResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String errCode;
private String errMsg;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getErrCode() {
return this.errCode;
}
public void setErrCode(String errCode) {
this.errCode = errCode;
}
public String getErrMsg() {
return this.errMsg;
}
public void setErrMsg(String errMsg) {
this.errMsg = errMsg;
}
@Override
public UpdateStepResponse getInstance(UnmarshallerContext context) {
return UpdateStepResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/transform/v20241114/ChatMessageResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimath.transform.v20241114;
import com.aliyuncs.aimath.model.v20241114.ChatMessageResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ChatMessageResponseUnmarshaller {
public static ChatMessageResponse unmarshall(ChatMessageResponse chatMessageResponse, UnmarshallerContext _ctx) {
chatMessageResponse.setRequestId(_ctx.stringValue("ChatMessageResponse.RequestId"));
chatMessageResponse.setEventType(_ctx.stringValue("ChatMessageResponse.EventType"));
chatMessageResponse.setContent(_ctx.stringValue("ChatMessageResponse.Content"));
chatMessageResponse.setSuccess(_ctx.booleanValue("ChatMessageResponse.Success"));
chatMessageResponse.setErrMsg(_ctx.stringValue("ChatMessageResponse.ErrMsg"));
chatMessageResponse.setErrCode(_ctx.stringValue("ChatMessageResponse.ErrCode"));
return chatMessageResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/transform/v20241114/CreateConversationResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimath.transform.v20241114;
import com.aliyuncs.aimath.model.v20241114.CreateConversationResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateConversationResponseUnmarshaller {
public static CreateConversationResponse unmarshall(CreateConversationResponse createConversationResponse, UnmarshallerContext _ctx) {
createConversationResponse.setRequestId(_ctx.stringValue("CreateConversationResponse.RequestId"));
createConversationResponse.setConversationId(_ctx.stringValue("CreateConversationResponse.ConversationId"));
createConversationResponse.setErrCode(_ctx.stringValue("CreateConversationResponse.ErrCode"));
createConversationResponse.setErrMsg(_ctx.stringValue("CreateConversationResponse.ErrMsg"));
createConversationResponse.setSuccess(_ctx.booleanValue("CreateConversationResponse.Success"));
return createConversationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/transform/v20241114/CreateRelatedConversationResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimath.transform.v20241114;
import com.aliyuncs.aimath.model.v20241114.CreateRelatedConversationResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateRelatedConversationResponseUnmarshaller {
public static CreateRelatedConversationResponse unmarshall(CreateRelatedConversationResponse createRelatedConversationResponse, UnmarshallerContext _ctx) {
createRelatedConversationResponse.setRequestId(_ctx.stringValue("CreateRelatedConversationResponse.RequestId"));
createRelatedConversationResponse.setConversationId(_ctx.stringValue("CreateRelatedConversationResponse.ConversationId"));
createRelatedConversationResponse.setErrCode(_ctx.stringValue("CreateRelatedConversationResponse.ErrCode"));
createRelatedConversationResponse.setErrMsg(_ctx.stringValue("CreateRelatedConversationResponse.ErrMsg"));
createRelatedConversationResponse.setSuccess(_ctx.booleanValue("CreateRelatedConversationResponse.Success"));
return createRelatedConversationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/transform/v20241114/GenAnalysisResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimath.transform.v20241114;
import com.aliyuncs.aimath.model.v20241114.GenAnalysisResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GenAnalysisResponseUnmarshaller {
public static GenAnalysisResponse unmarshall(GenAnalysisResponse genAnalysisResponse, UnmarshallerContext _ctx) {
genAnalysisResponse.setRequestId(_ctx.stringValue("GenAnalysisResponse.RequestId"));
genAnalysisResponse.setEventType(_ctx.stringValue("GenAnalysisResponse.EventType"));
genAnalysisResponse.setContent(_ctx.stringValue("GenAnalysisResponse.Content"));
genAnalysisResponse.setErrCode(_ctx.stringValue("GenAnalysisResponse.ErrCode"));
genAnalysisResponse.setErrMsg(_ctx.stringValue("GenAnalysisResponse.ErrMsg"));
return genAnalysisResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/transform/v20241114/GenStepResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimath.transform.v20241114;
import com.aliyuncs.aimath.model.v20241114.GenStepResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GenStepResponseUnmarshaller {
public static GenStepResponse unmarshall(GenStepResponse genStepResponse, UnmarshallerContext _ctx) {
genStepResponse.setRequestId(_ctx.stringValue("GenStepResponse.RequestId"));
genStepResponse.setEventType(_ctx.stringValue("GenStepResponse.EventType"));
genStepResponse.setContent(_ctx.stringValue("GenStepResponse.Content"));
genStepResponse.setErrCode(_ctx.stringValue("GenStepResponse.ErrCode"));
genStepResponse.setErrMsg(_ctx.stringValue("GenStepResponse.ErrMsg"));
return genStepResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/transform/v20241114/GlobalConfirmResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimath.transform.v20241114;
import com.aliyuncs.aimath.model.v20241114.GlobalConfirmResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GlobalConfirmResponseUnmarshaller {
public static GlobalConfirmResponse unmarshall(GlobalConfirmResponse globalConfirmResponse, UnmarshallerContext _ctx) {
globalConfirmResponse.setRequestId(_ctx.stringValue("GlobalConfirmResponse.RequestId"));
globalConfirmResponse.setSuccess(_ctx.booleanValue("GlobalConfirmResponse.Success"));
globalConfirmResponse.setErrCode(_ctx.stringValue("GlobalConfirmResponse.ErrCode"));
globalConfirmResponse.setErrMsg(_ctx.stringValue("GlobalConfirmResponse.ErrMsg"));
return globalConfirmResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/transform/v20241114/UpdateAnalysisResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimath.transform.v20241114;
import com.aliyuncs.aimath.model.v20241114.UpdateAnalysisResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateAnalysisResponseUnmarshaller {
public static UpdateAnalysisResponse unmarshall(UpdateAnalysisResponse updateAnalysisResponse, UnmarshallerContext _ctx) {
updateAnalysisResponse.setRequestId(_ctx.stringValue("UpdateAnalysisResponse.RequestId"));
updateAnalysisResponse.setSuccess(_ctx.booleanValue("UpdateAnalysisResponse.Success"));
updateAnalysisResponse.setErrCode(_ctx.stringValue("UpdateAnalysisResponse.ErrCode"));
updateAnalysisResponse.setErrMsg(_ctx.stringValue("UpdateAnalysisResponse.ErrMsg"));
return updateAnalysisResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aimath/1.0.1/com/aliyuncs/aimath/transform/v20241114/UpdateStepResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimath.transform.v20241114;
import com.aliyuncs.aimath.model.v20241114.UpdateStepResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateStepResponseUnmarshaller {
public static UpdateStepResponse unmarshall(UpdateStepResponse updateStepResponse, UnmarshallerContext _ctx) {
updateStepResponse.setRequestId(_ctx.stringValue("UpdateStepResponse.RequestId"));
updateStepResponse.setSuccess(_ctx.booleanValue("UpdateStepResponse.Success"));
updateStepResponse.setErrCode(_ctx.stringValue("UpdateStepResponse.ErrCode"));
updateStepResponse.setErrMsg(_ctx.stringValue("UpdateStepResponse.ErrMsg"));
return updateStepResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimiaobi/1.0.0/com/aliyuncs/aimiaobi/model
|
java-sources/com/aliyun/aliyun-java-sdk-aimiaobi/1.0.0/com/aliyuncs/aimiaobi/model/v20230801/CreateTokenRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimiaobi.model.v20230801;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class CreateTokenRequest extends RpcAcsRequest<CreateTokenResponse> {
private String agentKey;
public CreateTokenRequest() {
super("AiMiaoBi", "2023-08-01", "CreateToken");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.POST);
}
public String getAgentKey() {
return this.agentKey;
}
public void setAgentKey(String agentKey) {
this.agentKey = agentKey;
if(agentKey != null){
putQueryParameter("AgentKey", agentKey);
}
}
@Override
public Class<CreateTokenResponse> getResponseClass() {
return CreateTokenResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimiaobi/1.0.0/com/aliyuncs/aimiaobi/model
|
java-sources/com/aliyun/aliyun-java-sdk-aimiaobi/1.0.0/com/aliyuncs/aimiaobi/model/v20230801/CreateTokenResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimiaobi.model.v20230801;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aimiaobi.transform.v20230801.CreateTokenResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateTokenResponse extends AcsResponse {
private String requestId;
private Boolean success;
private String code;
private String message;
private Integer httpStatusCode;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Integer getHttpStatusCode() {
return this.httpStatusCode;
}
public void setHttpStatusCode(Integer httpStatusCode) {
this.httpStatusCode = httpStatusCode;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String token;
private Long expiredTime;
public String getToken() {
return this.token;
}
public void setToken(String token) {
this.token = token;
}
public Long getExpiredTime() {
return this.expiredTime;
}
public void setExpiredTime(Long expiredTime) {
this.expiredTime = expiredTime;
}
}
@Override
public CreateTokenResponse getInstance(UnmarshallerContext context) {
return CreateTokenResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aimiaobi/1.0.0/com/aliyuncs/aimiaobi/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aimiaobi/1.0.0/com/aliyuncs/aimiaobi/transform/v20230801/CreateTokenResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aimiaobi.transform.v20230801;
import com.aliyuncs.aimiaobi.model.v20230801.CreateTokenResponse;
import com.aliyuncs.aimiaobi.model.v20230801.CreateTokenResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class CreateTokenResponseUnmarshaller {
public static CreateTokenResponse unmarshall(CreateTokenResponse createTokenResponse, UnmarshallerContext _ctx) {
createTokenResponse.setRequestId(_ctx.stringValue("CreateTokenResponse.RequestId"));
createTokenResponse.setSuccess(_ctx.booleanValue("CreateTokenResponse.Success"));
createTokenResponse.setCode(_ctx.stringValue("CreateTokenResponse.Code"));
createTokenResponse.setMessage(_ctx.stringValue("CreateTokenResponse.Message"));
createTokenResponse.setHttpStatusCode(_ctx.integerValue("CreateTokenResponse.HttpStatusCode"));
Data data = new Data();
data.setToken(_ctx.stringValue("CreateTokenResponse.Data.Token"));
data.setExpiredTime(_ctx.longValue("CreateTokenResponse.Data.ExpiredTime"));
createTokenResponse.setData(data);
return createTokenResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aipodcast/1.0.2/com/aliyuncs/aipodcast/model
|
java-sources/com/aliyun/aliyun-java-sdk-aipodcast/1.0.2/com/aliyuncs/aipodcast/model/v20250228/PodcastTaskResultQueryRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aipodcast.model.v20250228;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class PodcastTaskResultQueryRequest extends RoaAcsRequest<PodcastTaskResultQueryResponse> {
private String taskId;
private String workspaceId;
public PodcastTaskResultQueryRequest() {
super("AIPodcast", "2025-02-28", "PodcastTaskResultQuery");
setProtocol(ProtocolType.HTTPS);
setUriPattern("/podcast/task");
setMethod(MethodType.POST);
}
public String getTaskId() {
return this.taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
if(taskId != null){
putBodyParameter("taskId", taskId);
}
}
public String getWorkspaceId() {
return this.workspaceId;
}
public void setWorkspaceId(String workspaceId) {
this.workspaceId = workspaceId;
if(workspaceId != null){
putBodyParameter("workspaceId", workspaceId);
}
}
@Override
public Class<PodcastTaskResultQueryResponse> getResponseClass() {
return PodcastTaskResultQueryResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aipodcast/1.0.2/com/aliyuncs/aipodcast/model
|
java-sources/com/aliyun/aliyun-java-sdk-aipodcast/1.0.2/com/aliyuncs/aipodcast/model/v20250228/PodcastTaskResultQueryResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aipodcast.model.v20250228;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aipodcast.transform.v20250228.PodcastTaskResultQueryResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PodcastTaskResultQueryResponse extends AcsResponse {
@Override
public PodcastTaskResultQueryResponse getInstance(UnmarshallerContext context) {
return PodcastTaskResultQueryResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aipodcast/1.0.2/com/aliyuncs/aipodcast/model
|
java-sources/com/aliyun/aliyun-java-sdk-aipodcast/1.0.2/com/aliyuncs/aipodcast/model/v20250228/PodcastTaskSubmitRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aipodcast.model.v20250228;
import com.aliyuncs.RoaAcsRequest;
import java.util.List;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
/**
* @author auto create
* @version
*/
public class PodcastTaskSubmitRequest extends RoaAcsRequest<PodcastTaskSubmitResponse> {
private String sourceLang;
private Integer counts;
@SerializedName("fileUrls")
private List<String> fileUrls;
private String text;
@SerializedName("voices")
private List<String> voices;
private String topic;
private String workspaceId;
public PodcastTaskSubmitRequest() {
super("AIPodcast", "2025-02-28", "PodcastTaskSubmit");
setProtocol(ProtocolType.HTTPS);
setUriPattern("/podcast/task/submit");
setMethod(MethodType.POST);
}
public String getSourceLang() {
return this.sourceLang;
}
public void setSourceLang(String sourceLang) {
this.sourceLang = sourceLang;
if(sourceLang != null){
putBodyParameter("sourceLang", sourceLang);
}
}
public Integer getCounts() {
return this.counts;
}
public void setCounts(Integer counts) {
this.counts = counts;
if(counts != null){
putBodyParameter("counts", counts.toString());
}
}
public List<String> getFileUrls() {
return this.fileUrls;
}
public void setFileUrls(List<String> fileUrls) {
this.fileUrls = fileUrls;
if (fileUrls != null) {
putBodyParameter("fileUrls" , new Gson().toJson(fileUrls));
}
}
public String getText() {
return this.text;
}
public void setText(String text) {
this.text = text;
if(text != null){
putBodyParameter("text", text);
}
}
public List<String> getVoices() {
return this.voices;
}
public void setVoices(List<String> voices) {
this.voices = voices;
if (voices != null) {
putBodyParameter("voices" , new Gson().toJson(voices));
}
}
public String getTopic() {
return this.topic;
}
public void setTopic(String topic) {
this.topic = topic;
if(topic != null){
putBodyParameter("topic", topic);
}
}
public String getWorkspaceId() {
return this.workspaceId;
}
public void setWorkspaceId(String workspaceId) {
this.workspaceId = workspaceId;
if(workspaceId != null){
putBodyParameter("workspaceId", workspaceId);
}
}
@Override
public Class<PodcastTaskSubmitResponse> getResponseClass() {
return PodcastTaskSubmitResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aipodcast/1.0.2/com/aliyuncs/aipodcast/model
|
java-sources/com/aliyun/aliyun-java-sdk-aipodcast/1.0.2/com/aliyuncs/aipodcast/model/v20250228/PodcastTaskSubmitResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aipodcast.model.v20250228;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.aipodcast.transform.v20250228.PodcastTaskSubmitResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PodcastTaskSubmitResponse extends AcsResponse {
private String code;
private String message;
private String requestId;
private Boolean success;
private String httpStatusCode;
private Data data;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getHttpStatusCode() {
return this.httpStatusCode;
}
public void setHttpStatusCode(String httpStatusCode) {
this.httpStatusCode = httpStatusCode;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String taskId;
private String taskStatus;
public String getTaskId() {
return this.taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
}
public String getTaskStatus() {
return this.taskStatus;
}
public void setTaskStatus(String taskStatus) {
this.taskStatus = taskStatus;
}
}
@Override
public PodcastTaskSubmitResponse getInstance(UnmarshallerContext context) {
return PodcastTaskSubmitResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aipodcast/1.0.2/com/aliyuncs/aipodcast/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aipodcast/1.0.2/com/aliyuncs/aipodcast/transform/v20250228/PodcastTaskResultQueryResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aipodcast.transform.v20250228;
import com.aliyuncs.aipodcast.model.v20250228.PodcastTaskResultQueryResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class PodcastTaskResultQueryResponseUnmarshaller {
public static PodcastTaskResultQueryResponse unmarshall(PodcastTaskResultQueryResponse podcastTaskResultQueryResponse, UnmarshallerContext _ctx) {
return podcastTaskResultQueryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-aipodcast/1.0.2/com/aliyuncs/aipodcast/transform
|
java-sources/com/aliyun/aliyun-java-sdk-aipodcast/1.0.2/com/aliyuncs/aipodcast/transform/v20250228/PodcastTaskSubmitResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.aipodcast.transform.v20250228;
import com.aliyuncs.aipodcast.model.v20250228.PodcastTaskSubmitResponse;
import com.aliyuncs.aipodcast.model.v20250228.PodcastTaskSubmitResponse.Data;
import com.aliyuncs.transform.UnmarshallerContext;
public class PodcastTaskSubmitResponseUnmarshaller {
public static PodcastTaskSubmitResponse unmarshall(PodcastTaskSubmitResponse podcastTaskSubmitResponse, UnmarshallerContext _ctx) {
podcastTaskSubmitResponse.setCode(_ctx.stringValue("PodcastTaskSubmitResponse.code"));
podcastTaskSubmitResponse.setMessage(_ctx.stringValue("PodcastTaskSubmitResponse.message"));
podcastTaskSubmitResponse.setRequestId(_ctx.stringValue("PodcastTaskSubmitResponse.requestId"));
podcastTaskSubmitResponse.setSuccess(_ctx.booleanValue("PodcastTaskSubmitResponse.success"));
podcastTaskSubmitResponse.setHttpStatusCode(_ctx.stringValue("PodcastTaskSubmitResponse.httpStatusCode"));
Data data = new Data();
data.setTaskId(_ctx.stringValue("PodcastTaskSubmitResponse.data.taskId"));
data.setTaskStatus(_ctx.stringValue("PodcastTaskSubmitResponse.data.taskStatus"));
podcastTaskSubmitResponse.setData(data);
return podcastTaskSubmitResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/Endpoint.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec;
import java.util.HashMap;
public class Endpoint {
public static HashMap<String, String> endpointMap = new HashMap<String, String>() {};
public static String endpointRegionalType = "regional";
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model/v20201126/AttachDatasetRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec.model.v20201126;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.airec.Endpoint;
/**
* @author auto create
* @version
*/
public class AttachDatasetRequest extends RoaAcsRequest<AttachDatasetResponse> {
private String versionId;
private String instanceId;
public AttachDatasetRequest() {
super("Airec", "2020-11-26", "AttachDataset", "airec");
setUriPattern("/v2/openapi/instances/[instanceId]/dataSets/[versionId]/actions/current");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getVersionId() {
return this.versionId;
}
public void setVersionId(String versionId) {
this.versionId = versionId;
if(versionId != null){
putPathParameter("versionId", versionId);
}
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putPathParameter("instanceId", instanceId);
}
}
@Override
public Class<AttachDatasetResponse> getResponseClass() {
return AttachDatasetResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model/v20201126/AttachDatasetResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec.model.v20201126;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.airec.transform.v20201126.AttachDatasetResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AttachDatasetResponse extends AcsResponse {
private String code;
private String requestId;
private String message;
private Result result;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Result getResult() {
return this.result;
}
public void setResult(Result result) {
this.result = result;
}
public static class Result {
private String versionId;
private String state;
private Long gmtModified;
private Long gmtCreate;
private String instanceId;
public String getVersionId() {
return this.versionId;
}
public void setVersionId(String versionId) {
this.versionId = versionId;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public Long getGmtModified() {
return this.gmtModified;
}
public void setGmtModified(Long gmtModified) {
this.gmtModified = gmtModified;
}
public Long getGmtCreate() {
return this.gmtCreate;
}
public void setGmtCreate(Long gmtCreate) {
this.gmtCreate = gmtCreate;
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
}
}
@Override
public AttachDatasetResponse getInstance(UnmarshallerContext context) {
return AttachDatasetResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model/v20201126/AttachIndexVersionRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec.model.v20201126;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.airec.Endpoint;
/**
* @author auto create
* @version
*/
public class AttachIndexVersionRequest extends RoaAcsRequest<AttachIndexVersionResponse> {
private String versionId;
private String instanceId;
private String algorithmId;
public AttachIndexVersionRequest() {
super("Airec", "2020-11-26", "AttachIndexVersion", "airec");
setUriPattern("/v2/openapi/instances/[instanceId]/filtering-algorithms/[algorithmId]/index-versions/[versionId]/actions/attach");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getVersionId() {
return this.versionId;
}
public void setVersionId(String versionId) {
this.versionId = versionId;
if(versionId != null){
putPathParameter("versionId", versionId);
}
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putPathParameter("instanceId", instanceId);
}
}
public String getAlgorithmId() {
return this.algorithmId;
}
public void setAlgorithmId(String algorithmId) {
this.algorithmId = algorithmId;
if(algorithmId != null){
putPathParameter("algorithmId", algorithmId);
}
}
@Override
public Class<AttachIndexVersionResponse> getResponseClass() {
return AttachIndexVersionResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model/v20201126/AttachIndexVersionResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec.model.v20201126;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.airec.transform.v20201126.AttachIndexVersionResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class AttachIndexVersionResponse extends AcsResponse {
private Boolean result;
private String requestId;
public Boolean getResult() {
return this.result;
}
public void setResult(Boolean result) {
this.result = result;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public AttachIndexVersionResponse getInstance(UnmarshallerContext context) {
return AttachIndexVersionResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model/v20201126/CheckRankingModelReachableRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec.model.v20201126;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.airec.Endpoint;
/**
* @author auto create
* @version
*/
public class CheckRankingModelReachableRequest extends RoaAcsRequest<CheckRankingModelReachableResponse> {
private String instanceId;
private String rankingModelId;
public CheckRankingModelReachableRequest() {
super("Airec", "2020-11-26", "CheckRankingModelReachable", "airec");
setUriPattern("/v2/openapi/instances/[instanceId]/ranking-models/[rankingModelId]/actions/check-connectivity");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putPathParameter("instanceId", instanceId);
}
}
public String getRankingModelId() {
return this.rankingModelId;
}
public void setRankingModelId(String rankingModelId) {
this.rankingModelId = rankingModelId;
if(rankingModelId != null){
putPathParameter("rankingModelId", rankingModelId);
}
}
@Override
public Class<CheckRankingModelReachableResponse> getResponseClass() {
return CheckRankingModelReachableResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model/v20201126/CheckRankingModelReachableResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec.model.v20201126;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.airec.transform.v20201126.CheckRankingModelReachableResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CheckRankingModelReachableResponse extends AcsResponse {
private Boolean result;
private String code;
private String requestId;
private String message;
public Boolean getResult() {
return this.result;
}
public void setResult(Boolean result) {
this.result = result;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
@Override
public CheckRankingModelReachableResponse getInstance(UnmarshallerContext context) {
return CheckRankingModelReachableResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model/v20201126/CloneExperimentRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec.model.v20201126;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.airec.Endpoint;
/**
* @author auto create
* @version
*/
public class CloneExperimentRequest extends RoaAcsRequest<CloneExperimentResponse> {
private String instanceId;
private Boolean dryRun;
private String sceneId;
private String experimentId;
public CloneExperimentRequest() {
super("Airec", "2020-11-26", "CloneExperiment", "airec");
setUriPattern("/v2/openapi/instances/[instanceId]/scenes/[sceneId]/experiments/[experimentId]/actions/clone");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putPathParameter("instanceId", instanceId);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("dryRun", dryRun.toString());
}
}
public String getSceneId() {
return this.sceneId;
}
public void setSceneId(String sceneId) {
this.sceneId = sceneId;
if(sceneId != null){
putPathParameter("sceneId", sceneId);
}
}
public String getExperimentId() {
return this.experimentId;
}
public void setExperimentId(String experimentId) {
this.experimentId = experimentId;
if(experimentId != null){
putPathParameter("experimentId", experimentId);
}
}
@Override
public Class<CloneExperimentResponse> getResponseClass() {
return CloneExperimentResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model/v20201126/CloneExperimentResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec.model.v20201126;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.airec.transform.v20201126.CloneExperimentResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CloneExperimentResponse extends AcsResponse {
private String requestId;
private Result result;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Result getResult() {
return this.result;
}
public void setResult(Result result) {
this.result = result;
}
public static class Result {
private Boolean base;
private String onlineTime;
private String offlineTime;
private String description;
private String status;
private String name;
private String experimentId;
private List<Algorithm> algorithms;
private List<String> buckets;
public Boolean getBase() {
return this.base;
}
public void setBase(Boolean base) {
this.base = base;
}
public String getOnlineTime() {
return this.onlineTime;
}
public void setOnlineTime(String onlineTime) {
this.onlineTime = onlineTime;
}
public String getOfflineTime() {
return this.offlineTime;
}
public void setOfflineTime(String offlineTime) {
this.offlineTime = offlineTime;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getExperimentId() {
return this.experimentId;
}
public void setExperimentId(String experimentId) {
this.experimentId = experimentId;
}
public List<Algorithm> getAlgorithms() {
return this.algorithms;
}
public void setAlgorithms(List<Algorithm> algorithms) {
this.algorithms = algorithms;
}
public List<String> getBuckets() {
return this.buckets;
}
public void setBuckets(List<String> buckets) {
this.buckets = buckets;
}
public static class Algorithm {
private String key;
private String defaultValue;
private String type;
private String experimentValue;
private Boolean hasConfig;
private String category;
private String name;
private List<ConfigItem> config;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getDefaultValue() {
return this.defaultValue;
}
public void setDefaultValue(String defaultValue) {
this.defaultValue = defaultValue;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getExperimentValue() {
return this.experimentValue;
}
public void setExperimentValue(String experimentValue) {
this.experimentValue = experimentValue;
}
public Boolean getHasConfig() {
return this.hasConfig;
}
public void setHasConfig(Boolean hasConfig) {
this.hasConfig = hasConfig;
}
public String getCategory() {
return this.category;
}
public void setCategory(String category) {
this.category = category;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public List<ConfigItem> getConfig() {
return this.config;
}
public void setConfig(List<ConfigItem> config) {
this.config = config;
}
public static class ConfigItem {
private String key;
private String defaultValue;
private String experimentValue;
private String name;
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
public String getDefaultValue() {
return this.defaultValue;
}
public void setDefaultValue(String defaultValue) {
this.defaultValue = defaultValue;
}
public String getExperimentValue() {
return this.experimentValue;
}
public void setExperimentValue(String experimentValue) {
this.experimentValue = experimentValue;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
}
}
@Override
public CloneExperimentResponse getInstance(UnmarshallerContext context) {
return CloneExperimentResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model/v20201126/CloneSampleRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec.model.v20201126;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.airec.Endpoint;
/**
* @author auto create
* @version
*/
public class CloneSampleRequest extends RoaAcsRequest<CloneSampleResponse> {
private String instanceId;
private String sampleId;
public CloneSampleRequest() {
super("Airec", "2020-11-26", "CloneSample", "airec");
setUriPattern("/v2/openapi/instances/[instanceId]/samples/[sampleId]/actions/clone");
setMethod(MethodType.PUT);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putPathParameter("instanceId", instanceId);
}
}
public String getSampleId() {
return this.sampleId;
}
public void setSampleId(String sampleId) {
this.sampleId = sampleId;
if(sampleId != null){
putPathParameter("sampleId", sampleId);
}
}
@Override
public Class<CloneSampleResponse> getResponseClass() {
return CloneSampleResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model/v20201126/CloneSampleResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec.model.v20201126;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.airec.transform.v20201126.CloneSampleResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CloneSampleResponse extends AcsResponse {
private String requestId;
private Result result;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Result getResult() {
return this.result;
}
public void setResult(Result result) {
this.result = result;
}
public static class Result {
private String status;
private String gmtCreate;
private String gmtModified;
private String sampleId;
private Meta meta;
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getGmtCreate() {
return this.gmtCreate;
}
public void setGmtCreate(String gmtCreate) {
this.gmtCreate = gmtCreate;
}
public String getGmtModified() {
return this.gmtModified;
}
public void setGmtModified(String gmtModified) {
this.gmtModified = gmtModified;
}
public String getSampleId() {
return this.sampleId;
}
public void setSampleId(String sampleId) {
this.sampleId = sampleId;
}
public Meta getMeta() {
return this.meta;
}
public void setMeta(Meta meta) {
this.meta = meta;
}
public static class Meta {
private Boolean autoUpdate;
private Long autoUpdateFrequency;
private String clonedId;
private String metaType;
private String name;
private String storeConfig;
private String type;
private Config config;
private ExtendParams extendParams;
public Boolean getAutoUpdate() {
return this.autoUpdate;
}
public void setAutoUpdate(Boolean autoUpdate) {
this.autoUpdate = autoUpdate;
}
public Long getAutoUpdateFrequency() {
return this.autoUpdateFrequency;
}
public void setAutoUpdateFrequency(Long autoUpdateFrequency) {
this.autoUpdateFrequency = autoUpdateFrequency;
}
public String getClonedId() {
return this.clonedId;
}
public void setClonedId(String clonedId) {
this.clonedId = clonedId;
}
public String getMetaType() {
return this.metaType;
}
public void setMetaType(String metaType) {
this.metaType = metaType;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getStoreConfig() {
return this.storeConfig;
}
public void setStoreConfig(String storeConfig) {
this.storeConfig = storeConfig;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public Config getConfig() {
return this.config;
}
public void setConfig(Config config) {
this.config = config;
}
public ExtendParams getExtendParams() {
return this.extendParams;
}
public void setExtendParams(ExtendParams extendParams) {
this.extendParams = extendParams;
}
public static class Config {
private List<WeightLogicListItem> weightLogicList;
private List<String> bhvTableSourceIds;
private FeatureConfig featureConfig;
private LabelLogic labelLogic;
public List<WeightLogicListItem> getWeightLogicList() {
return this.weightLogicList;
}
public void setWeightLogicList(List<WeightLogicListItem> weightLogicList) {
this.weightLogicList = weightLogicList;
}
public List<String> getBhvTableSourceIds() {
return this.bhvTableSourceIds;
}
public void setBhvTableSourceIds(List<String> bhvTableSourceIds) {
this.bhvTableSourceIds = bhvTableSourceIds;
}
public FeatureConfig getFeatureConfig() {
return this.featureConfig;
}
public void setFeatureConfig(FeatureConfig featureConfig) {
this.featureConfig = featureConfig;
}
public LabelLogic getLabelLogic() {
return this.labelLogic;
}
public void setLabelLogic(LabelLogic labelLogic) {
this.labelLogic = labelLogic;
}
public static class WeightLogicListItem {
private String bhv;
private String weight;
public String getBhv() {
return this.bhv;
}
public void setBhv(String bhv) {
this.bhv = bhv;
}
public String getWeight() {
return this.weight;
}
public void setWeight(String weight) {
this.weight = weight;
}
}
public static class FeatureConfig {
private String itemFeatures;
private String userFeatures;
public String getItemFeatures() {
return this.itemFeatures;
}
public void setItemFeatures(String itemFeatures) {
this.itemFeatures = itemFeatures;
}
public String getUserFeatures() {
return this.userFeatures;
}
public void setUserFeatures(String userFeatures) {
this.userFeatures = userFeatures;
}
}
public static class LabelLogic {
private Long bhvTimeWindow;
private String negativeBhvTypes;
private String positiveBhvTypes;
public Long getBhvTimeWindow() {
return this.bhvTimeWindow;
}
public void setBhvTimeWindow(Long bhvTimeWindow) {
this.bhvTimeWindow = bhvTimeWindow;
}
public String getNegativeBhvTypes() {
return this.negativeBhvTypes;
}
public void setNegativeBhvTypes(String negativeBhvTypes) {
this.negativeBhvTypes = negativeBhvTypes;
}
public String getPositiveBhvTypes() {
return this.positiveBhvTypes;
}
public void setPositiveBhvTypes(String positiveBhvTypes) {
this.positiveBhvTypes = positiveBhvTypes;
}
}
}
public static class ExtendParams {
private Long latestTaskStatus;
private Long sampleCount;
public Long getLatestTaskStatus() {
return this.latestTaskStatus;
}
public void setLatestTaskStatus(Long latestTaskStatus) {
this.latestTaskStatus = latestTaskStatus;
}
public Long getSampleCount() {
return this.sampleCount;
}
public void setSampleCount(Long sampleCount) {
this.sampleCount = sampleCount;
}
}
}
}
@Override
public CloneSampleResponse getInstance(UnmarshallerContext context) {
return CloneSampleResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model/v20201126/ColdStartRankRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec.model.v20201126;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.airec.Endpoint;
/**
* @author auto create
* @version
*/
public class ColdStartRankRequest extends RoaAcsRequest<ColdStartRankResponse> {
private String features;
private String instanceId;
private String sceneId;
private String imei;
private String userId;
private String items;
public ColdStartRankRequest() {
super("Airec", "2020-11-26", "ColdStartRank", "airec");
setUriPattern("/v2/openapi/instances/cold-start/[instanceId]/actions/rank");
setMethod(MethodType.GET);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getFeatures() {
return this.features;
}
public void setFeatures(String features) {
this.features = features;
if(features != null){
putQueryParameter("features", features);
}
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putPathParameter("instanceId", instanceId);
}
}
public String getSceneId() {
return this.sceneId;
}
public void setSceneId(String sceneId) {
this.sceneId = sceneId;
if(sceneId != null){
putQueryParameter("sceneId", sceneId);
}
}
public String getImei() {
return this.imei;
}
public void setImei(String imei) {
this.imei = imei;
if(imei != null){
putQueryParameter("imei", imei);
}
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
if(userId != null){
putQueryParameter("userId", userId);
}
}
public String getItems() {
return this.items;
}
public void setItems(String items) {
this.items = items;
if(items != null){
putQueryParameter("items", items);
}
}
@Override
public Class<ColdStartRankResponse> getResponseClass() {
return ColdStartRankResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model/v20201126/ColdStartRankResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec.model.v20201126;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.airec.transform.v20201126.ColdStartRankResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ColdStartRankResponse extends AcsResponse {
private String requestId;
private List<ResultItem> result;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<ResultItem> getResult() {
return this.result;
}
public void setResult(List<ResultItem> result) {
this.result = result;
}
public static class ResultItem {
private String itemId;
private String itemType;
private String traceInfo;
public String getItemId() {
return this.itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
}
public String getItemType() {
return this.itemType;
}
public void setItemType(String itemType) {
this.itemType = itemType;
}
public String getTraceInfo() {
return this.traceInfo;
}
public void setTraceInfo(String traceInfo) {
this.traceInfo = traceInfo;
}
}
@Override
public ColdStartRankResponse getInstance(UnmarshallerContext context) {
return ColdStartRankResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model/v20201126/CreateCustomAnalysisTaskRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec.model.v20201126;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.airec.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateCustomAnalysisTaskRequest extends RoaAcsRequest<CreateCustomAnalysisTaskResponse> {
private String instanceId;
private String type;
public CreateCustomAnalysisTaskRequest() {
super("Airec", "2020-11-26", "CreateCustomAnalysisTask", "airec");
setUriPattern("/v2/openapi/instances/[instanceId]/dashboard/custom-analysis-tasks");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putPathParameter("instanceId", instanceId);
}
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
if(type != null){
putQueryParameter("type", type);
}
}
@Override
public Class<CreateCustomAnalysisTaskResponse> getResponseClass() {
return CreateCustomAnalysisTaskResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model/v20201126/CreateCustomAnalysisTaskResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec.model.v20201126;
import java.util.Map;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.airec.transform.v20201126.CreateCustomAnalysisTaskResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateCustomAnalysisTaskResponse extends AcsResponse {
private String requestId;
private String code;
private String message;
private Map<Object,Object> result;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Map<Object,Object> getResult() {
return this.result;
}
public void setResult(Map<Object,Object> result) {
this.result = result;
}
@Override
public CreateCustomAnalysisTaskResponse getInstance(UnmarshallerContext context) {
return CreateCustomAnalysisTaskResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model/v20201126/CreateCustomSampleRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec.model.v20201126;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.airec.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateCustomSampleRequest extends RoaAcsRequest<CreateCustomSampleResponse> {
private String instanceId;
public CreateCustomSampleRequest() {
super("Airec", "2020-11-26", "CreateCustomSample", "airec");
setUriPattern("/v2/openapi/instances/[instanceId]/samples");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putPathParameter("instanceId", instanceId);
}
}
@Override
public Class<CreateCustomSampleResponse> getResponseClass() {
return CreateCustomSampleResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model/v20201126/CreateCustomSampleResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec.model.v20201126;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.airec.transform.v20201126.CreateCustomSampleResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateCustomSampleResponse extends AcsResponse {
private String requestId;
private Result result;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Result getResult() {
return this.result;
}
public void setResult(Result result) {
this.result = result;
}
public static class Result {
private String status;
private String gmtCreate;
private String gmtModified;
private String sampleId;
private Meta meta;
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getGmtCreate() {
return this.gmtCreate;
}
public void setGmtCreate(String gmtCreate) {
this.gmtCreate = gmtCreate;
}
public String getGmtModified() {
return this.gmtModified;
}
public void setGmtModified(String gmtModified) {
this.gmtModified = gmtModified;
}
public String getSampleId() {
return this.sampleId;
}
public void setSampleId(String sampleId) {
this.sampleId = sampleId;
}
public Meta getMeta() {
return this.meta;
}
public void setMeta(Meta meta) {
this.meta = meta;
}
public static class Meta {
private Boolean autoUpdate;
private Long autoUpdateFrequency;
private String clonedId;
private String metaType;
private String name;
private String storeConfig;
private String type;
private Config config;
private ExtendParams extendParams;
public Boolean getAutoUpdate() {
return this.autoUpdate;
}
public void setAutoUpdate(Boolean autoUpdate) {
this.autoUpdate = autoUpdate;
}
public Long getAutoUpdateFrequency() {
return this.autoUpdateFrequency;
}
public void setAutoUpdateFrequency(Long autoUpdateFrequency) {
this.autoUpdateFrequency = autoUpdateFrequency;
}
public String getClonedId() {
return this.clonedId;
}
public void setClonedId(String clonedId) {
this.clonedId = clonedId;
}
public String getMetaType() {
return this.metaType;
}
public void setMetaType(String metaType) {
this.metaType = metaType;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getStoreConfig() {
return this.storeConfig;
}
public void setStoreConfig(String storeConfig) {
this.storeConfig = storeConfig;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public Config getConfig() {
return this.config;
}
public void setConfig(Config config) {
this.config = config;
}
public ExtendParams getExtendParams() {
return this.extendParams;
}
public void setExtendParams(ExtendParams extendParams) {
this.extendParams = extendParams;
}
public static class Config {
private List<WeightLogicListItem> weightLogicList;
private List<String> bhvTableSourceIds;
private FeatureConfig featureConfig;
private LabelLogic labelLogic;
public List<WeightLogicListItem> getWeightLogicList() {
return this.weightLogicList;
}
public void setWeightLogicList(List<WeightLogicListItem> weightLogicList) {
this.weightLogicList = weightLogicList;
}
public List<String> getBhvTableSourceIds() {
return this.bhvTableSourceIds;
}
public void setBhvTableSourceIds(List<String> bhvTableSourceIds) {
this.bhvTableSourceIds = bhvTableSourceIds;
}
public FeatureConfig getFeatureConfig() {
return this.featureConfig;
}
public void setFeatureConfig(FeatureConfig featureConfig) {
this.featureConfig = featureConfig;
}
public LabelLogic getLabelLogic() {
return this.labelLogic;
}
public void setLabelLogic(LabelLogic labelLogic) {
this.labelLogic = labelLogic;
}
public static class WeightLogicListItem {
private String bhv;
private String weight;
public String getBhv() {
return this.bhv;
}
public void setBhv(String bhv) {
this.bhv = bhv;
}
public String getWeight() {
return this.weight;
}
public void setWeight(String weight) {
this.weight = weight;
}
}
public static class FeatureConfig {
private String itemFeatures;
private String userFeatures;
public String getItemFeatures() {
return this.itemFeatures;
}
public void setItemFeatures(String itemFeatures) {
this.itemFeatures = itemFeatures;
}
public String getUserFeatures() {
return this.userFeatures;
}
public void setUserFeatures(String userFeatures) {
this.userFeatures = userFeatures;
}
}
public static class LabelLogic {
private Long bhvTimeWindow;
private String negativeBhvTypes;
private String positiveBhvTypes;
public Long getBhvTimeWindow() {
return this.bhvTimeWindow;
}
public void setBhvTimeWindow(Long bhvTimeWindow) {
this.bhvTimeWindow = bhvTimeWindow;
}
public String getNegativeBhvTypes() {
return this.negativeBhvTypes;
}
public void setNegativeBhvTypes(String negativeBhvTypes) {
this.negativeBhvTypes = negativeBhvTypes;
}
public String getPositiveBhvTypes() {
return this.positiveBhvTypes;
}
public void setPositiveBhvTypes(String positiveBhvTypes) {
this.positiveBhvTypes = positiveBhvTypes;
}
}
}
public static class ExtendParams {
private Long latestTaskStatus;
private Long sampleCount;
public Long getLatestTaskStatus() {
return this.latestTaskStatus;
}
public void setLatestTaskStatus(Long latestTaskStatus) {
this.latestTaskStatus = latestTaskStatus;
}
public Long getSampleCount() {
return this.sampleCount;
}
public void setSampleCount(Long sampleCount) {
this.sampleCount = sampleCount;
}
}
}
}
@Override
public CreateCustomSampleResponse getInstance(UnmarshallerContext context) {
return CreateCustomSampleResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model/v20201126/CreateDataDiagnoseTaskRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec.model.v20201126;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.airec.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateDataDiagnoseTaskRequest extends RoaAcsRequest<CreateDataDiagnoseTaskResponse> {
private String instanceId;
public CreateDataDiagnoseTaskRequest() {
super("Airec", "2020-11-26", "CreateDataDiagnoseTask", "airec");
setUriPattern("/v2/openapi/instances/[instanceId]/data-diagnose-task");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putPathParameter("instanceId", instanceId);
}
}
@Override
public Class<CreateDataDiagnoseTaskResponse> getResponseClass() {
return CreateDataDiagnoseTaskResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model/v20201126/CreateDataDiagnoseTaskResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec.model.v20201126;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.airec.transform.v20201126.CreateDataDiagnoseTaskResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateDataDiagnoseTaskResponse extends AcsResponse {
private String requestId;
private Boolean result;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getResult() {
return this.result;
}
public void setResult(Boolean result) {
this.result = result;
}
@Override
public CreateDataDiagnoseTaskResponse getInstance(UnmarshallerContext context) {
return CreateDataDiagnoseTaskResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model/v20201126/CreateExtraDataSourceRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec.model.v20201126;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.airec.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateExtraDataSourceRequest extends RoaAcsRequest<CreateExtraDataSourceResponse> {
private String instanceId;
public CreateExtraDataSourceRequest() {
super("Airec", "2020-11-26", "CreateExtraDataSource", "airec");
setUriPattern("/v2/openapi/instances/[instanceId]/extra-data-sources");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putPathParameter("instanceId", instanceId);
}
}
@Override
public Class<CreateExtraDataSourceResponse> getResponseClass() {
return CreateExtraDataSourceResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model/v20201126/CreateExtraDataSourceResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec.model.v20201126;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.airec.transform.v20201126.CreateExtraDataSourceResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateExtraDataSourceResponse extends AcsResponse {
private String requestId;
private Result result;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Result getResult() {
return this.result;
}
public void setResult(Result result) {
this.result = result;
}
public static class Result {
private String status;
private String type;
private String gmtCreate;
private String gmtModified;
private String dataSourceId;
private Meta meta;
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public String getGmtCreate() {
return this.gmtCreate;
}
public void setGmtCreate(String gmtCreate) {
this.gmtCreate = gmtCreate;
}
public String getGmtModified() {
return this.gmtModified;
}
public void setGmtModified(String gmtModified) {
this.gmtModified = gmtModified;
}
public String getDataSourceId() {
return this.dataSourceId;
}
public void setDataSourceId(String dataSourceId) {
this.dataSourceId = dataSourceId;
}
public Meta getMeta() {
return this.meta;
}
public void setMeta(Meta meta) {
this.meta = meta;
}
public static class Meta {
private Boolean internal;
private String metaType;
private String projectName;
private String tableName;
private String type;
private Long updateFrequency;
public Boolean getInternal() {
return this.internal;
}
public void setInternal(Boolean internal) {
this.internal = internal;
}
public String getMetaType() {
return this.metaType;
}
public void setMetaType(String metaType) {
this.metaType = metaType;
}
public String getProjectName() {
return this.projectName;
}
public void setProjectName(String projectName) {
this.projectName = projectName;
}
public String getTableName() {
return this.tableName;
}
public void setTableName(String tableName) {
this.tableName = tableName;
}
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public Long getUpdateFrequency() {
return this.updateFrequency;
}
public void setUpdateFrequency(Long updateFrequency) {
this.updateFrequency = updateFrequency;
}
}
}
@Override
public CreateExtraDataSourceResponse getInstance(UnmarshallerContext context) {
return CreateExtraDataSourceResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model/v20201126/CreateFilteringAlgorithmRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec.model.v20201126;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.airec.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateFilteringAlgorithmRequest extends RoaAcsRequest<CreateFilteringAlgorithmResponse> {
private String instanceId;
private String dryRun;
public CreateFilteringAlgorithmRequest() {
super("Airec", "2020-11-26", "CreateFilteringAlgorithm", "airec");
setUriPattern("/v2/openapi/instances/[instanceId]/filtering-algorithms");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putPathParameter("instanceId", instanceId);
}
}
public String getDryRun() {
return this.dryRun;
}
public void setDryRun(String dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("dryRun", dryRun);
}
}
@Override
public Class<CreateFilteringAlgorithmResponse> getResponseClass() {
return CreateFilteringAlgorithmResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model/v20201126/CreateFilteringAlgorithmResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec.model.v20201126;
import java.util.Map;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.airec.transform.v20201126.CreateFilteringAlgorithmResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateFilteringAlgorithmResponse extends AcsResponse {
private String requestId;
private Result result;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Result getResult() {
return this.result;
}
public void setResult(Result result) {
this.result = result;
}
public static class Result {
private String gmtModified;
private String status;
private String gmtCreate;
private String algorithmId;
private Meta meta;
public String getGmtModified() {
return this.gmtModified;
}
public void setGmtModified(String gmtModified) {
this.gmtModified = gmtModified;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getGmtCreate() {
return this.gmtCreate;
}
public void setGmtCreate(String gmtCreate) {
this.gmtCreate = gmtCreate;
}
public String getAlgorithmId() {
return this.algorithmId;
}
public void setAlgorithmId(String algorithmId) {
this.algorithmId = algorithmId;
}
public Meta getMeta() {
return this.meta;
}
public void setMeta(Meta meta) {
this.meta = meta;
}
public static class Meta {
private String type;
private Map<Object,Object> extInfo;
private String category;
private String status;
private String gmtCreate;
private String tableName;
private String cron;
private String description;
private String gmtModified;
private String projectName;
private String algorithmName;
private Boolean cronEnabled;
private Threshold threshold;
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
public Map<Object,Object> getExtInfo() {
return this.extInfo;
}
public void setExtInfo(Map<Object,Object> extInfo) {
this.extInfo = extInfo;
}
public String getCategory() {
return this.category;
}
public void setCategory(String category) {
this.category = category;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getGmtCreate() {
return this.gmtCreate;
}
public void setGmtCreate(String gmtCreate) {
this.gmtCreate = gmtCreate;
}
public String getTableName() {
return this.tableName;
}
public void setTableName(String tableName) {
this.tableName = tableName;
}
public String getCron() {
return this.cron;
}
public void setCron(String cron) {
this.cron = cron;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getGmtModified() {
return this.gmtModified;
}
public void setGmtModified(String gmtModified) {
this.gmtModified = gmtModified;
}
public String getProjectName() {
return this.projectName;
}
public void setProjectName(String projectName) {
this.projectName = projectName;
}
public String getAlgorithmName() {
return this.algorithmName;
}
public void setAlgorithmName(String algorithmName) {
this.algorithmName = algorithmName;
}
public Boolean getCronEnabled() {
return this.cronEnabled;
}
public void setCronEnabled(Boolean cronEnabled) {
this.cronEnabled = cronEnabled;
}
public Threshold getThreshold() {
return this.threshold;
}
public void setThreshold(Threshold threshold) {
this.threshold = threshold;
}
public static class Threshold {
private Integer sourceDataSizeThreshold;
private Integer sourceDataRecordThreshold;
private Integer indexSizeThreshold;
private Integer indexLossThreshold;
public Integer getSourceDataSizeThreshold() {
return this.sourceDataSizeThreshold;
}
public void setSourceDataSizeThreshold(Integer sourceDataSizeThreshold) {
this.sourceDataSizeThreshold = sourceDataSizeThreshold;
}
public Integer getSourceDataRecordThreshold() {
return this.sourceDataRecordThreshold;
}
public void setSourceDataRecordThreshold(Integer sourceDataRecordThreshold) {
this.sourceDataRecordThreshold = sourceDataRecordThreshold;
}
public Integer getIndexSizeThreshold() {
return this.indexSizeThreshold;
}
public void setIndexSizeThreshold(Integer indexSizeThreshold) {
this.indexSizeThreshold = indexSizeThreshold;
}
public Integer getIndexLossThreshold() {
return this.indexLossThreshold;
}
public void setIndexLossThreshold(Integer indexLossThreshold) {
this.indexLossThreshold = indexLossThreshold;
}
}
}
}
@Override
public CreateFilteringAlgorithmResponse getInstance(UnmarshallerContext context) {
return CreateFilteringAlgorithmResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model/v20201126/CreateFlowControlTaskRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec.model.v20201126;
import com.aliyuncs.RoaAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.airec.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateFlowControlTaskRequest extends RoaAcsRequest<CreateFlowControlTaskResponse> {
private String instanceId;
private Boolean dryRun;
public CreateFlowControlTaskRequest() {
super("Airec", "2020-11-26", "CreateFlowControlTask", "airec");
setUriPattern("/v2/openapi/instances/[instanceId]/flowControlTasks");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putPathParameter("instanceId", instanceId);
}
}
public Boolean getDryRun() {
return this.dryRun;
}
public void setDryRun(Boolean dryRun) {
this.dryRun = dryRun;
if(dryRun != null){
putQueryParameter("dryRun", dryRun.toString());
}
}
@Override
public Class<CreateFlowControlTaskResponse> getResponseClass() {
return CreateFlowControlTaskResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/model/v20201126/CreateFlowControlTaskResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.airec.model.v20201126;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.airec.transform.v20201126.CreateFlowControlTaskResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateFlowControlTaskResponse extends AcsResponse {
private String code;
private String requestId;
private String message;
private Result result;
public String getCode() {
return this.code;
}
public void setCode(String code) {
this.code = code;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Result getResult() {
return this.result;
}
public void setResult(Result result) {
this.result = result;
}
public static class Result {
private String taskId;
private String gmtModified;
private String status;
private String gmtCreate;
public String getTaskId() {
return this.taskId;
}
public void setTaskId(String taskId) {
this.taskId = taskId;
}
public String getGmtModified() {
return this.gmtModified;
}
public void setGmtModified(String gmtModified) {
this.gmtModified = gmtModified;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getGmtCreate() {
return this.gmtCreate;
}
public void setGmtCreate(String gmtCreate) {
this.gmtCreate = gmtCreate;
}
}
@Override
public CreateFlowControlTaskResponse getInstance(UnmarshallerContext context) {
return CreateFlowControlTaskResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.