index
int64
repo_id
string
file_path
string
content
string
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/CreateConsumerGroupResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.CreateConsumerGroupResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateConsumerGroupResponseUnmarshaller { public static CreateConsumerGroupResponse unmarshall(CreateConsumerGroupResponse createConsumerGroupResponse, UnmarshallerContext _ctx) { createConsumerGroupResponse.setRequestId(_ctx.stringValue("CreateConsumerGroupResponse.RequestId")); createConsumerGroupResponse.setCode(_ctx.integerValue("CreateConsumerGroupResponse.Code")); createConsumerGroupResponse.setMessage(_ctx.stringValue("CreateConsumerGroupResponse.Message")); createConsumerGroupResponse.setSuccess(_ctx.booleanValue("CreateConsumerGroupResponse.Success")); return createConsumerGroupResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/CreatePostPayInstanceResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.CreatePostPayInstanceResponse; import com.aliyuncs.alikafka.model.v20190916.CreatePostPayInstanceResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class CreatePostPayInstanceResponseUnmarshaller { public static CreatePostPayInstanceResponse unmarshall(CreatePostPayInstanceResponse createPostPayInstanceResponse, UnmarshallerContext _ctx) { createPostPayInstanceResponse.setRequestId(_ctx.stringValue("CreatePostPayInstanceResponse.RequestId")); createPostPayInstanceResponse.setCode(_ctx.integerValue("CreatePostPayInstanceResponse.Code")); createPostPayInstanceResponse.setMessage(_ctx.stringValue("CreatePostPayInstanceResponse.Message")); createPostPayInstanceResponse.setSuccess(_ctx.booleanValue("CreatePostPayInstanceResponse.Success")); Data data = new Data(); data.setOrderId(_ctx.longValue("CreatePostPayInstanceResponse.Data.OrderId")); data.setInstanceId(_ctx.stringValue("CreatePostPayInstanceResponse.Data.InstanceId")); createPostPayInstanceResponse.setData(data); return createPostPayInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/CreatePostPayOrderResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.CreatePostPayOrderResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreatePostPayOrderResponseUnmarshaller { public static CreatePostPayOrderResponse unmarshall(CreatePostPayOrderResponse createPostPayOrderResponse, UnmarshallerContext _ctx) { createPostPayOrderResponse.setRequestId(_ctx.stringValue("CreatePostPayOrderResponse.RequestId")); createPostPayOrderResponse.setCode(_ctx.integerValue("CreatePostPayOrderResponse.Code")); createPostPayOrderResponse.setMessage(_ctx.stringValue("CreatePostPayOrderResponse.Message")); createPostPayOrderResponse.setSuccess(_ctx.booleanValue("CreatePostPayOrderResponse.Success")); createPostPayOrderResponse.setOrderId(_ctx.stringValue("CreatePostPayOrderResponse.OrderId")); return createPostPayOrderResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/CreatePrePayInstanceResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.CreatePrePayInstanceResponse; import com.aliyuncs.alikafka.model.v20190916.CreatePrePayInstanceResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class CreatePrePayInstanceResponseUnmarshaller { public static CreatePrePayInstanceResponse unmarshall(CreatePrePayInstanceResponse createPrePayInstanceResponse, UnmarshallerContext _ctx) { createPrePayInstanceResponse.setRequestId(_ctx.stringValue("CreatePrePayInstanceResponse.RequestId")); createPrePayInstanceResponse.setCode(_ctx.integerValue("CreatePrePayInstanceResponse.Code")); createPrePayInstanceResponse.setMessage(_ctx.stringValue("CreatePrePayInstanceResponse.Message")); createPrePayInstanceResponse.setSuccess(_ctx.booleanValue("CreatePrePayInstanceResponse.Success")); Data data = new Data(); data.setOrderId(_ctx.longValue("CreatePrePayInstanceResponse.Data.OrderId")); data.setInstanceId(_ctx.stringValue("CreatePrePayInstanceResponse.Data.InstanceId")); createPrePayInstanceResponse.setData(data); return createPrePayInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/CreatePrePayOrderResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.CreatePrePayOrderResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreatePrePayOrderResponseUnmarshaller { public static CreatePrePayOrderResponse unmarshall(CreatePrePayOrderResponse createPrePayOrderResponse, UnmarshallerContext _ctx) { createPrePayOrderResponse.setRequestId(_ctx.stringValue("CreatePrePayOrderResponse.RequestId")); createPrePayOrderResponse.setCode(_ctx.integerValue("CreatePrePayOrderResponse.Code")); createPrePayOrderResponse.setMessage(_ctx.stringValue("CreatePrePayOrderResponse.Message")); createPrePayOrderResponse.setSuccess(_ctx.booleanValue("CreatePrePayOrderResponse.Success")); createPrePayOrderResponse.setOrderId(_ctx.stringValue("CreatePrePayOrderResponse.OrderId")); return createPrePayOrderResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/CreateSaslUserResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.CreateSaslUserResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateSaslUserResponseUnmarshaller { public static CreateSaslUserResponse unmarshall(CreateSaslUserResponse createSaslUserResponse, UnmarshallerContext _ctx) { createSaslUserResponse.setRequestId(_ctx.stringValue("CreateSaslUserResponse.RequestId")); createSaslUserResponse.setCode(_ctx.integerValue("CreateSaslUserResponse.Code")); createSaslUserResponse.setMessage(_ctx.stringValue("CreateSaslUserResponse.Message")); createSaslUserResponse.setSuccess(_ctx.booleanValue("CreateSaslUserResponse.Success")); return createSaslUserResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/CreateScheduledScalingRuleResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.CreateScheduledScalingRuleResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateScheduledScalingRuleResponseUnmarshaller { public static CreateScheduledScalingRuleResponse unmarshall(CreateScheduledScalingRuleResponse createScheduledScalingRuleResponse, UnmarshallerContext _ctx) { createScheduledScalingRuleResponse.setRequestId(_ctx.stringValue("CreateScheduledScalingRuleResponse.RequestId")); createScheduledScalingRuleResponse.setSuccess(_ctx.booleanValue("CreateScheduledScalingRuleResponse.Success")); createScheduledScalingRuleResponse.setCode(_ctx.longValue("CreateScheduledScalingRuleResponse.Code")); createScheduledScalingRuleResponse.setMessage(_ctx.stringValue("CreateScheduledScalingRuleResponse.Message")); return createScheduledScalingRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/CreateTopicResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.CreateTopicResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateTopicResponseUnmarshaller { public static CreateTopicResponse unmarshall(CreateTopicResponse createTopicResponse, UnmarshallerContext _ctx) { createTopicResponse.setRequestId(_ctx.stringValue("CreateTopicResponse.RequestId")); createTopicResponse.setCode(_ctx.integerValue("CreateTopicResponse.Code")); createTopicResponse.setMessage(_ctx.stringValue("CreateTopicResponse.Message")); createTopicResponse.setSuccess(_ctx.booleanValue("CreateTopicResponse.Success")); return createTopicResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/DeleteAclResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.DeleteAclResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteAclResponseUnmarshaller { public static DeleteAclResponse unmarshall(DeleteAclResponse deleteAclResponse, UnmarshallerContext _ctx) { deleteAclResponse.setRequestId(_ctx.stringValue("DeleteAclResponse.RequestId")); deleteAclResponse.setCode(_ctx.integerValue("DeleteAclResponse.Code")); deleteAclResponse.setMessage(_ctx.stringValue("DeleteAclResponse.Message")); deleteAclResponse.setSuccess(_ctx.booleanValue("DeleteAclResponse.Success")); return deleteAclResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/DeleteConsumerGroupResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.DeleteConsumerGroupResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteConsumerGroupResponseUnmarshaller { public static DeleteConsumerGroupResponse unmarshall(DeleteConsumerGroupResponse deleteConsumerGroupResponse, UnmarshallerContext _ctx) { deleteConsumerGroupResponse.setRequestId(_ctx.stringValue("DeleteConsumerGroupResponse.RequestId")); deleteConsumerGroupResponse.setCode(_ctx.integerValue("DeleteConsumerGroupResponse.Code")); deleteConsumerGroupResponse.setMessage(_ctx.stringValue("DeleteConsumerGroupResponse.Message")); deleteConsumerGroupResponse.setSuccess(_ctx.booleanValue("DeleteConsumerGroupResponse.Success")); return deleteConsumerGroupResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/DeleteInstanceResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.DeleteInstanceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteInstanceResponseUnmarshaller { public static DeleteInstanceResponse unmarshall(DeleteInstanceResponse deleteInstanceResponse, UnmarshallerContext _ctx) { deleteInstanceResponse.setRequestId(_ctx.stringValue("DeleteInstanceResponse.RequestId")); deleteInstanceResponse.setCode(_ctx.integerValue("DeleteInstanceResponse.Code")); deleteInstanceResponse.setMessage(_ctx.stringValue("DeleteInstanceResponse.Message")); deleteInstanceResponse.setSuccess(_ctx.booleanValue("DeleteInstanceResponse.Success")); return deleteInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/DeleteSaslUserResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.DeleteSaslUserResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteSaslUserResponseUnmarshaller { public static DeleteSaslUserResponse unmarshall(DeleteSaslUserResponse deleteSaslUserResponse, UnmarshallerContext _ctx) { deleteSaslUserResponse.setRequestId(_ctx.stringValue("DeleteSaslUserResponse.RequestId")); deleteSaslUserResponse.setCode(_ctx.integerValue("DeleteSaslUserResponse.Code")); deleteSaslUserResponse.setMessage(_ctx.stringValue("DeleteSaslUserResponse.Message")); deleteSaslUserResponse.setSuccess(_ctx.booleanValue("DeleteSaslUserResponse.Success")); return deleteSaslUserResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/DeleteScheduledScalingRuleResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.DeleteScheduledScalingRuleResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteScheduledScalingRuleResponseUnmarshaller { public static DeleteScheduledScalingRuleResponse unmarshall(DeleteScheduledScalingRuleResponse deleteScheduledScalingRuleResponse, UnmarshallerContext _ctx) { deleteScheduledScalingRuleResponse.setRequestId(_ctx.stringValue("DeleteScheduledScalingRuleResponse.RequestId")); deleteScheduledScalingRuleResponse.setSuccess(_ctx.booleanValue("DeleteScheduledScalingRuleResponse.Success")); deleteScheduledScalingRuleResponse.setCode(_ctx.longValue("DeleteScheduledScalingRuleResponse.Code")); deleteScheduledScalingRuleResponse.setMessage(_ctx.stringValue("DeleteScheduledScalingRuleResponse.Message")); return deleteScheduledScalingRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/DeleteTopicResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.DeleteTopicResponse; import com.aliyuncs.transform.UnmarshallerContext; public class DeleteTopicResponseUnmarshaller { public static DeleteTopicResponse unmarshall(DeleteTopicResponse deleteTopicResponse, UnmarshallerContext _ctx) { deleteTopicResponse.setRequestId(_ctx.stringValue("DeleteTopicResponse.RequestId")); deleteTopicResponse.setCode(_ctx.integerValue("DeleteTopicResponse.Code")); deleteTopicResponse.setMessage(_ctx.stringValue("DeleteTopicResponse.Message")); deleteTopicResponse.setSuccess(_ctx.booleanValue("DeleteTopicResponse.Success")); return deleteTopicResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/DescribeAclsResponseUnmarshaller.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.alikafka.transform.v20190916; import java.util.ArrayList; import java.util.List; import com.aliyuncs.alikafka.model.v20190916.DescribeAclsResponse; import com.aliyuncs.alikafka.model.v20190916.DescribeAclsResponse.KafkaAclVO; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeAclsResponseUnmarshaller { public static DescribeAclsResponse unmarshall(DescribeAclsResponse describeAclsResponse, UnmarshallerContext _ctx) { describeAclsResponse.setRequestId(_ctx.stringValue("DescribeAclsResponse.RequestId")); describeAclsResponse.setCode(_ctx.integerValue("DescribeAclsResponse.Code")); describeAclsResponse.setMessage(_ctx.stringValue("DescribeAclsResponse.Message")); describeAclsResponse.setSuccess(_ctx.booleanValue("DescribeAclsResponse.Success")); List<KafkaAclVO> kafkaAclList = new ArrayList<KafkaAclVO>(); for (int i = 0; i < _ctx.lengthValue("DescribeAclsResponse.KafkaAclList.Length"); i++) { KafkaAclVO kafkaAclVO = new KafkaAclVO(); kafkaAclVO.setAclResourceType(_ctx.stringValue("DescribeAclsResponse.KafkaAclList["+ i +"].AclResourceType")); kafkaAclVO.setHost(_ctx.stringValue("DescribeAclsResponse.KafkaAclList["+ i +"].Host")); kafkaAclVO.setAclOperationType(_ctx.stringValue("DescribeAclsResponse.KafkaAclList["+ i +"].AclOperationType")); kafkaAclVO.setAclResourceName(_ctx.stringValue("DescribeAclsResponse.KafkaAclList["+ i +"].AclResourceName")); kafkaAclVO.setAclResourcePatternType(_ctx.stringValue("DescribeAclsResponse.KafkaAclList["+ i +"].AclResourcePatternType")); kafkaAclVO.setUsername(_ctx.stringValue("DescribeAclsResponse.KafkaAclList["+ i +"].Username")); kafkaAclVO.setAclPermissionType(_ctx.stringValue("DescribeAclsResponse.KafkaAclList["+ i +"].AclPermissionType")); kafkaAclList.add(kafkaAclVO); } describeAclsResponse.setKafkaAclList(kafkaAclList); return describeAclsResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/DescribeSaslUsersResponseUnmarshaller.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.alikafka.transform.v20190916; import java.util.ArrayList; import java.util.List; import com.aliyuncs.alikafka.model.v20190916.DescribeSaslUsersResponse; import com.aliyuncs.alikafka.model.v20190916.DescribeSaslUsersResponse.SaslUserVO; import com.aliyuncs.transform.UnmarshallerContext; public class DescribeSaslUsersResponseUnmarshaller { public static DescribeSaslUsersResponse unmarshall(DescribeSaslUsersResponse describeSaslUsersResponse, UnmarshallerContext _ctx) { describeSaslUsersResponse.setRequestId(_ctx.stringValue("DescribeSaslUsersResponse.RequestId")); describeSaslUsersResponse.setCode(_ctx.integerValue("DescribeSaslUsersResponse.Code")); describeSaslUsersResponse.setMessage(_ctx.stringValue("DescribeSaslUsersResponse.Message")); describeSaslUsersResponse.setSuccess(_ctx.booleanValue("DescribeSaslUsersResponse.Success")); List<SaslUserVO> saslUserList = new ArrayList<SaslUserVO>(); for (int i = 0; i < _ctx.lengthValue("DescribeSaslUsersResponse.SaslUserList.Length"); i++) { SaslUserVO saslUserVO = new SaslUserVO(); saslUserVO.setType(_ctx.stringValue("DescribeSaslUsersResponse.SaslUserList["+ i +"].Type")); saslUserVO.setPassword(_ctx.stringValue("DescribeSaslUsersResponse.SaslUserList["+ i +"].Password")); saslUserVO.setUsername(_ctx.stringValue("DescribeSaslUsersResponse.SaslUserList["+ i +"].Username")); saslUserVO.setMechanism(_ctx.stringValue("DescribeSaslUsersResponse.SaslUserList["+ i +"].Mechanism")); saslUserList.add(saslUserVO); } describeSaslUsersResponse.setSaslUserList(saslUserList); return describeSaslUsersResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/EnableAutoGroupCreationResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.EnableAutoGroupCreationResponse; import com.aliyuncs.transform.UnmarshallerContext; public class EnableAutoGroupCreationResponseUnmarshaller { public static EnableAutoGroupCreationResponse unmarshall(EnableAutoGroupCreationResponse enableAutoGroupCreationResponse, UnmarshallerContext _ctx) { enableAutoGroupCreationResponse.setRequestId(_ctx.stringValue("EnableAutoGroupCreationResponse.RequestId")); enableAutoGroupCreationResponse.setCode(_ctx.integerValue("EnableAutoGroupCreationResponse.Code")); enableAutoGroupCreationResponse.setMessage(_ctx.stringValue("EnableAutoGroupCreationResponse.Message")); enableAutoGroupCreationResponse.setSuccess(_ctx.booleanValue("EnableAutoGroupCreationResponse.Success")); return enableAutoGroupCreationResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/EnableAutoTopicCreationResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.EnableAutoTopicCreationResponse; import com.aliyuncs.transform.UnmarshallerContext; public class EnableAutoTopicCreationResponseUnmarshaller { public static EnableAutoTopicCreationResponse unmarshall(EnableAutoTopicCreationResponse enableAutoTopicCreationResponse, UnmarshallerContext _ctx) { enableAutoTopicCreationResponse.setRequestId(_ctx.stringValue("EnableAutoTopicCreationResponse.RequestId")); enableAutoTopicCreationResponse.setCode(_ctx.integerValue("EnableAutoTopicCreationResponse.Code")); enableAutoTopicCreationResponse.setMessage(_ctx.stringValue("EnableAutoTopicCreationResponse.Message")); enableAutoTopicCreationResponse.setSuccess(_ctx.booleanValue("EnableAutoTopicCreationResponse.Success")); return enableAutoTopicCreationResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/GetAllInstanceIdListResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.GetAllInstanceIdListResponse; import java.util.Map; import com.aliyuncs.transform.UnmarshallerContext; public class GetAllInstanceIdListResponseUnmarshaller { public static GetAllInstanceIdListResponse unmarshall(GetAllInstanceIdListResponse getAllInstanceIdListResponse, UnmarshallerContext _ctx) { getAllInstanceIdListResponse.setRequestId(_ctx.stringValue("GetAllInstanceIdListResponse.RequestId")); getAllInstanceIdListResponse.setCode(_ctx.integerValue("GetAllInstanceIdListResponse.Code")); getAllInstanceIdListResponse.setMessage(_ctx.stringValue("GetAllInstanceIdListResponse.Message")); getAllInstanceIdListResponse.setInstanceIds(_ctx.mapValue("GetAllInstanceIdListResponse.InstanceIds")); getAllInstanceIdListResponse.setSuccess(_ctx.booleanValue("GetAllInstanceIdListResponse.Success")); return getAllInstanceIdListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/GetAllowedIpListResponseUnmarshaller.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.alikafka.transform.v20190916; import java.util.ArrayList; import java.util.List; import com.aliyuncs.alikafka.model.v20190916.GetAllowedIpListResponse; import com.aliyuncs.alikafka.model.v20190916.GetAllowedIpListResponse.AllowedList; import com.aliyuncs.alikafka.model.v20190916.GetAllowedIpListResponse.AllowedList.IPListVO; import java.util.Map; import com.aliyuncs.transform.UnmarshallerContext; public class GetAllowedIpListResponseUnmarshaller { public static GetAllowedIpListResponse unmarshall(GetAllowedIpListResponse getAllowedIpListResponse, UnmarshallerContext _ctx) { getAllowedIpListResponse.setRequestId(_ctx.stringValue("GetAllowedIpListResponse.RequestId")); getAllowedIpListResponse.setCode(_ctx.integerValue("GetAllowedIpListResponse.Code")); getAllowedIpListResponse.setMessage(_ctx.stringValue("GetAllowedIpListResponse.Message")); getAllowedIpListResponse.setSuccess(_ctx.booleanValue("GetAllowedIpListResponse.Success")); AllowedList allowedList = new AllowedList(); allowedList.setDeployType(_ctx.integerValue("GetAllowedIpListResponse.AllowedList.DeployType")); List<IPListVO> vpcList = new ArrayList<IPListVO>(); for (int i = 0; i < _ctx.lengthValue("GetAllowedIpListResponse.AllowedList.VpcList.Length"); i++) { IPListVO iPListVO = new IPListVO(); iPListVO.setPortRange(_ctx.stringValue("GetAllowedIpListResponse.AllowedList.VpcList["+ i +"].PortRange")); iPListVO.setAllowedIpGroup(_ctx.mapValue("GetAllowedIpListResponse.AllowedList.VpcList["+ i +"].AllowedIpGroup")); List<String> allowedIpList = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("GetAllowedIpListResponse.AllowedList.VpcList["+ i +"].AllowedIpList.Length"); j++) { allowedIpList.add(_ctx.stringValue("GetAllowedIpListResponse.AllowedList.VpcList["+ i +"].AllowedIpList["+ j +"]")); } iPListVO.setAllowedIpList(allowedIpList); vpcList.add(iPListVO); } allowedList.setVpcList(vpcList); List<IPListVO> internetList = new ArrayList<IPListVO>(); for (int i = 0; i < _ctx.lengthValue("GetAllowedIpListResponse.AllowedList.InternetList.Length"); i++) { IPListVO iPListVO1 = new IPListVO(); iPListVO1.setPortRange(_ctx.stringValue("GetAllowedIpListResponse.AllowedList.InternetList["+ i +"].PortRange")); iPListVO1.setAllowedIpGroup(_ctx.mapValue("GetAllowedIpListResponse.AllowedList.InternetList["+ i +"].AllowedIpGroup")); List<String> allowedIpList = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("GetAllowedIpListResponse.AllowedList.InternetList["+ i +"].AllowedIpList.Length"); j++) { allowedIpList.add(_ctx.stringValue("GetAllowedIpListResponse.AllowedList.InternetList["+ i +"].AllowedIpList["+ j +"]")); } iPListVO1.setAllowedIpList(allowedIpList); internetList.add(iPListVO1); } allowedList.setInternetList(internetList); getAllowedIpListResponse.setAllowedList(allowedList); return getAllowedIpListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/GetAutoScalingConfigurationResponseUnmarshaller.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.alikafka.transform.v20190916; import java.util.ArrayList; import java.util.List; import com.aliyuncs.alikafka.model.v20190916.GetAutoScalingConfigurationResponse; import com.aliyuncs.alikafka.model.v20190916.GetAutoScalingConfigurationResponse.Data; import com.aliyuncs.alikafka.model.v20190916.GetAutoScalingConfigurationResponse.Data.ScheduledScalingRulesItem; import com.aliyuncs.transform.UnmarshallerContext; public class GetAutoScalingConfigurationResponseUnmarshaller { public static GetAutoScalingConfigurationResponse unmarshall(GetAutoScalingConfigurationResponse getAutoScalingConfigurationResponse, UnmarshallerContext _ctx) { getAutoScalingConfigurationResponse.setRequestId(_ctx.stringValue("GetAutoScalingConfigurationResponse.RequestId")); getAutoScalingConfigurationResponse.setSuccess(_ctx.booleanValue("GetAutoScalingConfigurationResponse.Success")); getAutoScalingConfigurationResponse.setCode(_ctx.longValue("GetAutoScalingConfigurationResponse.Code")); getAutoScalingConfigurationResponse.setMessage(_ctx.stringValue("GetAutoScalingConfigurationResponse.Message")); Data data = new Data(); List<ScheduledScalingRulesItem> scheduledScalingRules = new ArrayList<ScheduledScalingRulesItem>(); for (int i = 0; i < _ctx.lengthValue("GetAutoScalingConfigurationResponse.Data.ScheduledScalingRules.Length"); i++) { ScheduledScalingRulesItem scheduledScalingRulesItem = new ScheduledScalingRulesItem(); scheduledScalingRulesItem.setDurationMinutes(_ctx.longValue("GetAutoScalingConfigurationResponse.Data.ScheduledScalingRules["+ i +"].DurationMinutes")); scheduledScalingRulesItem.setEnable(_ctx.booleanValue("GetAutoScalingConfigurationResponse.Data.ScheduledScalingRules["+ i +"].Enable")); scheduledScalingRulesItem.setEstimatedElasticScalingDownTimeSecs(_ctx.longValue("GetAutoScalingConfigurationResponse.Data.ScheduledScalingRules["+ i +"].EstimatedElasticScalingDownTimeSecs")); scheduledScalingRulesItem.setEstimatedElasticScalingUpTimeSecs(_ctx.longValue("GetAutoScalingConfigurationResponse.Data.ScheduledScalingRules["+ i +"].EstimatedElasticScalingUpTimeSecs")); scheduledScalingRulesItem.setFirstScheduledTime(_ctx.longValue("GetAutoScalingConfigurationResponse.Data.ScheduledScalingRules["+ i +"].FirstScheduledTime")); scheduledScalingRulesItem.setRepeatType(_ctx.stringValue("GetAutoScalingConfigurationResponse.Data.ScheduledScalingRules["+ i +"].RepeatType")); scheduledScalingRulesItem.setReservedPubFlow(_ctx.longValue("GetAutoScalingConfigurationResponse.Data.ScheduledScalingRules["+ i +"].ReservedPubFlow")); scheduledScalingRulesItem.setReservedSubFlow(_ctx.longValue("GetAutoScalingConfigurationResponse.Data.ScheduledScalingRules["+ i +"].ReservedSubFlow")); scheduledScalingRulesItem.setRuleId(_ctx.longValue("GetAutoScalingConfigurationResponse.Data.ScheduledScalingRules["+ i +"].RuleId")); scheduledScalingRulesItem.setRuleName(_ctx.stringValue("GetAutoScalingConfigurationResponse.Data.ScheduledScalingRules["+ i +"].RuleName")); scheduledScalingRulesItem.setScheduleType(_ctx.stringValue("GetAutoScalingConfigurationResponse.Data.ScheduledScalingRules["+ i +"].ScheduleType")); scheduledScalingRulesItem.setTimeZone(_ctx.stringValue("GetAutoScalingConfigurationResponse.Data.ScheduledScalingRules["+ i +"].TimeZone")); List<String> weeklyTypes = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("GetAutoScalingConfigurationResponse.Data.ScheduledScalingRules["+ i +"].WeeklyTypes.Length"); j++) { weeklyTypes.add(_ctx.stringValue("GetAutoScalingConfigurationResponse.Data.ScheduledScalingRules["+ i +"].WeeklyTypes["+ j +"]")); } scheduledScalingRulesItem.setWeeklyTypes(weeklyTypes); scheduledScalingRules.add(scheduledScalingRulesItem); } data.setScheduledScalingRules(scheduledScalingRules); getAutoScalingConfigurationResponse.setData(data); return getAutoScalingConfigurationResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/GetConsumerListResponseUnmarshaller.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.alikafka.transform.v20190916; import java.util.ArrayList; import java.util.List; import com.aliyuncs.alikafka.model.v20190916.GetConsumerListResponse; import com.aliyuncs.alikafka.model.v20190916.GetConsumerListResponse.ConsumerVO; import com.aliyuncs.alikafka.model.v20190916.GetConsumerListResponse.ConsumerVO.TagVO; import com.aliyuncs.transform.UnmarshallerContext; public class GetConsumerListResponseUnmarshaller { public static GetConsumerListResponse unmarshall(GetConsumerListResponse getConsumerListResponse, UnmarshallerContext _ctx) { getConsumerListResponse.setRequestId(_ctx.stringValue("GetConsumerListResponse.RequestId")); getConsumerListResponse.setCode(_ctx.integerValue("GetConsumerListResponse.Code")); getConsumerListResponse.setMessage(_ctx.stringValue("GetConsumerListResponse.Message")); getConsumerListResponse.setSuccess(_ctx.booleanValue("GetConsumerListResponse.Success")); getConsumerListResponse.setTotal(_ctx.longValue("GetConsumerListResponse.Total")); getConsumerListResponse.setPageSize(_ctx.integerValue("GetConsumerListResponse.PageSize")); getConsumerListResponse.setCurrentPage(_ctx.integerValue("GetConsumerListResponse.CurrentPage")); List<ConsumerVO> consumerList = new ArrayList<ConsumerVO>(); for (int i = 0; i < _ctx.lengthValue("GetConsumerListResponse.ConsumerList.Length"); i++) { ConsumerVO consumerVO = new ConsumerVO(); consumerVO.setConsumerId(_ctx.stringValue("GetConsumerListResponse.ConsumerList["+ i +"].ConsumerId")); consumerVO.setInstanceId(_ctx.stringValue("GetConsumerListResponse.ConsumerList["+ i +"].InstanceId")); consumerVO.setRemark(_ctx.stringValue("GetConsumerListResponse.ConsumerList["+ i +"].Remark")); consumerVO.setRegionId(_ctx.stringValue("GetConsumerListResponse.ConsumerList["+ i +"].RegionId")); consumerVO.setAutomaticallyCreatedGroup(_ctx.booleanValue("GetConsumerListResponse.ConsumerList["+ i +"].AutomaticallyCreatedGroup")); consumerVO.setCreateTime(_ctx.longValue("GetConsumerListResponse.ConsumerList["+ i +"].CreateTime")); List<TagVO> tags = new ArrayList<TagVO>(); for (int j = 0; j < _ctx.lengthValue("GetConsumerListResponse.ConsumerList["+ i +"].Tags.Length"); j++) { TagVO tagVO = new TagVO(); tagVO.setKey(_ctx.stringValue("GetConsumerListResponse.ConsumerList["+ i +"].Tags["+ j +"].Key")); tagVO.setValue(_ctx.stringValue("GetConsumerListResponse.ConsumerList["+ i +"].Tags["+ j +"].Value")); tags.add(tagVO); } consumerVO.setTags(tags); consumerList.add(consumerVO); } getConsumerListResponse.setConsumerList(consumerList); return getConsumerListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/GetConsumerProgressResponseUnmarshaller.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.alikafka.transform.v20190916; import java.util.ArrayList; import java.util.List; import com.aliyuncs.alikafka.model.v20190916.GetConsumerProgressResponse; import com.aliyuncs.alikafka.model.v20190916.GetConsumerProgressResponse.ConsumerProgress; import com.aliyuncs.alikafka.model.v20190916.GetConsumerProgressResponse.ConsumerProgress.RebalanceInfoListItem; import com.aliyuncs.alikafka.model.v20190916.GetConsumerProgressResponse.ConsumerProgress.TopicListItem; import com.aliyuncs.alikafka.model.v20190916.GetConsumerProgressResponse.ConsumerProgress.TopicListItem.OffsetListItem; import com.aliyuncs.transform.UnmarshallerContext; public class GetConsumerProgressResponseUnmarshaller { public static GetConsumerProgressResponse unmarshall(GetConsumerProgressResponse getConsumerProgressResponse, UnmarshallerContext _ctx) { getConsumerProgressResponse.setRequestId(_ctx.stringValue("GetConsumerProgressResponse.RequestId")); getConsumerProgressResponse.setCode(_ctx.integerValue("GetConsumerProgressResponse.Code")); getConsumerProgressResponse.setMessage(_ctx.stringValue("GetConsumerProgressResponse.Message")); getConsumerProgressResponse.setSuccess(_ctx.booleanValue("GetConsumerProgressResponse.Success")); ConsumerProgress consumerProgress = new ConsumerProgress(); consumerProgress.setLastTimestamp(_ctx.longValue("GetConsumerProgressResponse.ConsumerProgress.LastTimestamp")); consumerProgress.setTotalDiff(_ctx.longValue("GetConsumerProgressResponse.ConsumerProgress.TotalDiff")); List<TopicListItem> topicList = new ArrayList<TopicListItem>(); for (int i = 0; i < _ctx.lengthValue("GetConsumerProgressResponse.ConsumerProgress.TopicList.Length"); i++) { TopicListItem topicListItem = new TopicListItem(); topicListItem.setTotalDiff(_ctx.longValue("GetConsumerProgressResponse.ConsumerProgress.TopicList["+ i +"].TotalDiff")); topicListItem.setLastTimestamp(_ctx.longValue("GetConsumerProgressResponse.ConsumerProgress.TopicList["+ i +"].LastTimestamp")); topicListItem.setTopic(_ctx.stringValue("GetConsumerProgressResponse.ConsumerProgress.TopicList["+ i +"].Topic")); List<OffsetListItem> offsetList = new ArrayList<OffsetListItem>(); for (int j = 0; j < _ctx.lengthValue("GetConsumerProgressResponse.ConsumerProgress.TopicList["+ i +"].OffsetList.Length"); j++) { OffsetListItem offsetListItem = new OffsetListItem(); offsetListItem.setPartition(_ctx.integerValue("GetConsumerProgressResponse.ConsumerProgress.TopicList["+ i +"].OffsetList["+ j +"].Partition")); offsetListItem.setBrokerOffset(_ctx.longValue("GetConsumerProgressResponse.ConsumerProgress.TopicList["+ i +"].OffsetList["+ j +"].BrokerOffset")); offsetListItem.setConsumerOffset(_ctx.longValue("GetConsumerProgressResponse.ConsumerProgress.TopicList["+ i +"].OffsetList["+ j +"].ConsumerOffset")); offsetListItem.setLastTimestamp(_ctx.longValue("GetConsumerProgressResponse.ConsumerProgress.TopicList["+ i +"].OffsetList["+ j +"].LastTimestamp")); offsetListItem.setClientIp(_ctx.stringValue("GetConsumerProgressResponse.ConsumerProgress.TopicList["+ i +"].OffsetList["+ j +"].ClientIp")); offsetListItem.setClientId(_ctx.stringValue("GetConsumerProgressResponse.ConsumerProgress.TopicList["+ i +"].OffsetList["+ j +"].ClientId")); offsetListItem.setMemberId(_ctx.stringValue("GetConsumerProgressResponse.ConsumerProgress.TopicList["+ i +"].OffsetList["+ j +"].MemberId")); offsetList.add(offsetListItem); } topicListItem.setOffsetList(offsetList); topicList.add(topicListItem); } consumerProgress.setTopicList(topicList); List<RebalanceInfoListItem> rebalanceInfoList = new ArrayList<RebalanceInfoListItem>(); for (int i = 0; i < _ctx.lengthValue("GetConsumerProgressResponse.ConsumerProgress.RebalanceInfoList.Length"); i++) { RebalanceInfoListItem rebalanceInfoListItem = new RebalanceInfoListItem(); rebalanceInfoListItem.setGeneration(_ctx.longValue("GetConsumerProgressResponse.ConsumerProgress.RebalanceInfoList["+ i +"].Generation")); rebalanceInfoListItem.setLastRebalanceTimestamp(_ctx.longValue("GetConsumerProgressResponse.ConsumerProgress.RebalanceInfoList["+ i +"].LastRebalanceTimestamp")); rebalanceInfoListItem.setReason(_ctx.stringValue("GetConsumerProgressResponse.ConsumerProgress.RebalanceInfoList["+ i +"].Reason")); rebalanceInfoListItem.setGroupId(_ctx.stringValue("GetConsumerProgressResponse.ConsumerProgress.RebalanceInfoList["+ i +"].GroupId")); rebalanceInfoListItem.setRebalanceTimeConsuming(_ctx.longValue("GetConsumerProgressResponse.ConsumerProgress.RebalanceInfoList["+ i +"].RebalanceTimeConsuming")); rebalanceInfoListItem.setRebalanceSuccess(_ctx.booleanValue("GetConsumerProgressResponse.ConsumerProgress.RebalanceInfoList["+ i +"].RebalanceSuccess")); rebalanceInfoList.add(rebalanceInfoListItem); } consumerProgress.setRebalanceInfoList(rebalanceInfoList); getConsumerProgressResponse.setConsumerProgress(consumerProgress); return getConsumerProgressResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/GetInstanceListResponseUnmarshaller.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.alikafka.transform.v20190916; import java.util.ArrayList; import java.util.List; import com.aliyuncs.alikafka.model.v20190916.GetInstanceListResponse; import com.aliyuncs.alikafka.model.v20190916.GetInstanceListResponse.InstanceVO; import com.aliyuncs.alikafka.model.v20190916.GetInstanceListResponse.InstanceVO.ConfluentConfig; import com.aliyuncs.alikafka.model.v20190916.GetInstanceListResponse.InstanceVO.TagVO; import com.aliyuncs.alikafka.model.v20190916.GetInstanceListResponse.InstanceVO.UpgradeServiceDetailInfo; import com.aliyuncs.transform.UnmarshallerContext; public class GetInstanceListResponseUnmarshaller { public static GetInstanceListResponse unmarshall(GetInstanceListResponse getInstanceListResponse, UnmarshallerContext _ctx) { getInstanceListResponse.setRequestId(_ctx.stringValue("GetInstanceListResponse.RequestId")); getInstanceListResponse.setCode(_ctx.integerValue("GetInstanceListResponse.Code")); getInstanceListResponse.setMessage(_ctx.stringValue("GetInstanceListResponse.Message")); getInstanceListResponse.setSuccess(_ctx.booleanValue("GetInstanceListResponse.Success")); List<InstanceVO> instanceList = new ArrayList<InstanceVO>(); for (int i = 0; i < _ctx.lengthValue("GetInstanceListResponse.InstanceList.Length"); i++) { InstanceVO instanceVO = new InstanceVO(); instanceVO.setVpcId(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].VpcId")); instanceVO.setSpecType(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].SpecType")); instanceVO.setDeployType(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].DeployType")); instanceVO.setCreateTime(_ctx.longValue("GetInstanceListResponse.InstanceList["+ i +"].CreateTime")); instanceVO.setDiskSize(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].DiskSize")); instanceVO.setDiskType(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].DiskType")); instanceVO.setSecurityGroup(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].SecurityGroup")); instanceVO.setSslEndPoint(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].SslEndPoint")); instanceVO.setInstanceId(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].InstanceId")); instanceVO.setAllConfig(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].AllConfig")); instanceVO.setServiceStatus(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].ServiceStatus")); instanceVO.setEipMax(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].EipMax")); instanceVO.setRegionId(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].RegionId")); instanceVO.setMsgRetain(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].MsgRetain")); instanceVO.setVSwitchId(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].VSwitchId")); instanceVO.setExpiredTime(_ctx.longValue("GetInstanceListResponse.InstanceList["+ i +"].ExpiredTime")); instanceVO.setTopicNumLimit(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].TopicNumLimit")); instanceVO.setZoneId(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].ZoneId")); instanceVO.setIoMaxRead(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].IoMaxRead")); instanceVO.setIoMaxWrite(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].IoMaxWrite")); instanceVO.setIoMax(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].IoMax")); instanceVO.setPaidType(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].PaidType")); instanceVO.setName(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].Name")); instanceVO.setEndPoint(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].EndPoint")); instanceVO.setDomainEndpoint(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].DomainEndpoint")); instanceVO.setVpcSaslEndPoint(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].VpcSaslEndPoint")); instanceVO.setSaslEndPoint(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].SaslEndPoint")); instanceVO.setSslDomainEndpoint(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].SslDomainEndpoint")); instanceVO.setSaslDomainEndpoint(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].SaslDomainEndpoint")); instanceVO.setVpcSaslDomainEndpoint(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].VpcSaslDomainEndpoint")); instanceVO.setResourceGroupId(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].ResourceGroupId")); instanceVO.setUsedTopicCount(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].UsedTopicCount")); instanceVO.setUsedGroupCount(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].UsedGroupCount")); instanceVO.setUsedPartitionCount(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].UsedPartitionCount")); instanceVO.setKmsKeyId(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].KmsKeyId")); instanceVO.setStandardZoneId(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].StandardZoneId")); instanceVO.setIoMaxSpec(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].IoMaxSpec")); instanceVO.setReservedPublishCapacity(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].ReservedPublishCapacity")); instanceVO.setReservedSubscribeCapacity(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].ReservedSubscribeCapacity")); instanceVO.setViewInstanceStatusCode(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].ViewInstanceStatusCode")); instanceVO.setSeries(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].Series")); instanceVO.setAutoCreateGroupEnable(_ctx.booleanValue("GetInstanceListResponse.InstanceList["+ i +"].AutoCreateGroupEnable")); instanceVO.setAutoCreateTopicEnable(_ctx.booleanValue("GetInstanceListResponse.InstanceList["+ i +"].AutoCreateTopicEnable")); instanceVO.setDefaultPartitionNum(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].DefaultPartitionNum")); instanceVO.setBrokerCount(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].BrokerCount")); instanceVO.setRecommendedPartitionCount(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].RecommendedPartitionCount")); instanceVO.setBackupZoneId(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].BackupZoneId")); List<String> vSwitchIds = new ArrayList<String>(); for (int j = 0; j < _ctx.lengthValue("GetInstanceListResponse.InstanceList["+ i +"].VSwitchIds.Length"); j++) { vSwitchIds.add(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].VSwitchIds["+ j +"]")); } instanceVO.setVSwitchIds(vSwitchIds); UpgradeServiceDetailInfo upgradeServiceDetailInfo = new UpgradeServiceDetailInfo(); upgradeServiceDetailInfo.setCurrent2OpenSourceVersion(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].UpgradeServiceDetailInfo.Current2OpenSourceVersion")); instanceVO.setUpgradeServiceDetailInfo(upgradeServiceDetailInfo); ConfluentConfig confluentConfig = new ConfluentConfig(); confluentConfig.setKafkaCU(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].ConfluentConfig.KafkaCU")); confluentConfig.setKafkaStorage(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].ConfluentConfig.KafkaStorage")); confluentConfig.setKafkaReplica(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].ConfluentConfig.KafkaReplica")); confluentConfig.setZooKeeperCU(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].ConfluentConfig.ZooKeeperCU")); confluentConfig.setZooKeeperStorage(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].ConfluentConfig.ZooKeeperStorage")); confluentConfig.setZooKeeperReplica(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].ConfluentConfig.ZooKeeperReplica")); confluentConfig.setControlCenterCU(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].ConfluentConfig.ControlCenterCU")); confluentConfig.setControlCenterStorage(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].ConfluentConfig.ControlCenterStorage")); confluentConfig.setControlCenterReplica(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].ConfluentConfig.ControlCenterReplica")); confluentConfig.setSchemaRegistryCU(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].ConfluentConfig.SchemaRegistryCU")); confluentConfig.setSchemaRegistryReplica(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].ConfluentConfig.SchemaRegistryReplica")); confluentConfig.setConnectCU(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].ConfluentConfig.ConnectCU")); confluentConfig.setConnectReplica(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].ConfluentConfig.ConnectReplica")); confluentConfig.setKsqlCU(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].ConfluentConfig.KsqlCU")); confluentConfig.setKsqlStorage(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].ConfluentConfig.KsqlStorage")); confluentConfig.setKsqlReplica(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].ConfluentConfig.KsqlReplica")); confluentConfig.setKafkaRestProxyCU(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].ConfluentConfig.KafkaRestProxyCU")); confluentConfig.setKafkaRestProxyReplica(_ctx.integerValue("GetInstanceListResponse.InstanceList["+ i +"].ConfluentConfig.KafkaRestProxyReplica")); instanceVO.setConfluentConfig(confluentConfig); List<TagVO> tags = new ArrayList<TagVO>(); for (int j = 0; j < _ctx.lengthValue("GetInstanceListResponse.InstanceList["+ i +"].Tags.Length"); j++) { TagVO tagVO = new TagVO(); tagVO.setKey(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].Tags["+ j +"].Key")); tagVO.setValue(_ctx.stringValue("GetInstanceListResponse.InstanceList["+ i +"].Tags["+ j +"].Value")); tags.add(tagVO); } instanceVO.setTags(tags); instanceList.add(instanceVO); } getInstanceListResponse.setInstanceList(instanceList); return getInstanceListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/GetKafkaClientIpResponseUnmarshaller.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.alikafka.transform.v20190916; import java.util.ArrayList; import java.util.List; import com.aliyuncs.alikafka.model.v20190916.GetKafkaClientIpResponse; import com.aliyuncs.alikafka.model.v20190916.GetKafkaClientIpResponse.Data; import com.aliyuncs.alikafka.model.v20190916.GetKafkaClientIpResponse.Data.DataItem; import com.aliyuncs.alikafka.model.v20190916.GetKafkaClientIpResponse.Data.DataItem.DataItem3; import com.aliyuncs.transform.UnmarshallerContext; public class GetKafkaClientIpResponseUnmarshaller { public static GetKafkaClientIpResponse unmarshall(GetKafkaClientIpResponse getKafkaClientIpResponse, UnmarshallerContext _ctx) { getKafkaClientIpResponse.setRequestId(_ctx.stringValue("GetKafkaClientIpResponse.RequestId")); getKafkaClientIpResponse.setSuccess(_ctx.booleanValue("GetKafkaClientIpResponse.Success")); getKafkaClientIpResponse.setCode(_ctx.longValue("GetKafkaClientIpResponse.Code")); getKafkaClientIpResponse.setMessage(_ctx.stringValue("GetKafkaClientIpResponse.Message")); Data data = new Data(); data.setSearchTimeRange(_ctx.integerValue("GetKafkaClientIpResponse.Data.SearchTimeRange")); data.setAlert(_ctx.booleanValue("GetKafkaClientIpResponse.Data.Alert")); data.setTimeLimitDay(_ctx.integerValue("GetKafkaClientIpResponse.Data.TimeLimitDay")); data.setStartDate(_ctx.longValue("GetKafkaClientIpResponse.Data.StartDate")); data.setEndDate(_ctx.longValue("GetKafkaClientIpResponse.Data.EndDate")); List<DataItem> data1 = new ArrayList<DataItem>(); for (int i = 0; i < _ctx.lengthValue("GetKafkaClientIpResponse.Data.Data.Length"); i++) { DataItem dataItem = new DataItem(); dataItem.setName(_ctx.stringValue("GetKafkaClientIpResponse.Data.Data["+ i +"].Name")); List<DataItem3> data2 = new ArrayList<DataItem3>(); for (int j = 0; j < _ctx.lengthValue("GetKafkaClientIpResponse.Data.Data["+ i +"].Data.Length"); j++) { DataItem3 dataItem3 = new DataItem3(); dataItem3.setIp(_ctx.stringValue("GetKafkaClientIpResponse.Data.Data["+ i +"].Data["+ j +"].Ip")); dataItem3.setNum(_ctx.longValue("GetKafkaClientIpResponse.Data.Data["+ i +"].Data["+ j +"].Num")); data2.add(dataItem3); } dataItem.setData2(data2); data1.add(dataItem); } data.setData1(data1); getKafkaClientIpResponse.setData(data); return getKafkaClientIpResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/GetQuotaTipResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.GetQuotaTipResponse; import com.aliyuncs.alikafka.model.v20190916.GetQuotaTipResponse.QuotaData; import com.aliyuncs.transform.UnmarshallerContext; public class GetQuotaTipResponseUnmarshaller { public static GetQuotaTipResponse unmarshall(GetQuotaTipResponse getQuotaTipResponse, UnmarshallerContext _ctx) { getQuotaTipResponse.setRequestId(_ctx.stringValue("GetQuotaTipResponse.RequestId")); getQuotaTipResponse.setCode(_ctx.integerValue("GetQuotaTipResponse.Code")); getQuotaTipResponse.setMessage(_ctx.stringValue("GetQuotaTipResponse.Message")); getQuotaTipResponse.setSuccess(_ctx.booleanValue("GetQuotaTipResponse.Success")); QuotaData quotaData = new QuotaData(); quotaData.setTopicNumOfBuy(_ctx.integerValue("GetQuotaTipResponse.QuotaData.TopicNumOfBuy")); quotaData.setTopicQuota(_ctx.integerValue("GetQuotaTipResponse.QuotaData.TopicQuota")); quotaData.setTopicLeft(_ctx.integerValue("GetQuotaTipResponse.QuotaData.TopicLeft")); quotaData.setTopicUsed(_ctx.integerValue("GetQuotaTipResponse.QuotaData.TopicUsed")); quotaData.setPartitionNumOfBuy(_ctx.integerValue("GetQuotaTipResponse.QuotaData.PartitionNumOfBuy")); quotaData.setPartitionQuata(_ctx.integerValue("GetQuotaTipResponse.QuotaData.PartitionQuata")); quotaData.setPartitionLeft(_ctx.integerValue("GetQuotaTipResponse.QuotaData.PartitionLeft")); quotaData.setPartitionUsed(_ctx.integerValue("GetQuotaTipResponse.QuotaData.PartitionUsed")); quotaData.setGroupLeft(_ctx.integerValue("GetQuotaTipResponse.QuotaData.GroupLeft")); quotaData.setGroupUsed(_ctx.integerValue("GetQuotaTipResponse.QuotaData.GroupUsed")); quotaData.setIsPartitionBuy(_ctx.integerValue("GetQuotaTipResponse.QuotaData.IsPartitionBuy")); quotaData.setPartitionQuota(_ctx.integerValue("GetQuotaTipResponse.QuotaData.PartitionQuota")); getQuotaTipResponse.setQuotaData(quotaData); return getQuotaTipResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/GetTopicListResponseUnmarshaller.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.alikafka.transform.v20190916; import java.util.ArrayList; import java.util.List; import com.aliyuncs.alikafka.model.v20190916.GetTopicListResponse; import com.aliyuncs.alikafka.model.v20190916.GetTopicListResponse.TopicVO; import com.aliyuncs.alikafka.model.v20190916.GetTopicListResponse.TopicVO.TagVO; import com.aliyuncs.transform.UnmarshallerContext; public class GetTopicListResponseUnmarshaller { public static GetTopicListResponse unmarshall(GetTopicListResponse getTopicListResponse, UnmarshallerContext _ctx) { getTopicListResponse.setRequestId(_ctx.stringValue("GetTopicListResponse.RequestId")); getTopicListResponse.setCurrentPage(_ctx.integerValue("GetTopicListResponse.CurrentPage")); getTopicListResponse.setSuccess(_ctx.booleanValue("GetTopicListResponse.Success")); getTopicListResponse.setCode(_ctx.integerValue("GetTopicListResponse.Code")); getTopicListResponse.setMessage(_ctx.stringValue("GetTopicListResponse.Message")); getTopicListResponse.setPageSize(_ctx.integerValue("GetTopicListResponse.PageSize")); getTopicListResponse.setTotal(_ctx.integerValue("GetTopicListResponse.Total")); List<TopicVO> topicList = new ArrayList<TopicVO>(); for (int i = 0; i < _ctx.lengthValue("GetTopicListResponse.TopicList.Length"); i++) { TopicVO topicVO = new TopicVO(); topicVO.setStatus(_ctx.integerValue("GetTopicListResponse.TopicList["+ i +"].Status")); topicVO.setPartitionNum(_ctx.integerValue("GetTopicListResponse.TopicList["+ i +"].PartitionNum")); topicVO.setRemark(_ctx.stringValue("GetTopicListResponse.TopicList["+ i +"].Remark")); topicVO.setCreateTime(_ctx.longValue("GetTopicListResponse.TopicList["+ i +"].CreateTime")); topicVO.setTopic(_ctx.stringValue("GetTopicListResponse.TopicList["+ i +"].Topic")); topicVO.setStatusName(_ctx.stringValue("GetTopicListResponse.TopicList["+ i +"].StatusName")); topicVO.setCompactTopic(_ctx.booleanValue("GetTopicListResponse.TopicList["+ i +"].CompactTopic")); topicVO.setInstanceId(_ctx.stringValue("GetTopicListResponse.TopicList["+ i +"].InstanceId")); topicVO.setLocalTopic(_ctx.booleanValue("GetTopicListResponse.TopicList["+ i +"].LocalTopic")); topicVO.setRegionId(_ctx.stringValue("GetTopicListResponse.TopicList["+ i +"].RegionId")); topicVO.setAutoCreate(_ctx.booleanValue("GetTopicListResponse.TopicList["+ i +"].AutoCreate")); topicVO.setTopicConfig(_ctx.stringValue("GetTopicListResponse.TopicList["+ i +"].TopicConfig")); List<TagVO> tags = new ArrayList<TagVO>(); for (int j = 0; j < _ctx.lengthValue("GetTopicListResponse.TopicList["+ i +"].Tags.Length"); j++) { TagVO tagVO = new TagVO(); tagVO.setKey(_ctx.stringValue("GetTopicListResponse.TopicList["+ i +"].Tags["+ j +"].Key")); tagVO.setValue(_ctx.stringValue("GetTopicListResponse.TopicList["+ i +"].Tags["+ j +"].Value")); tags.add(tagVO); } topicVO.setTags(tags); topicList.add(topicVO); } getTopicListResponse.setTopicList(topicList); return getTopicListResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/GetTopicStatusResponseUnmarshaller.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.alikafka.transform.v20190916; import java.util.ArrayList; import java.util.List; import com.aliyuncs.alikafka.model.v20190916.GetTopicStatusResponse; import com.aliyuncs.alikafka.model.v20190916.GetTopicStatusResponse.TopicStatus; import com.aliyuncs.alikafka.model.v20190916.GetTopicStatusResponse.TopicStatus.OffsetTableItem; import com.aliyuncs.transform.UnmarshallerContext; public class GetTopicStatusResponseUnmarshaller { public static GetTopicStatusResponse unmarshall(GetTopicStatusResponse getTopicStatusResponse, UnmarshallerContext _ctx) { getTopicStatusResponse.setRequestId(_ctx.stringValue("GetTopicStatusResponse.RequestId")); getTopicStatusResponse.setCode(_ctx.integerValue("GetTopicStatusResponse.Code")); getTopicStatusResponse.setMessage(_ctx.stringValue("GetTopicStatusResponse.Message")); getTopicStatusResponse.setSuccess(_ctx.booleanValue("GetTopicStatusResponse.Success")); TopicStatus topicStatus = new TopicStatus(); topicStatus.setTotalCount(_ctx.longValue("GetTopicStatusResponse.TopicStatus.TotalCount")); topicStatus.setLastTimeStamp(_ctx.longValue("GetTopicStatusResponse.TopicStatus.LastTimeStamp")); List<OffsetTableItem> offsetTable = new ArrayList<OffsetTableItem>(); for (int i = 0; i < _ctx.lengthValue("GetTopicStatusResponse.TopicStatus.OffsetTable.Length"); i++) { OffsetTableItem offsetTableItem = new OffsetTableItem(); offsetTableItem.setPartition(_ctx.integerValue("GetTopicStatusResponse.TopicStatus.OffsetTable["+ i +"].Partition")); offsetTableItem.setMinOffset(_ctx.longValue("GetTopicStatusResponse.TopicStatus.OffsetTable["+ i +"].MinOffset")); offsetTableItem.setLastUpdateTimestamp(_ctx.longValue("GetTopicStatusResponse.TopicStatus.OffsetTable["+ i +"].LastUpdateTimestamp")); offsetTableItem.setMaxOffset(_ctx.longValue("GetTopicStatusResponse.TopicStatus.OffsetTable["+ i +"].MaxOffset")); offsetTableItem.setTopic(_ctx.stringValue("GetTopicStatusResponse.TopicStatus.OffsetTable["+ i +"].Topic")); offsetTable.add(offsetTableItem); } topicStatus.setOffsetTable(offsetTable); getTopicStatusResponse.setTopicStatus(topicStatus); return getTopicStatusResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/GetTopicSubscribeStatusResponseUnmarshaller.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.alikafka.transform.v20190916; import java.util.ArrayList; import java.util.List; import com.aliyuncs.alikafka.model.v20190916.GetTopicSubscribeStatusResponse; import com.aliyuncs.alikafka.model.v20190916.GetTopicSubscribeStatusResponse.TopicSubscribeStatus; import com.aliyuncs.transform.UnmarshallerContext; public class GetTopicSubscribeStatusResponseUnmarshaller { public static GetTopicSubscribeStatusResponse unmarshall(GetTopicSubscribeStatusResponse getTopicSubscribeStatusResponse, UnmarshallerContext _ctx) { getTopicSubscribeStatusResponse.setRequestId(_ctx.stringValue("GetTopicSubscribeStatusResponse.RequestId")); getTopicSubscribeStatusResponse.setCode(_ctx.integerValue("GetTopicSubscribeStatusResponse.Code")); getTopicSubscribeStatusResponse.setSuccess(_ctx.booleanValue("GetTopicSubscribeStatusResponse.Success")); getTopicSubscribeStatusResponse.setMessage(_ctx.stringValue("GetTopicSubscribeStatusResponse.Message")); TopicSubscribeStatus topicSubscribeStatus = new TopicSubscribeStatus(); topicSubscribeStatus.setTopic(_ctx.stringValue("GetTopicSubscribeStatusResponse.TopicSubscribeStatus.Topic")); List<String> consumerGroups = new ArrayList<String>(); for (int i = 0; i < _ctx.lengthValue("GetTopicSubscribeStatusResponse.TopicSubscribeStatus.ConsumerGroups.Length"); i++) { consumerGroups.add(_ctx.stringValue("GetTopicSubscribeStatusResponse.TopicSubscribeStatus.ConsumerGroups["+ i +"]")); } topicSubscribeStatus.setConsumerGroups(consumerGroups); getTopicSubscribeStatusResponse.setTopicSubscribeStatus(topicSubscribeStatus); return getTopicSubscribeStatusResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/ListTagResourcesResponseUnmarshaller.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.alikafka.transform.v20190916; import java.util.ArrayList; import java.util.List; import com.aliyuncs.alikafka.model.v20190916.ListTagResourcesResponse; import com.aliyuncs.alikafka.model.v20190916.ListTagResourcesResponse.TagResource; import com.aliyuncs.transform.UnmarshallerContext; public class ListTagResourcesResponseUnmarshaller { public static ListTagResourcesResponse unmarshall(ListTagResourcesResponse listTagResourcesResponse, UnmarshallerContext _ctx) { listTagResourcesResponse.setRequestId(_ctx.stringValue("ListTagResourcesResponse.RequestId")); listTagResourcesResponse.setNextToken(_ctx.stringValue("ListTagResourcesResponse.NextToken")); List<TagResource> tagResources = new ArrayList<TagResource>(); for (int i = 0; i < _ctx.lengthValue("ListTagResourcesResponse.TagResources.Length"); i++) { TagResource tagResource = new TagResource(); tagResource.setTagValue(_ctx.stringValue("ListTagResourcesResponse.TagResources["+ i +"].TagValue")); tagResource.setResourceType(_ctx.stringValue("ListTagResourcesResponse.TagResources["+ i +"].ResourceType")); tagResource.setResourceId(_ctx.stringValue("ListTagResourcesResponse.TagResources["+ i +"].ResourceId")); tagResource.setTagKey(_ctx.stringValue("ListTagResourcesResponse.TagResources["+ i +"].TagKey")); tagResources.add(tagResource); } listTagResourcesResponse.setTagResources(tagResources); return listTagResourcesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/ModifyInstanceNameResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.ModifyInstanceNameResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyInstanceNameResponseUnmarshaller { public static ModifyInstanceNameResponse unmarshall(ModifyInstanceNameResponse modifyInstanceNameResponse, UnmarshallerContext _ctx) { modifyInstanceNameResponse.setRequestId(_ctx.stringValue("ModifyInstanceNameResponse.RequestId")); modifyInstanceNameResponse.setCode(_ctx.integerValue("ModifyInstanceNameResponse.Code")); modifyInstanceNameResponse.setMessage(_ctx.stringValue("ModifyInstanceNameResponse.Message")); modifyInstanceNameResponse.setSuccess(_ctx.booleanValue("ModifyInstanceNameResponse.Success")); return modifyInstanceNameResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/ModifyPartitionNumResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.ModifyPartitionNumResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyPartitionNumResponseUnmarshaller { public static ModifyPartitionNumResponse unmarshall(ModifyPartitionNumResponse modifyPartitionNumResponse, UnmarshallerContext _ctx) { modifyPartitionNumResponse.setRequestId(_ctx.stringValue("ModifyPartitionNumResponse.RequestId")); modifyPartitionNumResponse.setCode(_ctx.integerValue("ModifyPartitionNumResponse.Code")); modifyPartitionNumResponse.setMessage(_ctx.stringValue("ModifyPartitionNumResponse.Message")); modifyPartitionNumResponse.setSuccess(_ctx.booleanValue("ModifyPartitionNumResponse.Success")); return modifyPartitionNumResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/ModifyScheduledScalingRuleResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.ModifyScheduledScalingRuleResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyScheduledScalingRuleResponseUnmarshaller { public static ModifyScheduledScalingRuleResponse unmarshall(ModifyScheduledScalingRuleResponse modifyScheduledScalingRuleResponse, UnmarshallerContext _ctx) { modifyScheduledScalingRuleResponse.setRequestId(_ctx.stringValue("ModifyScheduledScalingRuleResponse.RequestId")); modifyScheduledScalingRuleResponse.setSuccess(_ctx.booleanValue("ModifyScheduledScalingRuleResponse.Success")); modifyScheduledScalingRuleResponse.setCode(_ctx.longValue("ModifyScheduledScalingRuleResponse.Code")); modifyScheduledScalingRuleResponse.setMessage(_ctx.stringValue("ModifyScheduledScalingRuleResponse.Message")); return modifyScheduledScalingRuleResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/ModifyTopicRemarkResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.ModifyTopicRemarkResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ModifyTopicRemarkResponseUnmarshaller { public static ModifyTopicRemarkResponse unmarshall(ModifyTopicRemarkResponse modifyTopicRemarkResponse, UnmarshallerContext _ctx) { modifyTopicRemarkResponse.setRequestId(_ctx.stringValue("ModifyTopicRemarkResponse.RequestId")); modifyTopicRemarkResponse.setCode(_ctx.integerValue("ModifyTopicRemarkResponse.Code")); modifyTopicRemarkResponse.setMessage(_ctx.stringValue("ModifyTopicRemarkResponse.Message")); modifyTopicRemarkResponse.setSuccess(_ctx.booleanValue("ModifyTopicRemarkResponse.Success")); return modifyTopicRemarkResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/QueryMessageResponseUnmarshaller.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.alikafka.transform.v20190916; import java.util.ArrayList; import java.util.List; import com.aliyuncs.alikafka.model.v20190916.QueryMessageResponse; import com.aliyuncs.alikafka.model.v20190916.QueryMessageResponse.MessageVO; import com.aliyuncs.transform.UnmarshallerContext; public class QueryMessageResponseUnmarshaller { public static QueryMessageResponse unmarshall(QueryMessageResponse queryMessageResponse, UnmarshallerContext _ctx) { queryMessageResponse.setRequestId(_ctx.stringValue("QueryMessageResponse.RequestId")); queryMessageResponse.setCode(_ctx.integerValue("QueryMessageResponse.Code")); queryMessageResponse.setMessage(_ctx.stringValue("QueryMessageResponse.Message")); queryMessageResponse.setSuccess(_ctx.booleanValue("QueryMessageResponse.Success")); List<MessageVO> messageList = new ArrayList<MessageVO>(); for (int i = 0; i < _ctx.lengthValue("QueryMessageResponse.MessageList.Length"); i++) { MessageVO messageVO = new MessageVO(); messageVO.setTopic(_ctx.stringValue("QueryMessageResponse.MessageList["+ i +"].Topic")); messageVO.setPartition(_ctx.longValue("QueryMessageResponse.MessageList["+ i +"].Partition")); messageVO.setOffset(_ctx.longValue("QueryMessageResponse.MessageList["+ i +"].Offset")); messageVO.setTimestamp(_ctx.longValue("QueryMessageResponse.MessageList["+ i +"].Timestamp")); messageVO.setTimestampType(_ctx.stringValue("QueryMessageResponse.MessageList["+ i +"].TimestampType")); messageVO.setChecksum(_ctx.longValue("QueryMessageResponse.MessageList["+ i +"].Checksum")); messageVO.setSerializedKeySize(_ctx.integerValue("QueryMessageResponse.MessageList["+ i +"].SerializedKeySize")); messageVO.setSerializedValueSize(_ctx.integerValue("QueryMessageResponse.MessageList["+ i +"].SerializedValueSize")); messageVO.setKey(_ctx.stringValue("QueryMessageResponse.MessageList["+ i +"].Key")); messageVO.setValue(_ctx.stringValue("QueryMessageResponse.MessageList["+ i +"].Value")); messageVO.setKeyTruncated(_ctx.booleanValue("QueryMessageResponse.MessageList["+ i +"].KeyTruncated")); messageVO.setValueTruncated(_ctx.booleanValue("QueryMessageResponse.MessageList["+ i +"].ValueTruncated")); messageVO.setTruncatedKeySize(_ctx.integerValue("QueryMessageResponse.MessageList["+ i +"].TruncatedKeySize")); messageVO.setTruncatedValueSize(_ctx.integerValue("QueryMessageResponse.MessageList["+ i +"].TruncatedValueSize")); messageList.add(messageVO); } queryMessageResponse.setMessageList(messageList); return queryMessageResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/ReleaseInstanceResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.ReleaseInstanceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ReleaseInstanceResponseUnmarshaller { public static ReleaseInstanceResponse unmarshall(ReleaseInstanceResponse releaseInstanceResponse, UnmarshallerContext _ctx) { releaseInstanceResponse.setRequestId(_ctx.stringValue("ReleaseInstanceResponse.RequestId")); releaseInstanceResponse.setCode(_ctx.integerValue("ReleaseInstanceResponse.Code")); releaseInstanceResponse.setMessage(_ctx.stringValue("ReleaseInstanceResponse.Message")); releaseInstanceResponse.setSuccess(_ctx.booleanValue("ReleaseInstanceResponse.Success")); return releaseInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/ReopenInstanceResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.ReopenInstanceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class ReopenInstanceResponseUnmarshaller { public static ReopenInstanceResponse unmarshall(ReopenInstanceResponse reopenInstanceResponse, UnmarshallerContext _ctx) { reopenInstanceResponse.setRequestId(_ctx.stringValue("ReopenInstanceResponse.RequestId")); reopenInstanceResponse.setCode(_ctx.integerValue("ReopenInstanceResponse.Code")); reopenInstanceResponse.setSuccess(_ctx.booleanValue("ReopenInstanceResponse.Success")); reopenInstanceResponse.setMessage(_ctx.stringValue("ReopenInstanceResponse.Message")); return reopenInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/StartInstanceResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.StartInstanceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class StartInstanceResponseUnmarshaller { public static StartInstanceResponse unmarshall(StartInstanceResponse startInstanceResponse, UnmarshallerContext _ctx) { startInstanceResponse.setRequestId(_ctx.stringValue("StartInstanceResponse.RequestId")); startInstanceResponse.setCode(_ctx.integerValue("StartInstanceResponse.Code")); startInstanceResponse.setMessage(_ctx.stringValue("StartInstanceResponse.Message")); startInstanceResponse.setSuccess(_ctx.booleanValue("StartInstanceResponse.Success")); return startInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/StopInstanceResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.StopInstanceResponse; import com.aliyuncs.transform.UnmarshallerContext; public class StopInstanceResponseUnmarshaller { public static StopInstanceResponse unmarshall(StopInstanceResponse stopInstanceResponse, UnmarshallerContext _ctx) { stopInstanceResponse.setRequestId(_ctx.stringValue("StopInstanceResponse.RequestId")); stopInstanceResponse.setCode(_ctx.integerValue("StopInstanceResponse.Code")); stopInstanceResponse.setMessage(_ctx.stringValue("StopInstanceResponse.Message")); stopInstanceResponse.setSuccess(_ctx.booleanValue("StopInstanceResponse.Success")); return stopInstanceResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/TagResourcesResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.TagResourcesResponse; import com.aliyuncs.transform.UnmarshallerContext; public class TagResourcesResponseUnmarshaller { public static TagResourcesResponse unmarshall(TagResourcesResponse tagResourcesResponse, UnmarshallerContext _ctx) { tagResourcesResponse.setRequestId(_ctx.stringValue("TagResourcesResponse.RequestId")); return tagResourcesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/UntagResourcesResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.UntagResourcesResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UntagResourcesResponseUnmarshaller { public static UntagResourcesResponse unmarshall(UntagResourcesResponse untagResourcesResponse, UnmarshallerContext _ctx) { untagResourcesResponse.setRequestId(_ctx.stringValue("UntagResourcesResponse.RequestId")); return untagResourcesResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/UpdateAllowedIpResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.UpdateAllowedIpResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateAllowedIpResponseUnmarshaller { public static UpdateAllowedIpResponse unmarshall(UpdateAllowedIpResponse updateAllowedIpResponse, UnmarshallerContext _ctx) { updateAllowedIpResponse.setRequestId(_ctx.stringValue("UpdateAllowedIpResponse.RequestId")); updateAllowedIpResponse.setCode(_ctx.integerValue("UpdateAllowedIpResponse.Code")); updateAllowedIpResponse.setMessage(_ctx.stringValue("UpdateAllowedIpResponse.Message")); updateAllowedIpResponse.setSuccess(_ctx.booleanValue("UpdateAllowedIpResponse.Success")); return updateAllowedIpResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/UpdateConsumerOffsetResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.UpdateConsumerOffsetResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateConsumerOffsetResponseUnmarshaller { public static UpdateConsumerOffsetResponse unmarshall(UpdateConsumerOffsetResponse updateConsumerOffsetResponse, UnmarshallerContext _ctx) { updateConsumerOffsetResponse.setRequestId(_ctx.stringValue("UpdateConsumerOffsetResponse.RequestId")); updateConsumerOffsetResponse.setSuccess(_ctx.booleanValue("UpdateConsumerOffsetResponse.Success")); updateConsumerOffsetResponse.setCode(_ctx.integerValue("UpdateConsumerOffsetResponse.Code")); updateConsumerOffsetResponse.setMessage(_ctx.stringValue("UpdateConsumerOffsetResponse.Message")); return updateConsumerOffsetResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/UpdateInstanceConfigResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.UpdateInstanceConfigResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateInstanceConfigResponseUnmarshaller { public static UpdateInstanceConfigResponse unmarshall(UpdateInstanceConfigResponse updateInstanceConfigResponse, UnmarshallerContext _ctx) { updateInstanceConfigResponse.setRequestId(_ctx.stringValue("UpdateInstanceConfigResponse.RequestId")); updateInstanceConfigResponse.setCode(_ctx.integerValue("UpdateInstanceConfigResponse.Code")); updateInstanceConfigResponse.setMessage(_ctx.stringValue("UpdateInstanceConfigResponse.Message")); updateInstanceConfigResponse.setSuccess(_ctx.booleanValue("UpdateInstanceConfigResponse.Success")); return updateInstanceConfigResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/UpdateTopicConfigResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.UpdateTopicConfigResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpdateTopicConfigResponseUnmarshaller { public static UpdateTopicConfigResponse unmarshall(UpdateTopicConfigResponse updateTopicConfigResponse, UnmarshallerContext _ctx) { updateTopicConfigResponse.setRequestId(_ctx.stringValue("UpdateTopicConfigResponse.RequestId")); updateTopicConfigResponse.setSuccess(_ctx.booleanValue("UpdateTopicConfigResponse.Success")); updateTopicConfigResponse.setCode(_ctx.longValue("UpdateTopicConfigResponse.Code")); updateTopicConfigResponse.setMessage(_ctx.stringValue("UpdateTopicConfigResponse.Message")); updateTopicConfigResponse.setData(_ctx.stringValue("UpdateTopicConfigResponse.Data")); return updateTopicConfigResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/UpgradeInstanceVersionResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.UpgradeInstanceVersionResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpgradeInstanceVersionResponseUnmarshaller { public static UpgradeInstanceVersionResponse unmarshall(UpgradeInstanceVersionResponse upgradeInstanceVersionResponse, UnmarshallerContext _ctx) { upgradeInstanceVersionResponse.setRequestId(_ctx.stringValue("UpgradeInstanceVersionResponse.RequestId")); upgradeInstanceVersionResponse.setCode(_ctx.integerValue("UpgradeInstanceVersionResponse.Code")); upgradeInstanceVersionResponse.setMessage(_ctx.stringValue("UpgradeInstanceVersionResponse.Message")); upgradeInstanceVersionResponse.setSuccess(_ctx.booleanValue("UpgradeInstanceVersionResponse.Success")); return upgradeInstanceVersionResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/UpgradePostPayOrderResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.UpgradePostPayOrderResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpgradePostPayOrderResponseUnmarshaller { public static UpgradePostPayOrderResponse unmarshall(UpgradePostPayOrderResponse upgradePostPayOrderResponse, UnmarshallerContext _ctx) { upgradePostPayOrderResponse.setRequestId(_ctx.stringValue("UpgradePostPayOrderResponse.RequestId")); upgradePostPayOrderResponse.setCode(_ctx.integerValue("UpgradePostPayOrderResponse.Code")); upgradePostPayOrderResponse.setMessage(_ctx.stringValue("UpgradePostPayOrderResponse.Message")); upgradePostPayOrderResponse.setSuccess(_ctx.booleanValue("UpgradePostPayOrderResponse.Success")); return upgradePostPayOrderResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform
java-sources/com/aliyun/aliyun-java-sdk-alikafka/1.2.13/com/aliyuncs/alikafka/transform/v20190916/UpgradePrePayOrderResponseUnmarshaller.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.alikafka.transform.v20190916; import com.aliyuncs.alikafka.model.v20190916.UpgradePrePayOrderResponse; import com.aliyuncs.transform.UnmarshallerContext; public class UpgradePrePayOrderResponseUnmarshaller { public static UpgradePrePayOrderResponse unmarshall(UpgradePrePayOrderResponse upgradePrePayOrderResponse, UnmarshallerContext _ctx) { upgradePrePayOrderResponse.setRequestId(_ctx.stringValue("UpgradePrePayOrderResponse.RequestId")); upgradePrePayOrderResponse.setCode(_ctx.integerValue("UpgradePrePayOrderResponse.Code")); upgradePrePayOrderResponse.setMessage(_ctx.stringValue("UpgradePrePayOrderResponse.Message")); upgradePrePayOrderResponse.setSuccess(_ctx.booleanValue("UpgradePrePayOrderResponse.Success")); upgradePrePayOrderResponse.setOrderId(_ctx.stringValue("UpgradePrePayOrderResponse.OrderId")); return upgradePrePayOrderResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/Endpoint.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.aliyuncs.alimt; import java.util.HashMap; public class Endpoint { public static HashMap<String, String> endpointMap = new HashMap<String, String>() { { put("cn-shanghai-internal-test-1", "mt.aliyuncs.com"); put("cn-shenzhen-su18-b01", "mt.aliyuncs.com"); put("cn-beijing", "mt.aliyuncs.com"); put("cn-shanghai-inner", "mt.aliyuncs.com"); put("cn-hangzhou-internal-prod-1", "mt.aliyuncs.com"); put("cn-north-2-gov-1", "mt.aliyuncs.com"); put("cn-yushanfang", "mt.aliyuncs.com"); put("cn-qingdao-nebula", "mt.aliyuncs.com"); put("cn-beijing-finance-pop", "mt.aliyuncs.com"); put("cn-wuhan", "mt.aliyuncs.com"); put("cn-zhangjiakou", "mt.aliyuncs.com"); put("us-west-1", "mt.aliyuncs.com"); put("rus-west-1-pop", "mt.aliyuncs.com"); put("cn-shanghai-et15-b01", "mt.aliyuncs.com"); put("cn-hangzhou-bj-b01", "mt.aliyuncs.com"); put("cn-zhangbei-na61-b01", "mt.aliyuncs.com"); put("ap-northeast-1", "mt.aliyuncs.com"); put("cn-shanghai-et2-b01", "mt.aliyuncs.com"); put("ap-southeast-1", "mt.ap-southeast-1.aliyuncs.com"); put("ap-southeast-2", "mt.aliyuncs.com"); put("ap-southeast-3", "mt.aliyuncs.com"); put("ap-southeast-5", "mt.aliyuncs.com"); put("us-east-1", "mt.aliyuncs.com"); put("cn-shenzhen-inner", "mt.aliyuncs.com"); put("cn-zhangjiakou-na62-a01", "mt.aliyuncs.com"); put("cn-beijing-gov-1", "mt.aliyuncs.com"); put("ap-south-1", "mt.aliyuncs.com"); put("cn-shenzhen-st4-d01", "mt.aliyuncs.com"); put("cn-haidian-cm12-c01", "mt.aliyuncs.com"); put("cn-qingdao", "mt.aliyuncs.com"); put("cn-hongkong-finance-pop", "mt.aliyuncs.com"); put("cn-shanghai", "mt.aliyuncs.com"); put("cn-shanghai-finance-1", "mt.aliyuncs.com"); put("cn-hongkong", "mt.aliyuncs.com"); put("eu-central-1", "mt.aliyuncs.com"); put("cn-shenzhen", "mt.aliyuncs.com"); put("cn-zhengzhou-nebula-1", "mt.aliyuncs.com"); put("eu-west-1", "mt.aliyuncs.com"); put("cn-hangzhou-internal-test-1", "mt.aliyuncs.com"); put("eu-west-1-oxs", "mt.aliyuncs.com"); put("cn-beijing-finance-1", "mt.aliyuncs.com"); put("cn-hangzhou-internal-test-3", "mt.aliyuncs.com"); put("cn-hangzhou-internal-test-2", "mt.aliyuncs.com"); put("cn-shenzhen-finance-1", "mt.aliyuncs.com"); put("me-east-1", "mt.aliyuncs.com"); put("cn-chengdu", "mt.aliyuncs.com"); put("cn-hangzhou-test-306", "mt.aliyuncs.com"); put("cn-hangzhou-finance", "mt.aliyuncs.com"); put("cn-beijing-nu16-b01", "mt.aliyuncs.com"); put("cn-edge-1", "mt.aliyuncs.com"); put("cn-huhehaote", "mt.aliyuncs.com"); put("cn-fujian", "mt.aliyuncs.com"); put("ap-northeast-2-pop", "mt.aliyuncs.com"); put("cn-hangzhou", "mt.cn-hangzhou.aliyuncs.com"); } }; public static String endpointRegionalType = "regional"; }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/CreateDocTranslateTaskRequest.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.alimt.model.v20181012; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.alimt.Endpoint; /** * @author auto create * @version */ public class CreateDocTranslateTaskRequest extends RpcAcsRequest<CreateDocTranslateTaskResponse> { private String sourceLanguage; private String clientToken; private String scene; private String fileUrl; private String targetLanguage; private String callbackUrl; public CreateDocTranslateTaskRequest() { super("alimt", "2018-10-12", "CreateDocTranslateTask"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getSourceLanguage() { return this.sourceLanguage; } public void setSourceLanguage(String sourceLanguage) { this.sourceLanguage = sourceLanguage; if(sourceLanguage != null){ putBodyParameter("SourceLanguage", sourceLanguage); } } public String getClientToken() { return this.clientToken; } public void setClientToken(String clientToken) { this.clientToken = clientToken; if(clientToken != null){ putBodyParameter("ClientToken", clientToken); } } public String getScene() { return this.scene; } public void setScene(String scene) { this.scene = scene; if(scene != null){ putBodyParameter("Scene", scene); } } public String getFileUrl() { return this.fileUrl; } public void setFileUrl(String fileUrl) { this.fileUrl = fileUrl; if(fileUrl != null){ putBodyParameter("FileUrl", fileUrl); } } public String getTargetLanguage() { return this.targetLanguage; } public void setTargetLanguage(String targetLanguage) { this.targetLanguage = targetLanguage; if(targetLanguage != null){ putBodyParameter("TargetLanguage", targetLanguage); } } public String getCallbackUrl() { return this.callbackUrl; } public void setCallbackUrl(String callbackUrl) { this.callbackUrl = callbackUrl; if(callbackUrl != null){ putBodyParameter("CallbackUrl", callbackUrl); } } @Override public Class<CreateDocTranslateTaskResponse> getResponseClass() { return CreateDocTranslateTaskResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/CreateDocTranslateTaskResponse.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.alimt.model.v20181012; import com.aliyuncs.AcsResponse; import com.aliyuncs.alimt.transform.v20181012.CreateDocTranslateTaskResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateDocTranslateTaskResponse extends AcsResponse { private String status; private String requestId; private String taskId; public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getTaskId() { return this.taskId; } public void setTaskId(String taskId) { this.taskId = taskId; } @Override public CreateDocTranslateTaskResponse getInstance(UnmarshallerContext context) { return CreateDocTranslateTaskResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/CreateImageTranslateTaskRequest.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.alimt.model.v20181012; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.alimt.Endpoint; /** * @author auto create * @version */ public class CreateImageTranslateTaskRequest extends RpcAcsRequest<CreateImageTranslateTaskResponse> { private String sourceLanguage; private String clientToken; private String urlList; private String extra; private String targetLanguage; public CreateImageTranslateTaskRequest() { super("alimt", "2018-10-12", "CreateImageTranslateTask"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getSourceLanguage() { return this.sourceLanguage; } public void setSourceLanguage(String sourceLanguage) { this.sourceLanguage = sourceLanguage; if(sourceLanguage != null){ putBodyParameter("SourceLanguage", sourceLanguage); } } public String getClientToken() { return this.clientToken; } public void setClientToken(String clientToken) { this.clientToken = clientToken; if(clientToken != null){ putBodyParameter("ClientToken", clientToken); } } public String getUrlList() { return this.urlList; } public void setUrlList(String urlList) { this.urlList = urlList; if(urlList != null){ putBodyParameter("UrlList", urlList); } } public String getExtra() { return this.extra; } public void setExtra(String extra) { this.extra = extra; if(extra != null){ putBodyParameter("Extra", extra); } } public String getTargetLanguage() { return this.targetLanguage; } public void setTargetLanguage(String targetLanguage) { this.targetLanguage = targetLanguage; if(targetLanguage != null){ putBodyParameter("TargetLanguage", targetLanguage); } } @Override public Class<CreateImageTranslateTaskResponse> getResponseClass() { return CreateImageTranslateTaskResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/CreateImageTranslateTaskResponse.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.alimt.model.v20181012; import com.aliyuncs.AcsResponse; import com.aliyuncs.alimt.transform.v20181012.CreateImageTranslateTaskResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class CreateImageTranslateTaskResponse extends AcsResponse { private Integer code; private String message; private String requestId; private Data data; public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String taskId; public String getTaskId() { return this.taskId; } public void setTaskId(String taskId) { this.taskId = taskId; } } @Override public CreateImageTranslateTaskResponse getInstance(UnmarshallerContext context) { return CreateImageTranslateTaskResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/GetBatchTranslateRequest.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.alimt.model.v20181012; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.alimt.Endpoint; /** * @author auto create * @version */ public class GetBatchTranslateRequest extends RpcAcsRequest<GetBatchTranslateResponse> { private String sourceLanguage; private String sourceText; private String formatType; private String apiType; private String scene; private String targetLanguage; public GetBatchTranslateRequest() { super("alimt", "2018-10-12", "GetBatchTranslate"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getSourceLanguage() { return this.sourceLanguage; } public void setSourceLanguage(String sourceLanguage) { this.sourceLanguage = sourceLanguage; if(sourceLanguage != null){ putBodyParameter("SourceLanguage", sourceLanguage); } } public String getSourceText() { return this.sourceText; } public void setSourceText(String sourceText) { this.sourceText = sourceText; if(sourceText != null){ putBodyParameter("SourceText", sourceText); } } public String getFormatType() { return this.formatType; } public void setFormatType(String formatType) { this.formatType = formatType; if(formatType != null){ putBodyParameter("FormatType", formatType); } } public String getApiType() { return this.apiType; } public void setApiType(String apiType) { this.apiType = apiType; if(apiType != null){ putBodyParameter("ApiType", apiType); } } public String getScene() { return this.scene; } public void setScene(String scene) { this.scene = scene; if(scene != null){ putBodyParameter("Scene", scene); } } public String getTargetLanguage() { return this.targetLanguage; } public void setTargetLanguage(String targetLanguage) { this.targetLanguage = targetLanguage; if(targetLanguage != null){ putBodyParameter("TargetLanguage", targetLanguage); } } @Override public Class<GetBatchTranslateResponse> getResponseClass() { return GetBatchTranslateResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/GetBatchTranslateResponse.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.alimt.model.v20181012; import java.util.List; import java.util.Map; import com.aliyuncs.AcsResponse; import com.aliyuncs.alimt.transform.v20181012.GetBatchTranslateResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetBatchTranslateResponse extends AcsResponse { private Integer code; private String message; private String requestId; private List<Map<Object,Object>> translatedList; public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public List<Map<Object,Object>> getTranslatedList() { return this.translatedList; } public void setTranslatedList(List<Map<Object,Object>> translatedList) { this.translatedList = translatedList; } @Override public GetBatchTranslateResponse getInstance(UnmarshallerContext context) { return GetBatchTranslateResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/GetDetectLanguageRequest.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.alimt.model.v20181012; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.alimt.Endpoint; /** * @author auto create * @version */ public class GetDetectLanguageRequest extends RpcAcsRequest<GetDetectLanguageResponse> { private String sourceText; public GetDetectLanguageRequest() { super("alimt", "2018-10-12", "GetDetectLanguage"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getSourceText() { return this.sourceText; } public void setSourceText(String sourceText) { this.sourceText = sourceText; if(sourceText != null){ putBodyParameter("SourceText", sourceText); } } @Override public Class<GetDetectLanguageResponse> getResponseClass() { return GetDetectLanguageResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/GetDetectLanguageResponse.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.alimt.model.v20181012; import com.aliyuncs.AcsResponse; import com.aliyuncs.alimt.transform.v20181012.GetDetectLanguageResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetDetectLanguageResponse extends AcsResponse { private String detectedLanguage; private String requestId; public String getDetectedLanguage() { return this.detectedLanguage; } public void setDetectedLanguage(String detectedLanguage) { this.detectedLanguage = detectedLanguage; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public GetDetectLanguageResponse getInstance(UnmarshallerContext context) { return GetDetectLanguageResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/GetDocTranslateTaskRequest.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.alimt.model.v20181012; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.alimt.Endpoint; /** * @author auto create * @version */ public class GetDocTranslateTaskRequest extends RpcAcsRequest<GetDocTranslateTaskResponse> { private String taskId; public GetDocTranslateTaskRequest() { super("alimt", "2018-10-12", "GetDocTranslateTask"); setMethod(MethodType.GET); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getTaskId() { return this.taskId; } public void setTaskId(String taskId) { this.taskId = taskId; if(taskId != null){ putQueryParameter("TaskId", taskId); } } @Override public Class<GetDocTranslateTaskResponse> getResponseClass() { return GetDocTranslateTaskResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/GetDocTranslateTaskResponse.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.alimt.model.v20181012; import com.aliyuncs.AcsResponse; import com.aliyuncs.alimt.transform.v20181012.GetDocTranslateTaskResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetDocTranslateTaskResponse extends AcsResponse { private String status; private String requestId; private String translateFileUrl; private String translateErrorCode; private Integer pageCount; private String taskId; private String translateErrorMessage; public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getTranslateFileUrl() { return this.translateFileUrl; } public void setTranslateFileUrl(String translateFileUrl) { this.translateFileUrl = translateFileUrl; } public String getTranslateErrorCode() { return this.translateErrorCode; } public void setTranslateErrorCode(String translateErrorCode) { this.translateErrorCode = translateErrorCode; } public Integer getPageCount() { return this.pageCount; } public void setPageCount(Integer pageCount) { this.pageCount = pageCount; } public String getTaskId() { return this.taskId; } public void setTaskId(String taskId) { this.taskId = taskId; } public String getTranslateErrorMessage() { return this.translateErrorMessage; } public void setTranslateErrorMessage(String translateErrorMessage) { this.translateErrorMessage = translateErrorMessage; } @Override public GetDocTranslateTaskResponse getInstance(UnmarshallerContext context) { return GetDocTranslateTaskResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/GetImageDiagnoseRequest.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.alimt.model.v20181012; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.alimt.Endpoint; /** * @author auto create * @version */ public class GetImageDiagnoseRequest extends RpcAcsRequest<GetImageDiagnoseResponse> { private String url; private String extra; public GetImageDiagnoseRequest() { super("alimt", "2018-10-12", "GetImageDiagnose"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getUrl() { return this.url; } public void setUrl(String url) { this.url = url; if(url != null){ putBodyParameter("Url", url); } } public String getExtra() { return this.extra; } public void setExtra(String extra) { this.extra = extra; if(extra != null){ putBodyParameter("Extra", extra); } } @Override public Class<GetImageDiagnoseResponse> getResponseClass() { return GetImageDiagnoseResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/GetImageDiagnoseResponse.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.alimt.model.v20181012; import com.aliyuncs.AcsResponse; import com.aliyuncs.alimt.transform.v20181012.GetImageDiagnoseResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetImageDiagnoseResponse extends AcsResponse { private Integer code; private String message; private String requestId; private Data data; public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String language; public String getLanguage() { return this.language; } public void setLanguage(String language) { this.language = language; } } @Override public GetImageDiagnoseResponse getInstance(UnmarshallerContext context) { return GetImageDiagnoseResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/GetImageTranslateRequest.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.alimt.model.v20181012; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.alimt.Endpoint; /** * @author auto create * @version */ public class GetImageTranslateRequest extends RpcAcsRequest<GetImageTranslateResponse> { private String sourceLanguage; private String url; private String extra; private String targetLanguage; public GetImageTranslateRequest() { super("alimt", "2018-10-12", "GetImageTranslate"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getSourceLanguage() { return this.sourceLanguage; } public void setSourceLanguage(String sourceLanguage) { this.sourceLanguage = sourceLanguage; if(sourceLanguage != null){ putBodyParameter("SourceLanguage", sourceLanguage); } } public String getUrl() { return this.url; } public void setUrl(String url) { this.url = url; if(url != null){ putBodyParameter("Url", url); } } public String getExtra() { return this.extra; } public void setExtra(String extra) { this.extra = extra; if(extra != null){ putBodyParameter("Extra", extra); } } public String getTargetLanguage() { return this.targetLanguage; } public void setTargetLanguage(String targetLanguage) { this.targetLanguage = targetLanguage; if(targetLanguage != null){ putBodyParameter("TargetLanguage", targetLanguage); } } @Override public Class<GetImageTranslateResponse> getResponseClass() { return GetImageTranslateResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/GetImageTranslateResponse.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.alimt.model.v20181012; import com.aliyuncs.AcsResponse; import com.aliyuncs.alimt.transform.v20181012.GetImageTranslateResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetImageTranslateResponse extends AcsResponse { private Integer code; private String message; private String requestId; private Data data; public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String url; private String orc; private String pictureEditor; public String getUrl() { return this.url; } public void setUrl(String url) { this.url = url; } public String getOrc() { return this.orc; } public void setOrc(String orc) { this.orc = orc; } public String getPictureEditor() { return this.pictureEditor; } public void setPictureEditor(String pictureEditor) { this.pictureEditor = pictureEditor; } } @Override public GetImageTranslateResponse getInstance(UnmarshallerContext context) { return GetImageTranslateResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/GetImageTranslateTaskRequest.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.alimt.model.v20181012; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.alimt.Endpoint; /** * @author auto create * @version */ public class GetImageTranslateTaskRequest extends RpcAcsRequest<GetImageTranslateTaskResponse> { private String taskId; public GetImageTranslateTaskRequest() { super("alimt", "2018-10-12", "GetImageTranslateTask"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getTaskId() { return this.taskId; } public void setTaskId(String taskId) { this.taskId = taskId; if(taskId != null){ putBodyParameter("TaskId", taskId); } } @Override public Class<GetImageTranslateTaskResponse> getResponseClass() { return GetImageTranslateTaskResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/GetImageTranslateTaskResponse.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.alimt.model.v20181012; import com.aliyuncs.AcsResponse; import com.aliyuncs.alimt.transform.v20181012.GetImageTranslateTaskResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetImageTranslateTaskResponse extends AcsResponse { private Integer code; private String message; private String requestId; private Data data; public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String imageData; public String getImageData() { return this.imageData; } public void setImageData(String imageData) { this.imageData = imageData; } } @Override public GetImageTranslateTaskResponse getInstance(UnmarshallerContext context) { return GetImageTranslateTaskResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/GetTitleDiagnoseRequest.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.alimt.model.v20181012; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.alimt.Endpoint; /** * @author auto create * @version */ public class GetTitleDiagnoseRequest extends RpcAcsRequest<GetTitleDiagnoseResponse> { private String language; private String title; private String platform; private String extra; private String categoryId; public GetTitleDiagnoseRequest() { super("alimt", "2018-10-12", "GetTitleDiagnose"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getLanguage() { return this.language; } public void setLanguage(String language) { this.language = language; if(language != null){ putBodyParameter("Language", language); } } public String getTitle() { return this.title; } public void setTitle(String title) { this.title = title; if(title != null){ putBodyParameter("Title", title); } } public String getPlatform() { return this.platform; } public void setPlatform(String platform) { this.platform = platform; if(platform != null){ putBodyParameter("Platform", platform); } } public String getExtra() { return this.extra; } public void setExtra(String extra) { this.extra = extra; if(extra != null){ putBodyParameter("Extra", extra); } } public String getCategoryId() { return this.categoryId; } public void setCategoryId(String categoryId) { this.categoryId = categoryId; if(categoryId != null){ putBodyParameter("CategoryId", categoryId); } } @Override public Class<GetTitleDiagnoseResponse> getResponseClass() { return GetTitleDiagnoseResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/GetTitleDiagnoseResponse.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.alimt.model.v20181012; import com.aliyuncs.AcsResponse; import com.aliyuncs.alimt.transform.v20181012.GetTitleDiagnoseResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetTitleDiagnoseResponse extends AcsResponse { private Integer code; private String message; private String requestId; private Data data; public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String duplicateWords; private String containCoreClasses; private String wordCount; private String languageQualityScore; private String allUppercaseWords; private String overLengthLimit; private String disableWords; private String noFirstUppercaseList; private String totalScore; private String wordSpelledCorrectError; public String getDuplicateWords() { return this.duplicateWords; } public void setDuplicateWords(String duplicateWords) { this.duplicateWords = duplicateWords; } public String getContainCoreClasses() { return this.containCoreClasses; } public void setContainCoreClasses(String containCoreClasses) { this.containCoreClasses = containCoreClasses; } public String getWordCount() { return this.wordCount; } public void setWordCount(String wordCount) { this.wordCount = wordCount; } public String getLanguageQualityScore() { return this.languageQualityScore; } public void setLanguageQualityScore(String languageQualityScore) { this.languageQualityScore = languageQualityScore; } public String getAllUppercaseWords() { return this.allUppercaseWords; } public void setAllUppercaseWords(String allUppercaseWords) { this.allUppercaseWords = allUppercaseWords; } public String getOverLengthLimit() { return this.overLengthLimit; } public void setOverLengthLimit(String overLengthLimit) { this.overLengthLimit = overLengthLimit; } public String getDisableWords() { return this.disableWords; } public void setDisableWords(String disableWords) { this.disableWords = disableWords; } public String getNoFirstUppercaseList() { return this.noFirstUppercaseList; } public void setNoFirstUppercaseList(String noFirstUppercaseList) { this.noFirstUppercaseList = noFirstUppercaseList; } public String getTotalScore() { return this.totalScore; } public void setTotalScore(String totalScore) { this.totalScore = totalScore; } public String getWordSpelledCorrectError() { return this.wordSpelledCorrectError; } public void setWordSpelledCorrectError(String wordSpelledCorrectError) { this.wordSpelledCorrectError = wordSpelledCorrectError; } } @Override public GetTitleDiagnoseResponse getInstance(UnmarshallerContext context) { return GetTitleDiagnoseResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/GetTitleGenerateRequest.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.alimt.model.v20181012; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.alimt.Endpoint; /** * @author auto create * @version */ public class GetTitleGenerateRequest extends RpcAcsRequest<GetTitleGenerateResponse> { private String language; private String title; private String platform; private String extra; private String attributes; private String hotWords; private String categoryId; public GetTitleGenerateRequest() { super("alimt", "2018-10-12", "GetTitleGenerate"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getLanguage() { return this.language; } public void setLanguage(String language) { this.language = language; if(language != null){ putBodyParameter("Language", language); } } public String getTitle() { return this.title; } public void setTitle(String title) { this.title = title; if(title != null){ putBodyParameter("Title", title); } } public String getPlatform() { return this.platform; } public void setPlatform(String platform) { this.platform = platform; if(platform != null){ putBodyParameter("Platform", platform); } } public String getExtra() { return this.extra; } public void setExtra(String extra) { this.extra = extra; if(extra != null){ putBodyParameter("Extra", extra); } } public String getAttributes() { return this.attributes; } public void setAttributes(String attributes) { this.attributes = attributes; if(attributes != null){ putBodyParameter("Attributes", attributes); } } public String getHotWords() { return this.hotWords; } public void setHotWords(String hotWords) { this.hotWords = hotWords; if(hotWords != null){ putBodyParameter("HotWords", hotWords); } } public String getCategoryId() { return this.categoryId; } public void setCategoryId(String categoryId) { this.categoryId = categoryId; if(categoryId != null){ putBodyParameter("CategoryId", categoryId); } } @Override public Class<GetTitleGenerateResponse> getResponseClass() { return GetTitleGenerateResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/GetTitleGenerateResponse.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.alimt.model.v20181012; import com.aliyuncs.AcsResponse; import com.aliyuncs.alimt.transform.v20181012.GetTitleGenerateResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetTitleGenerateResponse extends AcsResponse { private Integer code; private String message; private String requestId; private Data data; public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String titles; public String getTitles() { return this.titles; } public void setTitles(String titles) { this.titles = titles; } } @Override public GetTitleGenerateResponse getInstance(UnmarshallerContext context) { return GetTitleGenerateResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/GetTitleIntelligenceRequest.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.alimt.model.v20181012; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.alimt.Endpoint; /** * @author auto create * @version */ public class GetTitleIntelligenceRequest extends RpcAcsRequest<GetTitleIntelligenceResponse> { private Long catLevelThreeId; private Long catLevelTwoId; private String keywords; private String platform; private String extra; public GetTitleIntelligenceRequest() { super("alimt", "2018-10-12", "GetTitleIntelligence"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public Long getCatLevelThreeId() { return this.catLevelThreeId; } public void setCatLevelThreeId(Long catLevelThreeId) { this.catLevelThreeId = catLevelThreeId; if(catLevelThreeId != null){ putBodyParameter("CatLevelThreeId", catLevelThreeId.toString()); } } public Long getCatLevelTwoId() { return this.catLevelTwoId; } public void setCatLevelTwoId(Long catLevelTwoId) { this.catLevelTwoId = catLevelTwoId; if(catLevelTwoId != null){ putBodyParameter("CatLevelTwoId", catLevelTwoId.toString()); } } public String getKeywords() { return this.keywords; } public void setKeywords(String keywords) { this.keywords = keywords; if(keywords != null){ putBodyParameter("Keywords", keywords); } } public String getPlatform() { return this.platform; } public void setPlatform(String platform) { this.platform = platform; if(platform != null){ putBodyParameter("Platform", platform); } } public String getExtra() { return this.extra; } public void setExtra(String extra) { this.extra = extra; if(extra != null){ putBodyParameter("Extra", extra); } } @Override public Class<GetTitleIntelligenceResponse> getResponseClass() { return GetTitleIntelligenceResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/GetTitleIntelligenceResponse.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.alimt.model.v20181012; import com.aliyuncs.AcsResponse; import com.aliyuncs.alimt.transform.v20181012.GetTitleIntelligenceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetTitleIntelligenceResponse extends AcsResponse { private Integer code; private String message; private String requestId; private Data data; public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String titles; public String getTitles() { return this.titles; } public void setTitles(String titles) { this.titles = titles; } } @Override public GetTitleIntelligenceResponse getInstance(UnmarshallerContext context) { return GetTitleIntelligenceResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/GetTranslateImageBatchResultRequest.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.alimt.model.v20181012; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.alimt.Endpoint; /** * @author auto create * @version */ public class GetTranslateImageBatchResultRequest extends RpcAcsRequest<GetTranslateImageBatchResultResponse> { private String taskId; public GetTranslateImageBatchResultRequest() { super("alimt", "2018-10-12", "GetTranslateImageBatchResult"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getTaskId() { return this.taskId; } public void setTaskId(String taskId) { this.taskId = taskId; if(taskId != null){ putBodyParameter("TaskId", taskId); } } @Override public Class<GetTranslateImageBatchResultResponse> getResponseClass() { return GetTranslateImageBatchResultResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/GetTranslateImageBatchResultResponse.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.alimt.model.v20181012; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.alimt.transform.v20181012.GetTranslateImageBatchResultResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetTranslateImageBatchResultResponse extends AcsResponse { private Integer code; private String message; private String requestId; private Data data; public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String status; private List<CertificateImageTranslateResult> result; public String getStatus() { return this.status; } public void setStatus(String status) { this.status = status; } public List<CertificateImageTranslateResult> getResult() { return this.result; } public void setResult(List<CertificateImageTranslateResult> result) { this.result = result; } public static class CertificateImageTranslateResult { private String inPaintingUrl; private String finalImageUrl; private String templateJson; private String sourceImageUrl; private Integer code; private String message; private Boolean success; public String getInPaintingUrl() { return this.inPaintingUrl; } public void setInPaintingUrl(String inPaintingUrl) { this.inPaintingUrl = inPaintingUrl; } public String getFinalImageUrl() { return this.finalImageUrl; } public void setFinalImageUrl(String finalImageUrl) { this.finalImageUrl = finalImageUrl; } public String getTemplateJson() { return this.templateJson; } public void setTemplateJson(String templateJson) { this.templateJson = templateJson; } public String getSourceImageUrl() { return this.sourceImageUrl; } public void setSourceImageUrl(String sourceImageUrl) { this.sourceImageUrl = sourceImageUrl; } public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public Boolean getSuccess() { return this.success; } public void setSuccess(Boolean success) { this.success = success; } } } @Override public GetTranslateImageBatchResultResponse getInstance(UnmarshallerContext context) { return GetTranslateImageBatchResultResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/GetTranslateReportRequest.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.alimt.model.v20181012; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.alimt.Endpoint; /** * @author auto create * @version */ public class GetTranslateReportRequest extends RpcAcsRequest<GetTranslateReportResponse> { private String endTime; private String beginTime; private String apiName; private String group; public GetTranslateReportRequest() { super("alimt", "2018-10-12", "GetTranslateReport"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getEndTime() { return this.endTime; } public void setEndTime(String endTime) { this.endTime = endTime; if(endTime != null){ putQueryParameter("EndTime", endTime); } } public String getBeginTime() { return this.beginTime; } public void setBeginTime(String beginTime) { this.beginTime = beginTime; if(beginTime != null){ putQueryParameter("BeginTime", beginTime); } } public String getApiName() { return this.apiName; } public void setApiName(String apiName) { this.apiName = apiName; if(apiName != null){ putQueryParameter("ApiName", apiName); } } public String getGroup() { return this.group; } public void setGroup(String group) { this.group = group; if(group != null){ putQueryParameter("Group", group); } } @Override public Class<GetTranslateReportResponse> getResponseClass() { return GetTranslateReportResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/GetTranslateReportResponse.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.alimt.model.v20181012; import com.aliyuncs.AcsResponse; import com.aliyuncs.alimt.transform.v20181012.GetTranslateReportResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class GetTranslateReportResponse extends AcsResponse { private Integer code; private String message; private String data; private String requestId; public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getData() { return this.data; } public void setData(String data) { this.data = data; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public GetTranslateReportResponse getInstance(UnmarshallerContext context) { return GetTranslateReportResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/OpenAlimtServiceRequest.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.alimt.model.v20181012; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.alimt.Endpoint; /** * @author auto create * @version */ public class OpenAlimtServiceRequest extends RpcAcsRequest<OpenAlimtServiceResponse> { private Long ownerId; private String type; public OpenAlimtServiceRequest() { super("alimt", "2018-10-12", "OpenAlimtService"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public Long getOwnerId() { return this.ownerId; } public void setOwnerId(Long ownerId) { this.ownerId = ownerId; if(ownerId != null){ putQueryParameter("OwnerId", ownerId.toString()); } } public String getType() { return this.type; } public void setType(String type) { this.type = type; if(type != null){ putQueryParameter("Type", type); } } @Override public Class<OpenAlimtServiceResponse> getResponseClass() { return OpenAlimtServiceResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/OpenAlimtServiceResponse.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.alimt.model.v20181012; import com.aliyuncs.AcsResponse; import com.aliyuncs.alimt.transform.v20181012.OpenAlimtServiceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class OpenAlimtServiceResponse extends AcsResponse { private String orderId; private String requestId; public String getOrderId() { return this.orderId; } public void setOrderId(String orderId) { this.orderId = orderId; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } @Override public OpenAlimtServiceResponse getInstance(UnmarshallerContext context) { return OpenAlimtServiceResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/TranslateCertificateRequest.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.alimt.model.v20181012; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.alimt.Endpoint; /** * @author auto create * @version */ public class TranslateCertificateRequest extends RpcAcsRequest<TranslateCertificateResponse> { private String sourceLanguage; private String certificateType; private String resultType; private String imageUrl; private String targetLanguage; public TranslateCertificateRequest() { super("alimt", "2018-10-12", "TranslateCertificate"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getSourceLanguage() { return this.sourceLanguage; } public void setSourceLanguage(String sourceLanguage) { this.sourceLanguage = sourceLanguage; if(sourceLanguage != null){ putBodyParameter("SourceLanguage", sourceLanguage); } } public String getCertificateType() { return this.certificateType; } public void setCertificateType(String certificateType) { this.certificateType = certificateType; if(certificateType != null){ putBodyParameter("CertificateType", certificateType); } } public String getResultType() { return this.resultType; } public void setResultType(String resultType) { this.resultType = resultType; if(resultType != null){ putBodyParameter("ResultType", resultType); } } public String getImageUrl() { return this.imageUrl; } public void setImageUrl(String imageUrl) { this.imageUrl = imageUrl; if(imageUrl != null){ putBodyParameter("ImageUrl", imageUrl); } } public String getTargetLanguage() { return this.targetLanguage; } public void setTargetLanguage(String targetLanguage) { this.targetLanguage = targetLanguage; if(targetLanguage != null){ putBodyParameter("TargetLanguage", targetLanguage); } } @Override public Class<TranslateCertificateResponse> getResponseClass() { return TranslateCertificateResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/TranslateCertificateResponse.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.alimt.model.v20181012; import java.util.List; import com.aliyuncs.AcsResponse; import com.aliyuncs.alimt.transform.v20181012.TranslateCertificateResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class TranslateCertificateResponse extends AcsResponse { private String requestId; private Data data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private List<CertificateTranslateItemDTO> translatedValues; public List<CertificateTranslateItemDTO> getTranslatedValues() { return this.translatedValues; } public void setTranslatedValues(List<CertificateTranslateItemDTO> translatedValues) { this.translatedValues = translatedValues; } public static class CertificateTranslateItemDTO { private String keyTranslation; private String key; private String value; private String valueTranslation; public String getKeyTranslation() { return this.keyTranslation; } public void setKeyTranslation(String keyTranslation) { this.keyTranslation = keyTranslation; } public String getKey() { return this.key; } public void setKey(String key) { this.key = key; } public String getValue() { return this.value; } public void setValue(String value) { this.value = value; } public String getValueTranslation() { return this.valueTranslation; } public void setValueTranslation(String valueTranslation) { this.valueTranslation = valueTranslation; } } } @Override public TranslateCertificateResponse getInstance(UnmarshallerContext context) { return TranslateCertificateResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/TranslateECommerceRequest.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.alimt.model.v20181012; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.alimt.Endpoint; /** * @author auto create * @version */ public class TranslateECommerceRequest extends RpcAcsRequest<TranslateECommerceResponse> { private String sourceLanguage; private String sourceText; private String formatType; private String scene; private String context; private String targetLanguage; public TranslateECommerceRequest() { super("alimt", "2018-10-12", "TranslateECommerce"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getSourceLanguage() { return this.sourceLanguage; } public void setSourceLanguage(String sourceLanguage) { this.sourceLanguage = sourceLanguage; if(sourceLanguage != null){ putBodyParameter("SourceLanguage", sourceLanguage); } } public String getSourceText() { return this.sourceText; } public void setSourceText(String sourceText) { this.sourceText = sourceText; if(sourceText != null){ putBodyParameter("SourceText", sourceText); } } public String getFormatType() { return this.formatType; } public void setFormatType(String formatType) { this.formatType = formatType; if(formatType != null){ putBodyParameter("FormatType", formatType); } } public String getScene() { return this.scene; } public void setScene(String scene) { this.scene = scene; if(scene != null){ putBodyParameter("Scene", scene); } } public String getContext() { return this.context; } public void setContext(String context) { this.context = context; if(context != null){ putQueryParameter("Context", context); } } public String getTargetLanguage() { return this.targetLanguage; } public void setTargetLanguage(String targetLanguage) { this.targetLanguage = targetLanguage; if(targetLanguage != null){ putBodyParameter("TargetLanguage", targetLanguage); } } @Override public Class<TranslateECommerceResponse> getResponseClass() { return TranslateECommerceResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/TranslateECommerceResponse.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.alimt.model.v20181012; import com.aliyuncs.AcsResponse; import com.aliyuncs.alimt.transform.v20181012.TranslateECommerceResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class TranslateECommerceResponse extends AcsResponse { private Integer code; private String message; private String requestId; private Data data; public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String translated; private String wordCount; public String getTranslated() { return this.translated; } public void setTranslated(String translated) { this.translated = translated; } public String getWordCount() { return this.wordCount; } public void setWordCount(String wordCount) { this.wordCount = wordCount; } } @Override public TranslateECommerceResponse getInstance(UnmarshallerContext context) { return TranslateECommerceResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/TranslateGeneralRequest.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.alimt.model.v20181012; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.alimt.Endpoint; /** * @author auto create * @version */ public class TranslateGeneralRequest extends RpcAcsRequest<TranslateGeneralResponse> { private String sourceLanguage; private String sourceText; private String formatType; private String scene; private String context; private String targetLanguage; public TranslateGeneralRequest() { super("alimt", "2018-10-12", "TranslateGeneral"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getSourceLanguage() { return this.sourceLanguage; } public void setSourceLanguage(String sourceLanguage) { this.sourceLanguage = sourceLanguage; if(sourceLanguage != null){ putBodyParameter("SourceLanguage", sourceLanguage); } } public String getSourceText() { return this.sourceText; } public void setSourceText(String sourceText) { this.sourceText = sourceText; if(sourceText != null){ putBodyParameter("SourceText", sourceText); } } public String getFormatType() { return this.formatType; } public void setFormatType(String formatType) { this.formatType = formatType; if(formatType != null){ putBodyParameter("FormatType", formatType); } } public String getScene() { return this.scene; } public void setScene(String scene) { this.scene = scene; if(scene != null){ putBodyParameter("Scene", scene); } } public String getContext() { return this.context; } public void setContext(String context) { this.context = context; if(context != null){ putQueryParameter("Context", context); } } public String getTargetLanguage() { return this.targetLanguage; } public void setTargetLanguage(String targetLanguage) { this.targetLanguage = targetLanguage; if(targetLanguage != null){ putBodyParameter("TargetLanguage", targetLanguage); } } @Override public Class<TranslateGeneralResponse> getResponseClass() { return TranslateGeneralResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/TranslateGeneralResponse.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.alimt.model.v20181012; import com.aliyuncs.AcsResponse; import com.aliyuncs.alimt.transform.v20181012.TranslateGeneralResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class TranslateGeneralResponse extends AcsResponse { private Integer code; private String message; private String requestId; private Data data; public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String translated; private String wordCount; public String getTranslated() { return this.translated; } public void setTranslated(String translated) { this.translated = translated; } public String getWordCount() { return this.wordCount; } public void setWordCount(String wordCount) { this.wordCount = wordCount; } } @Override public TranslateGeneralResponse getInstance(UnmarshallerContext context) { return TranslateGeneralResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/TranslateImageBatchRequest.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.alimt.model.v20181012; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.alimt.Endpoint; /** * @author auto create * @version */ public class TranslateImageBatchRequest extends RpcAcsRequest<TranslateImageBatchResponse> { private String ext; private String sourceLanguage; private String imageUrls; private String customTaskId; private String field; private String targetLanguage; public TranslateImageBatchRequest() { super("alimt", "2018-10-12", "TranslateImageBatch"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getExt() { return this.ext; } public void setExt(String ext) { this.ext = ext; if(ext != null){ putBodyParameter("Ext", ext); } } public String getSourceLanguage() { return this.sourceLanguage; } public void setSourceLanguage(String sourceLanguage) { this.sourceLanguage = sourceLanguage; if(sourceLanguage != null){ putBodyParameter("SourceLanguage", sourceLanguage); } } public String getImageUrls() { return this.imageUrls; } public void setImageUrls(String imageUrls) { this.imageUrls = imageUrls; if(imageUrls != null){ putBodyParameter("ImageUrls", imageUrls); } } public String getCustomTaskId() { return this.customTaskId; } public void setCustomTaskId(String customTaskId) { this.customTaskId = customTaskId; if(customTaskId != null){ putBodyParameter("CustomTaskId", customTaskId); } } public String getField() { return this.field; } public void setField(String field) { this.field = field; if(field != null){ putBodyParameter("Field", field); } } public String getTargetLanguage() { return this.targetLanguage; } public void setTargetLanguage(String targetLanguage) { this.targetLanguage = targetLanguage; if(targetLanguage != null){ putBodyParameter("TargetLanguage", targetLanguage); } } @Override public Class<TranslateImageBatchResponse> getResponseClass() { return TranslateImageBatchResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/TranslateImageBatchResponse.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.alimt.model.v20181012; import com.aliyuncs.AcsResponse; import com.aliyuncs.alimt.transform.v20181012.TranslateImageBatchResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class TranslateImageBatchResponse extends AcsResponse { private String requestId; private String message; private Integer code; private Data data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String taskId; public String getTaskId() { return this.taskId; } public void setTaskId(String taskId) { this.taskId = taskId; } } @Override public TranslateImageBatchResponse getInstance(UnmarshallerContext context) { return TranslateImageBatchResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/TranslateImageRequest.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.alimt.model.v20181012; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.alimt.Endpoint; /** * @author auto create * @version */ public class TranslateImageRequest extends RpcAcsRequest<TranslateImageResponse> { private String ext; private String sourceLanguage; private String field; private String imageUrl; private String targetLanguage; private String imageBase64; public TranslateImageRequest() { super("alimt", "2018-10-12", "TranslateImage"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getExt() { return this.ext; } public void setExt(String ext) { this.ext = ext; if(ext != null){ putBodyParameter("Ext", ext); } } public String getSourceLanguage() { return this.sourceLanguage; } public void setSourceLanguage(String sourceLanguage) { this.sourceLanguage = sourceLanguage; if(sourceLanguage != null){ putBodyParameter("SourceLanguage", sourceLanguage); } } public String getField() { return this.field; } public void setField(String field) { this.field = field; if(field != null){ putBodyParameter("Field", field); } } public String getImageUrl() { return this.imageUrl; } public void setImageUrl(String imageUrl) { this.imageUrl = imageUrl; if(imageUrl != null){ putBodyParameter("ImageUrl", imageUrl); } } public String getTargetLanguage() { return this.targetLanguage; } public void setTargetLanguage(String targetLanguage) { this.targetLanguage = targetLanguage; if(targetLanguage != null){ putBodyParameter("TargetLanguage", targetLanguage); } } public String getImageBase64() { return this.imageBase64; } public void setImageBase64(String imageBase64) { this.imageBase64 = imageBase64; if(imageBase64 != null){ putBodyParameter("ImageBase64", imageBase64); } } @Override public Class<TranslateImageResponse> getResponseClass() { return TranslateImageResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/TranslateImageResponse.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.alimt.model.v20181012; import com.aliyuncs.AcsResponse; import com.aliyuncs.alimt.transform.v20181012.TranslateImageResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class TranslateImageResponse extends AcsResponse { private String requestId; private Integer code; private String message; private Data data; public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String inPaintingUrl; private String templateJson; private String finalImageUrl; public String getInPaintingUrl() { return this.inPaintingUrl; } public void setInPaintingUrl(String inPaintingUrl) { this.inPaintingUrl = inPaintingUrl; } public String getTemplateJson() { return this.templateJson; } public void setTemplateJson(String templateJson) { this.templateJson = templateJson; } public String getFinalImageUrl() { return this.finalImageUrl; } public void setFinalImageUrl(String finalImageUrl) { this.finalImageUrl = finalImageUrl; } } @Override public TranslateImageResponse getInstance(UnmarshallerContext context) { return TranslateImageResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/TranslateRequest.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.alimt.model.v20181012; import com.aliyuncs.RpcAcsRequest; import com.aliyuncs.http.MethodType; import com.aliyuncs.alimt.Endpoint; /** * @author auto create * @version */ public class TranslateRequest extends RpcAcsRequest<TranslateResponse> { private String sourceLanguage; private String sourceText; private String formatType; private String scene; private String context; private String targetLanguage; public TranslateRequest() { super("alimt", "2018-10-12", "Translate"); setMethod(MethodType.POST); try { com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); } catch (Exception e) {} } public String getSourceLanguage() { return this.sourceLanguage; } public void setSourceLanguage(String sourceLanguage) { this.sourceLanguage = sourceLanguage; if(sourceLanguage != null){ putBodyParameter("SourceLanguage", sourceLanguage); } } public String getSourceText() { return this.sourceText; } public void setSourceText(String sourceText) { this.sourceText = sourceText; if(sourceText != null){ putBodyParameter("SourceText", sourceText); } } public String getFormatType() { return this.formatType; } public void setFormatType(String formatType) { this.formatType = formatType; if(formatType != null){ putBodyParameter("FormatType", formatType); } } public String getScene() { return this.scene; } public void setScene(String scene) { this.scene = scene; if(scene != null){ putBodyParameter("Scene", scene); } } public String getContext() { return this.context; } public void setContext(String context) { this.context = context; if(context != null){ putQueryParameter("Context", context); } } public String getTargetLanguage() { return this.targetLanguage; } public void setTargetLanguage(String targetLanguage) { this.targetLanguage = targetLanguage; if(targetLanguage != null){ putBodyParameter("TargetLanguage", targetLanguage); } } @Override public Class<TranslateResponse> getResponseClass() { return TranslateResponse.class; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/model/v20181012/TranslateResponse.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.alimt.model.v20181012; import com.aliyuncs.AcsResponse; import com.aliyuncs.alimt.transform.v20181012.TranslateResponseUnmarshaller; import com.aliyuncs.transform.UnmarshallerContext; /** * @author auto create * @version */ public class TranslateResponse extends AcsResponse { private Integer code; private String message; private String requestId; private Data data; public Integer getCode() { return this.code; } public void setCode(Integer code) { this.code = code; } public String getMessage() { return this.message; } public void setMessage(String message) { this.message = message; } public String getRequestId() { return this.requestId; } public void setRequestId(String requestId) { this.requestId = requestId; } public Data getData() { return this.data; } public void setData(Data data) { this.data = data; } public static class Data { private String translated; private String wordCount; public String getTranslated() { return this.translated; } public void setTranslated(String translated) { this.translated = translated; } public String getWordCount() { return this.wordCount; } public void setWordCount(String wordCount) { this.wordCount = wordCount; } } @Override public TranslateResponse getInstance(UnmarshallerContext context) { return TranslateResponseUnmarshaller.unmarshall(this, context); } @Override public boolean checkShowJsonItemName() { return false; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/transform
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/transform/v20181012/CreateDocTranslateTaskResponseUnmarshaller.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.alimt.transform.v20181012; import com.aliyuncs.alimt.model.v20181012.CreateDocTranslateTaskResponse; import com.aliyuncs.transform.UnmarshallerContext; public class CreateDocTranslateTaskResponseUnmarshaller { public static CreateDocTranslateTaskResponse unmarshall(CreateDocTranslateTaskResponse createDocTranslateTaskResponse, UnmarshallerContext _ctx) { createDocTranslateTaskResponse.setRequestId(_ctx.stringValue("CreateDocTranslateTaskResponse.RequestId")); createDocTranslateTaskResponse.setStatus(_ctx.stringValue("CreateDocTranslateTaskResponse.Status")); createDocTranslateTaskResponse.setTaskId(_ctx.stringValue("CreateDocTranslateTaskResponse.TaskId")); return createDocTranslateTaskResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/transform
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/transform/v20181012/CreateImageTranslateTaskResponseUnmarshaller.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.alimt.transform.v20181012; import com.aliyuncs.alimt.model.v20181012.CreateImageTranslateTaskResponse; import com.aliyuncs.alimt.model.v20181012.CreateImageTranslateTaskResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class CreateImageTranslateTaskResponseUnmarshaller { public static CreateImageTranslateTaskResponse unmarshall(CreateImageTranslateTaskResponse createImageTranslateTaskResponse, UnmarshallerContext _ctx) { createImageTranslateTaskResponse.setRequestId(_ctx.stringValue("CreateImageTranslateTaskResponse.RequestId")); createImageTranslateTaskResponse.setCode(_ctx.integerValue("CreateImageTranslateTaskResponse.Code")); createImageTranslateTaskResponse.setMessage(_ctx.stringValue("CreateImageTranslateTaskResponse.Message")); Data data = new Data(); data.setTaskId(_ctx.stringValue("CreateImageTranslateTaskResponse.Data.TaskId")); createImageTranslateTaskResponse.setData(data); return createImageTranslateTaskResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/transform
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/transform/v20181012/GetBatchTranslateResponseUnmarshaller.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.alimt.transform.v20181012; import java.util.ArrayList; import java.util.List; import com.aliyuncs.alimt.model.v20181012.GetBatchTranslateResponse; import java.util.Map; import com.aliyuncs.transform.UnmarshallerContext; public class GetBatchTranslateResponseUnmarshaller { public static GetBatchTranslateResponse unmarshall(GetBatchTranslateResponse getBatchTranslateResponse, UnmarshallerContext _ctx) { getBatchTranslateResponse.setRequestId(_ctx.stringValue("GetBatchTranslateResponse.RequestId")); getBatchTranslateResponse.setCode(_ctx.integerValue("GetBatchTranslateResponse.Code")); getBatchTranslateResponse.setMessage(_ctx.stringValue("GetBatchTranslateResponse.Message")); List<Map<Object, Object>> translatedList = _ctx.listMapValue("GetBatchTranslateResponse.TranslatedList"); getBatchTranslateResponse.setTranslatedList(translatedList); return getBatchTranslateResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/transform
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/transform/v20181012/GetDetectLanguageResponseUnmarshaller.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.alimt.transform.v20181012; import com.aliyuncs.alimt.model.v20181012.GetDetectLanguageResponse; import com.aliyuncs.transform.UnmarshallerContext; public class GetDetectLanguageResponseUnmarshaller { public static GetDetectLanguageResponse unmarshall(GetDetectLanguageResponse getDetectLanguageResponse, UnmarshallerContext _ctx) { getDetectLanguageResponse.setRequestId(_ctx.stringValue("GetDetectLanguageResponse.RequestId")); getDetectLanguageResponse.setDetectedLanguage(_ctx.stringValue("GetDetectLanguageResponse.DetectedLanguage")); return getDetectLanguageResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/transform
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/transform/v20181012/GetDocTranslateTaskResponseUnmarshaller.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.alimt.transform.v20181012; import com.aliyuncs.alimt.model.v20181012.GetDocTranslateTaskResponse; import com.aliyuncs.transform.UnmarshallerContext; public class GetDocTranslateTaskResponseUnmarshaller { public static GetDocTranslateTaskResponse unmarshall(GetDocTranslateTaskResponse getDocTranslateTaskResponse, UnmarshallerContext _ctx) { getDocTranslateTaskResponse.setRequestId(_ctx.stringValue("GetDocTranslateTaskResponse.RequestId")); getDocTranslateTaskResponse.setStatus(_ctx.stringValue("GetDocTranslateTaskResponse.Status")); getDocTranslateTaskResponse.setTranslateFileUrl(_ctx.stringValue("GetDocTranslateTaskResponse.TranslateFileUrl")); getDocTranslateTaskResponse.setTranslateErrorCode(_ctx.stringValue("GetDocTranslateTaskResponse.TranslateErrorCode")); getDocTranslateTaskResponse.setPageCount(_ctx.integerValue("GetDocTranslateTaskResponse.PageCount")); getDocTranslateTaskResponse.setTaskId(_ctx.stringValue("GetDocTranslateTaskResponse.TaskId")); getDocTranslateTaskResponse.setTranslateErrorMessage(_ctx.stringValue("GetDocTranslateTaskResponse.TranslateErrorMessage")); return getDocTranslateTaskResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/transform
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/transform/v20181012/GetImageDiagnoseResponseUnmarshaller.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.alimt.transform.v20181012; import com.aliyuncs.alimt.model.v20181012.GetImageDiagnoseResponse; import com.aliyuncs.alimt.model.v20181012.GetImageDiagnoseResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class GetImageDiagnoseResponseUnmarshaller { public static GetImageDiagnoseResponse unmarshall(GetImageDiagnoseResponse getImageDiagnoseResponse, UnmarshallerContext _ctx) { getImageDiagnoseResponse.setRequestId(_ctx.stringValue("GetImageDiagnoseResponse.RequestId")); getImageDiagnoseResponse.setCode(_ctx.integerValue("GetImageDiagnoseResponse.Code")); getImageDiagnoseResponse.setMessage(_ctx.stringValue("GetImageDiagnoseResponse.Message")); Data data = new Data(); data.setLanguage(_ctx.stringValue("GetImageDiagnoseResponse.Data.Language")); getImageDiagnoseResponse.setData(data); return getImageDiagnoseResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/transform
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/transform/v20181012/GetImageTranslateResponseUnmarshaller.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.alimt.transform.v20181012; import com.aliyuncs.alimt.model.v20181012.GetImageTranslateResponse; import com.aliyuncs.alimt.model.v20181012.GetImageTranslateResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class GetImageTranslateResponseUnmarshaller { public static GetImageTranslateResponse unmarshall(GetImageTranslateResponse getImageTranslateResponse, UnmarshallerContext _ctx) { getImageTranslateResponse.setRequestId(_ctx.stringValue("GetImageTranslateResponse.RequestId")); getImageTranslateResponse.setCode(_ctx.integerValue("GetImageTranslateResponse.Code")); getImageTranslateResponse.setMessage(_ctx.stringValue("GetImageTranslateResponse.Message")); Data data = new Data(); data.setUrl(_ctx.stringValue("GetImageTranslateResponse.Data.Url")); data.setOrc(_ctx.stringValue("GetImageTranslateResponse.Data.Orc")); data.setPictureEditor(_ctx.stringValue("GetImageTranslateResponse.Data.PictureEditor")); getImageTranslateResponse.setData(data); return getImageTranslateResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/transform
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/transform/v20181012/GetImageTranslateTaskResponseUnmarshaller.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.alimt.transform.v20181012; import com.aliyuncs.alimt.model.v20181012.GetImageTranslateTaskResponse; import com.aliyuncs.alimt.model.v20181012.GetImageTranslateTaskResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class GetImageTranslateTaskResponseUnmarshaller { public static GetImageTranslateTaskResponse unmarshall(GetImageTranslateTaskResponse getImageTranslateTaskResponse, UnmarshallerContext _ctx) { getImageTranslateTaskResponse.setRequestId(_ctx.stringValue("GetImageTranslateTaskResponse.RequestId")); getImageTranslateTaskResponse.setCode(_ctx.integerValue("GetImageTranslateTaskResponse.Code")); getImageTranslateTaskResponse.setMessage(_ctx.stringValue("GetImageTranslateTaskResponse.Message")); Data data = new Data(); data.setImageData(_ctx.stringValue("GetImageTranslateTaskResponse.Data.ImageData")); getImageTranslateTaskResponse.setData(data); return getImageTranslateTaskResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/transform
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/transform/v20181012/GetTitleDiagnoseResponseUnmarshaller.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.alimt.transform.v20181012; import com.aliyuncs.alimt.model.v20181012.GetTitleDiagnoseResponse; import com.aliyuncs.alimt.model.v20181012.GetTitleDiagnoseResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class GetTitleDiagnoseResponseUnmarshaller { public static GetTitleDiagnoseResponse unmarshall(GetTitleDiagnoseResponse getTitleDiagnoseResponse, UnmarshallerContext _ctx) { getTitleDiagnoseResponse.setRequestId(_ctx.stringValue("GetTitleDiagnoseResponse.RequestId")); getTitleDiagnoseResponse.setCode(_ctx.integerValue("GetTitleDiagnoseResponse.Code")); getTitleDiagnoseResponse.setMessage(_ctx.stringValue("GetTitleDiagnoseResponse.Message")); Data data = new Data(); data.setDuplicateWords(_ctx.stringValue("GetTitleDiagnoseResponse.Data.DuplicateWords")); data.setContainCoreClasses(_ctx.stringValue("GetTitleDiagnoseResponse.Data.ContainCoreClasses")); data.setWordCount(_ctx.stringValue("GetTitleDiagnoseResponse.Data.WordCount")); data.setLanguageQualityScore(_ctx.stringValue("GetTitleDiagnoseResponse.Data.LanguageQualityScore")); data.setAllUppercaseWords(_ctx.stringValue("GetTitleDiagnoseResponse.Data.AllUppercaseWords")); data.setOverLengthLimit(_ctx.stringValue("GetTitleDiagnoseResponse.Data.OverLengthLimit")); data.setDisableWords(_ctx.stringValue("GetTitleDiagnoseResponse.Data.DisableWords")); data.setNoFirstUppercaseList(_ctx.stringValue("GetTitleDiagnoseResponse.Data.NoFirstUppercaseList")); data.setTotalScore(_ctx.stringValue("GetTitleDiagnoseResponse.Data.TotalScore")); data.setWordSpelledCorrectError(_ctx.stringValue("GetTitleDiagnoseResponse.Data.WordSpelledCorrectError")); getTitleDiagnoseResponse.setData(data); return getTitleDiagnoseResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/transform
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/transform/v20181012/GetTitleGenerateResponseUnmarshaller.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.alimt.transform.v20181012; import com.aliyuncs.alimt.model.v20181012.GetTitleGenerateResponse; import com.aliyuncs.alimt.model.v20181012.GetTitleGenerateResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class GetTitleGenerateResponseUnmarshaller { public static GetTitleGenerateResponse unmarshall(GetTitleGenerateResponse getTitleGenerateResponse, UnmarshallerContext _ctx) { getTitleGenerateResponse.setRequestId(_ctx.stringValue("GetTitleGenerateResponse.RequestId")); getTitleGenerateResponse.setCode(_ctx.integerValue("GetTitleGenerateResponse.Code")); getTitleGenerateResponse.setMessage(_ctx.stringValue("GetTitleGenerateResponse.Message")); Data data = new Data(); data.setTitles(_ctx.stringValue("GetTitleGenerateResponse.Data.Titles")); getTitleGenerateResponse.setData(data); return getTitleGenerateResponse; } }
0
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/transform
java-sources/com/aliyun/aliyun-java-sdk-alimt/3.2.0/com/aliyuncs/alimt/transform/v20181012/GetTitleIntelligenceResponseUnmarshaller.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.alimt.transform.v20181012; import com.aliyuncs.alimt.model.v20181012.GetTitleIntelligenceResponse; import com.aliyuncs.alimt.model.v20181012.GetTitleIntelligenceResponse.Data; import com.aliyuncs.transform.UnmarshallerContext; public class GetTitleIntelligenceResponseUnmarshaller { public static GetTitleIntelligenceResponse unmarshall(GetTitleIntelligenceResponse getTitleIntelligenceResponse, UnmarshallerContext _ctx) { getTitleIntelligenceResponse.setRequestId(_ctx.stringValue("GetTitleIntelligenceResponse.RequestId")); getTitleIntelligenceResponse.setCode(_ctx.integerValue("GetTitleIntelligenceResponse.Code")); getTitleIntelligenceResponse.setMessage(_ctx.stringValue("GetTitleIntelligenceResponse.Message")); Data data = new Data(); data.setTitles(_ctx.stringValue("GetTitleIntelligenceResponse.Data.Titles")); getTitleIntelligenceResponse.setData(data); return getTitleIntelligenceResponse; } }