index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/DeployRankingSystemResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.DeployRankingSystemResponse;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeployRankingSystemResponseUnmarshaller {
public static DeployRankingSystemResponse unmarshall(DeployRankingSystemResponse deployRankingSystemResponse, UnmarshallerContext _ctx) {
deployRankingSystemResponse.setRequestId(_ctx.stringValue("DeployRankingSystemResponse.requestId"));
deployRankingSystemResponse.setResult(_ctx.mapValue("DeployRankingSystemResponse.result"));
return deployRankingSystemResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/DescribeBaseExperimentResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.DescribeBaseExperimentResponse;
import com.aliyuncs.airec.model.v20201126.DescribeBaseExperimentResponse.Result;
import com.aliyuncs.airec.model.v20201126.DescribeBaseExperimentResponse.Result.Algorithm;
import com.aliyuncs.airec.model.v20201126.DescribeBaseExperimentResponse.Result.Algorithm.ConfigItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeBaseExperimentResponseUnmarshaller {
public static DescribeBaseExperimentResponse unmarshall(DescribeBaseExperimentResponse describeBaseExperimentResponse, UnmarshallerContext _ctx) {
describeBaseExperimentResponse.setRequestId(_ctx.stringValue("DescribeBaseExperimentResponse.requestId"));
Result result = new Result();
result.setBase(_ctx.booleanValue("DescribeBaseExperimentResponse.result.base"));
result.setOnlineTime(_ctx.stringValue("DescribeBaseExperimentResponse.result.onlineTime"));
result.setOfflineTime(_ctx.stringValue("DescribeBaseExperimentResponse.result.offlineTime"));
result.setDescription(_ctx.stringValue("DescribeBaseExperimentResponse.result.description"));
result.setStatus(_ctx.stringValue("DescribeBaseExperimentResponse.result.status"));
result.setName(_ctx.stringValue("DescribeBaseExperimentResponse.result.name"));
result.setExperimentId(_ctx.stringValue("DescribeBaseExperimentResponse.result.experimentId"));
List<String> buckets = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("DescribeBaseExperimentResponse.result.buckets.Length"); i++) {
buckets.add(_ctx.stringValue("DescribeBaseExperimentResponse.result.buckets["+ i +"]"));
}
result.setBuckets(buckets);
List<Algorithm> algorithms = new ArrayList<Algorithm>();
for (int i = 0; i < _ctx.lengthValue("DescribeBaseExperimentResponse.result.algorithms.Length"); i++) {
Algorithm algorithm = new Algorithm();
algorithm.setKey(_ctx.stringValue("DescribeBaseExperimentResponse.result.algorithms["+ i +"].key"));
algorithm.setDefaultValue(_ctx.stringValue("DescribeBaseExperimentResponse.result.algorithms["+ i +"].defaultValue"));
algorithm.setType(_ctx.stringValue("DescribeBaseExperimentResponse.result.algorithms["+ i +"].type"));
algorithm.setExperimentValue(_ctx.stringValue("DescribeBaseExperimentResponse.result.algorithms["+ i +"].experimentValue"));
algorithm.setHasConfig(_ctx.booleanValue("DescribeBaseExperimentResponse.result.algorithms["+ i +"].hasConfig"));
algorithm.setCategory(_ctx.stringValue("DescribeBaseExperimentResponse.result.algorithms["+ i +"].category"));
algorithm.setName(_ctx.stringValue("DescribeBaseExperimentResponse.result.algorithms["+ i +"].name"));
List<ConfigItem> config = new ArrayList<ConfigItem>();
for (int j = 0; j < _ctx.lengthValue("DescribeBaseExperimentResponse.result.algorithms["+ i +"].config.Length"); j++) {
ConfigItem configItem = new ConfigItem();
configItem.setKey(_ctx.stringValue("DescribeBaseExperimentResponse.result.algorithms["+ i +"].config["+ j +"].key"));
configItem.setDefaultValue(_ctx.stringValue("DescribeBaseExperimentResponse.result.algorithms["+ i +"].config["+ j +"].defaultValue"));
configItem.setExperimentValue(_ctx.stringValue("DescribeBaseExperimentResponse.result.algorithms["+ i +"].config["+ j +"].experimentValue"));
configItem.setName(_ctx.stringValue("DescribeBaseExperimentResponse.result.algorithms["+ i +"].config["+ j +"].name"));
config.add(configItem);
}
algorithm.setConfig(config);
algorithms.add(algorithm);
}
result.setAlgorithms(algorithms);
describeBaseExperimentResponse.setResult(result);
return describeBaseExperimentResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/DescribeCustomAnalysisTaskResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.DescribeCustomAnalysisTaskResponse;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeCustomAnalysisTaskResponseUnmarshaller {
public static DescribeCustomAnalysisTaskResponse unmarshall(DescribeCustomAnalysisTaskResponse describeCustomAnalysisTaskResponse, UnmarshallerContext _ctx) {
describeCustomAnalysisTaskResponse.setRequestId(_ctx.stringValue("DescribeCustomAnalysisTaskResponse.requestId"));
describeCustomAnalysisTaskResponse.setResult(_ctx.mapValue("DescribeCustomAnalysisTaskResponse.result"));
describeCustomAnalysisTaskResponse.setCode(_ctx.stringValue("DescribeCustomAnalysisTaskResponse.code"));
describeCustomAnalysisTaskResponse.setMessage(_ctx.stringValue("DescribeCustomAnalysisTaskResponse.message"));
return describeCustomAnalysisTaskResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/DescribeDataSetMessageResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.DescribeDataSetMessageResponse;
import com.aliyuncs.airec.model.v20201126.DescribeDataSetMessageResponse.ResultItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDataSetMessageResponseUnmarshaller {
public static DescribeDataSetMessageResponse unmarshall(DescribeDataSetMessageResponse describeDataSetMessageResponse, UnmarshallerContext _ctx) {
describeDataSetMessageResponse.setCode(_ctx.stringValue("DescribeDataSetMessageResponse.code"));
describeDataSetMessageResponse.setRequestId(_ctx.stringValue("DescribeDataSetMessageResponse.requestId"));
describeDataSetMessageResponse.setMessage(_ctx.stringValue("DescribeDataSetMessageResponse.message"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeDataSetMessageResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setMessage(_ctx.stringValue("DescribeDataSetMessageResponse.result["+ i +"].message"));
resultItem.setTimestamp(_ctx.stringValue("DescribeDataSetMessageResponse.result["+ i +"].timestamp"));
resultItem.setErrorLevel(_ctx.stringValue("DescribeDataSetMessageResponse.result["+ i +"].errorLevel"));
resultItem.setErrorType(_ctx.stringValue("DescribeDataSetMessageResponse.result["+ i +"].errorType"));
result.add(resultItem);
}
describeDataSetMessageResponse.setResult(result);
return describeDataSetMessageResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/DescribeDefaultAlgorithmsResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.DescribeDefaultAlgorithmsResponse;
import com.aliyuncs.airec.model.v20201126.DescribeDefaultAlgorithmsResponse.ResultItem;
import com.aliyuncs.airec.model.v20201126.DescribeDefaultAlgorithmsResponse.ResultItem.ConfigItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeDefaultAlgorithmsResponseUnmarshaller {
public static DescribeDefaultAlgorithmsResponse unmarshall(DescribeDefaultAlgorithmsResponse describeDefaultAlgorithmsResponse, UnmarshallerContext _ctx) {
describeDefaultAlgorithmsResponse.setRequestId(_ctx.stringValue("DescribeDefaultAlgorithmsResponse.requestId"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeDefaultAlgorithmsResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setKey(_ctx.stringValue("DescribeDefaultAlgorithmsResponse.result["+ i +"].key"));
resultItem.setDefaultValue(_ctx.stringValue("DescribeDefaultAlgorithmsResponse.result["+ i +"].defaultValue"));
resultItem.setType(_ctx.stringValue("DescribeDefaultAlgorithmsResponse.result["+ i +"].type"));
resultItem.setExperimentValue(_ctx.stringValue("DescribeDefaultAlgorithmsResponse.result["+ i +"].experimentValue"));
resultItem.setHasConfig(_ctx.booleanValue("DescribeDefaultAlgorithmsResponse.result["+ i +"].hasConfig"));
resultItem.setCategory(_ctx.stringValue("DescribeDefaultAlgorithmsResponse.result["+ i +"].category"));
resultItem.setName(_ctx.stringValue("DescribeDefaultAlgorithmsResponse.result["+ i +"].name"));
List<ConfigItem> config = new ArrayList<ConfigItem>();
for (int j = 0; j < _ctx.lengthValue("DescribeDefaultAlgorithmsResponse.result["+ i +"].config.Length"); j++) {
ConfigItem configItem = new ConfigItem();
configItem.setKey(_ctx.stringValue("DescribeDefaultAlgorithmsResponse.result["+ i +"].config["+ j +"].key"));
configItem.setDefaultValue(_ctx.stringValue("DescribeDefaultAlgorithmsResponse.result["+ i +"].config["+ j +"].defaultValue"));
configItem.setExperimentValue(_ctx.stringValue("DescribeDefaultAlgorithmsResponse.result["+ i +"].config["+ j +"].experimentValue"));
configItem.setName(_ctx.stringValue("DescribeDefaultAlgorithmsResponse.result["+ i +"].config["+ j +"].name"));
config.add(configItem);
}
resultItem.setConfig(config);
result.add(resultItem);
}
describeDefaultAlgorithmsResponse.setResult(result);
return describeDefaultAlgorithmsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/DescribeExperimentEnvProgressResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.DescribeExperimentEnvProgressResponse;
import com.aliyuncs.airec.model.v20201126.DescribeExperimentEnvProgressResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeExperimentEnvProgressResponseUnmarshaller {
public static DescribeExperimentEnvProgressResponse unmarshall(DescribeExperimentEnvProgressResponse describeExperimentEnvProgressResponse, UnmarshallerContext _ctx) {
describeExperimentEnvProgressResponse.setRequestId(_ctx.stringValue("DescribeExperimentEnvProgressResponse.requestId"));
Result result = new Result();
result.setStatus(_ctx.stringValue("DescribeExperimentEnvProgressResponse.result.status"));
result.setProgress(_ctx.integerValue("DescribeExperimentEnvProgressResponse.result.progress"));
describeExperimentEnvProgressResponse.setResult(result);
return describeExperimentEnvProgressResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/DescribeExperimentEnvResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.DescribeExperimentEnvResponse;
import com.aliyuncs.airec.model.v20201126.DescribeExperimentEnvResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeExperimentEnvResponseUnmarshaller {
public static DescribeExperimentEnvResponse unmarshall(DescribeExperimentEnvResponse describeExperimentEnvResponse, UnmarshallerContext _ctx) {
describeExperimentEnvResponse.setRequestId(_ctx.stringValue("DescribeExperimentEnvResponse.requestId"));
Result result = new Result();
result.setBucketCount(_ctx.integerValue("DescribeExperimentEnvResponse.result.bucketCount"));
result.setDivideType(_ctx.stringValue("DescribeExperimentEnvResponse.result.divideType"));
describeExperimentEnvResponse.setResult(result);
return describeExperimentEnvResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/DescribeExperimentResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.DescribeExperimentResponse;
import com.aliyuncs.airec.model.v20201126.DescribeExperimentResponse.Result;
import com.aliyuncs.airec.model.v20201126.DescribeExperimentResponse.Result.Algorithm;
import com.aliyuncs.airec.model.v20201126.DescribeExperimentResponse.Result.Algorithm.ConfigItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeExperimentResponseUnmarshaller {
public static DescribeExperimentResponse unmarshall(DescribeExperimentResponse describeExperimentResponse, UnmarshallerContext _ctx) {
describeExperimentResponse.setRequestId(_ctx.stringValue("DescribeExperimentResponse.requestId"));
Result result = new Result();
result.setBase(_ctx.booleanValue("DescribeExperimentResponse.result.base"));
result.setOnlineTime(_ctx.stringValue("DescribeExperimentResponse.result.onlineTime"));
result.setOfflineTime(_ctx.stringValue("DescribeExperimentResponse.result.offlineTime"));
result.setDescription(_ctx.stringValue("DescribeExperimentResponse.result.description"));
result.setStatus(_ctx.stringValue("DescribeExperimentResponse.result.status"));
result.setName(_ctx.stringValue("DescribeExperimentResponse.result.name"));
result.setExperimentId(_ctx.stringValue("DescribeExperimentResponse.result.experimentId"));
List<String> buckets = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("DescribeExperimentResponse.result.buckets.Length"); i++) {
buckets.add(_ctx.stringValue("DescribeExperimentResponse.result.buckets["+ i +"]"));
}
result.setBuckets(buckets);
List<Algorithm> algorithms = new ArrayList<Algorithm>();
for (int i = 0; i < _ctx.lengthValue("DescribeExperimentResponse.result.algorithms.Length"); i++) {
Algorithm algorithm = new Algorithm();
algorithm.setKey(_ctx.stringValue("DescribeExperimentResponse.result.algorithms["+ i +"].key"));
algorithm.setDefaultValue(_ctx.stringValue("DescribeExperimentResponse.result.algorithms["+ i +"].defaultValue"));
algorithm.setType(_ctx.stringValue("DescribeExperimentResponse.result.algorithms["+ i +"].type"));
algorithm.setExperimentValue(_ctx.stringValue("DescribeExperimentResponse.result.algorithms["+ i +"].experimentValue"));
algorithm.setHasConfig(_ctx.booleanValue("DescribeExperimentResponse.result.algorithms["+ i +"].hasConfig"));
algorithm.setCategory(_ctx.stringValue("DescribeExperimentResponse.result.algorithms["+ i +"].category"));
algorithm.setName(_ctx.stringValue("DescribeExperimentResponse.result.algorithms["+ i +"].name"));
List<ConfigItem> config = new ArrayList<ConfigItem>();
for (int j = 0; j < _ctx.lengthValue("DescribeExperimentResponse.result.algorithms["+ i +"].config.Length"); j++) {
ConfigItem configItem = new ConfigItem();
configItem.setKey(_ctx.stringValue("DescribeExperimentResponse.result.algorithms["+ i +"].config["+ j +"].key"));
configItem.setDefaultValue(_ctx.stringValue("DescribeExperimentResponse.result.algorithms["+ i +"].config["+ j +"].defaultValue"));
configItem.setExperimentValue(_ctx.stringValue("DescribeExperimentResponse.result.algorithms["+ i +"].config["+ j +"].experimentValue"));
configItem.setName(_ctx.stringValue("DescribeExperimentResponse.result.algorithms["+ i +"].config["+ j +"].name"));
config.add(configItem);
}
algorithm.setConfig(config);
algorithms.add(algorithm);
}
result.setAlgorithms(algorithms);
describeExperimentResponse.setResult(result);
return describeExperimentResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/DescribeFilteringAlgorithmResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.DescribeFilteringAlgorithmResponse;
import com.aliyuncs.airec.model.v20201126.DescribeFilteringAlgorithmResponse.Result;
import com.aliyuncs.airec.model.v20201126.DescribeFilteringAlgorithmResponse.Result.Meta;
import com.aliyuncs.airec.model.v20201126.DescribeFilteringAlgorithmResponse.Result.Meta.ExtInfo;
import com.aliyuncs.airec.model.v20201126.DescribeFilteringAlgorithmResponse.Result.Meta.Threshold;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeFilteringAlgorithmResponseUnmarshaller {
public static DescribeFilteringAlgorithmResponse unmarshall(DescribeFilteringAlgorithmResponse describeFilteringAlgorithmResponse, UnmarshallerContext _ctx) {
describeFilteringAlgorithmResponse.setRequestId(_ctx.stringValue("DescribeFilteringAlgorithmResponse.requestId"));
Result result = new Result();
result.setGmtModified(_ctx.stringValue("DescribeFilteringAlgorithmResponse.result.gmtModified"));
result.setStatus(_ctx.stringValue("DescribeFilteringAlgorithmResponse.result.status"));
result.setGmtCreate(_ctx.stringValue("DescribeFilteringAlgorithmResponse.result.gmtCreate"));
result.setAlgorithmId(_ctx.stringValue("DescribeFilteringAlgorithmResponse.result.algorithmId"));
Meta meta = new Meta();
meta.setTaskId(_ctx.stringValue("DescribeFilteringAlgorithmResponse.result.meta.taskId"));
meta.setMetaType(_ctx.stringValue("DescribeFilteringAlgorithmResponse.result.meta.metaType"));
meta.setType(_ctx.stringValue("DescribeFilteringAlgorithmResponse.result.meta.type"));
meta.setCategory(_ctx.stringValue("DescribeFilteringAlgorithmResponse.result.meta.category"));
meta.setTableName(_ctx.stringValue("DescribeFilteringAlgorithmResponse.result.meta.tableName"));
meta.setClusterId(_ctx.stringValue("DescribeFilteringAlgorithmResponse.result.meta.clusterId"));
meta.setCron(_ctx.stringValue("DescribeFilteringAlgorithmResponse.result.meta.cron"));
meta.setDescription(_ctx.stringValue("DescribeFilteringAlgorithmResponse.result.meta.description"));
meta.setProjectName(_ctx.stringValue("DescribeFilteringAlgorithmResponse.result.meta.projectName"));
meta.setAlgorithmName(_ctx.stringValue("DescribeFilteringAlgorithmResponse.result.meta.algorithmName"));
meta.setCronEnabled(_ctx.booleanValue("DescribeFilteringAlgorithmResponse.result.meta.cronEnabled"));
ExtInfo extInfo = new ExtInfo();
extInfo.setKvSeparator(_ctx.stringValue("DescribeFilteringAlgorithmResponse.result.meta.extInfo.kvSeparator"));
extInfo.setItemSeparator(_ctx.stringValue("DescribeFilteringAlgorithmResponse.result.meta.extInfo.itemSeparator"));
meta.setExtInfo(extInfo);
Threshold threshold = new Threshold();
threshold.setSourceDataSizeThreshold(_ctx.integerValue("DescribeFilteringAlgorithmResponse.result.meta.threshold.sourceDataSizeThreshold"));
threshold.setSourceDataRecordThreshold(_ctx.integerValue("DescribeFilteringAlgorithmResponse.result.meta.threshold.sourceDataRecordThreshold"));
threshold.setIndexSizeThreshold(_ctx.integerValue("DescribeFilteringAlgorithmResponse.result.meta.threshold.indexSizeThreshold"));
threshold.setIndexLossThreshold(_ctx.integerValue("DescribeFilteringAlgorithmResponse.result.meta.threshold.indexLossThreshold"));
meta.setThreshold(threshold);
result.setMeta(meta);
describeFilteringAlgorithmResponse.setResult(result);
return describeFilteringAlgorithmResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/DescribeInstanceResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.DescribeInstanceResponse;
import com.aliyuncs.airec.model.v20201126.DescribeInstanceResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeInstanceResponseUnmarshaller {
public static DescribeInstanceResponse unmarshall(DescribeInstanceResponse describeInstanceResponse, UnmarshallerContext _ctx) {
describeInstanceResponse.setCode(_ctx.stringValue("DescribeInstanceResponse.code"));
describeInstanceResponse.setRequestId(_ctx.stringValue("DescribeInstanceResponse.requestId"));
describeInstanceResponse.setMessage(_ctx.stringValue("DescribeInstanceResponse.message"));
Result result = new Result();
result.setRegionId(_ctx.stringValue("DescribeInstanceResponse.result.regionId"));
result.setType(_ctx.stringValue("DescribeInstanceResponse.result.type"));
result.setLockMode(_ctx.stringValue("DescribeInstanceResponse.result.lockMode"));
result.setExpiredTime(_ctx.stringValue("DescribeInstanceResponse.result.expiredTime"));
result.setScene(_ctx.stringValue("DescribeInstanceResponse.result.scene"));
result.setStatus(_ctx.stringValue("DescribeInstanceResponse.result.status"));
result.setGmtCreate(_ctx.stringValue("DescribeInstanceResponse.result.gmtCreate"));
result.setChargeType(_ctx.stringValue("DescribeInstanceResponse.result.chargeType"));
result.setIndustry(_ctx.stringValue("DescribeInstanceResponse.result.industry"));
result.setCommodityCode(_ctx.stringValue("DescribeInstanceResponse.result.commodityCode"));
result.setGmtModified(_ctx.stringValue("DescribeInstanceResponse.result.gmtModified"));
result.setDataSetVersion(_ctx.stringValue("DescribeInstanceResponse.result.dataSetVersion"));
result.setName(_ctx.stringValue("DescribeInstanceResponse.result.name"));
result.setInstanceId(_ctx.stringValue("DescribeInstanceResponse.result.instanceId"));
describeInstanceResponse.setResult(result);
return describeInstanceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/DescribeLatestTaskResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.DescribeLatestTaskResponse;
import com.aliyuncs.airec.model.v20201126.DescribeLatestTaskResponse.IndexVersion;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeLatestTaskResponseUnmarshaller {
public static DescribeLatestTaskResponse unmarshall(DescribeLatestTaskResponse describeLatestTaskResponse, UnmarshallerContext _ctx) {
describeLatestTaskResponse.setRequestId(_ctx.stringValue("DescribeLatestTaskResponse.requestId"));
List<IndexVersion> result = new ArrayList<IndexVersion>();
for (int i = 0; i < _ctx.lengthValue("DescribeLatestTaskResponse.result.Length"); i++) {
IndexVersion indexVersion = new IndexVersion();
indexVersion.setCode(_ctx.stringValue("DescribeLatestTaskResponse.result["+ i +"].code"));
indexVersion.setSwitchedTime(_ctx.stringValue("DescribeLatestTaskResponse.result["+ i +"].switchedTime"));
indexVersion.setRollbackEnabled(_ctx.booleanValue("DescribeLatestTaskResponse.result["+ i +"].rollbackEnabled"));
indexVersion.setMessage(_ctx.stringValue("DescribeLatestTaskResponse.result["+ i +"].message"));
indexVersion.setFlowType(_ctx.stringValue("DescribeLatestTaskResponse.result["+ i +"].flowType"));
indexVersion.setCostSeconds(_ctx.integerValue("DescribeLatestTaskResponse.result["+ i +"].costSeconds"));
indexVersion.setBuiltTime(_ctx.stringValue("DescribeLatestTaskResponse.result["+ i +"].builtTime"));
indexVersion.setVersionId(_ctx.stringValue("DescribeLatestTaskResponse.result["+ i +"].versionId"));
indexVersion.setSize(_ctx.longValue("DescribeLatestTaskResponse.result["+ i +"].size"));
indexVersion.setStatus(_ctx.stringValue("DescribeLatestTaskResponse.result["+ i +"].status"));
indexVersion.setProgress(_ctx.integerValue("DescribeLatestTaskResponse.result["+ i +"].progress"));
result.add(indexVersion);
}
describeLatestTaskResponse.setResult(result);
return describeLatestTaskResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/DescribeQuotaResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.DescribeQuotaResponse;
import com.aliyuncs.airec.model.v20201126.DescribeQuotaResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeQuotaResponseUnmarshaller {
public static DescribeQuotaResponse unmarshall(DescribeQuotaResponse describeQuotaResponse, UnmarshallerContext _ctx) {
describeQuotaResponse.setCode(_ctx.stringValue("DescribeQuotaResponse.code"));
describeQuotaResponse.setRequestId(_ctx.stringValue("DescribeQuotaResponse.requestId"));
describeQuotaResponse.setMessage(_ctx.stringValue("DescribeQuotaResponse.message"));
Result result = new Result();
result.setItemCountUsed(_ctx.longValue("DescribeQuotaResponse.result.itemCountUsed"));
result.setItemCount(_ctx.longValue("DescribeQuotaResponse.result.itemCount"));
result.setUserCount(_ctx.longValue("DescribeQuotaResponse.result.userCount"));
result.setUserCountUsed(_ctx.longValue("DescribeQuotaResponse.result.userCountUsed"));
result.setQps(_ctx.integerValue("DescribeQuotaResponse.result.qps"));
result.setCurrentQps(_ctx.integerValue("DescribeQuotaResponse.result.currentQps"));
describeQuotaResponse.setResult(result);
return describeQuotaResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/DescribeRegionsResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.DescribeRegionsResponse;
import com.aliyuncs.airec.model.v20201126.DescribeRegionsResponse.ResultItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeRegionsResponseUnmarshaller {
public static DescribeRegionsResponse unmarshall(DescribeRegionsResponse describeRegionsResponse, UnmarshallerContext _ctx) {
describeRegionsResponse.setCode(_ctx.stringValue("DescribeRegionsResponse.code"));
describeRegionsResponse.setRequestId(_ctx.stringValue("DescribeRegionsResponse.requestId"));
describeRegionsResponse.setMessage(_ctx.stringValue("DescribeRegionsResponse.message"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeRegionsResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setRegionId(_ctx.stringValue("DescribeRegionsResponse.result["+ i +"].regionId"));
resultItem.setEndpoint(_ctx.stringValue("DescribeRegionsResponse.result["+ i +"].endpoint"));
resultItem.setStatus(_ctx.stringValue("DescribeRegionsResponse.result["+ i +"].status"));
resultItem.setLocalName(_ctx.stringValue("DescribeRegionsResponse.result["+ i +"].localName"));
resultItem.setConsoleUrl(_ctx.stringValue("DescribeRegionsResponse.result["+ i +"].consoleUrl"));
result.add(resultItem);
}
describeRegionsResponse.setResult(result);
return describeRegionsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/DescribeRuleResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.DescribeRuleResponse;
import com.aliyuncs.airec.model.v20201126.DescribeRuleResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeRuleResponseUnmarshaller {
public static DescribeRuleResponse unmarshall(DescribeRuleResponse describeRuleResponse, UnmarshallerContext _ctx) {
describeRuleResponse.setCode(_ctx.stringValue("DescribeRuleResponse.code"));
describeRuleResponse.setRequestId(_ctx.stringValue("DescribeRuleResponse.requestId"));
describeRuleResponse.setMessage(_ctx.stringValue("DescribeRuleResponse.message"));
Result result = new Result();
result.setRuleId(_ctx.stringValue("DescribeRuleResponse.result.ruleId"));
result.setGmtModified(_ctx.stringValue("DescribeRuleResponse.result.gmtModified"));
result.setStatus(_ctx.stringValue("DescribeRuleResponse.result.status"));
result.setGmtCreate(_ctx.stringValue("DescribeRuleResponse.result.gmtCreate"));
describeRuleResponse.setResult(result);
return describeRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/DescribeSceneBucketResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.DescribeSceneBucketResponse;
import com.aliyuncs.airec.model.v20201126.DescribeSceneBucketResponse.Result;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSceneBucketResponseUnmarshaller {
public static DescribeSceneBucketResponse unmarshall(DescribeSceneBucketResponse describeSceneBucketResponse, UnmarshallerContext _ctx) {
describeSceneBucketResponse.setRequestId(_ctx.stringValue("DescribeSceneBucketResponse.requestId"));
Result result = new Result();
result.setNum(_ctx.integerValue("DescribeSceneBucketResponse.result.num"));
result.setInUse(_ctx.stringValue("DescribeSceneBucketResponse.result.inUse"));
result.setDetail(_ctx.mapValue("DescribeSceneBucketResponse.result.detail"));
describeSceneBucketResponse.setResult(result);
return describeSceneBucketResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/DescribeSceneResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.DescribeSceneResponse;
import com.aliyuncs.airec.model.v20201126.DescribeSceneResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSceneResponseUnmarshaller {
public static DescribeSceneResponse unmarshall(DescribeSceneResponse describeSceneResponse, UnmarshallerContext _ctx) {
describeSceneResponse.setCode(_ctx.stringValue("DescribeSceneResponse.code"));
describeSceneResponse.setRequestId(_ctx.stringValue("DescribeSceneResponse.requestId"));
describeSceneResponse.setMessage(_ctx.stringValue("DescribeSceneResponse.message"));
Result result = new Result();
result.setSceneId(_ctx.stringValue("DescribeSceneResponse.result.sceneId"));
result.setGmtModified(_ctx.stringValue("DescribeSceneResponse.result.gmtModified"));
result.setStatus(_ctx.stringValue("DescribeSceneResponse.result.status"));
result.setGmtCreate(_ctx.stringValue("DescribeSceneResponse.result.gmtCreate"));
describeSceneResponse.setResult(result);
return describeSceneResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/DescribeSceneThroughputResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.DescribeSceneThroughputResponse;
import com.aliyuncs.airec.model.v20201126.DescribeSceneThroughputResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSceneThroughputResponseUnmarshaller {
public static DescribeSceneThroughputResponse unmarshall(DescribeSceneThroughputResponse describeSceneThroughputResponse, UnmarshallerContext _ctx) {
describeSceneThroughputResponse.setCode(_ctx.stringValue("DescribeSceneThroughputResponse.code"));
describeSceneThroughputResponse.setRequestId(_ctx.stringValue("DescribeSceneThroughputResponse.requestId"));
describeSceneThroughputResponse.setMessage(_ctx.stringValue("DescribeSceneThroughputResponse.message"));
Result result = new Result();
result.setPvCount(_ctx.longValue("DescribeSceneThroughputResponse.result.pvCount"));
describeSceneThroughputResponse.setResult(result);
return describeSceneThroughputResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/DescribeSyncReportDetailResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.DescribeSyncReportDetailResponse;
import com.aliyuncs.airec.model.v20201126.DescribeSyncReportDetailResponse.ResultItem;
import com.aliyuncs.airec.model.v20201126.DescribeSyncReportDetailResponse.ResultItem.HistoryDataItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSyncReportDetailResponseUnmarshaller {
public static DescribeSyncReportDetailResponse unmarshall(DescribeSyncReportDetailResponse describeSyncReportDetailResponse, UnmarshallerContext _ctx) {
describeSyncReportDetailResponse.setCode(_ctx.stringValue("DescribeSyncReportDetailResponse.code"));
describeSyncReportDetailResponse.setRequestId(_ctx.stringValue("DescribeSyncReportDetailResponse.requestId"));
describeSyncReportDetailResponse.setMessage(_ctx.stringValue("DescribeSyncReportDetailResponse.message"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeSyncReportDetailResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setSampleDisplay(_ctx.booleanValue("DescribeSyncReportDetailResponse.result["+ i +"].sampleDisplay"));
resultItem.setType(_ctx.stringValue("DescribeSyncReportDetailResponse.result["+ i +"].type"));
resultItem.setErrorCount(_ctx.integerValue("DescribeSyncReportDetailResponse.result["+ i +"].errorCount"));
resultItem.setErrorPercent(_ctx.floatValue("DescribeSyncReportDetailResponse.result["+ i +"].errorPercent"));
resultItem.setDefaultDisplay(_ctx.booleanValue("DescribeSyncReportDetailResponse.result["+ i +"].defaultDisplay"));
List<HistoryDataItem> historyData = new ArrayList<HistoryDataItem>();
for (int j = 0; j < _ctx.lengthValue("DescribeSyncReportDetailResponse.result["+ i +"].historyData.Length"); j++) {
HistoryDataItem historyDataItem = new HistoryDataItem();
historyDataItem.setErrorPercent(_ctx.floatValue("DescribeSyncReportDetailResponse.result["+ i +"].historyData["+ j +"].errorPercent"));
historyDataItem.setStartTime(_ctx.longValue("DescribeSyncReportDetailResponse.result["+ i +"].historyData["+ j +"].startTime"));
historyDataItem.setEndTime(_ctx.longValue("DescribeSyncReportDetailResponse.result["+ i +"].historyData["+ j +"].endTime"));
historyData.add(historyDataItem);
}
resultItem.setHistoryData(historyData);
result.add(resultItem);
}
describeSyncReportDetailResponse.setResult(result);
return describeSyncReportDetailResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/DescribeSyncReportOutliersResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.DescribeSyncReportOutliersResponse;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeSyncReportOutliersResponseUnmarshaller {
public static DescribeSyncReportOutliersResponse unmarshall(DescribeSyncReportOutliersResponse describeSyncReportOutliersResponse, UnmarshallerContext _ctx) {
describeSyncReportOutliersResponse.setResult(_ctx.mapValue("DescribeSyncReportOutliersResponse.result"));
describeSyncReportOutliersResponse.setCode(_ctx.stringValue("DescribeSyncReportOutliersResponse.code"));
describeSyncReportOutliersResponse.setRequestId(_ctx.stringValue("DescribeSyncReportOutliersResponse.requestId"));
describeSyncReportOutliersResponse.setMessage(_ctx.stringValue("DescribeSyncReportOutliersResponse.message"));
return describeSyncReportOutliersResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/DescribeUserMetricsResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.DescribeUserMetricsResponse;
import com.aliyuncs.airec.model.v20201126.DescribeUserMetricsResponse.ResultItem;
import com.aliyuncs.airec.model.v20201126.DescribeUserMetricsResponse.ResultItem.DataPointsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeUserMetricsResponseUnmarshaller {
public static DescribeUserMetricsResponse unmarshall(DescribeUserMetricsResponse describeUserMetricsResponse, UnmarshallerContext _ctx) {
describeUserMetricsResponse.setCode(_ctx.stringValue("DescribeUserMetricsResponse.code"));
describeUserMetricsResponse.setRequestId(_ctx.stringValue("DescribeUserMetricsResponse.requestId"));
describeUserMetricsResponse.setMessage(_ctx.stringValue("DescribeUserMetricsResponse.message"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeUserMetricsResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setSceneId(_ctx.stringValue("DescribeUserMetricsResponse.result["+ i +"].sceneId"));
List<DataPointsItem> dataPoints = new ArrayList<DataPointsItem>();
for (int j = 0; j < _ctx.lengthValue("DescribeUserMetricsResponse.result["+ i +"].dataPoints.Length"); j++) {
DataPointsItem dataPointsItem = new DataPointsItem();
dataPointsItem.setVal(_ctx.floatValue("DescribeUserMetricsResponse.result["+ i +"].dataPoints["+ j +"].val"));
dataPointsItem.setStartTime(_ctx.longValue("DescribeUserMetricsResponse.result["+ i +"].dataPoints["+ j +"].startTime"));
dataPointsItem.setEndTime(_ctx.longValue("DescribeUserMetricsResponse.result["+ i +"].dataPoints["+ j +"].endTime"));
dataPoints.add(dataPointsItem);
}
resultItem.setDataPoints(dataPoints);
result.add(resultItem);
}
describeUserMetricsResponse.setResult(result);
return describeUserMetricsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/DowngradeInstanceResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.DowngradeInstanceResponse;
import com.aliyuncs.airec.model.v20201126.DowngradeInstanceResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class DowngradeInstanceResponseUnmarshaller {
public static DowngradeInstanceResponse unmarshall(DowngradeInstanceResponse downgradeInstanceResponse, UnmarshallerContext _ctx) {
downgradeInstanceResponse.setCode(_ctx.stringValue("DowngradeInstanceResponse.code"));
downgradeInstanceResponse.setRequestId(_ctx.stringValue("DowngradeInstanceResponse.requestId"));
downgradeInstanceResponse.setMessage(_ctx.stringValue("DowngradeInstanceResponse.message"));
Result result = new Result();
result.setInstanceId(_ctx.stringValue("DowngradeInstanceResponse.result.instanceId"));
downgradeInstanceResponse.setResult(result);
return downgradeInstanceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/EnableExperimentResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.EnableExperimentResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class EnableExperimentResponseUnmarshaller {
public static EnableExperimentResponse unmarshall(EnableExperimentResponse enableExperimentResponse, UnmarshallerContext _ctx) {
enableExperimentResponse.setResult(_ctx.booleanValue("EnableExperimentResponse.result"));
enableExperimentResponse.setRequestId(_ctx.stringValue("EnableExperimentResponse.requestId"));
return enableExperimentResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/GenerateSampleResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.GenerateSampleResponse;
import com.aliyuncs.airec.model.v20201126.GenerateSampleResponse.Result;
import com.aliyuncs.airec.model.v20201126.GenerateSampleResponse.Result.Meta;
import com.aliyuncs.airec.model.v20201126.GenerateSampleResponse.Result.Meta.Config;
import com.aliyuncs.airec.model.v20201126.GenerateSampleResponse.Result.Meta.Config.FeatureConfig;
import com.aliyuncs.airec.model.v20201126.GenerateSampleResponse.Result.Meta.Config.LabelLogic;
import com.aliyuncs.airec.model.v20201126.GenerateSampleResponse.Result.Meta.Config.WeightLogicListItem;
import com.aliyuncs.airec.model.v20201126.GenerateSampleResponse.Result.Meta.ExtendParams;
import com.aliyuncs.transform.UnmarshallerContext;
public class GenerateSampleResponseUnmarshaller {
public static GenerateSampleResponse unmarshall(GenerateSampleResponse generateSampleResponse, UnmarshallerContext _ctx) {
generateSampleResponse.setRequestId(_ctx.stringValue("GenerateSampleResponse.requestId"));
Result result = new Result();
result.setStatus(_ctx.stringValue("GenerateSampleResponse.result.Status"));
result.setGmtCreate(_ctx.stringValue("GenerateSampleResponse.result.GmtCreate"));
result.setGmtModified(_ctx.stringValue("GenerateSampleResponse.result.GmtModified"));
result.setSampleId(_ctx.stringValue("GenerateSampleResponse.result.SampleId"));
Meta meta = new Meta();
meta.setAutoUpdate(_ctx.booleanValue("GenerateSampleResponse.result.Meta.AutoUpdate"));
meta.setAutoUpdateFrequency(_ctx.longValue("GenerateSampleResponse.result.Meta.AutoUpdateFrequency"));
meta.setClonedId(_ctx.stringValue("GenerateSampleResponse.result.Meta.ClonedId"));
meta.setMetaType(_ctx.stringValue("GenerateSampleResponse.result.Meta.MetaType"));
meta.setName(_ctx.stringValue("GenerateSampleResponse.result.Meta.Name"));
meta.setStoreConfig(_ctx.stringValue("GenerateSampleResponse.result.Meta.StoreConfig"));
meta.setType(_ctx.stringValue("GenerateSampleResponse.result.Meta.Type"));
Config config = new Config();
List<String> bhvTableSourceIds = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("GenerateSampleResponse.result.Meta.Config.BhvTableSourceIds.Length"); i++) {
bhvTableSourceIds.add(_ctx.stringValue("GenerateSampleResponse.result.Meta.Config.BhvTableSourceIds["+ i +"]"));
}
config.setBhvTableSourceIds(bhvTableSourceIds);
FeatureConfig featureConfig = new FeatureConfig();
featureConfig.setItemFeatures(_ctx.stringValue("GenerateSampleResponse.result.Meta.Config.FeatureConfig.ItemFeatures"));
featureConfig.setUserFeatures(_ctx.stringValue("GenerateSampleResponse.result.Meta.Config.FeatureConfig.UserFeatures"));
config.setFeatureConfig(featureConfig);
LabelLogic labelLogic = new LabelLogic();
labelLogic.setBhvTimeWindow(_ctx.longValue("GenerateSampleResponse.result.Meta.Config.LabelLogic.BhvTimeWindow"));
labelLogic.setNegativeBhvTypes(_ctx.stringValue("GenerateSampleResponse.result.Meta.Config.LabelLogic.NegativeBhvTypes"));
labelLogic.setPositiveBhvTypes(_ctx.stringValue("GenerateSampleResponse.result.Meta.Config.LabelLogic.PositiveBhvTypes"));
config.setLabelLogic(labelLogic);
List<WeightLogicListItem> weightLogicList = new ArrayList<WeightLogicListItem>();
for (int i = 0; i < _ctx.lengthValue("GenerateSampleResponse.result.Meta.Config.WeightLogicList.Length"); i++) {
WeightLogicListItem weightLogicListItem = new WeightLogicListItem();
weightLogicListItem.setBhv(_ctx.stringValue("GenerateSampleResponse.result.Meta.Config.WeightLogicList["+ i +"].Bhv"));
weightLogicListItem.setWeight(_ctx.stringValue("GenerateSampleResponse.result.Meta.Config.WeightLogicList["+ i +"].Weight"));
weightLogicList.add(weightLogicListItem);
}
config.setWeightLogicList(weightLogicList);
meta.setConfig(config);
ExtendParams extendParams = new ExtendParams();
extendParams.setLatestTaskStatus(_ctx.longValue("GenerateSampleResponse.result.Meta.ExtendParams.LatestTaskStatus"));
extendParams.setSampleCount(_ctx.longValue("GenerateSampleResponse.result.Meta.ExtendParams.SampleCount"));
meta.setExtendParams(extendParams);
result.setMeta(meta);
generateSampleResponse.setResult(result);
return generateSampleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/GetExtraDataSourceResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.GetExtraDataSourceResponse;
import com.aliyuncs.airec.model.v20201126.GetExtraDataSourceResponse.Result;
import com.aliyuncs.airec.model.v20201126.GetExtraDataSourceResponse.Result.Meta;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetExtraDataSourceResponseUnmarshaller {
public static GetExtraDataSourceResponse unmarshall(GetExtraDataSourceResponse getExtraDataSourceResponse, UnmarshallerContext _ctx) {
getExtraDataSourceResponse.setRequestId(_ctx.stringValue("GetExtraDataSourceResponse.requestId"));
Result result = new Result();
result.setStatus(_ctx.stringValue("GetExtraDataSourceResponse.result.Status"));
result.setType(_ctx.stringValue("GetExtraDataSourceResponse.result.Type"));
result.setGmtCreate(_ctx.stringValue("GetExtraDataSourceResponse.result.GmtCreate"));
result.setGmtModified(_ctx.stringValue("GetExtraDataSourceResponse.result.GmtModified"));
result.setDataSourceId(_ctx.stringValue("GetExtraDataSourceResponse.result.DataSourceId"));
Meta meta = new Meta();
meta.setInternal(_ctx.booleanValue("GetExtraDataSourceResponse.result.Meta.Internal"));
meta.setMetaType(_ctx.stringValue("GetExtraDataSourceResponse.result.Meta.MetaType"));
meta.setProjectName(_ctx.stringValue("GetExtraDataSourceResponse.result.Meta.ProjectName"));
meta.setTableName(_ctx.stringValue("GetExtraDataSourceResponse.result.Meta.TableName"));
meta.setType(_ctx.stringValue("GetExtraDataSourceResponse.result.Meta.Type"));
meta.setUpdateFrequency(_ctx.longValue("GetExtraDataSourceResponse.result.Meta.UpdateFrequency"));
result.setMeta(meta);
getExtraDataSourceResponse.setResult(result);
return getExtraDataSourceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/GetFlowControlTaskResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.GetFlowControlTaskResponse;
import com.aliyuncs.airec.model.v20201126.GetFlowControlTaskResponse.ResultItem;
import com.aliyuncs.airec.model.v20201126.GetFlowControlTaskResponse.ResultItem.Meta;
import com.aliyuncs.airec.model.v20201126.GetFlowControlTaskResponse.ResultItem.Meta.SelectionParamsItem;
import com.aliyuncs.airec.model.v20201126.GetFlowControlTaskResponse.ResultItem.Meta.Target;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetFlowControlTaskResponseUnmarshaller {
public static GetFlowControlTaskResponse unmarshall(GetFlowControlTaskResponse getFlowControlTaskResponse, UnmarshallerContext _ctx) {
getFlowControlTaskResponse.setRequestId(_ctx.stringValue("GetFlowControlTaskResponse.requestId"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("GetFlowControlTaskResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setGmtCreate(_ctx.stringValue("GetFlowControlTaskResponse.result["+ i +"].gmtCreate"));
resultItem.setGmtModified(_ctx.stringValue("GetFlowControlTaskResponse.result["+ i +"].gmtModified"));
resultItem.setStatus(_ctx.stringValue("GetFlowControlTaskResponse.result["+ i +"].status"));
resultItem.setTaskId(_ctx.stringValue("GetFlowControlTaskResponse.result["+ i +"].taskId"));
Meta meta = new Meta();
meta.setDescription(_ctx.stringValue("GetFlowControlTaskResponse.result["+ i +"].meta.description"));
meta.setEndTime(_ctx.longValue("GetFlowControlTaskResponse.result["+ i +"].meta.endTime"));
meta.setMetaType(_ctx.stringValue("GetFlowControlTaskResponse.result["+ i +"].meta.metaType"));
meta.setSceneIds(_ctx.stringValue("GetFlowControlTaskResponse.result["+ i +"].meta.sceneIds"));
meta.setStartTime(_ctx.longValue("GetFlowControlTaskResponse.result["+ i +"].meta.startTime"));
meta.setTaskName(_ctx.stringValue("GetFlowControlTaskResponse.result["+ i +"].meta.taskName"));
Target target = new Target();
target.setType(_ctx.stringValue("GetFlowControlTaskResponse.result["+ i +"].meta.target.type"));
target.setValue(_ctx.longValue("GetFlowControlTaskResponse.result["+ i +"].meta.target.value"));
meta.setTarget(target);
List<SelectionParamsItem> selectionParams = new ArrayList<SelectionParamsItem>();
for (int j = 0; j < _ctx.lengthValue("GetFlowControlTaskResponse.result["+ i +"].meta.selectionParams.Length"); j++) {
SelectionParamsItem selectionParamsItem = new SelectionParamsItem();
selectionParamsItem.setSelectType(_ctx.stringValue("GetFlowControlTaskResponse.result["+ i +"].meta.selectionParams["+ j +"].selectType"));
selectionParamsItem.setSelectValue(_ctx.stringValue("GetFlowControlTaskResponse.result["+ i +"].meta.selectionParams["+ j +"].selectValue"));
selectionParamsItem.setSelectionOperation(_ctx.stringValue("GetFlowControlTaskResponse.result["+ i +"].meta.selectionParams["+ j +"].selectionOperation"));
selectionParams.add(selectionParamsItem);
}
meta.setSelectionParams(selectionParams);
resultItem.setMeta(meta);
result.add(resultItem);
}
getFlowControlTaskResponse.setResult(result);
return getFlowControlTaskResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/GetLatestDataDiagnoseTaskStatusResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.GetLatestDataDiagnoseTaskStatusResponse;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetLatestDataDiagnoseTaskStatusResponseUnmarshaller {
public static GetLatestDataDiagnoseTaskStatusResponse unmarshall(GetLatestDataDiagnoseTaskStatusResponse getLatestDataDiagnoseTaskStatusResponse, UnmarshallerContext _ctx) {
getLatestDataDiagnoseTaskStatusResponse.setRequestId(_ctx.stringValue("GetLatestDataDiagnoseTaskStatusResponse.requestId"));
getLatestDataDiagnoseTaskStatusResponse.setResult(_ctx.mapValue("GetLatestDataDiagnoseTaskStatusResponse.result"));
return getLatestDataDiagnoseTaskStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/GetRankingModelTemplateResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.GetRankingModelTemplateResponse;
import com.aliyuncs.airec.model.v20201126.GetRankingModelTemplateResponse.Result;
import com.aliyuncs.airec.model.v20201126.GetRankingModelTemplateResponse.Result.Meta;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetRankingModelTemplateResponseUnmarshaller {
public static GetRankingModelTemplateResponse unmarshall(GetRankingModelTemplateResponse getRankingModelTemplateResponse, UnmarshallerContext _ctx) {
getRankingModelTemplateResponse.setRequestId(_ctx.stringValue("GetRankingModelTemplateResponse.requestId"));
Result result = new Result();
result.setStatus(_ctx.stringValue("GetRankingModelTemplateResponse.result.Status"));
result.setVersionNum(_ctx.longValue("GetRankingModelTemplateResponse.result.VersionNum"));
result.setTemplateId(_ctx.stringValue("GetRankingModelTemplateResponse.result.TemplateId"));
Meta meta = new Meta();
meta.setAuthorized(_ctx.booleanValue("GetRankingModelTemplateResponse.result.Meta.Authorized"));
meta.setAutoRun(_ctx.booleanValue("GetRankingModelTemplateResponse.result.Meta.AutoRun"));
meta.setAutoRunTime(_ctx.longValue("GetRankingModelTemplateResponse.result.Meta.AutoRunTime"));
meta.setAutoRunType(_ctx.stringValue("GetRankingModelTemplateResponse.result.Meta.AutoRunType"));
meta.setConf(_ctx.stringValue("GetRankingModelTemplateResponse.result.Meta.Conf"));
meta.setLastEditTime(_ctx.stringValue("GetRankingModelTemplateResponse.result.Meta.LastEditTime"));
meta.setOssArn(_ctx.stringValue("GetRankingModelTemplateResponse.result.Meta.OssArn"));
meta.setOssBucket(_ctx.stringValue("GetRankingModelTemplateResponse.result.Meta.OssBucket"));
meta.setOssEndpoint(_ctx.stringValue("GetRankingModelTemplateResponse.result.Meta.OssEndpoint"));
meta.setSampleId(_ctx.stringValue("GetRankingModelTemplateResponse.result.Meta.SampleId"));
meta.setSampleName(_ctx.stringValue("GetRankingModelTemplateResponse.result.Meta.SampleName"));
meta.setSampleTimeWindow(_ctx.longValue("GetRankingModelTemplateResponse.result.Meta.SampleTimeWindow"));
meta.setSampleTimeWindowType(_ctx.stringValue("GetRankingModelTemplateResponse.result.Meta.SampleTimeWindowType"));
meta.setType(_ctx.stringValue("GetRankingModelTemplateResponse.result.Meta.Type"));
meta.setName(_ctx.stringValue("GetRankingModelTemplateResponse.result.Meta.Name"));
meta.setDeployStatus(_ctx.stringValue("GetRankingModelTemplateResponse.result.Meta.DeployStatus"));
meta.setCanDeploy(_ctx.booleanValue("GetRankingModelTemplateResponse.result.Meta.CanDeploy"));
result.setMeta(meta);
getRankingModelTemplateResponse.setResult(result);
return getRankingModelTemplateResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/GetRankingModelVersionResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.GetRankingModelVersionResponse;
import com.aliyuncs.airec.model.v20201126.GetRankingModelVersionResponse.Result;
import com.aliyuncs.airec.model.v20201126.GetRankingModelVersionResponse.Result.RunResult;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetRankingModelVersionResponseUnmarshaller {
public static GetRankingModelVersionResponse unmarshall(GetRankingModelVersionResponse getRankingModelVersionResponse, UnmarshallerContext _ctx) {
getRankingModelVersionResponse.setRequestId(_ctx.stringValue("GetRankingModelVersionResponse.requestId"));
Result result = new Result();
result.setStatus(_ctx.stringValue("GetRankingModelVersionResponse.result.Status"));
result.setRunTime(_ctx.stringValue("GetRankingModelVersionResponse.result.RunTime"));
result.setRunLog(_ctx.stringValue("GetRankingModelVersionResponse.result.RunLog"));
result.setTemplateName(_ctx.stringValue("GetRankingModelVersionResponse.result.TemplateName"));
result.setName(_ctx.stringValue("GetRankingModelVersionResponse.result.Name"));
result.setTemplateId(_ctx.stringValue("GetRankingModelVersionResponse.result.TemplateId"));
RunResult runResult = new RunResult();
runResult.setAssessAuc(_ctx.stringValue("GetRankingModelVersionResponse.result.RunResult.AssessAuc"));
runResult.setAssessGauc(_ctx.stringValue("GetRankingModelVersionResponse.result.RunResult.AssessGauc"));
runResult.setAssessLoss(_ctx.stringValue("GetRankingModelVersionResponse.result.RunResult.AssessLoss"));
runResult.setTrainAuc(_ctx.stringValue("GetRankingModelVersionResponse.result.RunResult.TrainAuc"));
runResult.setTrainGauc(_ctx.stringValue("GetRankingModelVersionResponse.result.RunResult.TrainGauc"));
runResult.setTrainLoss(_ctx.stringValue("GetRankingModelVersionResponse.result.RunResult.TrainLoss"));
result.setRunResult(runResult);
getRankingModelVersionResponse.setResult(result);
return getRankingModelVersionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/GetRankingSystemHistoryResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.GetRankingSystemHistoryResponse;
import com.aliyuncs.airec.model.v20201126.GetRankingSystemHistoryResponse.Result;
import com.aliyuncs.airec.model.v20201126.GetRankingSystemHistoryResponse.Result.Meta;
import com.aliyuncs.airec.model.v20201126.GetRankingSystemHistoryResponse.Result.Meta.PredictEngine;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetRankingSystemHistoryResponseUnmarshaller {
public static GetRankingSystemHistoryResponse unmarshall(GetRankingSystemHistoryResponse getRankingSystemHistoryResponse, UnmarshallerContext _ctx) {
getRankingSystemHistoryResponse.setRequestId(_ctx.stringValue("GetRankingSystemHistoryResponse.requestId"));
Result result = new Result();
result.setOperateTime(_ctx.stringValue("GetRankingSystemHistoryResponse.result.OperateTime"));
result.setOperateId(_ctx.stringValue("GetRankingSystemHistoryResponse.result.OperateId"));
result.setOperateType(_ctx.stringValue("GetRankingSystemHistoryResponse.result.OperateType"));
result.setName(_ctx.stringValue("GetRankingSystemHistoryResponse.result.Name"));
Meta meta = new Meta();
meta.setAutoDeploy(_ctx.booleanValue("GetRankingSystemHistoryResponse.result.Meta.AutoDeploy"));
meta.setAutoDeployAuc(_ctx.stringValue("GetRankingSystemHistoryResponse.result.Meta.AutoDeployAuc"));
meta.setConf(_ctx.stringValue("GetRankingSystemHistoryResponse.result.Meta.Conf"));
meta.setModelTemplateName(_ctx.stringValue("GetRankingSystemHistoryResponse.result.Meta.ModelTemplateName"));
meta.setPredictEngineType(_ctx.stringValue("GetRankingSystemHistoryResponse.result.Meta.PredictEngineType"));
meta.setPreviousOperateId(_ctx.stringValue("GetRankingSystemHistoryResponse.result.Meta.PreviousOperateId"));
PredictEngine predictEngine = new PredictEngine();
predictEngine.setResourceId(_ctx.stringValue("GetRankingSystemHistoryResponse.result.Meta.PredictEngine.ResourceId"));
predictEngine.setVersion(_ctx.stringValue("GetRankingSystemHistoryResponse.result.Meta.PredictEngine.Version"));
meta.setPredictEngine(predictEngine);
result.setMeta(meta);
getRankingSystemHistoryResponse.setResult(result);
return getRankingSystemHistoryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/GetRankingSystemResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.GetRankingSystemResponse;
import com.aliyuncs.airec.model.v20201126.GetRankingSystemResponse.Result;
import com.aliyuncs.airec.model.v20201126.GetRankingSystemResponse.Result.Meta;
import com.aliyuncs.airec.model.v20201126.GetRankingSystemResponse.Result.Meta.PredictEngine;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetRankingSystemResponseUnmarshaller {
public static GetRankingSystemResponse unmarshall(GetRankingSystemResponse getRankingSystemResponse, UnmarshallerContext _ctx) {
getRankingSystemResponse.setRequestId(_ctx.stringValue("GetRankingSystemResponse.requestId"));
Result result = new Result();
result.setApplyStatus(_ctx.stringValue("GetRankingSystemResponse.result.ApplyStatus"));
result.setDeployStatus(_ctx.stringValue("GetRankingSystemResponse.result.DeployStatus"));
result.setName(_ctx.stringValue("GetRankingSystemResponse.result.Name"));
result.setModelTemplateId(_ctx.stringValue("GetRankingSystemResponse.result.ModelTemplateId"));
List<Long> sceneIdList = new ArrayList<Long>();
for (int i = 0; i < _ctx.lengthValue("GetRankingSystemResponse.result.SceneIdList.Length"); i++) {
sceneIdList.add(_ctx.longValue("GetRankingSystemResponse.result.SceneIdList["+ i +"]"));
}
result.setSceneIdList(sceneIdList);
Meta meta = new Meta();
meta.setAutoDeploy(_ctx.booleanValue("GetRankingSystemResponse.result.Meta.AutoDeploy"));
meta.setAutoDeployAuc(_ctx.stringValue("GetRankingSystemResponse.result.Meta.AutoDeployAuc"));
meta.setConf(_ctx.stringValue("GetRankingSystemResponse.result.Meta.Conf"));
meta.setPredictEngineType(_ctx.stringValue("GetRankingSystemResponse.result.Meta.PredictEngineType"));
meta.setModelVersionName(_ctx.stringValue("GetRankingSystemResponse.result.Meta.ModelVersionName"));
meta.setFailMsg(_ctx.stringValue("GetRankingSystemResponse.result.Meta.FailMsg"));
PredictEngine predictEngine = new PredictEngine();
predictEngine.setResourceId(_ctx.stringValue("GetRankingSystemResponse.result.Meta.PredictEngine.ResourceId"));
predictEngine.setVersion(_ctx.stringValue("GetRankingSystemResponse.result.Meta.PredictEngine.Version"));
predictEngine.setClusterId(_ctx.stringValue("GetRankingSystemResponse.result.Meta.PredictEngine.ClusterId"));
meta.setPredictEngine(predictEngine);
result.setMeta(meta);
getRankingSystemResponse.setResult(result);
return getRankingSystemResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/GetSampleResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.GetSampleResponse;
import com.aliyuncs.airec.model.v20201126.GetSampleResponse.Result;
import com.aliyuncs.airec.model.v20201126.GetSampleResponse.Result.Meta;
import com.aliyuncs.airec.model.v20201126.GetSampleResponse.Result.Meta.Config;
import com.aliyuncs.airec.model.v20201126.GetSampleResponse.Result.Meta.Config.FeatureConfig;
import com.aliyuncs.airec.model.v20201126.GetSampleResponse.Result.Meta.Config.LabelLogic;
import com.aliyuncs.airec.model.v20201126.GetSampleResponse.Result.Meta.Config.WeightLogicListItem;
import com.aliyuncs.airec.model.v20201126.GetSampleResponse.Result.Meta.ExtendParams;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetSampleResponseUnmarshaller {
public static GetSampleResponse unmarshall(GetSampleResponse getSampleResponse, UnmarshallerContext _ctx) {
getSampleResponse.setRequestId(_ctx.stringValue("GetSampleResponse.requestId"));
Result result = new Result();
result.setStatus(_ctx.stringValue("GetSampleResponse.result.Status"));
result.setGmtCreate(_ctx.stringValue("GetSampleResponse.result.GmtCreate"));
result.setGmtModified(_ctx.stringValue("GetSampleResponse.result.GmtModified"));
result.setSampleId(_ctx.stringValue("GetSampleResponse.result.SampleId"));
Meta meta = new Meta();
meta.setAutoUpdate(_ctx.booleanValue("GetSampleResponse.result.Meta.AutoUpdate"));
meta.setAutoUpdateFrequency(_ctx.longValue("GetSampleResponse.result.Meta.AutoUpdateFrequency"));
meta.setClonedId(_ctx.stringValue("GetSampleResponse.result.Meta.ClonedId"));
meta.setMetaType(_ctx.stringValue("GetSampleResponse.result.Meta.MetaType"));
meta.setName(_ctx.stringValue("GetSampleResponse.result.Meta.Name"));
meta.setStoreConfig(_ctx.stringValue("GetSampleResponse.result.Meta.StoreConfig"));
meta.setType(_ctx.stringValue("GetSampleResponse.result.Meta.Type"));
Config config = new Config();
List<String> bhvTableSourceIds = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("GetSampleResponse.result.Meta.Config.BhvTableSourceIds.Length"); i++) {
bhvTableSourceIds.add(_ctx.stringValue("GetSampleResponse.result.Meta.Config.BhvTableSourceIds["+ i +"]"));
}
config.setBhvTableSourceIds(bhvTableSourceIds);
FeatureConfig featureConfig = new FeatureConfig();
featureConfig.setItemFeatures(_ctx.stringValue("GetSampleResponse.result.Meta.Config.FeatureConfig.ItemFeatures"));
featureConfig.setUserFeatures(_ctx.stringValue("GetSampleResponse.result.Meta.Config.FeatureConfig.UserFeatures"));
config.setFeatureConfig(featureConfig);
LabelLogic labelLogic = new LabelLogic();
labelLogic.setBhvTimeWindow(_ctx.longValue("GetSampleResponse.result.Meta.Config.LabelLogic.BhvTimeWindow"));
labelLogic.setNegativeBhvTypes(_ctx.stringValue("GetSampleResponse.result.Meta.Config.LabelLogic.NegativeBhvTypes"));
labelLogic.setPositiveBhvTypes(_ctx.stringValue("GetSampleResponse.result.Meta.Config.LabelLogic.PositiveBhvTypes"));
config.setLabelLogic(labelLogic);
List<WeightLogicListItem> weightLogicList = new ArrayList<WeightLogicListItem>();
for (int i = 0; i < _ctx.lengthValue("GetSampleResponse.result.Meta.Config.WeightLogicList.Length"); i++) {
WeightLogicListItem weightLogicListItem = new WeightLogicListItem();
weightLogicListItem.setBhv(_ctx.stringValue("GetSampleResponse.result.Meta.Config.WeightLogicList["+ i +"].Bhv"));
weightLogicListItem.setWeight(_ctx.stringValue("GetSampleResponse.result.Meta.Config.WeightLogicList["+ i +"].Weight"));
weightLogicList.add(weightLogicListItem);
}
config.setWeightLogicList(weightLogicList);
meta.setConfig(config);
ExtendParams extendParams = new ExtendParams();
extendParams.setLatestTaskStatus(_ctx.longValue("GetSampleResponse.result.Meta.ExtendParams.LatestTaskStatus"));
extendParams.setSampleCount(_ctx.longValue("GetSampleResponse.result.Meta.ExtendParams.SampleCount"));
meta.setExtendParams(extendParams);
result.setMeta(meta);
getSampleResponse.setResult(result);
return getSampleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/InitComputingResourceResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.InitComputingResourceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class InitComputingResourceResponseUnmarshaller {
public static InitComputingResourceResponse unmarshall(InitComputingResourceResponse initComputingResourceResponse, UnmarshallerContext _ctx) {
initComputingResourceResponse.setRequestId(_ctx.stringValue("InitComputingResourceResponse.requestId"));
return initComputingResourceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListDashboardDetailsFlowsResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListDashboardDetailsFlowsResponse;
import com.aliyuncs.airec.model.v20201126.ListDashboardDetailsFlowsResponse.Result;
import com.aliyuncs.airec.model.v20201126.ListDashboardDetailsFlowsResponse.Result.MetricDataItem;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListDashboardDetailsFlowsResponseUnmarshaller {
public static ListDashboardDetailsFlowsResponse unmarshall(ListDashboardDetailsFlowsResponse listDashboardDetailsFlowsResponse, UnmarshallerContext _ctx) {
listDashboardDetailsFlowsResponse.setCode(_ctx.stringValue("ListDashboardDetailsFlowsResponse.code"));
listDashboardDetailsFlowsResponse.setRequestId(_ctx.stringValue("ListDashboardDetailsFlowsResponse.requestId"));
listDashboardDetailsFlowsResponse.setMessage(_ctx.stringValue("ListDashboardDetailsFlowsResponse.message"));
Result result = new Result();
result.setMetricType(_ctx.stringValue("ListDashboardDetailsFlowsResponse.result.metricType"));
List<MetricDataItem> metricData = new ArrayList<MetricDataItem>();
for (int i = 0; i < _ctx.lengthValue("ListDashboardDetailsFlowsResponse.result.metricData.Length"); i++) {
MetricDataItem metricDataItem = new MetricDataItem();
metricDataItem.setTraceId(_ctx.stringValue("ListDashboardDetailsFlowsResponse.result.metricData["+ i +"].traceId"));
metricDataItem.setSceneId(_ctx.stringValue("ListDashboardDetailsFlowsResponse.result.metricData["+ i +"].sceneId"));
metricDataItem.setMetricRes(_ctx.mapValue("ListDashboardDetailsFlowsResponse.result.metricData["+ i +"].metricRes"));
metricData.add(metricDataItem);
}
result.setMetricData(metricData);
listDashboardDetailsFlowsResponse.setResult(result);
return listDashboardDetailsFlowsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListDashboardDetailsResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListDashboardDetailsResponse;
import com.aliyuncs.airec.model.v20201126.ListDashboardDetailsResponse.ResultItem;
import com.aliyuncs.airec.model.v20201126.ListDashboardDetailsResponse.ResultItem.MetricRes;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListDashboardDetailsResponseUnmarshaller {
public static ListDashboardDetailsResponse unmarshall(ListDashboardDetailsResponse listDashboardDetailsResponse, UnmarshallerContext _ctx) {
listDashboardDetailsResponse.setCode(_ctx.stringValue("ListDashboardDetailsResponse.code"));
listDashboardDetailsResponse.setRequestId(_ctx.stringValue("ListDashboardDetailsResponse.requestId"));
listDashboardDetailsResponse.setMessage(_ctx.stringValue("ListDashboardDetailsResponse.message"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListDashboardDetailsResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setTraceId(_ctx.stringValue("ListDashboardDetailsResponse.result["+ i +"].traceId"));
resultItem.setSceneId(_ctx.stringValue("ListDashboardDetailsResponse.result["+ i +"].sceneId"));
MetricRes metricRes = new MetricRes();
metricRes.setTotal(_ctx.mapValue("ListDashboardDetailsResponse.result["+ i +"].metricRes.total"));
metricRes.setDetail(_ctx.mapValue("ListDashboardDetailsResponse.result["+ i +"].metricRes.detail"));
resultItem.setMetricRes(metricRes);
result.add(resultItem);
}
listDashboardDetailsResponse.setResult(result);
return listDashboardDetailsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListDashboardMetricsFlowsResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListDashboardMetricsFlowsResponse;
import com.aliyuncs.airec.model.v20201126.ListDashboardMetricsFlowsResponse.ResultItem;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListDashboardMetricsFlowsResponseUnmarshaller {
public static ListDashboardMetricsFlowsResponse unmarshall(ListDashboardMetricsFlowsResponse listDashboardMetricsFlowsResponse, UnmarshallerContext _ctx) {
listDashboardMetricsFlowsResponse.setCode(_ctx.stringValue("ListDashboardMetricsFlowsResponse.code"));
listDashboardMetricsFlowsResponse.setRequestId(_ctx.stringValue("ListDashboardMetricsFlowsResponse.requestId"));
listDashboardMetricsFlowsResponse.setMessage(_ctx.stringValue("ListDashboardMetricsFlowsResponse.message"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListDashboardMetricsFlowsResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setMetricType(_ctx.stringValue("ListDashboardMetricsFlowsResponse.result["+ i +"].metricType"));
resultItem.setMetricData(_ctx.mapValue("ListDashboardMetricsFlowsResponse.result["+ i +"].metricData"));
result.add(resultItem);
}
listDashboardMetricsFlowsResponse.setResult(result);
return listDashboardMetricsFlowsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListDashboardMetricsResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListDashboardMetricsResponse;
import com.aliyuncs.airec.model.v20201126.ListDashboardMetricsResponse.ResultItem;
import com.aliyuncs.airec.model.v20201126.ListDashboardMetricsResponse.ResultItem.DetailItem;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListDashboardMetricsResponseUnmarshaller {
public static ListDashboardMetricsResponse unmarshall(ListDashboardMetricsResponse listDashboardMetricsResponse, UnmarshallerContext _ctx) {
listDashboardMetricsResponse.setCode(_ctx.stringValue("ListDashboardMetricsResponse.code"));
listDashboardMetricsResponse.setRequestId(_ctx.stringValue("ListDashboardMetricsResponse.requestId"));
listDashboardMetricsResponse.setMessage(_ctx.stringValue("ListDashboardMetricsResponse.message"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListDashboardMetricsResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setTotal(_ctx.mapValue("ListDashboardMetricsResponse.result["+ i +"].total"));
List<DetailItem> detail = new ArrayList<DetailItem>();
for (int j = 0; j < _ctx.lengthValue("ListDashboardMetricsResponse.result["+ i +"].detail.Length"); j++) {
DetailItem detailItem = new DetailItem();
detailItem.setVal(_ctx.stringValue("ListDashboardMetricsResponse.result["+ i +"].detail["+ j +"].val"));
detailItem.setStartTime(_ctx.stringValue("ListDashboardMetricsResponse.result["+ i +"].detail["+ j +"].startTime"));
detailItem.setEndTime(_ctx.stringValue("ListDashboardMetricsResponse.result["+ i +"].detail["+ j +"].endTime"));
detail.add(detailItem);
}
resultItem.setDetail(detail);
result.add(resultItem);
}
listDashboardMetricsResponse.setResult(result);
return listDashboardMetricsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListDataDiagnoseReportsResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.ListDataDiagnoseReportsResponse;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListDataDiagnoseReportsResponseUnmarshaller {
public static ListDataDiagnoseReportsResponse unmarshall(ListDataDiagnoseReportsResponse listDataDiagnoseReportsResponse, UnmarshallerContext _ctx) {
listDataDiagnoseReportsResponse.setRequestId(_ctx.stringValue("ListDataDiagnoseReportsResponse.requestId"));
listDataDiagnoseReportsResponse.setResult(_ctx.mapValue("ListDataDiagnoseReportsResponse.result"));
return listDataDiagnoseReportsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListDataDiagnoseSampleDetailsResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.ListDataDiagnoseSampleDetailsResponse;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListDataDiagnoseSampleDetailsResponseUnmarshaller {
public static ListDataDiagnoseSampleDetailsResponse unmarshall(ListDataDiagnoseSampleDetailsResponse listDataDiagnoseSampleDetailsResponse, UnmarshallerContext _ctx) {
listDataDiagnoseSampleDetailsResponse.setRequestId(_ctx.stringValue("ListDataDiagnoseSampleDetailsResponse.requestId"));
listDataDiagnoseSampleDetailsResponse.setResult(_ctx.mapValue("ListDataDiagnoseSampleDetailsResponse.result"));
return listDataDiagnoseSampleDetailsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListDataSetResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListDataSetResponse;
import com.aliyuncs.airec.model.v20201126.ListDataSetResponse.ResultItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListDataSetResponseUnmarshaller {
public static ListDataSetResponse unmarshall(ListDataSetResponse listDataSetResponse, UnmarshallerContext _ctx) {
listDataSetResponse.setCode(_ctx.stringValue("ListDataSetResponse.code"));
listDataSetResponse.setRequestId(_ctx.stringValue("ListDataSetResponse.requestId"));
listDataSetResponse.setMessage(_ctx.stringValue("ListDataSetResponse.message"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListDataSetResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setVersionId(_ctx.stringValue("ListDataSetResponse.result["+ i +"].versionId"));
resultItem.setState(_ctx.stringValue("ListDataSetResponse.result["+ i +"].state"));
resultItem.setGmtModified(_ctx.longValue("ListDataSetResponse.result["+ i +"].gmtModified"));
resultItem.setGmtCreate(_ctx.longValue("ListDataSetResponse.result["+ i +"].gmtCreate"));
resultItem.setInstanceId(_ctx.stringValue("ListDataSetResponse.result["+ i +"].instanceId"));
result.add(resultItem);
}
listDataSetResponse.setResult(result);
return listDataSetResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListDataSourceResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListDataSourceResponse;
import com.aliyuncs.airec.model.v20201126.ListDataSourceResponse.ResultItem;
import com.aliyuncs.airec.model.v20201126.ListDataSourceResponse.ResultItem.Meta;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListDataSourceResponseUnmarshaller {
public static ListDataSourceResponse unmarshall(ListDataSourceResponse listDataSourceResponse, UnmarshallerContext _ctx) {
listDataSourceResponse.setCode(_ctx.stringValue("ListDataSourceResponse.code"));
listDataSourceResponse.setRequestId(_ctx.stringValue("ListDataSourceResponse.requestId"));
listDataSourceResponse.setMessage(_ctx.stringValue("ListDataSourceResponse.message"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListDataSourceResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setGmtModified(_ctx.stringValue("ListDataSourceResponse.result["+ i +"].gmtModified"));
resultItem.setGmtCreate(_ctx.stringValue("ListDataSourceResponse.result["+ i +"].gmtCreate"));
resultItem.setTableName(_ctx.stringValue("ListDataSourceResponse.result["+ i +"].tableName"));
Meta meta = new Meta();
meta.setBucketName(_ctx.stringValue("ListDataSourceResponse.result["+ i +"].meta.bucketName"));
meta.setAccessKeyId(_ctx.stringValue("ListDataSourceResponse.result["+ i +"].meta.accessKeyId"));
meta.setType(_ctx.stringValue("ListDataSourceResponse.result["+ i +"].meta.type"));
meta.setPartition(_ctx.stringValue("ListDataSourceResponse.result["+ i +"].meta.partition"));
meta.setTimestamp(_ctx.longValue("ListDataSourceResponse.result["+ i +"].meta.timestamp"));
meta.setPath(_ctx.stringValue("ListDataSourceResponse.result["+ i +"].meta.path"));
meta.setTableName(_ctx.stringValue("ListDataSourceResponse.result["+ i +"].meta.tableName"));
meta.setProjectName(_ctx.stringValue("ListDataSourceResponse.result["+ i +"].meta.projectName"));
resultItem.setMeta(meta);
result.add(resultItem);
}
listDataSourceResponse.setResult(result);
return listDataSourceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListExperimentsResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListExperimentsResponse;
import com.aliyuncs.airec.model.v20201126.ListExperimentsResponse.ResultItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListExperimentsResponseUnmarshaller {
public static ListExperimentsResponse unmarshall(ListExperimentsResponse listExperimentsResponse, UnmarshallerContext _ctx) {
listExperimentsResponse.setRequestId(_ctx.stringValue("ListExperimentsResponse.requestId"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListExperimentsResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setBase(_ctx.booleanValue("ListExperimentsResponse.result["+ i +"].base"));
resultItem.setOnlineTime(_ctx.stringValue("ListExperimentsResponse.result["+ i +"].onlineTime"));
resultItem.setOfflineTime(_ctx.stringValue("ListExperimentsResponse.result["+ i +"].offlineTime"));
resultItem.setDescription(_ctx.stringValue("ListExperimentsResponse.result["+ i +"].description"));
resultItem.setStatus(_ctx.stringValue("ListExperimentsResponse.result["+ i +"].status"));
resultItem.setName(_ctx.stringValue("ListExperimentsResponse.result["+ i +"].name"));
resultItem.setExperimentId(_ctx.stringValue("ListExperimentsResponse.result["+ i +"].experimentId"));
List<String> buckets = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("ListExperimentsResponse.result["+ i +"].buckets.Length"); j++) {
buckets.add(_ctx.stringValue("ListExperimentsResponse.result["+ i +"].buckets["+ j +"]"));
}
resultItem.setBuckets(buckets);
result.add(resultItem);
}
listExperimentsResponse.setResult(result);
return listExperimentsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListExtraDataSourcesResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListExtraDataSourcesResponse;
import com.aliyuncs.airec.model.v20201126.ListExtraDataSourcesResponse.ResultItem;
import com.aliyuncs.airec.model.v20201126.ListExtraDataSourcesResponse.ResultItem.Meta;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListExtraDataSourcesResponseUnmarshaller {
public static ListExtraDataSourcesResponse unmarshall(ListExtraDataSourcesResponse listExtraDataSourcesResponse, UnmarshallerContext _ctx) {
listExtraDataSourcesResponse.setRequestId(_ctx.stringValue("ListExtraDataSourcesResponse.requestId"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListExtraDataSourcesResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setStatus(_ctx.stringValue("ListExtraDataSourcesResponse.result["+ i +"].Status"));
resultItem.setType(_ctx.stringValue("ListExtraDataSourcesResponse.result["+ i +"].Type"));
resultItem.setGmtCreate(_ctx.stringValue("ListExtraDataSourcesResponse.result["+ i +"].GmtCreate"));
resultItem.setGmtModified(_ctx.stringValue("ListExtraDataSourcesResponse.result["+ i +"].GmtModified"));
resultItem.setDataSourceId(_ctx.stringValue("ListExtraDataSourcesResponse.result["+ i +"].DataSourceId"));
Meta meta = new Meta();
meta.setInternal(_ctx.booleanValue("ListExtraDataSourcesResponse.result["+ i +"].Meta.Internal"));
meta.setMetaType(_ctx.stringValue("ListExtraDataSourcesResponse.result["+ i +"].Meta.MetaType"));
meta.setProjectName(_ctx.stringValue("ListExtraDataSourcesResponse.result["+ i +"].Meta.ProjectName"));
meta.setTableName(_ctx.stringValue("ListExtraDataSourcesResponse.result["+ i +"].Meta.TableName"));
meta.setType(_ctx.stringValue("ListExtraDataSourcesResponse.result["+ i +"].Meta.Type"));
meta.setUpdateFrequency(_ctx.longValue("ListExtraDataSourcesResponse.result["+ i +"].Meta.UpdateFrequency"));
resultItem.setMeta(meta);
result.add(resultItem);
}
listExtraDataSourcesResponse.setResult(result);
return listExtraDataSourcesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListFeatureTablesResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListFeatureTablesResponse;
import com.aliyuncs.airec.model.v20201126.ListFeatureTablesResponse.ResultItem;
import com.aliyuncs.airec.model.v20201126.ListFeatureTablesResponse.ResultItem.Meta;
import com.aliyuncs.airec.model.v20201126.ListFeatureTablesResponse.ResultItem.Meta.FeatureListItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListFeatureTablesResponseUnmarshaller {
public static ListFeatureTablesResponse unmarshall(ListFeatureTablesResponse listFeatureTablesResponse, UnmarshallerContext _ctx) {
listFeatureTablesResponse.setRequestId(_ctx.stringValue("ListFeatureTablesResponse.requestId"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListFeatureTablesResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setStatus(_ctx.stringValue("ListFeatureTablesResponse.result["+ i +"].Status"));
resultItem.setFeatureTableId(_ctx.stringValue("ListFeatureTablesResponse.result["+ i +"].FeatureTableId"));
resultItem.setType(_ctx.stringValue("ListFeatureTablesResponse.result["+ i +"].Type"));
resultItem.setGmtCreate(_ctx.stringValue("ListFeatureTablesResponse.result["+ i +"].GmtCreate"));
resultItem.setGmtModified(_ctx.stringValue("ListFeatureTablesResponse.result["+ i +"].GmtModified"));
Meta meta = new Meta();
meta.setDataSourceId(_ctx.stringValue("ListFeatureTablesResponse.result["+ i +"].Meta.DataSourceId"));
meta.setInternal(_ctx.booleanValue("ListFeatureTablesResponse.result["+ i +"].Meta.Internal"));
meta.setMetaType(_ctx.stringValue("ListFeatureTablesResponse.result["+ i +"].Meta.MetaType"));
meta.setSource(_ctx.stringValue("ListFeatureTablesResponse.result["+ i +"].Meta.Source"));
meta.setUpdateFrequency(_ctx.longValue("ListFeatureTablesResponse.result["+ i +"].Meta.UpdateFrequency"));
List<FeatureListItem> featureList = new ArrayList<FeatureListItem>();
for (int j = 0; j < _ctx.lengthValue("ListFeatureTablesResponse.result["+ i +"].Meta.FeatureList.Length"); j++) {
FeatureListItem featureListItem = new FeatureListItem();
featureListItem.setComment(_ctx.stringValue("ListFeatureTablesResponse.result["+ i +"].Meta.FeatureList["+ j +"].Comment"));
featureListItem.setFeatureName(_ctx.stringValue("ListFeatureTablesResponse.result["+ i +"].Meta.FeatureList["+ j +"].FeatureName"));
featureListItem.setFieldName(_ctx.stringValue("ListFeatureTablesResponse.result["+ i +"].Meta.FeatureList["+ j +"].FieldName"));
featureListItem.setStatus(_ctx.stringValue("ListFeatureTablesResponse.result["+ i +"].Meta.FeatureList["+ j +"].Status"));
featureList.add(featureListItem);
}
meta.setFeatureList(featureList);
resultItem.setMeta(meta);
result.add(resultItem);
}
listFeatureTablesResponse.setResult(result);
return listFeatureTablesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListFilteringAlgorithmsResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListFilteringAlgorithmsResponse;
import com.aliyuncs.airec.model.v20201126.ListFilteringAlgorithmsResponse.FilteringAlgorithm;
import com.aliyuncs.airec.model.v20201126.ListFilteringAlgorithmsResponse.FilteringAlgorithm.Meta;
import com.aliyuncs.airec.model.v20201126.ListFilteringAlgorithmsResponse.FilteringAlgorithm.Meta.ExtInfo;
import com.aliyuncs.airec.model.v20201126.ListFilteringAlgorithmsResponse.FilteringAlgorithm.Meta.Threshold;
import com.aliyuncs.airec.model.v20201126.ListFilteringAlgorithmsResponse.Headers;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListFilteringAlgorithmsResponseUnmarshaller {
public static ListFilteringAlgorithmsResponse unmarshall(ListFilteringAlgorithmsResponse listFilteringAlgorithmsResponse, UnmarshallerContext _ctx) {
listFilteringAlgorithmsResponse.setRequestId(_ctx.stringValue("ListFilteringAlgorithmsResponse.requestId"));
Headers headers = new Headers();
headers.setXTotalCount(_ctx.integerValue("ListFilteringAlgorithmsResponse.headers.X-Total-Count"));
listFilteringAlgorithmsResponse.setHeaders(headers);
List<FilteringAlgorithm> result = new ArrayList<FilteringAlgorithm>();
for (int i = 0; i < _ctx.lengthValue("ListFilteringAlgorithmsResponse.result.Length"); i++) {
FilteringAlgorithm filteringAlgorithm = new FilteringAlgorithm();
filteringAlgorithm.setGmtModified(_ctx.stringValue("ListFilteringAlgorithmsResponse.result["+ i +"].gmtModified"));
filteringAlgorithm.setStatus(_ctx.stringValue("ListFilteringAlgorithmsResponse.result["+ i +"].status"));
filteringAlgorithm.setGmtCreate(_ctx.stringValue("ListFilteringAlgorithmsResponse.result["+ i +"].gmtCreate"));
filteringAlgorithm.setAlgorithmId(_ctx.stringValue("ListFilteringAlgorithmsResponse.result["+ i +"].algorithmId"));
Meta meta = new Meta();
meta.setTaskId(_ctx.stringValue("ListFilteringAlgorithmsResponse.result["+ i +"].meta.taskId"));
meta.setMetaType(_ctx.stringValue("ListFilteringAlgorithmsResponse.result["+ i +"].meta.metaType"));
meta.setType(_ctx.stringValue("ListFilteringAlgorithmsResponse.result["+ i +"].meta.type"));
meta.setCategory(_ctx.stringValue("ListFilteringAlgorithmsResponse.result["+ i +"].meta.category"));
meta.setTableName(_ctx.stringValue("ListFilteringAlgorithmsResponse.result["+ i +"].meta.tableName"));
meta.setClusterId(_ctx.stringValue("ListFilteringAlgorithmsResponse.result["+ i +"].meta.clusterId"));
meta.setCron(_ctx.stringValue("ListFilteringAlgorithmsResponse.result["+ i +"].meta.cron"));
meta.setDescription(_ctx.stringValue("ListFilteringAlgorithmsResponse.result["+ i +"].meta.description"));
meta.setProjectName(_ctx.stringValue("ListFilteringAlgorithmsResponse.result["+ i +"].meta.projectName"));
meta.setAlgorithmName(_ctx.stringValue("ListFilteringAlgorithmsResponse.result["+ i +"].meta.algorithmName"));
meta.setCronEnabled(_ctx.booleanValue("ListFilteringAlgorithmsResponse.result["+ i +"].meta.cronEnabled"));
ExtInfo extInfo = new ExtInfo();
extInfo.setKvSeparator(_ctx.stringValue("ListFilteringAlgorithmsResponse.result["+ i +"].meta.extInfo.kvSeparator"));
extInfo.setItemSeparator(_ctx.stringValue("ListFilteringAlgorithmsResponse.result["+ i +"].meta.extInfo.itemSeparator"));
meta.setExtInfo(extInfo);
Threshold threshold = new Threshold();
threshold.setSourceDataSizeThreshold(_ctx.integerValue("ListFilteringAlgorithmsResponse.result["+ i +"].meta.threshold.sourceDataSizeThreshold"));
threshold.setSourceDataRecordThreshold(_ctx.integerValue("ListFilteringAlgorithmsResponse.result["+ i +"].meta.threshold.sourceDataRecordThreshold"));
threshold.setIndexSizeThreshold(_ctx.integerValue("ListFilteringAlgorithmsResponse.result["+ i +"].meta.threshold.indexSizeThreshold"));
threshold.setIndexLossThreshold(_ctx.integerValue("ListFilteringAlgorithmsResponse.result["+ i +"].meta.threshold.indexLossThreshold"));
meta.setThreshold(threshold);
filteringAlgorithm.setMeta(meta);
result.add(filteringAlgorithm);
}
listFilteringAlgorithmsResponse.setResult(result);
return listFilteringAlgorithmsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListFlowControlTaskInvalidItemsResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListFlowControlTaskInvalidItemsResponse;
import com.aliyuncs.airec.model.v20201126.ListFlowControlTaskInvalidItemsResponse.ResultItem;
import com.aliyuncs.airec.model.v20201126.ListFlowControlTaskInvalidItemsResponse.ResultItem.InvalidItemsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListFlowControlTaskInvalidItemsResponseUnmarshaller {
public static ListFlowControlTaskInvalidItemsResponse unmarshall(ListFlowControlTaskInvalidItemsResponse listFlowControlTaskInvalidItemsResponse, UnmarshallerContext _ctx) {
listFlowControlTaskInvalidItemsResponse.setRequestId(_ctx.stringValue("ListFlowControlTaskInvalidItemsResponse.requestId"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListFlowControlTaskInvalidItemsResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
List<InvalidItemsItem> invalidItems = new ArrayList<InvalidItemsItem>();
for (int j = 0; j < _ctx.lengthValue("ListFlowControlTaskInvalidItemsResponse.result["+ i +"].invalidItems.Length"); j++) {
InvalidItemsItem invalidItemsItem = new InvalidItemsItem();
invalidItemsItem.setItemId(_ctx.stringValue("ListFlowControlTaskInvalidItemsResponse.result["+ i +"].invalidItems["+ j +"].itemId"));
invalidItemsItem.setItemType(_ctx.stringValue("ListFlowControlTaskInvalidItemsResponse.result["+ i +"].invalidItems["+ j +"].itemType"));
invalidItems.add(invalidItemsItem);
}
resultItem.setInvalidItems(invalidItems);
result.add(resultItem);
}
listFlowControlTaskInvalidItemsResponse.setResult(result);
return listFlowControlTaskInvalidItemsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListFlowControlTaskItemReportsResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListFlowControlTaskItemReportsResponse;
import com.aliyuncs.airec.model.v20201126.ListFlowControlTaskItemReportsResponse.Result;
import com.aliyuncs.airec.model.v20201126.ListFlowControlTaskItemReportsResponse.Result.DetailItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListFlowControlTaskItemReportsResponseUnmarshaller {
public static ListFlowControlTaskItemReportsResponse unmarshall(ListFlowControlTaskItemReportsResponse listFlowControlTaskItemReportsResponse, UnmarshallerContext _ctx) {
listFlowControlTaskItemReportsResponse.setRequestId(_ctx.stringValue("ListFlowControlTaskItemReportsResponse.requestId"));
Result result = new Result();
List<DetailItem> detail = new ArrayList<DetailItem>();
for (int i = 0; i < _ctx.lengthValue("ListFlowControlTaskItemReportsResponse.result.detail.Length"); i++) {
DetailItem detailItem = new DetailItem();
detailItem.setTaskId(_ctx.stringValue("ListFlowControlTaskItemReportsResponse.result.detail["+ i +"].taskId"));
detailItem.setItemId(_ctx.stringValue("ListFlowControlTaskItemReportsResponse.result.detail["+ i +"].itemId"));
detailItem.setItemType(_ctx.stringValue("ListFlowControlTaskItemReportsResponse.result.detail["+ i +"].itemType"));
detailItem.setTaskRank(_ctx.stringValue("ListFlowControlTaskItemReportsResponse.result.detail["+ i +"].taskRank"));
detailItem.setItemPv(_ctx.stringValue("ListFlowControlTaskItemReportsResponse.result.detail["+ i +"].itemPv"));
detailItem.setTaskPv(_ctx.stringValue("ListFlowControlTaskItemReportsResponse.result.detail["+ i +"].taskPv"));
detailItem.setPvPercent(_ctx.stringValue("ListFlowControlTaskItemReportsResponse.result.detail["+ i +"].pvPercent"));
detailItem.setItemClick(_ctx.stringValue("ListFlowControlTaskItemReportsResponse.result.detail["+ i +"].itemClick"));
detailItem.setTaskClick(_ctx.stringValue("ListFlowControlTaskItemReportsResponse.result.detail["+ i +"].taskClick"));
detailItem.setClickPercent(_ctx.stringValue("ListFlowControlTaskItemReportsResponse.result.detail["+ i +"].clickPercent"));
detailItem.setItemCtr(_ctx.stringValue("ListFlowControlTaskItemReportsResponse.result.detail["+ i +"].itemCtr"));
detailItem.setTaskCtr(_ctx.stringValue("ListFlowControlTaskItemReportsResponse.result.detail["+ i +"].taskCtr"));
detailItem.setAccTaskRank(_ctx.stringValue("ListFlowControlTaskItemReportsResponse.result.detail["+ i +"].accTaskRank"));
detailItem.setAccItemPv(_ctx.stringValue("ListFlowControlTaskItemReportsResponse.result.detail["+ i +"].accItemPv"));
detailItem.setAccTaskPv(_ctx.stringValue("ListFlowControlTaskItemReportsResponse.result.detail["+ i +"].accTaskPv"));
detailItem.setAccPvPercent(_ctx.stringValue("ListFlowControlTaskItemReportsResponse.result.detail["+ i +"].accPvPercent"));
detailItem.setAccItemClick(_ctx.stringValue("ListFlowControlTaskItemReportsResponse.result.detail["+ i +"].accItemClick"));
detailItem.setAccTaskClick(_ctx.stringValue("ListFlowControlTaskItemReportsResponse.result.detail["+ i +"].accTaskClick"));
detailItem.setAccClickPercent(_ctx.stringValue("ListFlowControlTaskItemReportsResponse.result.detail["+ i +"].accClickPercent"));
detailItem.setAccItemCtr(_ctx.stringValue("ListFlowControlTaskItemReportsResponse.result.detail["+ i +"].accItemCtr"));
detailItem.setAccTaskCtr(_ctx.stringValue("ListFlowControlTaskItemReportsResponse.result.detail["+ i +"].accTaskCtr"));
detail.add(detailItem);
}
result.setDetail(detail);
listFlowControlTaskItemReportsResponse.setResult(result);
return listFlowControlTaskItemReportsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListFlowControlTaskItemsResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListFlowControlTaskItemsResponse;
import com.aliyuncs.airec.model.v20201126.ListFlowControlTaskItemsResponse.Result;
import com.aliyuncs.airec.model.v20201126.ListFlowControlTaskItemsResponse.Result.DetailItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListFlowControlTaskItemsResponseUnmarshaller {
public static ListFlowControlTaskItemsResponse unmarshall(ListFlowControlTaskItemsResponse listFlowControlTaskItemsResponse, UnmarshallerContext _ctx) {
listFlowControlTaskItemsResponse.setRequestId(_ctx.stringValue("ListFlowControlTaskItemsResponse.requestId"));
Result result = new Result();
result.setTotalCount(_ctx.stringValue("ListFlowControlTaskItemsResponse.result.totalCount"));
result.setValidCount(_ctx.stringValue("ListFlowControlTaskItemsResponse.result.validCount"));
List<DetailItem> detail = new ArrayList<DetailItem>();
for (int i = 0; i < _ctx.lengthValue("ListFlowControlTaskItemsResponse.result.detail.Length"); i++) {
DetailItem detailItem = new DetailItem();
detailItem.setAuthor(_ctx.stringValue("ListFlowControlTaskItemsResponse.result.detail["+ i +"].author"));
detailItem.setDuration(_ctx.stringValue("ListFlowControlTaskItemsResponse.result.detail["+ i +"].duration"));
detailItem.setItemId(_ctx.stringValue("ListFlowControlTaskItemsResponse.result.detail["+ i +"].itemId"));
detailItem.setItemType(_ctx.stringValue("ListFlowControlTaskItemsResponse.result.detail["+ i +"].itemType"));
detailItem.setExpireTime(_ctx.stringValue("ListFlowControlTaskItemsResponse.result.detail["+ i +"].expireTime"));
detailItem.setCategoryPath(_ctx.stringValue("ListFlowControlTaskItemsResponse.result.detail["+ i +"].categoryPath"));
detailItem.setPubTime(_ctx.stringValue("ListFlowControlTaskItemsResponse.result.detail["+ i +"].pubTime"));
detailItem.setLastModifyTime(_ctx.stringValue("ListFlowControlTaskItemsResponse.result.detail["+ i +"].lastModifyTime"));
detailItem.setChannel(_ctx.stringValue("ListFlowControlTaskItemsResponse.result.detail["+ i +"].channel"));
detailItem.setWeight(_ctx.stringValue("ListFlowControlTaskItemsResponse.result.detail["+ i +"].weight"));
detailItem.setTitle(_ctx.stringValue("ListFlowControlTaskItemsResponse.result.detail["+ i +"].title"));
detailItem.setStatus(_ctx.stringValue("ListFlowControlTaskItemsResponse.result.detail["+ i +"].status"));
detail.add(detailItem);
}
result.setDetail(detail);
listFlowControlTaskItemsResponse.setResult(result);
return listFlowControlTaskItemsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListFlowControlTaskReferenceResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.ListFlowControlTaskReferenceResponse;
import com.aliyuncs.airec.model.v20201126.ListFlowControlTaskReferenceResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListFlowControlTaskReferenceResponseUnmarshaller {
public static ListFlowControlTaskReferenceResponse unmarshall(ListFlowControlTaskReferenceResponse listFlowControlTaskReferenceResponse, UnmarshallerContext _ctx) {
listFlowControlTaskReferenceResponse.setRequestId(_ctx.stringValue("ListFlowControlTaskReferenceResponse.requestId"));
Result result = new Result();
result.setLast7PvPercent(_ctx.doubleValue("ListFlowControlTaskReferenceResponse.result.last7PvPercent"));
result.setLast7ScenePv(_ctx.doubleValue("ListFlowControlTaskReferenceResponse.result.last7ScenePv"));
result.setLast7TaskPv(_ctx.doubleValue("ListFlowControlTaskReferenceResponse.result.last7TaskPv"));
result.setLastPvPercent(_ctx.doubleValue("ListFlowControlTaskReferenceResponse.result.lastPvPercent"));
result.setLastScenePv(_ctx.longValue("ListFlowControlTaskReferenceResponse.result.lastScenePv"));
result.setLastTaskPv(_ctx.longValue("ListFlowControlTaskReferenceResponse.result.lastTaskPv"));
result.setReferenceId(_ctx.stringValue("ListFlowControlTaskReferenceResponse.result.referenceId"));
listFlowControlTaskReferenceResponse.setResult(result);
return listFlowControlTaskReferenceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListFlowControlTaskReportsResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListFlowControlTaskReportsResponse;
import com.aliyuncs.airec.model.v20201126.ListFlowControlTaskReportsResponse.Result;
import com.aliyuncs.airec.model.v20201126.ListFlowControlTaskReportsResponse.Result.MetricsItem;
import com.aliyuncs.airec.model.v20201126.ListFlowControlTaskReportsResponse.Result.MetricsItem.DetailsItem;
import com.aliyuncs.airec.model.v20201126.ListFlowControlTaskReportsResponse.Result.Total;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListFlowControlTaskReportsResponseUnmarshaller {
public static ListFlowControlTaskReportsResponse unmarshall(ListFlowControlTaskReportsResponse listFlowControlTaskReportsResponse, UnmarshallerContext _ctx) {
listFlowControlTaskReportsResponse.setRequestId(_ctx.stringValue("ListFlowControlTaskReportsResponse.requestId"));
Result result = new Result();
Total total = new Total();
total.setAccTaskCtr(_ctx.doubleValue("ListFlowControlTaskReportsResponse.result.total.accTaskCtr"));
total.setAccTaskPv(_ctx.longValue("ListFlowControlTaskReportsResponse.result.total.accTaskPv"));
total.setAccTotalCtr(_ctx.doubleValue("ListFlowControlTaskReportsResponse.result.total.accTotalCtr"));
total.setInvalidPercent(_ctx.doubleValue("ListFlowControlTaskReportsResponse.result.total.InvalidPercent"));
result.setTotal(total);
List<MetricsItem> metrics = new ArrayList<MetricsItem>();
for (int i = 0; i < _ctx.lengthValue("ListFlowControlTaskReportsResponse.result.metrics.Length"); i++) {
MetricsItem metricsItem = new MetricsItem();
metricsItem.setType(_ctx.stringValue("ListFlowControlTaskReportsResponse.result.metrics["+ i +"].type"));
List<DetailsItem> details = new ArrayList<DetailsItem>();
for (int j = 0; j < _ctx.lengthValue("ListFlowControlTaskReportsResponse.result.metrics["+ i +"].details.Length"); j++) {
DetailsItem detailsItem = new DetailsItem();
detailsItem.setVal(_ctx.longValue("ListFlowControlTaskReportsResponse.result.metrics["+ i +"].details["+ j +"].val"));
detailsItem.setEndTime(_ctx.longValue("ListFlowControlTaskReportsResponse.result.metrics["+ i +"].details["+ j +"].endTime"));
detailsItem.setStartTime(_ctx.longValue("ListFlowControlTaskReportsResponse.result.metrics["+ i +"].details["+ j +"].startTime"));
details.add(detailsItem);
}
metricsItem.setDetails(details);
metrics.add(metricsItem);
}
result.setMetrics(metrics);
listFlowControlTaskReportsResponse.setResult(result);
return listFlowControlTaskReportsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListFlowControlTaskResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListFlowControlTaskResponse;
import com.aliyuncs.airec.model.v20201126.ListFlowControlTaskResponse.ResultItem;
import com.aliyuncs.airec.model.v20201126.ListFlowControlTaskResponse.ResultItem.Meta;
import com.aliyuncs.airec.model.v20201126.ListFlowControlTaskResponse.ResultItem.Meta.SelectionParamsItem;
import com.aliyuncs.airec.model.v20201126.ListFlowControlTaskResponse.ResultItem.Meta.Target;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListFlowControlTaskResponseUnmarshaller {
public static ListFlowControlTaskResponse unmarshall(ListFlowControlTaskResponse listFlowControlTaskResponse, UnmarshallerContext _ctx) {
listFlowControlTaskResponse.setRequestId(_ctx.stringValue("ListFlowControlTaskResponse.requestId"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListFlowControlTaskResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setGmtCreate(_ctx.stringValue("ListFlowControlTaskResponse.result["+ i +"].gmtCreate"));
resultItem.setGmtModified(_ctx.stringValue("ListFlowControlTaskResponse.result["+ i +"].gmtModified"));
resultItem.setStatus(_ctx.stringValue("ListFlowControlTaskResponse.result["+ i +"].status"));
resultItem.setTaskId(_ctx.stringValue("ListFlowControlTaskResponse.result["+ i +"].TaskId"));
Meta meta = new Meta();
meta.setDescription(_ctx.stringValue("ListFlowControlTaskResponse.result["+ i +"].meta.description"));
meta.setEndTime(_ctx.longValue("ListFlowControlTaskResponse.result["+ i +"].meta.endTime"));
meta.setMetaType(_ctx.stringValue("ListFlowControlTaskResponse.result["+ i +"].meta.metaType"));
meta.setSceneIds(_ctx.stringValue("ListFlowControlTaskResponse.result["+ i +"].meta.sceneIds"));
meta.setStartTime(_ctx.longValue("ListFlowControlTaskResponse.result["+ i +"].meta.startTime"));
meta.setTaskName(_ctx.stringValue("ListFlowControlTaskResponse.result["+ i +"].meta.taskName"));
Target target = new Target();
target.setType(_ctx.stringValue("ListFlowControlTaskResponse.result["+ i +"].meta.target.type"));
target.setValue(_ctx.longValue("ListFlowControlTaskResponse.result["+ i +"].meta.target.value"));
meta.setTarget(target);
List<SelectionParamsItem> selectionParams = new ArrayList<SelectionParamsItem>();
for (int j = 0; j < _ctx.lengthValue("ListFlowControlTaskResponse.result["+ i +"].meta.selectionParams.Length"); j++) {
SelectionParamsItem selectionParamsItem = new SelectionParamsItem();
selectionParamsItem.setSelectType(_ctx.stringValue("ListFlowControlTaskResponse.result["+ i +"].meta.selectionParams["+ j +"].selectType"));
selectionParamsItem.setSelectValue(_ctx.stringValue("ListFlowControlTaskResponse.result["+ i +"].meta.selectionParams["+ j +"].selectValue"));
selectionParamsItem.setSelectionOperation(_ctx.stringValue("ListFlowControlTaskResponse.result["+ i +"].meta.selectionParams["+ j +"].selectionOperation"));
selectionParams.add(selectionParamsItem);
}
meta.setSelectionParams(selectionParams);
resultItem.setMeta(meta);
result.add(resultItem);
}
listFlowControlTaskResponse.setResult(result);
return listFlowControlTaskResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListIndexVersionsResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListIndexVersionsResponse;
import com.aliyuncs.airec.model.v20201126.ListIndexVersionsResponse.IndeVersion;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListIndexVersionsResponseUnmarshaller {
public static ListIndexVersionsResponse unmarshall(ListIndexVersionsResponse listIndexVersionsResponse, UnmarshallerContext _ctx) {
listIndexVersionsResponse.setRequestId(_ctx.stringValue("ListIndexVersionsResponse.requestId"));
List<IndeVersion> result = new ArrayList<IndeVersion>();
for (int i = 0; i < _ctx.lengthValue("ListIndexVersionsResponse.result.Length"); i++) {
IndeVersion indeVersion = new IndeVersion();
indeVersion.setCode(_ctx.stringValue("ListIndexVersionsResponse.result["+ i +"].code"));
indeVersion.setSwitchedTime(_ctx.stringValue("ListIndexVersionsResponse.result["+ i +"].switchedTime"));
indeVersion.setRollbackEnabled(_ctx.booleanValue("ListIndexVersionsResponse.result["+ i +"].rollbackEnabled"));
indeVersion.setMessage(_ctx.stringValue("ListIndexVersionsResponse.result["+ i +"].message"));
indeVersion.setFlowType(_ctx.stringValue("ListIndexVersionsResponse.result["+ i +"].flowType"));
indeVersion.setCostSeconds(_ctx.integerValue("ListIndexVersionsResponse.result["+ i +"].costSeconds"));
indeVersion.setBuiltTime(_ctx.stringValue("ListIndexVersionsResponse.result["+ i +"].builtTime"));
indeVersion.setVersionId(_ctx.stringValue("ListIndexVersionsResponse.result["+ i +"].versionId"));
indeVersion.setSize(_ctx.longValue("ListIndexVersionsResponse.result["+ i +"].size"));
indeVersion.setStatus(_ctx.stringValue("ListIndexVersionsResponse.result["+ i +"].status"));
indeVersion.setProgress(_ctx.integerValue("ListIndexVersionsResponse.result["+ i +"].progress"));
result.add(indeVersion);
}
listIndexVersionsResponse.setResult(result);
return listIndexVersionsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListInstanceResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListInstanceResponse;
import com.aliyuncs.airec.model.v20201126.ListInstanceResponse.ResultItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListInstanceResponseUnmarshaller {
public static ListInstanceResponse unmarshall(ListInstanceResponse listInstanceResponse, UnmarshallerContext _ctx) {
listInstanceResponse.setCode(_ctx.stringValue("ListInstanceResponse.code"));
listInstanceResponse.setRequestId(_ctx.stringValue("ListInstanceResponse.requestId"));
listInstanceResponse.setMessage(_ctx.stringValue("ListInstanceResponse.message"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListInstanceResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setRegionId(_ctx.stringValue("ListInstanceResponse.result["+ i +"].regionId"));
resultItem.setType(_ctx.stringValue("ListInstanceResponse.result["+ i +"].type"));
resultItem.setLockMode(_ctx.stringValue("ListInstanceResponse.result["+ i +"].lockMode"));
resultItem.setExpiredTime(_ctx.stringValue("ListInstanceResponse.result["+ i +"].expiredTime"));
resultItem.setStatus(_ctx.stringValue("ListInstanceResponse.result["+ i +"].status"));
resultItem.setGmtCreate(_ctx.stringValue("ListInstanceResponse.result["+ i +"].gmtCreate"));
resultItem.setChargeType(_ctx.stringValue("ListInstanceResponse.result["+ i +"].chargeType"));
resultItem.setIndustry(_ctx.stringValue("ListInstanceResponse.result["+ i +"].industry"));
resultItem.setCommodityCode(_ctx.stringValue("ListInstanceResponse.result["+ i +"].commodityCode"));
resultItem.setGmtModified(_ctx.stringValue("ListInstanceResponse.result["+ i +"].gmtModified"));
resultItem.setDataSetVersion(_ctx.stringValue("ListInstanceResponse.result["+ i +"].dataSetVersion"));
resultItem.setName(_ctx.stringValue("ListInstanceResponse.result["+ i +"].name"));
resultItem.setInstanceId(_ctx.stringValue("ListInstanceResponse.result["+ i +"].instanceId"));
result.add(resultItem);
}
listInstanceResponse.setResult(result);
return listInstanceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListInstanceTaskResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListInstanceTaskResponse;
import com.aliyuncs.airec.model.v20201126.ListInstanceTaskResponse.ResultItem;
import com.aliyuncs.airec.model.v20201126.ListInstanceTaskResponse.ResultItem.SubProgressInfosItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListInstanceTaskResponseUnmarshaller {
public static ListInstanceTaskResponse unmarshall(ListInstanceTaskResponse listInstanceTaskResponse, UnmarshallerContext _ctx) {
listInstanceTaskResponse.setCode(_ctx.stringValue("ListInstanceTaskResponse.code"));
listInstanceTaskResponse.setRequestId(_ctx.stringValue("ListInstanceTaskResponse.requestId"));
listInstanceTaskResponse.setMessage(_ctx.stringValue("ListInstanceTaskResponse.message"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListInstanceTaskResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setTotalProgress(_ctx.integerValue("ListInstanceTaskResponse.result["+ i +"].totalProgress"));
resultItem.setName(_ctx.stringValue("ListInstanceTaskResponse.result["+ i +"].name"));
List<SubProgressInfosItem> subProgressInfos = new ArrayList<SubProgressInfosItem>();
for (int j = 0; j < _ctx.lengthValue("ListInstanceTaskResponse.result["+ i +"].subProgressInfos.Length"); j++) {
SubProgressInfosItem subProgressInfosItem = new SubProgressInfosItem();
subProgressInfosItem.setType(_ctx.stringValue("ListInstanceTaskResponse.result["+ i +"].subProgressInfos["+ j +"].type"));
subProgressInfosItem.setDetail(_ctx.stringValue("ListInstanceTaskResponse.result["+ i +"].subProgressInfos["+ j +"].detail"));
subProgressInfosItem.setTotalNum(_ctx.integerValue("ListInstanceTaskResponse.result["+ i +"].subProgressInfos["+ j +"].totalNum"));
subProgressInfosItem.setFinishedNum(_ctx.integerValue("ListInstanceTaskResponse.result["+ i +"].subProgressInfos["+ j +"].finishedNum"));
subProgressInfosItem.setProgress(_ctx.integerValue("ListInstanceTaskResponse.result["+ i +"].subProgressInfos["+ j +"].progress"));
subProgressInfos.add(subProgressInfosItem);
}
resultItem.setSubProgressInfos(subProgressInfos);
result.add(resultItem);
}
listInstanceTaskResponse.setResult(result);
return listInstanceTaskResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListItemsResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListItemsResponse;
import com.aliyuncs.airec.model.v20201126.ListItemsResponse.Result;
import com.aliyuncs.airec.model.v20201126.ListItemsResponse.Result.DetailItem;
import com.aliyuncs.airec.model.v20201126.ListItemsResponse.Result.Total;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListItemsResponseUnmarshaller {
public static ListItemsResponse unmarshall(ListItemsResponse listItemsResponse, UnmarshallerContext _ctx) {
listItemsResponse.setRequestId(_ctx.stringValue("ListItemsResponse.requestId"));
Result result = new Result();
Total total = new Total();
total.setSceneWeightItem(_ctx.longValue("ListItemsResponse.result.total.sceneWeightItem"));
total.setTotalCount(_ctx.longValue("ListItemsResponse.result.total.totalCount"));
total.setQueryCount(_ctx.longValue("ListItemsResponse.result.total.queryCount"));
total.setSceneRecommendItem(_ctx.longValue("ListItemsResponse.result.total.sceneRecommendItem"));
total.setWeightItem(_ctx.longValue("ListItemsResponse.result.total.weightItem"));
total.setInstanceRecommendItem(_ctx.longValue("ListItemsResponse.result.total.instanceRecommendItem"));
result.setTotal(total);
List<DetailItem> detail = new ArrayList<DetailItem>();
for (int i = 0; i < _ctx.lengthValue("ListItemsResponse.result.detail.Length"); i++) {
DetailItem detailItem = new DetailItem();
detailItem.setTitle(_ctx.stringValue("ListItemsResponse.result.detail["+ i +"].title"));
detailItem.setCategoryPath(_ctx.stringValue("ListItemsResponse.result.detail["+ i +"].categoryPath"));
detailItem.setItemId(_ctx.stringValue("ListItemsResponse.result.detail["+ i +"].itemId"));
detailItem.setItemType(_ctx.stringValue("ListItemsResponse.result.detail["+ i +"].itemType"));
detailItem.setStatus(_ctx.stringValue("ListItemsResponse.result.detail["+ i +"].status"));
detailItem.setBrandId(_ctx.stringValue("ListItemsResponse.result.detail["+ i +"].brandId"));
detailItem.setShopId(_ctx.stringValue("ListItemsResponse.result.detail["+ i +"].shopId"));
detailItem.setPubTime(_ctx.stringValue("ListItemsResponse.result.detail["+ i +"].pubTime"));
detailItem.setChannel(_ctx.stringValue("ListItemsResponse.result.detail["+ i +"].channel"));
detailItem.setDuration(_ctx.stringValue("ListItemsResponse.result.detail["+ i +"].duration"));
detailItem.setAuthor(_ctx.stringValue("ListItemsResponse.result.detail["+ i +"].author"));
detailItem.setExpireTime(_ctx.stringValue("ListItemsResponse.result.detail["+ i +"].expireTime"));
detail.add(detailItem);
}
result.setDetail(detail);
listItemsResponse.setResult(result);
return listItemsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListLogsResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListLogsResponse;
import com.aliyuncs.airec.model.v20201126.ListLogsResponse.Headers;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListLogsResponseUnmarshaller {
public static ListLogsResponse unmarshall(ListLogsResponse listLogsResponse, UnmarshallerContext _ctx) {
listLogsResponse.setCode(_ctx.stringValue("ListLogsResponse.code"));
listLogsResponse.setRequestId(_ctx.stringValue("ListLogsResponse.requestId"));
listLogsResponse.setMessage(_ctx.stringValue("ListLogsResponse.message"));
List<Map<Object, Object>> result = _ctx.listMapValue("ListLogsResponse.result");
listLogsResponse.setResult(result);
Headers headers = new Headers();
headers.setXTotalCount(_ctx.integerValue("ListLogsResponse.headers.X-Total-Count"));
listLogsResponse.setHeaders(headers);
return listLogsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListMixCategoriesResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListMixCategoriesResponse;
import com.aliyuncs.airec.model.v20201126.ListMixCategoriesResponse.ResultItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListMixCategoriesResponseUnmarshaller {
public static ListMixCategoriesResponse unmarshall(ListMixCategoriesResponse listMixCategoriesResponse, UnmarshallerContext _ctx) {
listMixCategoriesResponse.setCode(_ctx.stringValue("ListMixCategoriesResponse.code"));
listMixCategoriesResponse.setRequestId(_ctx.stringValue("ListMixCategoriesResponse.requestId"));
listMixCategoriesResponse.setMessage(_ctx.stringValue("ListMixCategoriesResponse.message"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListMixCategoriesResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
List<Long> categories = new ArrayList<Long>();
for (int j = 0; j < _ctx.lengthValue("ListMixCategoriesResponse.result["+ i +"].categories.Length"); j++) {
categories.add(_ctx.longValue("ListMixCategoriesResponse.result["+ i +"].categories["+ j +"]"));
}
resultItem.setCategories(categories);
result.add(resultItem);
}
listMixCategoriesResponse.setResult(result);
return listMixCategoriesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListOfflineStoragesResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListOfflineStoragesResponse;
import com.aliyuncs.airec.model.v20201126.ListOfflineStoragesResponse.ResultItem;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListOfflineStoragesResponseUnmarshaller {
public static ListOfflineStoragesResponse unmarshall(ListOfflineStoragesResponse listOfflineStoragesResponse, UnmarshallerContext _ctx) {
listOfflineStoragesResponse.setRequestId(_ctx.stringValue("ListOfflineStoragesResponse.requestId"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListOfflineStoragesResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setTableName(_ctx.stringValue("ListOfflineStoragesResponse.result["+ i +"].tableName"));
resultItem.setMeta(_ctx.mapValue("ListOfflineStoragesResponse.result["+ i +"].meta"));
result.add(resultItem);
}
listOfflineStoragesResponse.setResult(result);
return listOfflineStoragesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListRankingModelTemplatesResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListRankingModelTemplatesResponse;
import com.aliyuncs.airec.model.v20201126.ListRankingModelTemplatesResponse.ResultItem;
import com.aliyuncs.airec.model.v20201126.ListRankingModelTemplatesResponse.ResultItem.Meta;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListRankingModelTemplatesResponseUnmarshaller {
public static ListRankingModelTemplatesResponse unmarshall(ListRankingModelTemplatesResponse listRankingModelTemplatesResponse, UnmarshallerContext _ctx) {
listRankingModelTemplatesResponse.setRequestId(_ctx.stringValue("ListRankingModelTemplatesResponse.requestId"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListRankingModelTemplatesResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setStatus(_ctx.stringValue("ListRankingModelTemplatesResponse.result["+ i +"].Status"));
resultItem.setVersionNum(_ctx.longValue("ListRankingModelTemplatesResponse.result["+ i +"].VersionNum"));
resultItem.setTemplateId(_ctx.stringValue("ListRankingModelTemplatesResponse.result["+ i +"].TemplateId"));
Meta meta = new Meta();
meta.setAuthorized(_ctx.booleanValue("ListRankingModelTemplatesResponse.result["+ i +"].Meta.Authorized"));
meta.setAutoRun(_ctx.booleanValue("ListRankingModelTemplatesResponse.result["+ i +"].Meta.AutoRun"));
meta.setAutoRunTime(_ctx.longValue("ListRankingModelTemplatesResponse.result["+ i +"].Meta.AutoRunTime"));
meta.setAutoRunType(_ctx.stringValue("ListRankingModelTemplatesResponse.result["+ i +"].Meta.AutoRunType"));
meta.setConf(_ctx.stringValue("ListRankingModelTemplatesResponse.result["+ i +"].Meta.Conf"));
meta.setLastEditTime(_ctx.stringValue("ListRankingModelTemplatesResponse.result["+ i +"].Meta.LastEditTime"));
meta.setOssArn(_ctx.stringValue("ListRankingModelTemplatesResponse.result["+ i +"].Meta.OssArn"));
meta.setOssBucket(_ctx.stringValue("ListRankingModelTemplatesResponse.result["+ i +"].Meta.OssBucket"));
meta.setOssEndpoint(_ctx.stringValue("ListRankingModelTemplatesResponse.result["+ i +"].Meta.OssEndpoint"));
meta.setSampleId(_ctx.stringValue("ListRankingModelTemplatesResponse.result["+ i +"].Meta.SampleId"));
meta.setSampleName(_ctx.stringValue("ListRankingModelTemplatesResponse.result["+ i +"].Meta.SampleName"));
meta.setSampleTimeWindow(_ctx.longValue("ListRankingModelTemplatesResponse.result["+ i +"].Meta.SampleTimeWindow"));
meta.setSampleTimeWindowType(_ctx.stringValue("ListRankingModelTemplatesResponse.result["+ i +"].Meta.SampleTimeWindowType"));
meta.setType(_ctx.stringValue("ListRankingModelTemplatesResponse.result["+ i +"].Meta.Type"));
meta.setName(_ctx.stringValue("ListRankingModelTemplatesResponse.result["+ i +"].Meta.Name"));
meta.setDeployStatus(_ctx.stringValue("ListRankingModelTemplatesResponse.result["+ i +"].Meta.DeployStatus"));
meta.setCanDeploy(_ctx.booleanValue("ListRankingModelTemplatesResponse.result["+ i +"].Meta.CanDeploy"));
resultItem.setMeta(meta);
result.add(resultItem);
}
listRankingModelTemplatesResponse.setResult(result);
return listRankingModelTemplatesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListRankingModelVersionsResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListRankingModelVersionsResponse;
import com.aliyuncs.airec.model.v20201126.ListRankingModelVersionsResponse.ResultItem;
import com.aliyuncs.airec.model.v20201126.ListRankingModelVersionsResponse.ResultItem.RunResult;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListRankingModelVersionsResponseUnmarshaller {
public static ListRankingModelVersionsResponse unmarshall(ListRankingModelVersionsResponse listRankingModelVersionsResponse, UnmarshallerContext _ctx) {
listRankingModelVersionsResponse.setRequestId(_ctx.stringValue("ListRankingModelVersionsResponse.requestId"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListRankingModelVersionsResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setStatus(_ctx.stringValue("ListRankingModelVersionsResponse.result["+ i +"].Status"));
resultItem.setRunTime(_ctx.stringValue("ListRankingModelVersionsResponse.result["+ i +"].RunTime"));
resultItem.setRunLog(_ctx.stringValue("ListRankingModelVersionsResponse.result["+ i +"].RunLog"));
resultItem.setTemplateName(_ctx.stringValue("ListRankingModelVersionsResponse.result["+ i +"].TemplateName"));
resultItem.setName(_ctx.stringValue("ListRankingModelVersionsResponse.result["+ i +"].Name"));
resultItem.setTemplateId(_ctx.stringValue("ListRankingModelVersionsResponse.result["+ i +"].TemplateId"));
RunResult runResult = new RunResult();
runResult.setAssessAuc(_ctx.stringValue("ListRankingModelVersionsResponse.result["+ i +"].RunResult.AssessAuc"));
runResult.setAssessGauc(_ctx.stringValue("ListRankingModelVersionsResponse.result["+ i +"].RunResult.AssessGauc"));
runResult.setAssessLoss(_ctx.stringValue("ListRankingModelVersionsResponse.result["+ i +"].RunResult.AssessLoss"));
runResult.setTrainAuc(_ctx.stringValue("ListRankingModelVersionsResponse.result["+ i +"].RunResult.TrainAuc"));
runResult.setTrainGauc(_ctx.stringValue("ListRankingModelVersionsResponse.result["+ i +"].RunResult.TrainGauc"));
runResult.setTrainLoss(_ctx.stringValue("ListRankingModelVersionsResponse.result["+ i +"].RunResult.TrainLoss"));
resultItem.setRunResult(runResult);
result.add(resultItem);
}
listRankingModelVersionsResponse.setResult(result);
return listRankingModelVersionsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListRankingModelsResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListRankingModelsResponse;
import com.aliyuncs.airec.model.v20201126.ListRankingModelsResponse.ResultItem;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListRankingModelsResponseUnmarshaller {
public static ListRankingModelsResponse unmarshall(ListRankingModelsResponse listRankingModelsResponse, UnmarshallerContext _ctx) {
listRankingModelsResponse.setCode(_ctx.stringValue("ListRankingModelsResponse.code"));
listRankingModelsResponse.setRequestId(_ctx.stringValue("ListRankingModelsResponse.requestId"));
listRankingModelsResponse.setMessage(_ctx.stringValue("ListRankingModelsResponse.message"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListRankingModelsResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setRankingModelId(_ctx.stringValue("ListRankingModelsResponse.result["+ i +"].rankingModelId"));
resultItem.setGmtModified(_ctx.stringValue("ListRankingModelsResponse.result["+ i +"].gmtModified"));
resultItem.setGmtCreate(_ctx.stringValue("ListRankingModelsResponse.result["+ i +"].gmtCreate"));
resultItem.setMeta(_ctx.mapValue("ListRankingModelsResponse.result["+ i +"].meta"));
result.add(resultItem);
}
listRankingModelsResponse.setResult(result);
return listRankingModelsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListRankingSystemHistoriesResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListRankingSystemHistoriesResponse;
import com.aliyuncs.airec.model.v20201126.ListRankingSystemHistoriesResponse.ResultItem;
import com.aliyuncs.airec.model.v20201126.ListRankingSystemHistoriesResponse.ResultItem.Meta;
import com.aliyuncs.airec.model.v20201126.ListRankingSystemHistoriesResponse.ResultItem.Meta.PredictEngine;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListRankingSystemHistoriesResponseUnmarshaller {
public static ListRankingSystemHistoriesResponse unmarshall(ListRankingSystemHistoriesResponse listRankingSystemHistoriesResponse, UnmarshallerContext _ctx) {
listRankingSystemHistoriesResponse.setRequestId(_ctx.stringValue("ListRankingSystemHistoriesResponse.requestId"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListRankingSystemHistoriesResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setOperateTime(_ctx.stringValue("ListRankingSystemHistoriesResponse.result["+ i +"].OperateTime"));
resultItem.setOperateId(_ctx.stringValue("ListRankingSystemHistoriesResponse.result["+ i +"].OperateId"));
resultItem.setOperateType(_ctx.stringValue("ListRankingSystemHistoriesResponse.result["+ i +"].OperateType"));
resultItem.setName(_ctx.stringValue("ListRankingSystemHistoriesResponse.result["+ i +"].Name"));
Meta meta = new Meta();
meta.setAutoDeploy(_ctx.booleanValue("ListRankingSystemHistoriesResponse.result["+ i +"].Meta.AutoDeploy"));
meta.setAutoDeployAuc(_ctx.stringValue("ListRankingSystemHistoriesResponse.result["+ i +"].Meta.AutoDeployAuc"));
meta.setConf(_ctx.stringValue("ListRankingSystemHistoriesResponse.result["+ i +"].Meta.Conf"));
meta.setModelTemplateName(_ctx.stringValue("ListRankingSystemHistoriesResponse.result["+ i +"].Meta.ModelTemplateName"));
meta.setPredictEngineType(_ctx.stringValue("ListRankingSystemHistoriesResponse.result["+ i +"].Meta.PredictEngineType"));
meta.setPreviousOperateId(_ctx.stringValue("ListRankingSystemHistoriesResponse.result["+ i +"].Meta.PreviousOperateId"));
PredictEngine predictEngine = new PredictEngine();
predictEngine.setResourceId(_ctx.stringValue("ListRankingSystemHistoriesResponse.result["+ i +"].Meta.PredictEngine.ResourceId"));
predictEngine.setVersion(_ctx.stringValue("ListRankingSystemHistoriesResponse.result["+ i +"].Meta.PredictEngine.Version"));
meta.setPredictEngine(predictEngine);
resultItem.setMeta(meta);
result.add(resultItem);
}
listRankingSystemHistoriesResponse.setResult(result);
return listRankingSystemHistoriesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListRankingSystemsResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListRankingSystemsResponse;
import com.aliyuncs.airec.model.v20201126.ListRankingSystemsResponse.ResultItem;
import com.aliyuncs.airec.model.v20201126.ListRankingSystemsResponse.ResultItem.Meta;
import com.aliyuncs.airec.model.v20201126.ListRankingSystemsResponse.ResultItem.Meta.PredictEngine;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListRankingSystemsResponseUnmarshaller {
public static ListRankingSystemsResponse unmarshall(ListRankingSystemsResponse listRankingSystemsResponse, UnmarshallerContext _ctx) {
listRankingSystemsResponse.setRequestId(_ctx.stringValue("ListRankingSystemsResponse.requestId"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListRankingSystemsResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setApplyStatus(_ctx.stringValue("ListRankingSystemsResponse.result["+ i +"].ApplyStatus"));
resultItem.setDeployStatus(_ctx.stringValue("ListRankingSystemsResponse.result["+ i +"].DeployStatus"));
resultItem.setName(_ctx.stringValue("ListRankingSystemsResponse.result["+ i +"].Name"));
resultItem.setModelTemplateId(_ctx.stringValue("ListRankingSystemsResponse.result["+ i +"].ModelTemplateId"));
List<Long> sceneIdList = new ArrayList<Long>();
for (int j = 0; j < _ctx.lengthValue("ListRankingSystemsResponse.result["+ i +"].SceneIdList.Length"); j++) {
sceneIdList.add(_ctx.longValue("ListRankingSystemsResponse.result["+ i +"].SceneIdList["+ j +"]"));
}
resultItem.setSceneIdList(sceneIdList);
Meta meta = new Meta();
meta.setAutoDeploy(_ctx.booleanValue("ListRankingSystemsResponse.result["+ i +"].Meta.AutoDeploy"));
meta.setAutoDeployAuc(_ctx.stringValue("ListRankingSystemsResponse.result["+ i +"].Meta.AutoDeployAuc"));
meta.setConf(_ctx.stringValue("ListRankingSystemsResponse.result["+ i +"].Meta.Conf"));
meta.setPredictEngineType(_ctx.stringValue("ListRankingSystemsResponse.result["+ i +"].Meta.PredictEngineType"));
meta.setModelVersionName(_ctx.stringValue("ListRankingSystemsResponse.result["+ i +"].Meta.ModelVersionName"));
meta.setFailMsg(_ctx.stringValue("ListRankingSystemsResponse.result["+ i +"].Meta.FailMsg"));
PredictEngine predictEngine = new PredictEngine();
predictEngine.setResourceId(_ctx.stringValue("ListRankingSystemsResponse.result["+ i +"].Meta.PredictEngine.ResourceId"));
predictEngine.setVersion(_ctx.stringValue("ListRankingSystemsResponse.result["+ i +"].Meta.PredictEngine.Version"));
predictEngine.setClusterId(_ctx.stringValue("ListRankingSystemsResponse.result["+ i +"].Meta.PredictEngine.ClusterId"));
meta.setPredictEngine(predictEngine);
resultItem.setMeta(meta);
result.add(resultItem);
}
listRankingSystemsResponse.setResult(result);
return listRankingSystemsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListRuleConditionsResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListRuleConditionsResponse;
import com.aliyuncs.airec.model.v20201126.ListRuleConditionsResponse.ResultItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListRuleConditionsResponseUnmarshaller {
public static ListRuleConditionsResponse unmarshall(ListRuleConditionsResponse listRuleConditionsResponse, UnmarshallerContext _ctx) {
listRuleConditionsResponse.setCode(_ctx.stringValue("ListRuleConditionsResponse.code"));
listRuleConditionsResponse.setRequestId(_ctx.stringValue("ListRuleConditionsResponse.requestId"));
listRuleConditionsResponse.setMessage(_ctx.stringValue("ListRuleConditionsResponse.message"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListRuleConditionsResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setSelectType(_ctx.stringValue("ListRuleConditionsResponse.result["+ i +"].selectType"));
resultItem.setSelectValue(_ctx.stringValue("ListRuleConditionsResponse.result["+ i +"].selectValue"));
resultItem.setSelectionOperation(_ctx.stringValue("ListRuleConditionsResponse.result["+ i +"].selectionOperation"));
result.add(resultItem);
}
listRuleConditionsResponse.setResult(result);
return listRuleConditionsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListRuleTasksResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.ListRuleTasksResponse;
import com.aliyuncs.airec.model.v20201126.ListRuleTasksResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListRuleTasksResponseUnmarshaller {
public static ListRuleTasksResponse unmarshall(ListRuleTasksResponse listRuleTasksResponse, UnmarshallerContext _ctx) {
listRuleTasksResponse.setCode(_ctx.stringValue("ListRuleTasksResponse.code"));
listRuleTasksResponse.setRequestId(_ctx.stringValue("ListRuleTasksResponse.requestId"));
listRuleTasksResponse.setMessage(_ctx.stringValue("ListRuleTasksResponse.message"));
Result result = new Result();
result.setFinishTime(_ctx.integerValue("ListRuleTasksResponse.result.finishTime"));
result.setFinishRate(_ctx.integerValue("ListRuleTasksResponse.result.finishRate"));
listRuleTasksResponse.setResult(result);
return listRuleTasksResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListRulesResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListRulesResponse;
import com.aliyuncs.airec.model.v20201126.ListRulesResponse.ResultItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListRulesResponseUnmarshaller {
public static ListRulesResponse unmarshall(ListRulesResponse listRulesResponse, UnmarshallerContext _ctx) {
listRulesResponse.setCode(_ctx.stringValue("ListRulesResponse.code"));
listRulesResponse.setRequestId(_ctx.stringValue("ListRulesResponse.requestId"));
listRulesResponse.setMessage(_ctx.stringValue("ListRulesResponse.message"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListRulesResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setRuleId(_ctx.stringValue("ListRulesResponse.result["+ i +"].ruleId"));
resultItem.setGmtModified(_ctx.stringValue("ListRulesResponse.result["+ i +"].gmtModified"));
resultItem.setStatus(_ctx.stringValue("ListRulesResponse.result["+ i +"].status"));
resultItem.setGmtCreate(_ctx.stringValue("ListRulesResponse.result["+ i +"].gmtCreate"));
result.add(resultItem);
}
listRulesResponse.setResult(result);
return listRulesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListSampleFormatConfigsResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.ListSampleFormatConfigsResponse;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListSampleFormatConfigsResponseUnmarshaller {
public static ListSampleFormatConfigsResponse unmarshall(ListSampleFormatConfigsResponse listSampleFormatConfigsResponse, UnmarshallerContext _ctx) {
listSampleFormatConfigsResponse.setRequestId(_ctx.stringValue("ListSampleFormatConfigsResponse.requestId"));
listSampleFormatConfigsResponse.setResult(_ctx.mapValue("ListSampleFormatConfigsResponse.result"));
return listSampleFormatConfigsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListSamplesResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListSamplesResponse;
import com.aliyuncs.airec.model.v20201126.ListSamplesResponse.ResultItem;
import com.aliyuncs.airec.model.v20201126.ListSamplesResponse.ResultItem.Meta;
import com.aliyuncs.airec.model.v20201126.ListSamplesResponse.ResultItem.Meta.Config;
import com.aliyuncs.airec.model.v20201126.ListSamplesResponse.ResultItem.Meta.Config.FeatureConfig;
import com.aliyuncs.airec.model.v20201126.ListSamplesResponse.ResultItem.Meta.Config.LabelLogic;
import com.aliyuncs.airec.model.v20201126.ListSamplesResponse.ResultItem.Meta.Config.WeightLogicListItem;
import com.aliyuncs.airec.model.v20201126.ListSamplesResponse.ResultItem.Meta.ExtendParams;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListSamplesResponseUnmarshaller {
public static ListSamplesResponse unmarshall(ListSamplesResponse listSamplesResponse, UnmarshallerContext _ctx) {
listSamplesResponse.setRequestId(_ctx.stringValue("ListSamplesResponse.requestId"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListSamplesResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setStatus(_ctx.stringValue("ListSamplesResponse.result["+ i +"].Status"));
resultItem.setGmtCreate(_ctx.stringValue("ListSamplesResponse.result["+ i +"].GmtCreate"));
resultItem.setGmtModified(_ctx.stringValue("ListSamplesResponse.result["+ i +"].GmtModified"));
resultItem.setSampleId(_ctx.stringValue("ListSamplesResponse.result["+ i +"].SampleId"));
Meta meta = new Meta();
meta.setAutoUpdate(_ctx.booleanValue("ListSamplesResponse.result["+ i +"].Meta.AutoUpdate"));
meta.setAutoUpdateFrequency(_ctx.longValue("ListSamplesResponse.result["+ i +"].Meta.AutoUpdateFrequency"));
meta.setClonedId(_ctx.stringValue("ListSamplesResponse.result["+ i +"].Meta.ClonedId"));
meta.setMetaType(_ctx.stringValue("ListSamplesResponse.result["+ i +"].Meta.MetaType"));
meta.setName(_ctx.stringValue("ListSamplesResponse.result["+ i +"].Meta.Name"));
meta.setStoreConfig(_ctx.stringValue("ListSamplesResponse.result["+ i +"].Meta.StoreConfig"));
meta.setType(_ctx.stringValue("ListSamplesResponse.result["+ i +"].Meta.Type"));
Config config = new Config();
List<String> bhvTableSourceIds = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("ListSamplesResponse.result["+ i +"].Meta.Config.BhvTableSourceIds.Length"); j++) {
bhvTableSourceIds.add(_ctx.stringValue("ListSamplesResponse.result["+ i +"].Meta.Config.BhvTableSourceIds["+ j +"]"));
}
config.setBhvTableSourceIds(bhvTableSourceIds);
FeatureConfig featureConfig = new FeatureConfig();
featureConfig.setItemFeatures(_ctx.stringValue("ListSamplesResponse.result["+ i +"].Meta.Config.FeatureConfig.ItemFeatures"));
featureConfig.setUserFeatures(_ctx.stringValue("ListSamplesResponse.result["+ i +"].Meta.Config.FeatureConfig.UserFeatures"));
config.setFeatureConfig(featureConfig);
LabelLogic labelLogic = new LabelLogic();
labelLogic.setBhvTimeWindow(_ctx.longValue("ListSamplesResponse.result["+ i +"].Meta.Config.LabelLogic.BhvTimeWindow"));
labelLogic.setNegativeBhvTypes(_ctx.stringValue("ListSamplesResponse.result["+ i +"].Meta.Config.LabelLogic.NegativeBhvTypes"));
labelLogic.setPositiveBhvTypes(_ctx.stringValue("ListSamplesResponse.result["+ i +"].Meta.Config.LabelLogic.PositiveBhvTypes"));
config.setLabelLogic(labelLogic);
List<WeightLogicListItem> weightLogicList = new ArrayList<WeightLogicListItem>();
for (int j = 0; j < _ctx.lengthValue("ListSamplesResponse.result["+ i +"].Meta.Config.WeightLogicList.Length"); j++) {
WeightLogicListItem weightLogicListItem = new WeightLogicListItem();
weightLogicListItem.setBhv(_ctx.stringValue("ListSamplesResponse.result["+ i +"].Meta.Config.WeightLogicList["+ j +"].Bhv"));
weightLogicListItem.setWeight(_ctx.stringValue("ListSamplesResponse.result["+ i +"].Meta.Config.WeightLogicList["+ j +"].Weight"));
weightLogicList.add(weightLogicListItem);
}
config.setWeightLogicList(weightLogicList);
meta.setConfig(config);
ExtendParams extendParams = new ExtendParams();
extendParams.setLatestTaskStatus(_ctx.longValue("ListSamplesResponse.result["+ i +"].Meta.ExtendParams.LatestTaskStatus"));
extendParams.setSampleCount(_ctx.longValue("ListSamplesResponse.result["+ i +"].Meta.ExtendParams.SampleCount"));
meta.setExtendParams(extendParams);
resultItem.setMeta(meta);
result.add(resultItem);
}
listSamplesResponse.setResult(result);
return listSamplesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListSceneItemsResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListSceneItemsResponse;
import com.aliyuncs.airec.model.v20201126.ListSceneItemsResponse.Result;
import com.aliyuncs.airec.model.v20201126.ListSceneItemsResponse.Result.DetailItem;
import com.aliyuncs.airec.model.v20201126.ListSceneItemsResponse.Result.Total;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListSceneItemsResponseUnmarshaller {
public static ListSceneItemsResponse unmarshall(ListSceneItemsResponse listSceneItemsResponse, UnmarshallerContext _ctx) {
listSceneItemsResponse.setCode(_ctx.stringValue("ListSceneItemsResponse.code"));
listSceneItemsResponse.setRequestId(_ctx.stringValue("ListSceneItemsResponse.requestId"));
listSceneItemsResponse.setMessage(_ctx.stringValue("ListSceneItemsResponse.message"));
Result result = new Result();
Total total = new Total();
total.setTotalCount(_ctx.longValue("ListSceneItemsResponse.result.total.totalCount"));
total.setSceneWeightItem(_ctx.longValue("ListSceneItemsResponse.result.total.sceneWeightItem"));
total.setSceneRecommendItem(_ctx.longValue("ListSceneItemsResponse.result.total.sceneRecommendItem"));
total.setWeightItem(_ctx.longValue("ListSceneItemsResponse.result.total.weightItem"));
total.setInstanceRecommendItem(_ctx.longValue("ListSceneItemsResponse.result.total.instanceRecommendItem"));
result.setTotal(total);
List<DetailItem> detail = new ArrayList<DetailItem>();
for (int i = 0; i < _ctx.lengthValue("ListSceneItemsResponse.result.detail.Length"); i++) {
DetailItem detailItem = new DetailItem();
detailItem.setTitle(_ctx.stringValue("ListSceneItemsResponse.result.detail["+ i +"].title"));
detailItem.setCategoryPath(_ctx.stringValue("ListSceneItemsResponse.result.detail["+ i +"].categoryPath"));
detailItem.setItemId(_ctx.stringValue("ListSceneItemsResponse.result.detail["+ i +"].itemId"));
detailItem.setItemType(_ctx.stringValue("ListSceneItemsResponse.result.detail["+ i +"].itemType"));
detailItem.setStatus(_ctx.stringValue("ListSceneItemsResponse.result.detail["+ i +"].status"));
detailItem.setBrandId(_ctx.stringValue("ListSceneItemsResponse.result.detail["+ i +"].brandId"));
detailItem.setShopId(_ctx.stringValue("ListSceneItemsResponse.result.detail["+ i +"].shopId"));
detailItem.setPubTime(_ctx.stringValue("ListSceneItemsResponse.result.detail["+ i +"].pubTime"));
detailItem.setChannel(_ctx.stringValue("ListSceneItemsResponse.result.detail["+ i +"].channel"));
detailItem.setDuration(_ctx.stringValue("ListSceneItemsResponse.result.detail["+ i +"].duration"));
detailItem.setAuthor(_ctx.stringValue("ListSceneItemsResponse.result.detail["+ i +"].author"));
detailItem.setExpireTime(_ctx.stringValue("ListSceneItemsResponse.result.detail["+ i +"].expireTime"));
detail.add(detailItem);
}
result.setDetail(detail);
listSceneItemsResponse.setResult(result);
return listSceneItemsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListSceneParametersResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListSceneParametersResponse;
import com.aliyuncs.airec.model.v20201126.ListSceneParametersResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListSceneParametersResponseUnmarshaller {
public static ListSceneParametersResponse unmarshall(ListSceneParametersResponse listSceneParametersResponse, UnmarshallerContext _ctx) {
listSceneParametersResponse.setCode(_ctx.stringValue("ListSceneParametersResponse.code"));
listSceneParametersResponse.setRequestId(_ctx.stringValue("ListSceneParametersResponse.requestId"));
listSceneParametersResponse.setMessage(_ctx.stringValue("ListSceneParametersResponse.message"));
Result result = new Result();
List<String> traceId = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("ListSceneParametersResponse.result.traceId.Length"); i++) {
traceId.add(_ctx.stringValue("ListSceneParametersResponse.result.traceId["+ i +"]"));
}
result.setTraceId(traceId);
List<String> sceneId = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("ListSceneParametersResponse.result.sceneId.Length"); i++) {
sceneId.add(_ctx.stringValue("ListSceneParametersResponse.result.sceneId["+ i +"]"));
}
result.setSceneId(sceneId);
listSceneParametersResponse.setResult(result);
return listSceneParametersResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListScenesResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListScenesResponse;
import com.aliyuncs.airec.model.v20201126.ListScenesResponse.ResultItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListScenesResponseUnmarshaller {
public static ListScenesResponse unmarshall(ListScenesResponse listScenesResponse, UnmarshallerContext _ctx) {
listScenesResponse.setCode(_ctx.stringValue("ListScenesResponse.code"));
listScenesResponse.setRequestId(_ctx.stringValue("ListScenesResponse.requestId"));
listScenesResponse.setMessage(_ctx.stringValue("ListScenesResponse.message"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListScenesResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setSceneId(_ctx.stringValue("ListScenesResponse.result["+ i +"].sceneId"));
resultItem.setGmtModified(_ctx.stringValue("ListScenesResponse.result["+ i +"].gmtModified"));
resultItem.setStatus(_ctx.stringValue("ListScenesResponse.result["+ i +"].status"));
resultItem.setGmtCreate(_ctx.stringValue("ListScenesResponse.result["+ i +"].gmtCreate"));
result.add(resultItem);
}
listScenesResponse.setResult(result);
return listScenesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListUmengAppkeysResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListUmengAppkeysResponse;
import com.aliyuncs.airec.model.v20201126.ListUmengAppkeysResponse.ResultItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListUmengAppkeysResponseUnmarshaller {
public static ListUmengAppkeysResponse unmarshall(ListUmengAppkeysResponse listUmengAppkeysResponse, UnmarshallerContext _ctx) {
listUmengAppkeysResponse.setCode(_ctx.stringValue("ListUmengAppkeysResponse.code"));
listUmengAppkeysResponse.setRequestId(_ctx.stringValue("ListUmengAppkeysResponse.requestId"));
listUmengAppkeysResponse.setMessage(_ctx.stringValue("ListUmengAppkeysResponse.message"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("ListUmengAppkeysResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setAppkey(_ctx.stringValue("ListUmengAppkeysResponse.result["+ i +"].appkey"));
resultItem.setPlatform(_ctx.stringValue("ListUmengAppkeysResponse.result["+ i +"].platform"));
resultItem.setName(_ctx.stringValue("ListUmengAppkeysResponse.result["+ i +"].name"));
result.add(resultItem);
}
listUmengAppkeysResponse.setResult(result);
return listUmengAppkeysResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ListUserClustersResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ListUserClustersResponse;
import com.aliyuncs.airec.model.v20201126.ListUserClustersResponse.Headers;
import com.aliyuncs.airec.model.v20201126.ListUserClustersResponse.UserCluster;
import com.aliyuncs.airec.model.v20201126.ListUserClustersResponse.UserCluster.Meta;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListUserClustersResponseUnmarshaller {
public static ListUserClustersResponse unmarshall(ListUserClustersResponse listUserClustersResponse, UnmarshallerContext _ctx) {
listUserClustersResponse.setRequestId(_ctx.stringValue("ListUserClustersResponse.requestId"));
Headers headers = new Headers();
headers.setXTotalCount(_ctx.integerValue("ListUserClustersResponse.headers.X-Total-Count"));
listUserClustersResponse.setHeaders(headers);
List<UserCluster> result = new ArrayList<UserCluster>();
for (int i = 0; i < _ctx.lengthValue("ListUserClustersResponse.result.Length"); i++) {
UserCluster userCluster = new UserCluster();
userCluster.setGmtModified(_ctx.stringValue("ListUserClustersResponse.result["+ i +"].gmtModified"));
userCluster.setStatus(_ctx.stringValue("ListUserClustersResponse.result["+ i +"].status"));
userCluster.setGmtCreate(_ctx.stringValue("ListUserClustersResponse.result["+ i +"].gmtCreate"));
userCluster.setName(_ctx.stringValue("ListUserClustersResponse.result["+ i +"].name"));
Meta meta = new Meta();
meta.setMetaType(_ctx.stringValue("ListUserClustersResponse.result["+ i +"].meta.metaType"));
meta.setDescription(_ctx.stringValue("ListUserClustersResponse.result["+ i +"].meta.description"));
userCluster.setMeta(meta);
result.add(userCluster);
}
listUserClustersResponse.setResult(result);
return listUserClustersResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ModifyDataSourceResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.ModifyDataSourceResponse;
import com.aliyuncs.airec.model.v20201126.ModifyDataSourceResponse.Result;
import com.aliyuncs.airec.model.v20201126.ModifyDataSourceResponse.Result.Meta;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyDataSourceResponseUnmarshaller {
public static ModifyDataSourceResponse unmarshall(ModifyDataSourceResponse modifyDataSourceResponse, UnmarshallerContext _ctx) {
modifyDataSourceResponse.setCode(_ctx.stringValue("ModifyDataSourceResponse.code"));
modifyDataSourceResponse.setRequestId(_ctx.stringValue("ModifyDataSourceResponse.requestId"));
modifyDataSourceResponse.setMessage(_ctx.stringValue("ModifyDataSourceResponse.message"));
Result result = new Result();
result.setGmtModified(_ctx.stringValue("ModifyDataSourceResponse.result.gmtModified"));
result.setGmtCreate(_ctx.stringValue("ModifyDataSourceResponse.result.gmtCreate"));
result.setTableName(_ctx.stringValue("ModifyDataSourceResponse.result.tableName"));
Meta meta = new Meta();
meta.setBucketName(_ctx.stringValue("ModifyDataSourceResponse.result.meta.bucketName"));
meta.setAccessKeyId(_ctx.stringValue("ModifyDataSourceResponse.result.meta.accessKeyId"));
meta.setType(_ctx.stringValue("ModifyDataSourceResponse.result.meta.type"));
meta.setPartition(_ctx.stringValue("ModifyDataSourceResponse.result.meta.partition"));
meta.setTimestamp(_ctx.longValue("ModifyDataSourceResponse.result.meta.timestamp"));
meta.setPath(_ctx.stringValue("ModifyDataSourceResponse.result.meta.path"));
meta.setTableName(_ctx.stringValue("ModifyDataSourceResponse.result.meta.tableName"));
meta.setProjectName(_ctx.stringValue("ModifyDataSourceResponse.result.meta.projectName"));
result.setMeta(meta);
modifyDataSourceResponse.setResult(result);
return modifyDataSourceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ModifyFeatureTableResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ModifyFeatureTableResponse;
import com.aliyuncs.airec.model.v20201126.ModifyFeatureTableResponse.Result;
import com.aliyuncs.airec.model.v20201126.ModifyFeatureTableResponse.Result.Meta;
import com.aliyuncs.airec.model.v20201126.ModifyFeatureTableResponse.Result.Meta.FeatureListItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyFeatureTableResponseUnmarshaller {
public static ModifyFeatureTableResponse unmarshall(ModifyFeatureTableResponse modifyFeatureTableResponse, UnmarshallerContext _ctx) {
modifyFeatureTableResponse.setRequestId(_ctx.stringValue("ModifyFeatureTableResponse.requestId"));
Result result = new Result();
result.setStatus(_ctx.stringValue("ModifyFeatureTableResponse.result.Status"));
result.setFeatureTableId(_ctx.stringValue("ModifyFeatureTableResponse.result.FeatureTableId"));
result.setType(_ctx.stringValue("ModifyFeatureTableResponse.result.Type"));
result.setGmtCreate(_ctx.stringValue("ModifyFeatureTableResponse.result.GmtCreate"));
result.setGmtModified(_ctx.stringValue("ModifyFeatureTableResponse.result.GmtModified"));
Meta meta = new Meta();
meta.setDataSourceId(_ctx.stringValue("ModifyFeatureTableResponse.result.Meta.DataSourceId"));
meta.setInternal(_ctx.booleanValue("ModifyFeatureTableResponse.result.Meta.Internal"));
meta.setMetaType(_ctx.stringValue("ModifyFeatureTableResponse.result.Meta.MetaType"));
meta.setSource(_ctx.stringValue("ModifyFeatureTableResponse.result.Meta.Source"));
meta.setUpdateFrequency(_ctx.longValue("ModifyFeatureTableResponse.result.Meta.UpdateFrequency"));
List<FeatureListItem> featureList = new ArrayList<FeatureListItem>();
for (int i = 0; i < _ctx.lengthValue("ModifyFeatureTableResponse.result.Meta.FeatureList.Length"); i++) {
FeatureListItem featureListItem = new FeatureListItem();
featureListItem.setComment(_ctx.stringValue("ModifyFeatureTableResponse.result.Meta.FeatureList["+ i +"].Comment"));
featureListItem.setFeatureName(_ctx.stringValue("ModifyFeatureTableResponse.result.Meta.FeatureList["+ i +"].FeatureName"));
featureListItem.setFieldName(_ctx.stringValue("ModifyFeatureTableResponse.result.Meta.FeatureList["+ i +"].FieldName"));
featureListItem.setStatus(_ctx.stringValue("ModifyFeatureTableResponse.result.Meta.FeatureList["+ i +"].Status"));
featureList.add(featureListItem);
}
meta.setFeatureList(featureList);
result.setMeta(meta);
modifyFeatureTableResponse.setResult(result);
return modifyFeatureTableResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ModifyFilteringAlgorithmMetaResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.ModifyFilteringAlgorithmMetaResponse;
import com.aliyuncs.airec.model.v20201126.ModifyFilteringAlgorithmMetaResponse.Result;
import com.aliyuncs.airec.model.v20201126.ModifyFilteringAlgorithmMetaResponse.Result.Meta;
import com.aliyuncs.airec.model.v20201126.ModifyFilteringAlgorithmMetaResponse.Result.Meta.ExtInfo;
import com.aliyuncs.airec.model.v20201126.ModifyFilteringAlgorithmMetaResponse.Result.Meta.Threshold;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyFilteringAlgorithmMetaResponseUnmarshaller {
public static ModifyFilteringAlgorithmMetaResponse unmarshall(ModifyFilteringAlgorithmMetaResponse modifyFilteringAlgorithmMetaResponse, UnmarshallerContext _ctx) {
modifyFilteringAlgorithmMetaResponse.setRequestId(_ctx.stringValue("ModifyFilteringAlgorithmMetaResponse.requestId"));
Result result = new Result();
result.setGmtModified(_ctx.stringValue("ModifyFilteringAlgorithmMetaResponse.result.gmtModified"));
result.setStatus(_ctx.stringValue("ModifyFilteringAlgorithmMetaResponse.result.status"));
result.setGmtCreate(_ctx.stringValue("ModifyFilteringAlgorithmMetaResponse.result.gmtCreate"));
result.setAlgorithmId(_ctx.stringValue("ModifyFilteringAlgorithmMetaResponse.result.algorithmId"));
Meta meta = new Meta();
meta.setTaskId(_ctx.stringValue("ModifyFilteringAlgorithmMetaResponse.result.meta.taskId"));
meta.setMetaType(_ctx.stringValue("ModifyFilteringAlgorithmMetaResponse.result.meta.metaType"));
meta.setType(_ctx.stringValue("ModifyFilteringAlgorithmMetaResponse.result.meta.type"));
meta.setCategory(_ctx.stringValue("ModifyFilteringAlgorithmMetaResponse.result.meta.category"));
meta.setTableName(_ctx.stringValue("ModifyFilteringAlgorithmMetaResponse.result.meta.tableName"));
meta.setClusterId(_ctx.stringValue("ModifyFilteringAlgorithmMetaResponse.result.meta.clusterId"));
meta.setCron(_ctx.stringValue("ModifyFilteringAlgorithmMetaResponse.result.meta.cron"));
meta.setDescription(_ctx.stringValue("ModifyFilteringAlgorithmMetaResponse.result.meta.description"));
meta.setProjectName(_ctx.stringValue("ModifyFilteringAlgorithmMetaResponse.result.meta.projectName"));
meta.setAlgorithmName(_ctx.stringValue("ModifyFilteringAlgorithmMetaResponse.result.meta.algorithmName"));
meta.setCronEnabled(_ctx.booleanValue("ModifyFilteringAlgorithmMetaResponse.result.meta.cronEnabled"));
ExtInfo extInfo = new ExtInfo();
extInfo.setKvSeparator(_ctx.stringValue("ModifyFilteringAlgorithmMetaResponse.result.meta.extInfo.kvSeparator"));
extInfo.setItemSeparator(_ctx.stringValue("ModifyFilteringAlgorithmMetaResponse.result.meta.extInfo.itemSeparator"));
meta.setExtInfo(extInfo);
Threshold threshold = new Threshold();
threshold.setSourceDataSizeThreshold(_ctx.integerValue("ModifyFilteringAlgorithmMetaResponse.result.meta.threshold.sourceDataSizeThreshold"));
threshold.setSourceDataRecordThreshold(_ctx.integerValue("ModifyFilteringAlgorithmMetaResponse.result.meta.threshold.sourceDataRecordThreshold"));
threshold.setIndexSizeThreshold(_ctx.integerValue("ModifyFilteringAlgorithmMetaResponse.result.meta.threshold.indexSizeThreshold"));
threshold.setIndexLossThreshold(_ctx.integerValue("ModifyFilteringAlgorithmMetaResponse.result.meta.threshold.indexLossThreshold"));
meta.setThreshold(threshold);
result.setMeta(meta);
modifyFilteringAlgorithmMetaResponse.setResult(result);
return modifyFilteringAlgorithmMetaResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ModifyFlowControlTaskResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ModifyFlowControlTaskResponse;
import com.aliyuncs.airec.model.v20201126.ModifyFlowControlTaskResponse.Result;
import com.aliyuncs.airec.model.v20201126.ModifyFlowControlTaskResponse.Result.Meta;
import com.aliyuncs.airec.model.v20201126.ModifyFlowControlTaskResponse.Result.Meta.SelectionParamsItem;
import com.aliyuncs.airec.model.v20201126.ModifyFlowControlTaskResponse.Result.Meta.Target;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyFlowControlTaskResponseUnmarshaller {
public static ModifyFlowControlTaskResponse unmarshall(ModifyFlowControlTaskResponse modifyFlowControlTaskResponse, UnmarshallerContext _ctx) {
modifyFlowControlTaskResponse.setRequestId(_ctx.stringValue("ModifyFlowControlTaskResponse.requestId"));
Result result = new Result();
result.setGmtCreate(_ctx.stringValue("ModifyFlowControlTaskResponse.result.gmtCreate"));
result.setGmtModified(_ctx.stringValue("ModifyFlowControlTaskResponse.result.gmtModified"));
result.setStatus(_ctx.stringValue("ModifyFlowControlTaskResponse.result.status"));
result.setTaskId(_ctx.stringValue("ModifyFlowControlTaskResponse.result.TaskId"));
Meta meta = new Meta();
meta.setDescription(_ctx.stringValue("ModifyFlowControlTaskResponse.result.meta.description"));
meta.setEndTime(_ctx.longValue("ModifyFlowControlTaskResponse.result.meta.endTime"));
meta.setMetaType(_ctx.stringValue("ModifyFlowControlTaskResponse.result.meta.metaType"));
meta.setSceneIds(_ctx.stringValue("ModifyFlowControlTaskResponse.result.meta.sceneIds"));
meta.setStartTime(_ctx.longValue("ModifyFlowControlTaskResponse.result.meta.startTime"));
meta.setTaskName(_ctx.stringValue("ModifyFlowControlTaskResponse.result.meta.taskName"));
Target target = new Target();
target.setType(_ctx.stringValue("ModifyFlowControlTaskResponse.result.meta.target.type"));
target.setValue(_ctx.longValue("ModifyFlowControlTaskResponse.result.meta.target.value"));
meta.setTarget(target);
List<SelectionParamsItem> selectionParams = new ArrayList<SelectionParamsItem>();
for (int i = 0; i < _ctx.lengthValue("ModifyFlowControlTaskResponse.result.meta.selectionParams.Length"); i++) {
SelectionParamsItem selectionParamsItem = new SelectionParamsItem();
selectionParamsItem.setSelectType(_ctx.stringValue("ModifyFlowControlTaskResponse.result.meta.selectionParams["+ i +"].selectType"));
selectionParamsItem.setSelectValue(_ctx.stringValue("ModifyFlowControlTaskResponse.result.meta.selectionParams["+ i +"].selectValue"));
selectionParamsItem.setSelectionOperation(_ctx.stringValue("ModifyFlowControlTaskResponse.result.meta.selectionParams["+ i +"].selectionOperation"));
selectionParams.add(selectionParamsItem);
}
meta.setSelectionParams(selectionParams);
result.setMeta(meta);
modifyFlowControlTaskResponse.setResult(result);
return modifyFlowControlTaskResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ModifyInstanceResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.ModifyInstanceResponse;
import com.aliyuncs.airec.model.v20201126.ModifyInstanceResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyInstanceResponseUnmarshaller {
public static ModifyInstanceResponse unmarshall(ModifyInstanceResponse modifyInstanceResponse, UnmarshallerContext _ctx) {
modifyInstanceResponse.setCode(_ctx.stringValue("ModifyInstanceResponse.code"));
modifyInstanceResponse.setRequestId(_ctx.stringValue("ModifyInstanceResponse.requestId"));
modifyInstanceResponse.setMessage(_ctx.stringValue("ModifyInstanceResponse.message"));
Result result = new Result();
result.setRegionId(_ctx.stringValue("ModifyInstanceResponse.result.regionId"));
result.setType(_ctx.stringValue("ModifyInstanceResponse.result.type"));
result.setLockMode(_ctx.stringValue("ModifyInstanceResponse.result.lockMode"));
result.setExpiredTime(_ctx.stringValue("ModifyInstanceResponse.result.expiredTime"));
result.setStatus(_ctx.stringValue("ModifyInstanceResponse.result.status"));
result.setGmtCreate(_ctx.stringValue("ModifyInstanceResponse.result.gmtCreate"));
result.setChargeType(_ctx.stringValue("ModifyInstanceResponse.result.chargeType"));
result.setIndustry(_ctx.stringValue("ModifyInstanceResponse.result.industry"));
result.setCommodityCode(_ctx.stringValue("ModifyInstanceResponse.result.commodityCode"));
result.setGmtModified(_ctx.stringValue("ModifyInstanceResponse.result.gmtModified"));
result.setDataSetVersion(_ctx.stringValue("ModifyInstanceResponse.result.dataSetVersion"));
result.setName(_ctx.stringValue("ModifyInstanceResponse.result.name"));
result.setInstanceId(_ctx.stringValue("ModifyInstanceResponse.result.instanceId"));
modifyInstanceResponse.setResult(result);
return modifyInstanceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ModifyItemsResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.ModifyItemsResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyItemsResponseUnmarshaller {
public static ModifyItemsResponse unmarshall(ModifyItemsResponse modifyItemsResponse, UnmarshallerContext _ctx) {
modifyItemsResponse.setResult(_ctx.booleanValue("ModifyItemsResponse.result"));
modifyItemsResponse.setRequestId(_ctx.stringValue("ModifyItemsResponse.requestId"));
return modifyItemsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ModifyOfflineStoragesResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.ModifyOfflineStoragesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyOfflineStoragesResponseUnmarshaller {
public static ModifyOfflineStoragesResponse unmarshall(ModifyOfflineStoragesResponse modifyOfflineStoragesResponse, UnmarshallerContext _ctx) {
modifyOfflineStoragesResponse.setRequestId(_ctx.stringValue("ModifyOfflineStoragesResponse.requestId"));
modifyOfflineStoragesResponse.setResult(_ctx.booleanValue("ModifyOfflineStoragesResponse.result"));
return modifyOfflineStoragesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ModifyRankingModelResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.ModifyRankingModelResponse;
import com.aliyuncs.airec.model.v20201126.ModifyRankingModelResponse.Result;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyRankingModelResponseUnmarshaller {
public static ModifyRankingModelResponse unmarshall(ModifyRankingModelResponse modifyRankingModelResponse, UnmarshallerContext _ctx) {
modifyRankingModelResponse.setCode(_ctx.stringValue("ModifyRankingModelResponse.code"));
modifyRankingModelResponse.setRequestId(_ctx.stringValue("ModifyRankingModelResponse.requestId"));
modifyRankingModelResponse.setMessage(_ctx.stringValue("ModifyRankingModelResponse.message"));
Result result = new Result();
result.setRankingModelId(_ctx.stringValue("ModifyRankingModelResponse.result.rankingModelId"));
result.setGmtModified(_ctx.stringValue("ModifyRankingModelResponse.result.gmtModified"));
result.setGmtCreate(_ctx.stringValue("ModifyRankingModelResponse.result.gmtCreate"));
result.setMeta(_ctx.mapValue("ModifyRankingModelResponse.result.meta"));
modifyRankingModelResponse.setResult(result);
return modifyRankingModelResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ModifyRankingModelTemplateResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.ModifyRankingModelTemplateResponse;
import com.aliyuncs.airec.model.v20201126.ModifyRankingModelTemplateResponse.Result;
import com.aliyuncs.airec.model.v20201126.ModifyRankingModelTemplateResponse.Result.Meta;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyRankingModelTemplateResponseUnmarshaller {
public static ModifyRankingModelTemplateResponse unmarshall(ModifyRankingModelTemplateResponse modifyRankingModelTemplateResponse, UnmarshallerContext _ctx) {
modifyRankingModelTemplateResponse.setRequestId(_ctx.stringValue("ModifyRankingModelTemplateResponse.requestId"));
Result result = new Result();
result.setStatus(_ctx.stringValue("ModifyRankingModelTemplateResponse.result.Status"));
result.setVersionNum(_ctx.longValue("ModifyRankingModelTemplateResponse.result.VersionNum"));
result.setTemplateId(_ctx.stringValue("ModifyRankingModelTemplateResponse.result.TemplateId"));
Meta meta = new Meta();
meta.setAuthorized(_ctx.booleanValue("ModifyRankingModelTemplateResponse.result.Meta.Authorized"));
meta.setAutoRun(_ctx.booleanValue("ModifyRankingModelTemplateResponse.result.Meta.AutoRun"));
meta.setAutoRunTime(_ctx.longValue("ModifyRankingModelTemplateResponse.result.Meta.AutoRunTime"));
meta.setAutoRunType(_ctx.stringValue("ModifyRankingModelTemplateResponse.result.Meta.AutoRunType"));
meta.setConf(_ctx.stringValue("ModifyRankingModelTemplateResponse.result.Meta.Conf"));
meta.setLastEditTime(_ctx.stringValue("ModifyRankingModelTemplateResponse.result.Meta.LastEditTime"));
meta.setOssArn(_ctx.stringValue("ModifyRankingModelTemplateResponse.result.Meta.OssArn"));
meta.setOssBucket(_ctx.stringValue("ModifyRankingModelTemplateResponse.result.Meta.OssBucket"));
meta.setOssEndpoint(_ctx.stringValue("ModifyRankingModelTemplateResponse.result.Meta.OssEndpoint"));
meta.setSampleId(_ctx.stringValue("ModifyRankingModelTemplateResponse.result.Meta.SampleId"));
meta.setSampleName(_ctx.stringValue("ModifyRankingModelTemplateResponse.result.Meta.SampleName"));
meta.setSampleTimeWindow(_ctx.longValue("ModifyRankingModelTemplateResponse.result.Meta.SampleTimeWindow"));
meta.setSampleTimeWindowType(_ctx.stringValue("ModifyRankingModelTemplateResponse.result.Meta.SampleTimeWindowType"));
meta.setType(_ctx.stringValue("ModifyRankingModelTemplateResponse.result.Meta.Type"));
meta.setName(_ctx.stringValue("ModifyRankingModelTemplateResponse.result.Meta.Name"));
meta.setDeployStatus(_ctx.stringValue("ModifyRankingModelTemplateResponse.result.Meta.DeployStatus"));
meta.setCanDeploy(_ctx.booleanValue("ModifyRankingModelTemplateResponse.result.Meta.CanDeploy"));
result.setMeta(meta);
modifyRankingModelTemplateResponse.setResult(result);
return modifyRankingModelTemplateResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ModifyRankingSystemResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ModifyRankingSystemResponse;
import com.aliyuncs.airec.model.v20201126.ModifyRankingSystemResponse.Result;
import com.aliyuncs.airec.model.v20201126.ModifyRankingSystemResponse.Result.Meta;
import com.aliyuncs.airec.model.v20201126.ModifyRankingSystemResponse.Result.Meta.PredictEngine;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyRankingSystemResponseUnmarshaller {
public static ModifyRankingSystemResponse unmarshall(ModifyRankingSystemResponse modifyRankingSystemResponse, UnmarshallerContext _ctx) {
modifyRankingSystemResponse.setRequestId(_ctx.stringValue("ModifyRankingSystemResponse.requestId"));
Result result = new Result();
result.setApplyStatus(_ctx.stringValue("ModifyRankingSystemResponse.result.ApplyStatus"));
result.setDeployStatus(_ctx.stringValue("ModifyRankingSystemResponse.result.DeployStatus"));
result.setName(_ctx.stringValue("ModifyRankingSystemResponse.result.Name"));
result.setModelTemplateId(_ctx.stringValue("ModifyRankingSystemResponse.result.ModelTemplateId"));
List<Long> sceneIdList = new ArrayList<Long>();
for (int i = 0; i < _ctx.lengthValue("ModifyRankingSystemResponse.result.SceneIdList.Length"); i++) {
sceneIdList.add(_ctx.longValue("ModifyRankingSystemResponse.result.SceneIdList["+ i +"]"));
}
result.setSceneIdList(sceneIdList);
Meta meta = new Meta();
meta.setAutoDeploy(_ctx.booleanValue("ModifyRankingSystemResponse.result.Meta.AutoDeploy"));
meta.setAutoDeployAuc(_ctx.stringValue("ModifyRankingSystemResponse.result.Meta.AutoDeployAuc"));
meta.setConf(_ctx.stringValue("ModifyRankingSystemResponse.result.Meta.Conf"));
meta.setPredictEngineType(_ctx.stringValue("ModifyRankingSystemResponse.result.Meta.PredictEngineType"));
meta.setModelVersionName(_ctx.stringValue("ModifyRankingSystemResponse.result.Meta.ModelVersionName"));
meta.setFailMsg(_ctx.stringValue("ModifyRankingSystemResponse.result.Meta.FailMsg"));
PredictEngine predictEngine = new PredictEngine();
predictEngine.setResourceId(_ctx.stringValue("ModifyRankingSystemResponse.result.Meta.PredictEngine.ResourceId"));
predictEngine.setVersion(_ctx.stringValue("ModifyRankingSystemResponse.result.Meta.PredictEngine.Version"));
predictEngine.setClusterId(_ctx.stringValue("ModifyRankingSystemResponse.result.Meta.PredictEngine.ClusterId"));
meta.setPredictEngine(predictEngine);
result.setMeta(meta);
modifyRankingSystemResponse.setResult(result);
return modifyRankingSystemResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ModifyRuleResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.ModifyRuleResponse;
import com.aliyuncs.airec.model.v20201126.ModifyRuleResponse.Result;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifyRuleResponseUnmarshaller {
public static ModifyRuleResponse unmarshall(ModifyRuleResponse modifyRuleResponse, UnmarshallerContext _ctx) {
modifyRuleResponse.setCode(_ctx.stringValue("ModifyRuleResponse.code"));
modifyRuleResponse.setRequestId(_ctx.stringValue("ModifyRuleResponse.requestId"));
modifyRuleResponse.setMessage(_ctx.stringValue("ModifyRuleResponse.message"));
Result result = new Result();
result.setRuleId(_ctx.stringValue("ModifyRuleResponse.result.ruleId"));
result.setRuleMeta(_ctx.mapValue("ModifyRuleResponse.result.ruleMeta"));
result.setGmtModified(_ctx.stringValue("ModifyRuleResponse.result.gmtModified"));
result.setStatus(_ctx.stringValue("ModifyRuleResponse.result.status"));
result.setGmtCreate(_ctx.stringValue("ModifyRuleResponse.result.gmtCreate"));
modifyRuleResponse.setResult(result);
return modifyRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ModifySampleResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.ModifySampleResponse;
import com.aliyuncs.airec.model.v20201126.ModifySampleResponse.Result;
import com.aliyuncs.airec.model.v20201126.ModifySampleResponse.Result.Meta;
import com.aliyuncs.airec.model.v20201126.ModifySampleResponse.Result.Meta.Config;
import com.aliyuncs.airec.model.v20201126.ModifySampleResponse.Result.Meta.Config.FeatureConfig;
import com.aliyuncs.airec.model.v20201126.ModifySampleResponse.Result.Meta.Config.LabelLogic;
import com.aliyuncs.airec.model.v20201126.ModifySampleResponse.Result.Meta.Config.WeightLogicListItem;
import com.aliyuncs.airec.model.v20201126.ModifySampleResponse.Result.Meta.ExtendParams;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifySampleResponseUnmarshaller {
public static ModifySampleResponse unmarshall(ModifySampleResponse modifySampleResponse, UnmarshallerContext _ctx) {
modifySampleResponse.setRequestId(_ctx.stringValue("ModifySampleResponse.requestId"));
Result result = new Result();
result.setStatus(_ctx.stringValue("ModifySampleResponse.result.Status"));
result.setGmtCreate(_ctx.stringValue("ModifySampleResponse.result.GmtCreate"));
result.setGmtModified(_ctx.stringValue("ModifySampleResponse.result.GmtModified"));
result.setSampleId(_ctx.stringValue("ModifySampleResponse.result.SampleId"));
Meta meta = new Meta();
meta.setAutoUpdate(_ctx.booleanValue("ModifySampleResponse.result.Meta.AutoUpdate"));
meta.setAutoUpdateFrequency(_ctx.longValue("ModifySampleResponse.result.Meta.AutoUpdateFrequency"));
meta.setClonedId(_ctx.stringValue("ModifySampleResponse.result.Meta.ClonedId"));
meta.setMetaType(_ctx.stringValue("ModifySampleResponse.result.Meta.MetaType"));
meta.setName(_ctx.stringValue("ModifySampleResponse.result.Meta.Name"));
meta.setStoreConfig(_ctx.stringValue("ModifySampleResponse.result.Meta.StoreConfig"));
meta.setType(_ctx.stringValue("ModifySampleResponse.result.Meta.Type"));
Config config = new Config();
List<String> bhvTableSourceIds = new ArrayList<String>();
for (int i = 0; i < _ctx.lengthValue("ModifySampleResponse.result.Meta.Config.BhvTableSourceIds.Length"); i++) {
bhvTableSourceIds.add(_ctx.stringValue("ModifySampleResponse.result.Meta.Config.BhvTableSourceIds["+ i +"]"));
}
config.setBhvTableSourceIds(bhvTableSourceIds);
FeatureConfig featureConfig = new FeatureConfig();
featureConfig.setItemFeatures(_ctx.stringValue("ModifySampleResponse.result.Meta.Config.FeatureConfig.ItemFeatures"));
featureConfig.setUserFeatures(_ctx.stringValue("ModifySampleResponse.result.Meta.Config.FeatureConfig.UserFeatures"));
config.setFeatureConfig(featureConfig);
LabelLogic labelLogic = new LabelLogic();
labelLogic.setBhvTimeWindow(_ctx.longValue("ModifySampleResponse.result.Meta.Config.LabelLogic.BhvTimeWindow"));
labelLogic.setNegativeBhvTypes(_ctx.stringValue("ModifySampleResponse.result.Meta.Config.LabelLogic.NegativeBhvTypes"));
labelLogic.setPositiveBhvTypes(_ctx.stringValue("ModifySampleResponse.result.Meta.Config.LabelLogic.PositiveBhvTypes"));
config.setLabelLogic(labelLogic);
List<WeightLogicListItem> weightLogicList = new ArrayList<WeightLogicListItem>();
for (int i = 0; i < _ctx.lengthValue("ModifySampleResponse.result.Meta.Config.WeightLogicList.Length"); i++) {
WeightLogicListItem weightLogicListItem = new WeightLogicListItem();
weightLogicListItem.setBhv(_ctx.stringValue("ModifySampleResponse.result.Meta.Config.WeightLogicList["+ i +"].Bhv"));
weightLogicListItem.setWeight(_ctx.stringValue("ModifySampleResponse.result.Meta.Config.WeightLogicList["+ i +"].Weight"));
weightLogicList.add(weightLogicListItem);
}
config.setWeightLogicList(weightLogicList);
meta.setConfig(config);
ExtendParams extendParams = new ExtendParams();
extendParams.setLatestTaskStatus(_ctx.longValue("ModifySampleResponse.result.Meta.ExtendParams.LatestTaskStatus"));
extendParams.setSampleCount(_ctx.longValue("ModifySampleResponse.result.Meta.ExtendParams.SampleCount"));
meta.setExtendParams(extendParams);
result.setMeta(meta);
modifySampleResponse.setResult(result);
return modifySampleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/ModifySceneResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.ModifySceneResponse;
import com.aliyuncs.airec.model.v20201126.ModifySceneResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class ModifySceneResponseUnmarshaller {
public static ModifySceneResponse unmarshall(ModifySceneResponse modifySceneResponse, UnmarshallerContext _ctx) {
modifySceneResponse.setCode(_ctx.stringValue("ModifySceneResponse.code"));
modifySceneResponse.setRequestId(_ctx.stringValue("ModifySceneResponse.requestId"));
modifySceneResponse.setMessage(_ctx.stringValue("ModifySceneResponse.message"));
Result result = new Result();
result.setSceneId(_ctx.stringValue("ModifySceneResponse.result.sceneId"));
result.setGmtModified(_ctx.stringValue("ModifySceneResponse.result.gmtModified"));
result.setStatus(_ctx.stringValue("ModifySceneResponse.result.status"));
result.setGmtCreate(_ctx.stringValue("ModifySceneResponse.result.gmtCreate"));
modifySceneResponse.setResult(result);
return modifySceneResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/OfflineFilteringAlgorithmResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.OfflineFilteringAlgorithmResponse;
import com.aliyuncs.airec.model.v20201126.OfflineFilteringAlgorithmResponse.Result;
import com.aliyuncs.airec.model.v20201126.OfflineFilteringAlgorithmResponse.Result.Meta;
import com.aliyuncs.airec.model.v20201126.OfflineFilteringAlgorithmResponse.Result.Meta.ExtInfo;
import com.aliyuncs.airec.model.v20201126.OfflineFilteringAlgorithmResponse.Result.Meta.Threshold;
import com.aliyuncs.transform.UnmarshallerContext;
public class OfflineFilteringAlgorithmResponseUnmarshaller {
public static OfflineFilteringAlgorithmResponse unmarshall(OfflineFilteringAlgorithmResponse offlineFilteringAlgorithmResponse, UnmarshallerContext _ctx) {
offlineFilteringAlgorithmResponse.setRequestId(_ctx.stringValue("OfflineFilteringAlgorithmResponse.requestId"));
Result result = new Result();
result.setGmtModified(_ctx.stringValue("OfflineFilteringAlgorithmResponse.result.gmtModified"));
result.setStatus(_ctx.stringValue("OfflineFilteringAlgorithmResponse.result.status"));
result.setGmtCreate(_ctx.stringValue("OfflineFilteringAlgorithmResponse.result.gmtCreate"));
result.setAlgorithmId(_ctx.stringValue("OfflineFilteringAlgorithmResponse.result.algorithmId"));
Meta meta = new Meta();
meta.setTaskId(_ctx.stringValue("OfflineFilteringAlgorithmResponse.result.meta.taskId"));
meta.setMetaType(_ctx.stringValue("OfflineFilteringAlgorithmResponse.result.meta.metaType"));
meta.setType(_ctx.stringValue("OfflineFilteringAlgorithmResponse.result.meta.type"));
meta.setCategory(_ctx.stringValue("OfflineFilteringAlgorithmResponse.result.meta.category"));
meta.setTableName(_ctx.stringValue("OfflineFilteringAlgorithmResponse.result.meta.tableName"));
meta.setClusterId(_ctx.stringValue("OfflineFilteringAlgorithmResponse.result.meta.clusterId"));
meta.setCron(_ctx.stringValue("OfflineFilteringAlgorithmResponse.result.meta.cron"));
meta.setDescription(_ctx.stringValue("OfflineFilteringAlgorithmResponse.result.meta.description"));
meta.setProjectName(_ctx.stringValue("OfflineFilteringAlgorithmResponse.result.meta.projectName"));
meta.setAlgorithmName(_ctx.stringValue("OfflineFilteringAlgorithmResponse.result.meta.algorithmName"));
meta.setCronEnabled(_ctx.booleanValue("OfflineFilteringAlgorithmResponse.result.meta.cronEnabled"));
ExtInfo extInfo = new ExtInfo();
extInfo.setKvSeparator(_ctx.stringValue("OfflineFilteringAlgorithmResponse.result.meta.extInfo.kvSeparator"));
extInfo.setItemSeparator(_ctx.stringValue("OfflineFilteringAlgorithmResponse.result.meta.extInfo.itemSeparator"));
meta.setExtInfo(extInfo);
Threshold threshold = new Threshold();
threshold.setSourceDataSizeThreshold(_ctx.integerValue("OfflineFilteringAlgorithmResponse.result.meta.threshold.sourceDataSizeThreshold"));
threshold.setSourceDataRecordThreshold(_ctx.integerValue("OfflineFilteringAlgorithmResponse.result.meta.threshold.sourceDataRecordThreshold"));
threshold.setIndexSizeThreshold(_ctx.integerValue("OfflineFilteringAlgorithmResponse.result.meta.threshold.indexSizeThreshold"));
threshold.setIndexLossThreshold(_ctx.integerValue("OfflineFilteringAlgorithmResponse.result.meta.threshold.indexLossThreshold"));
meta.setThreshold(threshold);
result.setMeta(meta);
offlineFilteringAlgorithmResponse.setResult(result);
return offlineFilteringAlgorithmResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/PublishFlowControlTaskResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.PublishFlowControlTaskResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class PublishFlowControlTaskResponseUnmarshaller {
public static PublishFlowControlTaskResponse unmarshall(PublishFlowControlTaskResponse publishFlowControlTaskResponse, UnmarshallerContext _ctx) {
publishFlowControlTaskResponse.setRequestId(_ctx.stringValue("PublishFlowControlTaskResponse.requestId"));
publishFlowControlTaskResponse.setResult(_ctx.booleanValue("PublishFlowControlTaskResponse.result"));
return publishFlowControlTaskResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/PublishRuleResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.PublishRuleResponse;
import com.aliyuncs.airec.model.v20201126.PublishRuleResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class PublishRuleResponseUnmarshaller {
public static PublishRuleResponse unmarshall(PublishRuleResponse publishRuleResponse, UnmarshallerContext _ctx) {
publishRuleResponse.setCode(_ctx.stringValue("PublishRuleResponse.code"));
publishRuleResponse.setRequestId(_ctx.stringValue("PublishRuleResponse.requestId"));
publishRuleResponse.setMessage(_ctx.stringValue("PublishRuleResponse.message"));
Result result = new Result();
result.setRuleId(_ctx.stringValue("PublishRuleResponse.result.ruleId"));
publishRuleResponse.setResult(result);
return publishRuleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/PushColdStartDocumentResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.PushColdStartDocumentResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class PushColdStartDocumentResponseUnmarshaller {
public static PushColdStartDocumentResponse unmarshall(PushColdStartDocumentResponse pushColdStartDocumentResponse, UnmarshallerContext _ctx) {
pushColdStartDocumentResponse.setRequestId(_ctx.stringValue("PushColdStartDocumentResponse.requestId"));
pushColdStartDocumentResponse.setResult(_ctx.booleanValue("PushColdStartDocumentResponse.result"));
return pushColdStartDocumentResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/PushDocumentResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.PushDocumentResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class PushDocumentResponseUnmarshaller {
public static PushDocumentResponse unmarshall(PushDocumentResponse pushDocumentResponse, UnmarshallerContext _ctx) {
pushDocumentResponse.setResult(_ctx.booleanValue("PushDocumentResponse.result"));
pushDocumentResponse.setCode(_ctx.stringValue("PushDocumentResponse.code"));
pushDocumentResponse.setRequestId(_ctx.stringValue("PushDocumentResponse.requestId"));
pushDocumentResponse.setMessage(_ctx.stringValue("PushDocumentResponse.message"));
return pushDocumentResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/PushInterventionResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.PushInterventionResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class PushInterventionResponseUnmarshaller {
public static PushInterventionResponse unmarshall(PushInterventionResponse pushInterventionResponse, UnmarshallerContext _ctx) {
pushInterventionResponse.setResult(_ctx.booleanValue("PushInterventionResponse.result"));
pushInterventionResponse.setCode(_ctx.stringValue("PushInterventionResponse.code"));
pushInterventionResponse.setRequestId(_ctx.stringValue("PushInterventionResponse.requestId"));
pushInterventionResponse.setMessage(_ctx.stringValue("PushInterventionResponse.message"));
return pushInterventionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/QueryDataMessageResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.QueryDataMessageResponse;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryDataMessageResponseUnmarshaller {
public static QueryDataMessageResponse unmarshall(QueryDataMessageResponse queryDataMessageResponse, UnmarshallerContext _ctx) {
queryDataMessageResponse.setResult(_ctx.mapValue("QueryDataMessageResponse.result"));
queryDataMessageResponse.setCode(_ctx.stringValue("QueryDataMessageResponse.code"));
queryDataMessageResponse.setRequestId(_ctx.stringValue("QueryDataMessageResponse.requestId"));
queryDataMessageResponse.setMessage(_ctx.stringValue("QueryDataMessageResponse.message"));
return queryDataMessageResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/QueryDataMessageStatisticsResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.QueryDataMessageStatisticsResponse;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryDataMessageStatisticsResponseUnmarshaller {
public static QueryDataMessageStatisticsResponse unmarshall(QueryDataMessageStatisticsResponse queryDataMessageStatisticsResponse, UnmarshallerContext _ctx) {
queryDataMessageStatisticsResponse.setResult(_ctx.mapValue("QueryDataMessageStatisticsResponse.result"));
queryDataMessageStatisticsResponse.setCode(_ctx.stringValue("QueryDataMessageStatisticsResponse.code"));
queryDataMessageStatisticsResponse.setRequestId(_ctx.stringValue("QueryDataMessageStatisticsResponse.requestId"));
queryDataMessageStatisticsResponse.setMessage(_ctx.stringValue("QueryDataMessageStatisticsResponse.message"));
return queryDataMessageStatisticsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/QueryExceptionHistoryResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.QueryExceptionHistoryResponse;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryExceptionHistoryResponseUnmarshaller {
public static QueryExceptionHistoryResponse unmarshall(QueryExceptionHistoryResponse queryExceptionHistoryResponse, UnmarshallerContext _ctx) {
queryExceptionHistoryResponse.setResult(_ctx.mapValue("QueryExceptionHistoryResponse.result"));
queryExceptionHistoryResponse.setCode(_ctx.stringValue("QueryExceptionHistoryResponse.code"));
queryExceptionHistoryResponse.setRequestId(_ctx.stringValue("QueryExceptionHistoryResponse.requestId"));
queryExceptionHistoryResponse.setMessage(_ctx.stringValue("QueryExceptionHistoryResponse.message"));
return queryExceptionHistoryResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/QueryRawDataResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.QueryRawDataResponse;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryRawDataResponseUnmarshaller {
public static QueryRawDataResponse unmarshall(QueryRawDataResponse queryRawDataResponse, UnmarshallerContext _ctx) {
queryRawDataResponse.setResult(_ctx.mapValue("QueryRawDataResponse.result"));
queryRawDataResponse.setCode(_ctx.stringValue("QueryRawDataResponse.code"));
queryRawDataResponse.setMessage(_ctx.stringValue("QueryRawDataResponse.Message"));
queryRawDataResponse.setRequestId(_ctx.stringValue("QueryRawDataResponse.requestId"));
return queryRawDataResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/QuerySingleAggregationReportResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.QuerySingleAggregationReportResponse;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class QuerySingleAggregationReportResponseUnmarshaller {
public static QuerySingleAggregationReportResponse unmarshall(QuerySingleAggregationReportResponse querySingleAggregationReportResponse, UnmarshallerContext _ctx) {
querySingleAggregationReportResponse.setResult(_ctx.mapValue("QuerySingleAggregationReportResponse.result"));
querySingleAggregationReportResponse.setCode(_ctx.stringValue("QuerySingleAggregationReportResponse.code"));
querySingleAggregationReportResponse.setRequestId(_ctx.stringValue("QuerySingleAggregationReportResponse.requestId"));
querySingleAggregationReportResponse.setMessage(_ctx.stringValue("QuerySingleAggregationReportResponse.message"));
return querySingleAggregationReportResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/QuerySingleReportResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.QuerySingleReportResponse;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class QuerySingleReportResponseUnmarshaller {
public static QuerySingleReportResponse unmarshall(QuerySingleReportResponse querySingleReportResponse, UnmarshallerContext _ctx) {
querySingleReportResponse.setResult(_ctx.mapValue("QuerySingleReportResponse.result"));
querySingleReportResponse.setCode(_ctx.stringValue("QuerySingleReportResponse.code"));
querySingleReportResponse.setRequestId(_ctx.stringValue("QuerySingleReportResponse.requestId"));
querySingleReportResponse.setMessage(_ctx.stringValue("QuerySingleReportResponse.message"));
return querySingleReportResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/QuerySyncReportAggregationResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.QuerySyncReportAggregationResponse;
import java.util.Map;
import com.aliyuncs.transform.UnmarshallerContext;
public class QuerySyncReportAggregationResponseUnmarshaller {
public static QuerySyncReportAggregationResponse unmarshall(QuerySyncReportAggregationResponse querySyncReportAggregationResponse, UnmarshallerContext _ctx) {
querySyncReportAggregationResponse.setResult(_ctx.mapValue("QuerySyncReportAggregationResponse.result"));
querySyncReportAggregationResponse.setCode(_ctx.stringValue("QuerySyncReportAggregationResponse.code"));
querySyncReportAggregationResponse.setRequestId(_ctx.stringValue("QuerySyncReportAggregationResponse.requestId"));
querySyncReportAggregationResponse.setMessage(_ctx.stringValue("QuerySyncReportAggregationResponse.message"));
return querySyncReportAggregationResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/RebuildIndexResponseUnmarshaller.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.transform.v20201126;
import com.aliyuncs.airec.model.v20201126.RebuildIndexResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class RebuildIndexResponseUnmarshaller {
public static RebuildIndexResponse unmarshall(RebuildIndexResponse rebuildIndexResponse, UnmarshallerContext _ctx) {
rebuildIndexResponse.setResult(_ctx.stringValue("RebuildIndexResponse.result"));
rebuildIndexResponse.setRequestId(_ctx.stringValue("RebuildIndexResponse.requestId"));
return rebuildIndexResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform
|
java-sources/com/aliyun/aliyun-java-sdk-airec/2.3.0/com/aliyuncs/airec/transform/v20201126/RecommendResponseUnmarshaller.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.transform.v20201126;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.airec.model.v20201126.RecommendResponse;
import com.aliyuncs.airec.model.v20201126.RecommendResponse.ResultItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class RecommendResponseUnmarshaller {
public static RecommendResponse unmarshall(RecommendResponse recommendResponse, UnmarshallerContext _ctx) {
recommendResponse.setCode(_ctx.stringValue("RecommendResponse.code"));
recommendResponse.setRequestId(_ctx.stringValue("RecommendResponse.requestId"));
recommendResponse.setMessage(_ctx.stringValue("RecommendResponse.message"));
List<ResultItem> result = new ArrayList<ResultItem>();
for (int i = 0; i < _ctx.lengthValue("RecommendResponse.result.Length"); i++) {
ResultItem resultItem = new ResultItem();
resultItem.setMatchInfo(_ctx.stringValue("RecommendResponse.result["+ i +"].matchInfo"));
resultItem.setTraceId(_ctx.stringValue("RecommendResponse.result["+ i +"].traceId"));
resultItem.setPosition(_ctx.integerValue("RecommendResponse.result["+ i +"].position"));
resultItem.setItemId(_ctx.stringValue("RecommendResponse.result["+ i +"].itemId"));
resultItem.setItemType(_ctx.stringValue("RecommendResponse.result["+ i +"].itemType"));
resultItem.setTraceInfo(_ctx.stringValue("RecommendResponse.result["+ i +"].traceInfo"));
resultItem.setWeight(_ctx.floatValue("RecommendResponse.result["+ i +"].weight"));
resultItem.setFlowWeight(_ctx.doubleValue("RecommendResponse.result["+ i +"].flowWeight"));
resultItem.setMessage(_ctx.stringValue("RecommendResponse.result["+ i +"].message"));
result.add(resultItem);
}
recommendResponse.setResult(result);
return recommendResponse;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.