index
int64 | repo_id
string | file_path
string | content
string |
|---|---|---|---|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DeleteLayoutResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.DeleteLayoutResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteLayoutResponseUnmarshaller {
public static DeleteLayoutResponse unmarshall(DeleteLayoutResponse deleteLayoutResponse, UnmarshallerContext _ctx) {
deleteLayoutResponse.setRequestId(_ctx.stringValue("DeleteLayoutResponse.RequestId"));
deleteLayoutResponse.setSuccess(_ctx.booleanValue("DeleteLayoutResponse.Success"));
deleteLayoutResponse.setMessage(_ctx.stringValue("DeleteLayoutResponse.Message"));
deleteLayoutResponse.setErrorCode(_ctx.stringValue("DeleteLayoutResponse.ErrorCode"));
deleteLayoutResponse.setErrorMessage(_ctx.stringValue("DeleteLayoutResponse.ErrorMessage"));
deleteLayoutResponse.setCode(_ctx.stringValue("DeleteLayoutResponse.Code"));
deleteLayoutResponse.setDynamicCode(_ctx.stringValue("DeleteLayoutResponse.DynamicCode"));
deleteLayoutResponse.setDynamicMessage(_ctx.stringValue("DeleteLayoutResponse.DynamicMessage"));
return deleteLayoutResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DeleteMaterialResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.DeleteMaterialResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteMaterialResponseUnmarshaller {
public static DeleteMaterialResponse unmarshall(DeleteMaterialResponse deleteMaterialResponse, UnmarshallerContext _ctx) {
deleteMaterialResponse.setRequestId(_ctx.stringValue("DeleteMaterialResponse.RequestId"));
deleteMaterialResponse.setSuccess(_ctx.booleanValue("DeleteMaterialResponse.Success"));
deleteMaterialResponse.setMessage(_ctx.stringValue("DeleteMaterialResponse.Message"));
deleteMaterialResponse.setErrorCode(_ctx.stringValue("DeleteMaterialResponse.ErrorCode"));
deleteMaterialResponse.setErrorMessage(_ctx.stringValue("DeleteMaterialResponse.ErrorMessage"));
deleteMaterialResponse.setCode(_ctx.stringValue("DeleteMaterialResponse.Code"));
deleteMaterialResponse.setDynamicCode(_ctx.stringValue("DeleteMaterialResponse.DynamicCode"));
deleteMaterialResponse.setDynamicMessage(_ctx.stringValue("DeleteMaterialResponse.DynamicMessage"));
return deleteMaterialResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DeleteStoreResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.DeleteStoreResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteStoreResponseUnmarshaller {
public static DeleteStoreResponse unmarshall(DeleteStoreResponse deleteStoreResponse, UnmarshallerContext _ctx) {
deleteStoreResponse.setRequestId(_ctx.stringValue("DeleteStoreResponse.RequestId"));
deleteStoreResponse.setErrorMessage(_ctx.stringValue("DeleteStoreResponse.ErrorMessage"));
deleteStoreResponse.setErrorCode(_ctx.stringValue("DeleteStoreResponse.ErrorCode"));
deleteStoreResponse.setMessage(_ctx.stringValue("DeleteStoreResponse.Message"));
deleteStoreResponse.setDynamicCode(_ctx.stringValue("DeleteStoreResponse.DynamicCode"));
deleteStoreResponse.setCode(_ctx.stringValue("DeleteStoreResponse.Code"));
deleteStoreResponse.setDynamicMessage(_ctx.stringValue("DeleteStoreResponse.DynamicMessage"));
deleteStoreResponse.setSuccess(_ctx.booleanValue("DeleteStoreResponse.Success"));
return deleteStoreResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DeleteTemplateGroupResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.DeleteTemplateGroupResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteTemplateGroupResponseUnmarshaller {
public static DeleteTemplateGroupResponse unmarshall(DeleteTemplateGroupResponse deleteTemplateGroupResponse, UnmarshallerContext _ctx) {
deleteTemplateGroupResponse.setRequestId(_ctx.stringValue("DeleteTemplateGroupResponse.RequestId"));
deleteTemplateGroupResponse.setSuccess(_ctx.booleanValue("DeleteTemplateGroupResponse.Success"));
deleteTemplateGroupResponse.setMessage(_ctx.stringValue("DeleteTemplateGroupResponse.Message"));
deleteTemplateGroupResponse.setErrorCode(_ctx.stringValue("DeleteTemplateGroupResponse.ErrorCode"));
deleteTemplateGroupResponse.setErrorMessage(_ctx.stringValue("DeleteTemplateGroupResponse.ErrorMessage"));
deleteTemplateGroupResponse.setCode(_ctx.stringValue("DeleteTemplateGroupResponse.Code"));
deleteTemplateGroupResponse.setDynamicCode(_ctx.stringValue("DeleteTemplateGroupResponse.DynamicCode"));
deleteTemplateGroupResponse.setDynamicMessage(_ctx.stringValue("DeleteTemplateGroupResponse.DynamicMessage"));
return deleteTemplateGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DeleteUserResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.DeleteUserResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DeleteUserResponseUnmarshaller {
public static DeleteUserResponse unmarshall(DeleteUserResponse deleteUserResponse, UnmarshallerContext _ctx) {
deleteUserResponse.setRequestId(_ctx.stringValue("DeleteUserResponse.RequestId"));
deleteUserResponse.setErrorMessage(_ctx.stringValue("DeleteUserResponse.ErrorMessage"));
deleteUserResponse.setErrorCode(_ctx.stringValue("DeleteUserResponse.ErrorCode"));
deleteUserResponse.setMessage(_ctx.stringValue("DeleteUserResponse.Message"));
deleteUserResponse.setDynamicCode(_ctx.stringValue("DeleteUserResponse.DynamicCode"));
deleteUserResponse.setCode(_ctx.stringValue("DeleteUserResponse.Code"));
deleteUserResponse.setDynamicMessage(_ctx.stringValue("DeleteUserResponse.DynamicMessage"));
deleteUserResponse.setSuccess(_ctx.booleanValue("DeleteUserResponse.Success"));
return deleteUserResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DescribeApDevicesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.DescribeApDevicesResponse;
import com.aliyuncs.cloudesl.model.v20200201.DescribeApDevicesResponse.ApInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeApDevicesResponseUnmarshaller {
public static DescribeApDevicesResponse unmarshall(DescribeApDevicesResponse describeApDevicesResponse, UnmarshallerContext _ctx) {
describeApDevicesResponse.setRequestId(_ctx.stringValue("DescribeApDevicesResponse.RequestId"));
describeApDevicesResponse.setErrorMessage(_ctx.stringValue("DescribeApDevicesResponse.ErrorMessage"));
describeApDevicesResponse.setErrorCode(_ctx.stringValue("DescribeApDevicesResponse.ErrorCode"));
describeApDevicesResponse.setTotalCount(_ctx.integerValue("DescribeApDevicesResponse.TotalCount"));
describeApDevicesResponse.setMessage(_ctx.stringValue("DescribeApDevicesResponse.Message"));
describeApDevicesResponse.setPageSize(_ctx.integerValue("DescribeApDevicesResponse.PageSize"));
describeApDevicesResponse.setDynamicCode(_ctx.stringValue("DescribeApDevicesResponse.DynamicCode"));
describeApDevicesResponse.setCode(_ctx.stringValue("DescribeApDevicesResponse.Code"));
describeApDevicesResponse.setDynamicMessage(_ctx.stringValue("DescribeApDevicesResponse.DynamicMessage"));
describeApDevicesResponse.setSuccess(_ctx.booleanValue("DescribeApDevicesResponse.Success"));
describeApDevicesResponse.setPageNumber(_ctx.integerValue("DescribeApDevicesResponse.PageNumber"));
List<ApInfo> apDevices = new ArrayList<ApInfo>();
for (int i = 0; i < _ctx.lengthValue("DescribeApDevicesResponse.ApDevices.Length"); i++) {
ApInfo apInfo = new ApInfo();
apInfo.setMac(_ctx.stringValue("DescribeApDevicesResponse.ApDevices["+ i +"].Mac"));
apInfo.setStatus(_ctx.booleanValue("DescribeApDevicesResponse.ApDevices["+ i +"].Status"));
apInfo.setModel(_ctx.stringValue("DescribeApDevicesResponse.ApDevices["+ i +"].Model"));
apInfo.setRemark(_ctx.stringValue("DescribeApDevicesResponse.ApDevices["+ i +"].Remark"));
apInfo.setStoreId(_ctx.stringValue("DescribeApDevicesResponse.ApDevices["+ i +"].StoreId"));
apInfo.setBeActivate(_ctx.booleanValue("DescribeApDevicesResponse.ApDevices["+ i +"].BeActivate"));
apDevices.add(apInfo);
}
describeApDevicesResponse.setApDevices(apDevices);
return describeApDevicesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DescribeAvailableEslModelsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.DescribeAvailableEslModelsResponse;
import com.aliyuncs.cloudesl.model.v20200201.DescribeAvailableEslModelsResponse.SelectItemInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeAvailableEslModelsResponseUnmarshaller {
public static DescribeAvailableEslModelsResponse unmarshall(DescribeAvailableEslModelsResponse describeAvailableEslModelsResponse, UnmarshallerContext _ctx) {
describeAvailableEslModelsResponse.setRequestId(_ctx.stringValue("DescribeAvailableEslModelsResponse.RequestId"));
describeAvailableEslModelsResponse.setTotalCount(_ctx.integerValue("DescribeAvailableEslModelsResponse.TotalCount"));
describeAvailableEslModelsResponse.setPageSize(_ctx.integerValue("DescribeAvailableEslModelsResponse.PageSize"));
describeAvailableEslModelsResponse.setPageNumber(_ctx.integerValue("DescribeAvailableEslModelsResponse.PageNumber"));
describeAvailableEslModelsResponse.setSuccess(_ctx.booleanValue("DescribeAvailableEslModelsResponse.Success"));
describeAvailableEslModelsResponse.setMessage(_ctx.stringValue("DescribeAvailableEslModelsResponse.Message"));
describeAvailableEslModelsResponse.setErrorCode(_ctx.stringValue("DescribeAvailableEslModelsResponse.ErrorCode"));
describeAvailableEslModelsResponse.setErrorMessage(_ctx.stringValue("DescribeAvailableEslModelsResponse.ErrorMessage"));
describeAvailableEslModelsResponse.setCode(_ctx.stringValue("DescribeAvailableEslModelsResponse.Code"));
describeAvailableEslModelsResponse.setDynamicCode(_ctx.stringValue("DescribeAvailableEslModelsResponse.DynamicCode"));
describeAvailableEslModelsResponse.setDynamicMessage(_ctx.stringValue("DescribeAvailableEslModelsResponse.DynamicMessage"));
List<SelectItemInfo> eslModels = new ArrayList<SelectItemInfo>();
for (int i = 0; i < _ctx.lengthValue("DescribeAvailableEslModelsResponse.EslModels.Length"); i++) {
SelectItemInfo selectItemInfo = new SelectItemInfo();
selectItemInfo.setModelId(_ctx.stringValue("DescribeAvailableEslModelsResponse.EslModels["+ i +"].ModelId"));
selectItemInfo.setName(_ctx.stringValue("DescribeAvailableEslModelsResponse.EslModels["+ i +"].Name"));
selectItemInfo.setDeviceType(_ctx.stringValue("DescribeAvailableEslModelsResponse.EslModels["+ i +"].DeviceType"));
selectItemInfo.setVendor(_ctx.stringValue("DescribeAvailableEslModelsResponse.EslModels["+ i +"].Vendor"));
selectItemInfo.setScreenWidth(_ctx.integerValue("DescribeAvailableEslModelsResponse.EslModels["+ i +"].ScreenWidth"));
selectItemInfo.setScreenHeight(_ctx.integerValue("DescribeAvailableEslModelsResponse.EslModels["+ i +"].ScreenHeight"));
selectItemInfo.setEslSize(_ctx.stringValue("DescribeAvailableEslModelsResponse.EslModels["+ i +"].EslSize"));
eslModels.add(selectItemInfo);
}
describeAvailableEslModelsResponse.setEslModels(eslModels);
return describeAvailableEslModelsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DescribeBindersResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.DescribeBindersResponse;
import com.aliyuncs.cloudesl.model.v20200201.DescribeBindersResponse.EslItemBindInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeBindersResponseUnmarshaller {
public static DescribeBindersResponse unmarshall(DescribeBindersResponse describeBindersResponse, UnmarshallerContext _ctx) {
describeBindersResponse.setRequestId(_ctx.stringValue("DescribeBindersResponse.RequestId"));
describeBindersResponse.setErrorMessage(_ctx.stringValue("DescribeBindersResponse.ErrorMessage"));
describeBindersResponse.setSuccess(_ctx.booleanValue("DescribeBindersResponse.Success"));
describeBindersResponse.setErrorCode(_ctx.stringValue("DescribeBindersResponse.ErrorCode"));
describeBindersResponse.setCode(_ctx.stringValue("DescribeBindersResponse.Code"));
describeBindersResponse.setMessage(_ctx.stringValue("DescribeBindersResponse.Message"));
describeBindersResponse.setDynamicMessage(_ctx.stringValue("DescribeBindersResponse.DynamicMessage"));
describeBindersResponse.setPageNumber(_ctx.integerValue("DescribeBindersResponse.PageNumber"));
describeBindersResponse.setPageSize(_ctx.integerValue("DescribeBindersResponse.PageSize"));
describeBindersResponse.setTotalCount(_ctx.integerValue("DescribeBindersResponse.TotalCount"));
describeBindersResponse.setDynamicCode(_ctx.stringValue("DescribeBindersResponse.DynamicCode"));
List<EslItemBindInfo> eslItemBindInfos = new ArrayList<EslItemBindInfo>();
for (int i = 0; i < _ctx.lengthValue("DescribeBindersResponse.EslItemBindInfos.Length"); i++) {
EslItemBindInfo eslItemBindInfo = new EslItemBindInfo();
eslItemBindInfo.setEslBarCode(_ctx.stringValue("DescribeBindersResponse.EslItemBindInfos["+ i +"].EslBarCode"));
eslItemBindInfo.setTemplateSceneId(_ctx.stringValue("DescribeBindersResponse.EslItemBindInfos["+ i +"].TemplateSceneId"));
eslItemBindInfo.setActionPrice(_ctx.stringValue("DescribeBindersResponse.EslItemBindInfos["+ i +"].ActionPrice"));
eslItemBindInfo.setItemTitle(_ctx.stringValue("DescribeBindersResponse.EslItemBindInfos["+ i +"].ItemTitle"));
eslItemBindInfo.setPromotionStart(_ctx.stringValue("DescribeBindersResponse.EslItemBindInfos["+ i +"].PromotionStart"));
eslItemBindInfo.setPriceUnit(_ctx.stringValue("DescribeBindersResponse.EslItemBindInfos["+ i +"].PriceUnit"));
eslItemBindInfo.setOriginalPrice(_ctx.stringValue("DescribeBindersResponse.EslItemBindInfos["+ i +"].OriginalPrice"));
eslItemBindInfo.setItemId(_ctx.stringValue("DescribeBindersResponse.EslItemBindInfos["+ i +"].ItemId"));
eslItemBindInfo.setGmtModified(_ctx.stringValue("DescribeBindersResponse.EslItemBindInfos["+ i +"].GmtModified"));
eslItemBindInfo.setEslPic(_ctx.stringValue("DescribeBindersResponse.EslItemBindInfos["+ i +"].EslPic"));
eslItemBindInfo.setStoreId(_ctx.stringValue("DescribeBindersResponse.EslItemBindInfos["+ i +"].StoreId"));
eslItemBindInfo.setItemShortTitle(_ctx.stringValue("DescribeBindersResponse.EslItemBindInfos["+ i +"].ItemShortTitle"));
eslItemBindInfo.setBindId(_ctx.stringValue("DescribeBindersResponse.EslItemBindInfos["+ i +"].BindId"));
eslItemBindInfo.setPromotionText(_ctx.stringValue("DescribeBindersResponse.EslItemBindInfos["+ i +"].PromotionText"));
eslItemBindInfo.setEslModel(_ctx.stringValue("DescribeBindersResponse.EslItemBindInfos["+ i +"].EslModel"));
eslItemBindInfo.setBePromotion(_ctx.booleanValue("DescribeBindersResponse.EslItemBindInfos["+ i +"].BePromotion"));
eslItemBindInfo.setSkuId(_ctx.stringValue("DescribeBindersResponse.EslItemBindInfos["+ i +"].SkuId"));
eslItemBindInfo.setEslConnectAp(_ctx.stringValue("DescribeBindersResponse.EslItemBindInfos["+ i +"].EslConnectAp"));
eslItemBindInfo.setEslStatus(_ctx.stringValue("DescribeBindersResponse.EslItemBindInfos["+ i +"].EslStatus"));
eslItemBindInfo.setTemplateId(_ctx.stringValue("DescribeBindersResponse.EslItemBindInfos["+ i +"].TemplateId"));
eslItemBindInfo.setPromotionEnd(_ctx.stringValue("DescribeBindersResponse.EslItemBindInfos["+ i +"].PromotionEnd"));
eslItemBindInfo.setItemBarCode(_ctx.stringValue("DescribeBindersResponse.EslItemBindInfos["+ i +"].ItemBarCode"));
eslItemBindInfo.setContainerName(_ctx.stringValue("DescribeBindersResponse.EslItemBindInfos["+ i +"].ContainerName"));
eslItemBindInfos.add(eslItemBindInfo);
}
describeBindersResponse.setEslItemBindInfos(eslItemBindInfos);
return describeBindersResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DescribeCompanyTemplateAttributeResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.DescribeCompanyTemplateAttributeResponse;
import com.aliyuncs.cloudesl.model.v20200201.DescribeCompanyTemplateAttributeResponse.SelectItemInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeCompanyTemplateAttributeResponseUnmarshaller {
public static DescribeCompanyTemplateAttributeResponse unmarshall(DescribeCompanyTemplateAttributeResponse describeCompanyTemplateAttributeResponse, UnmarshallerContext _ctx) {
describeCompanyTemplateAttributeResponse.setRequestId(_ctx.stringValue("DescribeCompanyTemplateAttributeResponse.RequestId"));
describeCompanyTemplateAttributeResponse.setErrorMessage(_ctx.stringValue("DescribeCompanyTemplateAttributeResponse.ErrorMessage"));
describeCompanyTemplateAttributeResponse.setSuccess(_ctx.booleanValue("DescribeCompanyTemplateAttributeResponse.Success"));
describeCompanyTemplateAttributeResponse.setErrorCode(_ctx.stringValue("DescribeCompanyTemplateAttributeResponse.ErrorCode"));
describeCompanyTemplateAttributeResponse.setCode(_ctx.stringValue("DescribeCompanyTemplateAttributeResponse.Code"));
describeCompanyTemplateAttributeResponse.setMessage(_ctx.stringValue("DescribeCompanyTemplateAttributeResponse.Message"));
describeCompanyTemplateAttributeResponse.setDynamicMessage(_ctx.stringValue("DescribeCompanyTemplateAttributeResponse.DynamicMessage"));
describeCompanyTemplateAttributeResponse.setDynamicCode(_ctx.stringValue("DescribeCompanyTemplateAttributeResponse.DynamicCode"));
List<SelectItemInfo> categoryField = new ArrayList<SelectItemInfo>();
for (int i = 0; i < _ctx.lengthValue("DescribeCompanyTemplateAttributeResponse.CategoryField.Length"); i++) {
SelectItemInfo selectItemInfo = new SelectItemInfo();
selectItemInfo.setLabel(_ctx.stringValue("DescribeCompanyTemplateAttributeResponse.CategoryField["+ i +"].Label"));
selectItemInfo.setValue(_ctx.stringValue("DescribeCompanyTemplateAttributeResponse.CategoryField["+ i +"].Value"));
categoryField.add(selectItemInfo);
}
describeCompanyTemplateAttributeResponse.setCategoryField(categoryField);
List<SelectItemInfo> fontType = new ArrayList<SelectItemInfo>();
for (int i = 0; i < _ctx.lengthValue("DescribeCompanyTemplateAttributeResponse.FontType.Length"); i++) {
SelectItemInfo selectItemInfo1 = new SelectItemInfo();
selectItemInfo1.setLabel(_ctx.stringValue("DescribeCompanyTemplateAttributeResponse.FontType["+ i +"].Label"));
selectItemInfo1.setValue(_ctx.stringValue("DescribeCompanyTemplateAttributeResponse.FontType["+ i +"].Value"));
fontType.add(selectItemInfo1);
}
describeCompanyTemplateAttributeResponse.setFontType(fontType);
List<SelectItemInfo> deviceType = new ArrayList<SelectItemInfo>();
for (int i = 0; i < _ctx.lengthValue("DescribeCompanyTemplateAttributeResponse.DeviceType.Length"); i++) {
SelectItemInfo selectItemInfo2 = new SelectItemInfo();
selectItemInfo2.setLabel(_ctx.stringValue("DescribeCompanyTemplateAttributeResponse.DeviceType["+ i +"].Label"));
selectItemInfo2.setValue(_ctx.stringValue("DescribeCompanyTemplateAttributeResponse.DeviceType["+ i +"].Value"));
deviceType.add(selectItemInfo2);
}
describeCompanyTemplateAttributeResponse.setDeviceType(deviceType);
List<SelectItemInfo> templateType = new ArrayList<SelectItemInfo>();
for (int i = 0; i < _ctx.lengthValue("DescribeCompanyTemplateAttributeResponse.TemplateType.Length"); i++) {
SelectItemInfo selectItemInfo3 = new SelectItemInfo();
selectItemInfo3.setLabel(_ctx.stringValue("DescribeCompanyTemplateAttributeResponse.TemplateType["+ i +"].Label"));
selectItemInfo3.setValue(_ctx.stringValue("DescribeCompanyTemplateAttributeResponse.TemplateType["+ i +"].Value"));
templateType.add(selectItemInfo3);
}
describeCompanyTemplateAttributeResponse.setTemplateType(templateType);
List<SelectItemInfo> sizeType = new ArrayList<SelectItemInfo>();
for (int i = 0; i < _ctx.lengthValue("DescribeCompanyTemplateAttributeResponse.SizeType.Length"); i++) {
SelectItemInfo selectItemInfo4 = new SelectItemInfo();
selectItemInfo4.setLabel(_ctx.stringValue("DescribeCompanyTemplateAttributeResponse.SizeType["+ i +"].Label"));
selectItemInfo4.setValue(_ctx.stringValue("DescribeCompanyTemplateAttributeResponse.SizeType["+ i +"].Value"));
sizeType.add(selectItemInfo4);
}
describeCompanyTemplateAttributeResponse.setSizeType(sizeType);
return describeCompanyTemplateAttributeResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DescribeCompanyTemplateVersionsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.DescribeCompanyTemplateVersionsResponse;
import com.aliyuncs.cloudesl.model.v20200201.DescribeCompanyTemplateVersionsResponse.SelectItemInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeCompanyTemplateVersionsResponseUnmarshaller {
public static DescribeCompanyTemplateVersionsResponse unmarshall(DescribeCompanyTemplateVersionsResponse describeCompanyTemplateVersionsResponse, UnmarshallerContext _ctx) {
describeCompanyTemplateVersionsResponse.setRequestId(_ctx.stringValue("DescribeCompanyTemplateVersionsResponse.RequestId"));
describeCompanyTemplateVersionsResponse.setTotalCount(_ctx.integerValue("DescribeCompanyTemplateVersionsResponse.TotalCount"));
describeCompanyTemplateVersionsResponse.setErrorMessage(_ctx.stringValue("DescribeCompanyTemplateVersionsResponse.ErrorMessage"));
describeCompanyTemplateVersionsResponse.setSuccess(_ctx.booleanValue("DescribeCompanyTemplateVersionsResponse.Success"));
describeCompanyTemplateVersionsResponse.setErrorCode(_ctx.stringValue("DescribeCompanyTemplateVersionsResponse.ErrorCode"));
describeCompanyTemplateVersionsResponse.setCode(_ctx.stringValue("DescribeCompanyTemplateVersionsResponse.Code"));
describeCompanyTemplateVersionsResponse.setMessage(_ctx.stringValue("DescribeCompanyTemplateVersionsResponse.Message"));
describeCompanyTemplateVersionsResponse.setDynamicMessage(_ctx.stringValue("DescribeCompanyTemplateVersionsResponse.DynamicMessage"));
describeCompanyTemplateVersionsResponse.setDynamicCode(_ctx.stringValue("DescribeCompanyTemplateVersionsResponse.DynamicCode"));
describeCompanyTemplateVersionsResponse.setPageSize(_ctx.integerValue("DescribeCompanyTemplateVersionsResponse.PageSize"));
describeCompanyTemplateVersionsResponse.setPageNumber(_ctx.integerValue("DescribeCompanyTemplateVersionsResponse.PageNumber"));
List<SelectItemInfo> versions = new ArrayList<SelectItemInfo>();
for (int i = 0; i < _ctx.lengthValue("DescribeCompanyTemplateVersionsResponse.Versions.Length"); i++) {
SelectItemInfo selectItemInfo = new SelectItemInfo();
selectItemInfo.setVersion(_ctx.stringValue("DescribeCompanyTemplateVersionsResponse.Versions["+ i +"].Version"));
versions.add(selectItemInfo);
}
describeCompanyTemplateVersionsResponse.setVersions(versions);
return describeCompanyTemplateVersionsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DescribeCompanyTemplateViewResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.DescribeCompanyTemplateViewResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeCompanyTemplateViewResponseUnmarshaller {
public static DescribeCompanyTemplateViewResponse unmarshall(DescribeCompanyTemplateViewResponse describeCompanyTemplateViewResponse, UnmarshallerContext _ctx) {
describeCompanyTemplateViewResponse.setRequestId(_ctx.stringValue("DescribeCompanyTemplateViewResponse.RequestId"));
describeCompanyTemplateViewResponse.setData(_ctx.stringValue("DescribeCompanyTemplateViewResponse.Data"));
describeCompanyTemplateViewResponse.setErrorMessage(_ctx.stringValue("DescribeCompanyTemplateViewResponse.ErrorMessage"));
describeCompanyTemplateViewResponse.setSuccess(_ctx.booleanValue("DescribeCompanyTemplateViewResponse.Success"));
describeCompanyTemplateViewResponse.setErrorCode(_ctx.stringValue("DescribeCompanyTemplateViewResponse.ErrorCode"));
describeCompanyTemplateViewResponse.setCode(_ctx.stringValue("DescribeCompanyTemplateViewResponse.Code"));
describeCompanyTemplateViewResponse.setMessage(_ctx.stringValue("DescribeCompanyTemplateViewResponse.Message"));
describeCompanyTemplateViewResponse.setDynamicMessage(_ctx.stringValue("DescribeCompanyTemplateViewResponse.DynamicMessage"));
describeCompanyTemplateViewResponse.setDynamicCode(_ctx.stringValue("DescribeCompanyTemplateViewResponse.DynamicCode"));
return describeCompanyTemplateViewResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DescribeEslDeviceResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.DescribeEslDeviceResponse;
import com.aliyuncs.cloudesl.model.v20200201.DescribeEslDeviceResponse.EslDetailsItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeEslDeviceResponseUnmarshaller {
public static DescribeEslDeviceResponse unmarshall(DescribeEslDeviceResponse describeEslDeviceResponse, UnmarshallerContext _ctx) {
describeEslDeviceResponse.setRequestId(_ctx.stringValue("DescribeEslDeviceResponse.RequestId"));
describeEslDeviceResponse.setTotalCount(_ctx.longValue("DescribeEslDeviceResponse.TotalCount"));
describeEslDeviceResponse.setPageSize(_ctx.longValue("DescribeEslDeviceResponse.PageSize"));
describeEslDeviceResponse.setPageNumber(_ctx.longValue("DescribeEslDeviceResponse.PageNumber"));
describeEslDeviceResponse.setSuccess(_ctx.booleanValue("DescribeEslDeviceResponse.Success"));
List<EslDetailsItem> eslDetails = new ArrayList<EslDetailsItem>();
for (int i = 0; i < _ctx.lengthValue("DescribeEslDeviceResponse.EslDetails.Length"); i++) {
EslDetailsItem eslDetailsItem = new EslDetailsItem();
eslDetailsItem.setEslBarCode(_ctx.stringValue("DescribeEslDeviceResponse.EslDetails["+ i +"].EslBarCode"));
eslDetailsItem.setLastUpdateTime(_ctx.stringValue("DescribeEslDeviceResponse.EslDetails["+ i +"].LastUpdateTime"));
eslDetailsItem.setItemBarCode(_ctx.longValue("DescribeEslDeviceResponse.EslDetails["+ i +"].ItemBarCode"));
eslDetailsItem.setItemId(_ctx.longValue("DescribeEslDeviceResponse.EslDetails["+ i +"].ItemId"));
eslDetailsItem.setItemShortTitle(_ctx.stringValue("DescribeEslDeviceResponse.EslDetails["+ i +"].ItemShortTitle"));
eslDetailsItem.setStatus(_ctx.stringValue("DescribeEslDeviceResponse.EslDetails["+ i +"].Status"));
eslDetailsItem.setStoreId(_ctx.stringValue("DescribeEslDeviceResponse.EslDetails["+ i +"].StoreId"));
eslDetails.add(eslDetailsItem);
}
describeEslDeviceResponse.setEslDetails(eslDetails);
return describeEslDeviceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DescribeEslDevicesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.DescribeEslDevicesResponse;
import com.aliyuncs.cloudesl.model.v20200201.DescribeEslDevicesResponse.EslDeviceInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeEslDevicesResponseUnmarshaller {
public static DescribeEslDevicesResponse unmarshall(DescribeEslDevicesResponse describeEslDevicesResponse, UnmarshallerContext _ctx) {
describeEslDevicesResponse.setRequestId(_ctx.stringValue("DescribeEslDevicesResponse.RequestId"));
describeEslDevicesResponse.setErrorMessage(_ctx.stringValue("DescribeEslDevicesResponse.ErrorMessage"));
describeEslDevicesResponse.setSuccess(_ctx.booleanValue("DescribeEslDevicesResponse.Success"));
describeEslDevicesResponse.setErrorCode(_ctx.stringValue("DescribeEslDevicesResponse.ErrorCode"));
describeEslDevicesResponse.setCode(_ctx.stringValue("DescribeEslDevicesResponse.Code"));
describeEslDevicesResponse.setMessage(_ctx.stringValue("DescribeEslDevicesResponse.Message"));
describeEslDevicesResponse.setDynamicMessage(_ctx.stringValue("DescribeEslDevicesResponse.DynamicMessage"));
describeEslDevicesResponse.setPageNumber(_ctx.integerValue("DescribeEslDevicesResponse.PageNumber"));
describeEslDevicesResponse.setPageSize(_ctx.integerValue("DescribeEslDevicesResponse.PageSize"));
describeEslDevicesResponse.setTotalCount(_ctx.integerValue("DescribeEslDevicesResponse.TotalCount"));
describeEslDevicesResponse.setDynamicCode(_ctx.stringValue("DescribeEslDevicesResponse.DynamicCode"));
List<EslDeviceInfo> eslDevices = new ArrayList<EslDeviceInfo>();
for (int i = 0; i < _ctx.lengthValue("DescribeEslDevicesResponse.EslDevices.Length"); i++) {
EslDeviceInfo eslDeviceInfo = new EslDeviceInfo();
eslDeviceInfo.setType(_ctx.stringValue("DescribeEslDevicesResponse.EslDevices["+ i +"].Type"));
eslDeviceInfo.setStoreId(_ctx.stringValue("DescribeEslDevicesResponse.EslDevices["+ i +"].StoreId"));
eslDeviceInfo.setEslBarCode(_ctx.stringValue("DescribeEslDevicesResponse.EslDevices["+ i +"].EslBarCode"));
eslDeviceInfo.setModel(_ctx.stringValue("DescribeEslDevicesResponse.EslDevices["+ i +"].Model"));
eslDeviceInfo.setLastCommunicateTime(_ctx.stringValue("DescribeEslDevicesResponse.EslDevices["+ i +"].LastCommunicateTime"));
eslDeviceInfo.setScreenHeight(_ctx.integerValue("DescribeEslDevicesResponse.EslDevices["+ i +"].ScreenHeight"));
eslDeviceInfo.setScreenWidth(_ctx.integerValue("DescribeEslDevicesResponse.EslDevices["+ i +"].ScreenWidth"));
eslDeviceInfo.setEslSignal(_ctx.integerValue("DescribeEslDevicesResponse.EslDevices["+ i +"].EslSignal"));
eslDeviceInfo.setBatteryLevel(_ctx.integerValue("DescribeEslDevicesResponse.EslDevices["+ i +"].BatteryLevel"));
eslDeviceInfo.setEslStatus(_ctx.stringValue("DescribeEslDevicesResponse.EslDevices["+ i +"].EslStatus"));
eslDeviceInfo.setMac(_ctx.stringValue("DescribeEslDevicesResponse.EslDevices["+ i +"].Mac"));
eslDeviceInfo.setTypeEncode(_ctx.stringValue("DescribeEslDevicesResponse.EslDevices["+ i +"].TypeEncode"));
eslDeviceInfo.setLayoutId(_ctx.stringValue("DescribeEslDevicesResponse.EslDevices["+ i +"].LayoutId"));
eslDeviceInfo.setLayoutName(_ctx.stringValue("DescribeEslDevicesResponse.EslDevices["+ i +"].LayoutName"));
eslDevices.add(eslDeviceInfo);
}
describeEslDevicesResponse.setEslDevices(eslDevices);
return describeEslDevicesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DescribeEslModelByTemplateVersionResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.DescribeEslModelByTemplateVersionResponse;
import com.aliyuncs.cloudesl.model.v20200201.DescribeEslModelByTemplateVersionResponse.SelectItemInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeEslModelByTemplateVersionResponseUnmarshaller {
public static DescribeEslModelByTemplateVersionResponse unmarshall(DescribeEslModelByTemplateVersionResponse describeEslModelByTemplateVersionResponse, UnmarshallerContext _ctx) {
describeEslModelByTemplateVersionResponse.setRequestId(_ctx.stringValue("DescribeEslModelByTemplateVersionResponse.RequestId"));
describeEslModelByTemplateVersionResponse.setTotalCount(_ctx.integerValue("DescribeEslModelByTemplateVersionResponse.TotalCount"));
describeEslModelByTemplateVersionResponse.setErrorMessage(_ctx.stringValue("DescribeEslModelByTemplateVersionResponse.ErrorMessage"));
describeEslModelByTemplateVersionResponse.setSuccess(_ctx.booleanValue("DescribeEslModelByTemplateVersionResponse.Success"));
describeEslModelByTemplateVersionResponse.setErrorCode(_ctx.stringValue("DescribeEslModelByTemplateVersionResponse.ErrorCode"));
describeEslModelByTemplateVersionResponse.setCode(_ctx.stringValue("DescribeEslModelByTemplateVersionResponse.Code"));
describeEslModelByTemplateVersionResponse.setMessage(_ctx.stringValue("DescribeEslModelByTemplateVersionResponse.Message"));
describeEslModelByTemplateVersionResponse.setDynamicMessage(_ctx.stringValue("DescribeEslModelByTemplateVersionResponse.DynamicMessage"));
describeEslModelByTemplateVersionResponse.setDynamicCode(_ctx.stringValue("DescribeEslModelByTemplateVersionResponse.DynamicCode"));
describeEslModelByTemplateVersionResponse.setPageNumber(_ctx.integerValue("DescribeEslModelByTemplateVersionResponse.PageNumber"));
describeEslModelByTemplateVersionResponse.setPageSize(_ctx.integerValue("DescribeEslModelByTemplateVersionResponse.PageSize"));
List<SelectItemInfo> eslModels = new ArrayList<SelectItemInfo>();
for (int i = 0; i < _ctx.lengthValue("DescribeEslModelByTemplateVersionResponse.EslModels.Length"); i++) {
SelectItemInfo selectItemInfo = new SelectItemInfo();
selectItemInfo.setModelId(_ctx.stringValue("DescribeEslModelByTemplateVersionResponse.EslModels["+ i +"].ModelId"));
selectItemInfo.setName(_ctx.stringValue("DescribeEslModelByTemplateVersionResponse.EslModels["+ i +"].Name"));
selectItemInfo.setImage(_ctx.stringValue("DescribeEslModelByTemplateVersionResponse.EslModels["+ i +"].Image"));
selectItemInfo.setDeviceType(_ctx.stringValue("DescribeEslModelByTemplateVersionResponse.EslModels["+ i +"].DeviceType"));
selectItemInfo.setVendor(_ctx.stringValue("DescribeEslModelByTemplateVersionResponse.EslModels["+ i +"].Vendor"));
selectItemInfo.setScreenWidth(_ctx.integerValue("DescribeEslModelByTemplateVersionResponse.EslModels["+ i +"].ScreenWidth"));
selectItemInfo.setScreenHeight(_ctx.integerValue("DescribeEslModelByTemplateVersionResponse.EslModels["+ i +"].ScreenHeight"));
selectItemInfo.setEslSize(_ctx.stringValue("DescribeEslModelByTemplateVersionResponse.EslModels["+ i +"].EslSize"));
selectItemInfo.setEslPhysicalSize(_ctx.stringValue("DescribeEslModelByTemplateVersionResponse.EslModels["+ i +"].EslPhysicalSize"));
eslModels.add(selectItemInfo);
}
describeEslModelByTemplateVersionResponse.setEslModels(eslModels);
return describeEslModelByTemplateVersionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DescribeEventReasonResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.DescribeEventReasonResponse;
import com.aliyuncs.cloudesl.model.v20200201.DescribeEventReasonResponse.EventReason;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeEventReasonResponseUnmarshaller {
public static DescribeEventReasonResponse unmarshall(DescribeEventReasonResponse describeEventReasonResponse, UnmarshallerContext _ctx) {
describeEventReasonResponse.setRequestId(_ctx.stringValue("DescribeEventReasonResponse.RequestId"));
describeEventReasonResponse.setSuccess(_ctx.booleanValue("DescribeEventReasonResponse.Success"));
describeEventReasonResponse.setMessage(_ctx.stringValue("DescribeEventReasonResponse.Message"));
describeEventReasonResponse.setErrorCode(_ctx.stringValue("DescribeEventReasonResponse.ErrorCode"));
describeEventReasonResponse.setErrorMessage(_ctx.stringValue("DescribeEventReasonResponse.ErrorMessage"));
describeEventReasonResponse.setCode(_ctx.stringValue("DescribeEventReasonResponse.Code"));
describeEventReasonResponse.setDynamicCode(_ctx.stringValue("DescribeEventReasonResponse.DynamicCode"));
describeEventReasonResponse.setDynamicMessage(_ctx.stringValue("DescribeEventReasonResponse.DynamicMessage"));
List<EventReason> eventReasons = new ArrayList<EventReason>();
for (int i = 0; i < _ctx.lengthValue("DescribeEventReasonResponse.EventReasons.Length"); i++) {
EventReason eventReason = new EventReason();
eventReason.setCategory(_ctx.stringValue("DescribeEventReasonResponse.EventReasons["+ i +"].Category"));
List<String> reasons = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeEventReasonResponse.EventReasons["+ i +"].Reasons.Length"); j++) {
reasons.add(_ctx.stringValue("DescribeEventReasonResponse.EventReasons["+ i +"].Reasons["+ j +"]"));
}
eventReason.setReasons(reasons);
List<String> reasonI18ns = new ArrayList<String>();
for (int j = 0; j < _ctx.lengthValue("DescribeEventReasonResponse.EventReasons["+ i +"].ReasonI18ns.Length"); j++) {
reasonI18ns.add(_ctx.stringValue("DescribeEventReasonResponse.EventReasons["+ i +"].ReasonI18ns["+ j +"]"));
}
eventReason.setReasonI18ns(reasonI18ns);
eventReasons.add(eventReason);
}
describeEventReasonResponse.setEventReasons(eventReasons);
return describeEventReasonResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DescribeEventsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.DescribeEventsResponse;
import com.aliyuncs.cloudesl.model.v20200201.DescribeEventsResponse.EventInfoVO;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeEventsResponseUnmarshaller {
public static DescribeEventsResponse unmarshall(DescribeEventsResponse describeEventsResponse, UnmarshallerContext _ctx) {
describeEventsResponse.setRequestId(_ctx.stringValue("DescribeEventsResponse.RequestId"));
describeEventsResponse.setErrorMessage(_ctx.stringValue("DescribeEventsResponse.ErrorMessage"));
describeEventsResponse.setSuccess(_ctx.booleanValue("DescribeEventsResponse.Success"));
describeEventsResponse.setErrorCode(_ctx.stringValue("DescribeEventsResponse.ErrorCode"));
describeEventsResponse.setCode(_ctx.stringValue("DescribeEventsResponse.Code"));
describeEventsResponse.setMessage(_ctx.stringValue("DescribeEventsResponse.Message"));
describeEventsResponse.setDynamicMessage(_ctx.stringValue("DescribeEventsResponse.DynamicMessage"));
describeEventsResponse.setDynamicCode(_ctx.stringValue("DescribeEventsResponse.DynamicCode"));
describeEventsResponse.setTotalCount(_ctx.integerValue("DescribeEventsResponse.TotalCount"));
describeEventsResponse.setPageSize(_ctx.integerValue("DescribeEventsResponse.PageSize"));
describeEventsResponse.setPageNumber(_ctx.integerValue("DescribeEventsResponse.PageNumber"));
List<EventInfoVO> items = new ArrayList<EventInfoVO>();
for (int i = 0; i < _ctx.lengthValue("DescribeEventsResponse.Items.Length"); i++) {
EventInfoVO eventInfoVO = new EventInfoVO();
eventInfoVO.setEventId(_ctx.stringValue("DescribeEventsResponse.Items["+ i +"].EventId"));
eventInfoVO.setEventTime(_ctx.stringValue("DescribeEventsResponse.Items["+ i +"].EventTime"));
eventInfoVO.setCategory(_ctx.stringValue("DescribeEventsResponse.Items["+ i +"].Category"));
eventInfoVO.setEslBarCode(_ctx.stringValue("DescribeEventsResponse.Items["+ i +"].EslBarCode"));
eventInfoVO.setApMac(_ctx.stringValue("DescribeEventsResponse.Items["+ i +"].ApMac"));
eventInfoVO.setStoreId(_ctx.stringValue("DescribeEventsResponse.Items["+ i +"].StoreId"));
eventInfoVO.setItemBarCode(_ctx.stringValue("DescribeEventsResponse.Items["+ i +"].ItemBarCode"));
eventInfoVO.setItemId(_ctx.stringValue("DescribeEventsResponse.Items["+ i +"].ItemId"));
eventInfoVO.setItemTitle(_ctx.stringValue("DescribeEventsResponse.Items["+ i +"].ItemTitle"));
eventInfoVO.setContent(_ctx.stringValue("DescribeEventsResponse.Items["+ i +"].Content"));
eventInfoVO.setStatus(_ctx.stringValue("DescribeEventsResponse.Items["+ i +"].Status"));
eventInfoVO.setStaff(_ctx.stringValue("DescribeEventsResponse.Items["+ i +"].Staff"));
eventInfoVO.setProcessTime(_ctx.stringValue("DescribeEventsResponse.Items["+ i +"].ProcessTime"));
eventInfoVO.setReason(_ctx.stringValue("DescribeEventsResponse.Items["+ i +"].Reason"));
items.add(eventInfoVO);
}
describeEventsResponse.setItems(items);
return describeEventsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DescribeItemMaterialsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.DescribeItemMaterialsResponse;
import com.aliyuncs.cloudesl.model.v20200201.DescribeItemMaterialsResponse.ItemMaterialInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeItemMaterialsResponseUnmarshaller {
public static DescribeItemMaterialsResponse unmarshall(DescribeItemMaterialsResponse describeItemMaterialsResponse, UnmarshallerContext _ctx) {
describeItemMaterialsResponse.setRequestId(_ctx.stringValue("DescribeItemMaterialsResponse.RequestId"));
describeItemMaterialsResponse.setTotalCount(_ctx.integerValue("DescribeItemMaterialsResponse.TotalCount"));
describeItemMaterialsResponse.setPageNumber(_ctx.integerValue("DescribeItemMaterialsResponse.PageNumber"));
describeItemMaterialsResponse.setPageSize(_ctx.integerValue("DescribeItemMaterialsResponse.PageSize"));
describeItemMaterialsResponse.setSuccess(_ctx.booleanValue("DescribeItemMaterialsResponse.Success"));
describeItemMaterialsResponse.setMessage(_ctx.stringValue("DescribeItemMaterialsResponse.Message"));
describeItemMaterialsResponse.setErrorCode(_ctx.stringValue("DescribeItemMaterialsResponse.ErrorCode"));
describeItemMaterialsResponse.setErrorMessage(_ctx.stringValue("DescribeItemMaterialsResponse.ErrorMessage"));
describeItemMaterialsResponse.setCode(_ctx.stringValue("DescribeItemMaterialsResponse.Code"));
describeItemMaterialsResponse.setDynamicCode(_ctx.stringValue("DescribeItemMaterialsResponse.DynamicCode"));
describeItemMaterialsResponse.setDynamicMessage(_ctx.stringValue("DescribeItemMaterialsResponse.DynamicMessage"));
List<ItemMaterialInfo> materials = new ArrayList<ItemMaterialInfo>();
for (int i = 0; i < _ctx.lengthValue("DescribeItemMaterialsResponse.Materials.Length"); i++) {
ItemMaterialInfo itemMaterialInfo = new ItemMaterialInfo();
itemMaterialInfo.setBarCode(_ctx.stringValue("DescribeItemMaterialsResponse.Materials["+ i +"].BarCode"));
itemMaterialInfo.setItemName(_ctx.stringValue("DescribeItemMaterialsResponse.Materials["+ i +"].ItemName"));
itemMaterialInfo.setGmtCreate(_ctx.stringValue("DescribeItemMaterialsResponse.Materials["+ i +"].GmtCreate"));
materials.add(itemMaterialInfo);
}
describeItemMaterialsResponse.setMaterials(materials);
return describeItemMaterialsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DescribeItemsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.DescribeItemsResponse;
import com.aliyuncs.cloudesl.model.v20200201.DescribeItemsResponse.ItemInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeItemsResponseUnmarshaller {
public static DescribeItemsResponse unmarshall(DescribeItemsResponse describeItemsResponse, UnmarshallerContext _ctx) {
describeItemsResponse.setRequestId(_ctx.stringValue("DescribeItemsResponse.RequestId"));
describeItemsResponse.setTemplateSceneId(_ctx.stringValue("DescribeItemsResponse.TemplateSceneId"));
describeItemsResponse.setErrorMessage(_ctx.stringValue("DescribeItemsResponse.ErrorMessage"));
describeItemsResponse.setSuccess(_ctx.booleanValue("DescribeItemsResponse.Success"));
describeItemsResponse.setMessage(_ctx.stringValue("DescribeItemsResponse.Message"));
describeItemsResponse.setDynamicMessage(_ctx.stringValue("DescribeItemsResponse.DynamicMessage"));
describeItemsResponse.setTotalCount(_ctx.integerValue("DescribeItemsResponse.TotalCount"));
describeItemsResponse.setDynamicCode(_ctx.stringValue("DescribeItemsResponse.DynamicCode"));
describeItemsResponse.setErrorCode(_ctx.stringValue("DescribeItemsResponse.ErrorCode"));
describeItemsResponse.setCode(_ctx.stringValue("DescribeItemsResponse.Code"));
describeItemsResponse.setPageNumber(_ctx.integerValue("DescribeItemsResponse.PageNumber"));
describeItemsResponse.setPageSize(_ctx.integerValue("DescribeItemsResponse.PageSize"));
List<ItemInfo> items = new ArrayList<ItemInfo>();
for (int i = 0; i < _ctx.lengthValue("DescribeItemsResponse.Items.Length"); i++) {
ItemInfo itemInfo = new ItemInfo();
itemInfo.setActionPrice(_ctx.integerValue("DescribeItemsResponse.Items["+ i +"].ActionPrice"));
itemInfo.setItemTitle(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].ItemTitle"));
itemInfo.setBrandName(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].BrandName"));
itemInfo.setSourceCode(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].SourceCode"));
itemInfo.setPriceUnit(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].PriceUnit"));
itemInfo.setForestFirstId(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].ForestFirstId"));
itemInfo.setCustomizeFeatureF(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureF"));
itemInfo.setCustomizeFeatureA(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureA"));
itemInfo.setCustomizeFeatureK(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureK"));
itemInfo.setTemplateSceneId(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].TemplateSceneId"));
itemInfo.setCustomizeFeatureD(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureD"));
itemInfo.setMemberPrice(_ctx.integerValue("DescribeItemsResponse.Items["+ i +"].MemberPrice"));
itemInfo.setPromotionStart(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].PromotionStart"));
itemInfo.setModelNumber(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].ModelNumber"));
itemInfo.setCategoryName(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CategoryName"));
itemInfo.setCustomizeFeatureE(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureE"));
itemInfo.setSuggestPrice(_ctx.integerValue("DescribeItemsResponse.Items["+ i +"].SuggestPrice"));
itemInfo.setSaleSpec(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].SaleSpec"));
itemInfo.setPromotionText(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].PromotionText"));
itemInfo.setRank(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].Rank"));
itemInfo.setPromotionReason(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].PromotionReason"));
itemInfo.setCustomizeFeatureG(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureG"));
itemInfo.setSalesPrice(_ctx.integerValue("DescribeItemsResponse.Items["+ i +"].SalesPrice"));
itemInfo.setCustomizeFeatureH(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureH"));
itemInfo.setOriginalPrice(_ctx.integerValue("DescribeItemsResponse.Items["+ i +"].OriginalPrice"));
itemInfo.setGmtModified(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].GmtModified"));
itemInfo.setCustomizeFeatureI(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureI"));
itemInfo.setProductionPlace(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].ProductionPlace"));
itemInfo.setCustomizeFeatureB(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureB"));
itemInfo.setItemShortTitle(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].ItemShortTitle"));
itemInfo.setCustomizeFeatureN(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureN"));
itemInfo.setBeMember(_ctx.booleanValue("DescribeItemsResponse.Items["+ i +"].BeMember"));
itemInfo.setTaxFee(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].TaxFee"));
itemInfo.setInventoryStatus(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].InventoryStatus"));
itemInfo.setSupplierName(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].SupplierName"));
itemInfo.setItemPicUrl(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].ItemPicUrl"));
itemInfo.setEnergyEfficiency(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].EnergyEfficiency"));
itemInfo.setCustomizeFeatureL(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureL"));
itemInfo.setCustomizeFeatureC(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureC"));
itemInfo.setItemId(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].ItemId"));
itemInfo.setManufacturer(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].Manufacturer"));
itemInfo.setMaterial(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].Material"));
itemInfo.setCustomizeFeatureO(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureO"));
itemInfo.setCustomizeFeatureP(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureP"));
itemInfo.setCustomizeFeatureQ(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureQ"));
itemInfo.setCustomizeFeatureR(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureR"));
itemInfo.setCustomizeFeatureS(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureS"));
itemInfo.setCustomizeFeatureT(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureT"));
itemInfo.setCustomizeFeatureU(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureU"));
itemInfo.setCustomizeFeatureV(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureV"));
itemInfo.setCustomizeFeatureW(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureW"));
itemInfo.setCustomizeFeatureX(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureX"));
itemInfo.setCustomizeFeatureY(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureY"));
itemInfo.setCustomizeFeatureZ(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureZ"));
itemInfo.setCustomizeFeatureJ(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureJ"));
itemInfo.setGmtCreate(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].GmtCreate"));
itemInfo.setCustomizeFeatureM(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].CustomizeFeatureM"));
itemInfo.setBePromotion(_ctx.booleanValue("DescribeItemsResponse.Items["+ i +"].BePromotion"));
itemInfo.setSkuId(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].SkuId"));
itemInfo.setBeSourceCode(_ctx.booleanValue("DescribeItemsResponse.Items["+ i +"].BeSourceCode"));
itemInfo.setForestSecondId(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].ForestSecondId"));
itemInfo.setItemQrCode(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].ItemQrCode"));
itemInfo.setItemInfoIndex(_ctx.integerValue("DescribeItemsResponse.Items["+ i +"].ItemInfoIndex"));
itemInfo.setPromotionEnd(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].PromotionEnd"));
itemInfo.setItemBarCode(_ctx.stringValue("DescribeItemsResponse.Items["+ i +"].ItemBarCode"));
itemInfo.setBeClearance(_ctx.booleanValue("DescribeItemsResponse.Items["+ i +"].BeClearance"));
items.add(itemInfo);
}
describeItemsResponse.setItems(items);
return describeItemsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DescribeMaterialsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.DescribeMaterialsResponse;
import com.aliyuncs.cloudesl.model.v20200201.DescribeMaterialsResponse.Material;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeMaterialsResponseUnmarshaller {
public static DescribeMaterialsResponse unmarshall(DescribeMaterialsResponse describeMaterialsResponse, UnmarshallerContext _ctx) {
describeMaterialsResponse.setRequestId(_ctx.stringValue("DescribeMaterialsResponse.RequestId"));
describeMaterialsResponse.setTotalCount(_ctx.integerValue("DescribeMaterialsResponse.TotalCount"));
describeMaterialsResponse.setPageNumber(_ctx.integerValue("DescribeMaterialsResponse.PageNumber"));
describeMaterialsResponse.setPageSize(_ctx.integerValue("DescribeMaterialsResponse.PageSize"));
describeMaterialsResponse.setSuccess(_ctx.booleanValue("DescribeMaterialsResponse.Success"));
describeMaterialsResponse.setMessage(_ctx.stringValue("DescribeMaterialsResponse.Message"));
describeMaterialsResponse.setErrorCode(_ctx.stringValue("DescribeMaterialsResponse.ErrorCode"));
describeMaterialsResponse.setErrorMessage(_ctx.stringValue("DescribeMaterialsResponse.ErrorMessage"));
describeMaterialsResponse.setCode(_ctx.stringValue("DescribeMaterialsResponse.Code"));
describeMaterialsResponse.setDynamicCode(_ctx.stringValue("DescribeMaterialsResponse.DynamicCode"));
describeMaterialsResponse.setDynamicMessage(_ctx.stringValue("DescribeMaterialsResponse.DynamicMessage"));
List<Material> materials = new ArrayList<Material>();
for (int i = 0; i < _ctx.lengthValue("DescribeMaterialsResponse.Materials.Length"); i++) {
Material material = new Material();
material.setMaterialId(_ctx.stringValue("DescribeMaterialsResponse.Materials["+ i +"].MaterialId"));
material.setSize(_ctx.stringValue("DescribeMaterialsResponse.Materials["+ i +"].Size"));
material.setPeriod(_ctx.integerValue("DescribeMaterialsResponse.Materials["+ i +"].Period"));
material.setContent(_ctx.stringValue("DescribeMaterialsResponse.Materials["+ i +"].Content"));
material.setThumbnail(_ctx.stringValue("DescribeMaterialsResponse.Materials["+ i +"].Thumbnail"));
material.setType(_ctx.integerValue("DescribeMaterialsResponse.Materials["+ i +"].Type"));
material.setSource(_ctx.stringValue("DescribeMaterialsResponse.Materials["+ i +"].Source"));
material.setName(_ctx.stringValue("DescribeMaterialsResponse.Materials["+ i +"].Name"));
materials.add(material);
}
describeMaterialsResponse.setMaterials(materials);
return describeMaterialsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DescribeNotificationConfigResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.DescribeNotificationConfigResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeNotificationConfigResponseUnmarshaller {
public static DescribeNotificationConfigResponse unmarshall(DescribeNotificationConfigResponse describeNotificationConfigResponse, UnmarshallerContext _ctx) {
describeNotificationConfigResponse.setRequestId(_ctx.stringValue("DescribeNotificationConfigResponse.RequestId"));
describeNotificationConfigResponse.setErrorMessage(_ctx.stringValue("DescribeNotificationConfigResponse.ErrorMessage"));
describeNotificationConfigResponse.setSuccess(_ctx.booleanValue("DescribeNotificationConfigResponse.Success"));
describeNotificationConfigResponse.setErrorCode(_ctx.stringValue("DescribeNotificationConfigResponse.ErrorCode"));
describeNotificationConfigResponse.setCode(_ctx.stringValue("DescribeNotificationConfigResponse.Code"));
describeNotificationConfigResponse.setMessage(_ctx.stringValue("DescribeNotificationConfigResponse.Message"));
describeNotificationConfigResponse.setDynamicMessage(_ctx.stringValue("DescribeNotificationConfigResponse.DynamicMessage"));
describeNotificationConfigResponse.setDynamicCode(_ctx.stringValue("DescribeNotificationConfigResponse.DynamicCode"));
describeNotificationConfigResponse.setTopic(_ctx.stringValue("DescribeNotificationConfigResponse.Topic"));
describeNotificationConfigResponse.setGroupId(_ctx.stringValue("DescribeNotificationConfigResponse.GroupId"));
describeNotificationConfigResponse.setEndpoint(_ctx.stringValue("DescribeNotificationConfigResponse.Endpoint"));
describeNotificationConfigResponse.setTag(_ctx.stringValue("DescribeNotificationConfigResponse.Tag"));
describeNotificationConfigResponse.setEnable(_ctx.booleanValue("DescribeNotificationConfigResponse.Enable"));
return describeNotificationConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DescribeStoreByTemplateVersionResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.DescribeStoreByTemplateVersionResponse;
import com.aliyuncs.cloudesl.model.v20200201.DescribeStoreByTemplateVersionResponse.SelectItemInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeStoreByTemplateVersionResponseUnmarshaller {
public static DescribeStoreByTemplateVersionResponse unmarshall(DescribeStoreByTemplateVersionResponse describeStoreByTemplateVersionResponse, UnmarshallerContext _ctx) {
describeStoreByTemplateVersionResponse.setRequestId(_ctx.stringValue("DescribeStoreByTemplateVersionResponse.RequestId"));
describeStoreByTemplateVersionResponse.setErrorMessage(_ctx.stringValue("DescribeStoreByTemplateVersionResponse.ErrorMessage"));
describeStoreByTemplateVersionResponse.setSuccess(_ctx.booleanValue("DescribeStoreByTemplateVersionResponse.Success"));
describeStoreByTemplateVersionResponse.setErrorCode(_ctx.stringValue("DescribeStoreByTemplateVersionResponse.ErrorCode"));
describeStoreByTemplateVersionResponse.setCode(_ctx.stringValue("DescribeStoreByTemplateVersionResponse.Code"));
describeStoreByTemplateVersionResponse.setMessage(_ctx.stringValue("DescribeStoreByTemplateVersionResponse.Message"));
describeStoreByTemplateVersionResponse.setDynamicMessage(_ctx.stringValue("DescribeStoreByTemplateVersionResponse.DynamicMessage"));
describeStoreByTemplateVersionResponse.setDynamicCode(_ctx.stringValue("DescribeStoreByTemplateVersionResponse.DynamicCode"));
List<SelectItemInfo> stores = new ArrayList<SelectItemInfo>();
for (int i = 0; i < _ctx.lengthValue("DescribeStoreByTemplateVersionResponse.Stores.Length"); i++) {
SelectItemInfo selectItemInfo = new SelectItemInfo();
selectItemInfo.setStoreName(_ctx.stringValue("DescribeStoreByTemplateVersionResponse.Stores["+ i +"].StoreName"));
selectItemInfo.setStoreId(_ctx.stringValue("DescribeStoreByTemplateVersionResponse.Stores["+ i +"].StoreId"));
selectItemInfo.setParentId(_ctx.stringValue("DescribeStoreByTemplateVersionResponse.Stores["+ i +"].ParentId"));
selectItemInfo.setUserStoreCode(_ctx.stringValue("DescribeStoreByTemplateVersionResponse.Stores["+ i +"].UserStoreCode"));
selectItemInfo.setGmtModified(_ctx.stringValue("DescribeStoreByTemplateVersionResponse.Stores["+ i +"].GmtModified"));
selectItemInfo.setPhone(_ctx.stringValue("DescribeStoreByTemplateVersionResponse.Stores["+ i +"].Phone"));
selectItemInfo.setLevel(_ctx.stringValue("DescribeStoreByTemplateVersionResponse.Stores["+ i +"].Level"));
selectItemInfo.setTemplateVersion(_ctx.stringValue("DescribeStoreByTemplateVersionResponse.Stores["+ i +"].TemplateVersion"));
selectItemInfo.setTimeZone(_ctx.stringValue("DescribeStoreByTemplateVersionResponse.Stores["+ i +"].TimeZone"));
stores.add(selectItemInfo);
}
describeStoreByTemplateVersionResponse.setStores(stores);
return describeStoreByTemplateVersionResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DescribeStoreConfigResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.DescribeStoreConfigResponse;
import com.aliyuncs.cloudesl.model.v20200201.DescribeStoreConfigResponse.StoreConfigInfo;
import com.aliyuncs.cloudesl.model.v20200201.DescribeStoreConfigResponse.StoreConfigInfo.SubscribeContent;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeStoreConfigResponseUnmarshaller {
public static DescribeStoreConfigResponse unmarshall(DescribeStoreConfigResponse describeStoreConfigResponse, UnmarshallerContext _ctx) {
describeStoreConfigResponse.setRequestId(_ctx.stringValue("DescribeStoreConfigResponse.RequestId"));
describeStoreConfigResponse.setErrorMessage(_ctx.stringValue("DescribeStoreConfigResponse.ErrorMessage"));
describeStoreConfigResponse.setSuccess(_ctx.booleanValue("DescribeStoreConfigResponse.Success"));
describeStoreConfigResponse.setErrorCode(_ctx.stringValue("DescribeStoreConfigResponse.ErrorCode"));
describeStoreConfigResponse.setCode(_ctx.stringValue("DescribeStoreConfigResponse.Code"));
describeStoreConfigResponse.setMessage(_ctx.stringValue("DescribeStoreConfigResponse.Message"));
describeStoreConfigResponse.setDynamicMessage(_ctx.stringValue("DescribeStoreConfigResponse.DynamicMessage"));
describeStoreConfigResponse.setDynamicCode(_ctx.stringValue("DescribeStoreConfigResponse.DynamicCode"));
StoreConfigInfo storeConfigInfo = new StoreConfigInfo();
storeConfigInfo.setStoreId(_ctx.stringValue("DescribeStoreConfigResponse.StoreConfigInfo.StoreId"));
storeConfigInfo.setEnableNotification(_ctx.booleanValue("DescribeStoreConfigResponse.StoreConfigInfo.EnableNotification"));
storeConfigInfo.setNotificationWebHook(_ctx.stringValue("DescribeStoreConfigResponse.StoreConfigInfo.NotificationWebHook"));
storeConfigInfo.setNotificationSilentTimes(_ctx.stringValue("DescribeStoreConfigResponse.StoreConfigInfo.NotificationSilentTimes"));
List<SubscribeContent> subscribeContents = new ArrayList<SubscribeContent>();
for (int i = 0; i < _ctx.lengthValue("DescribeStoreConfigResponse.StoreConfigInfo.SubscribeContents.Length"); i++) {
SubscribeContent subscribeContent = new SubscribeContent();
subscribeContent.setCategory(_ctx.stringValue("DescribeStoreConfigResponse.StoreConfigInfo.SubscribeContents["+ i +"].Category"));
subscribeContent.setEnable(_ctx.booleanValue("DescribeStoreConfigResponse.StoreConfigInfo.SubscribeContents["+ i +"].Enable"));
subscribeContent.setThreshold(_ctx.stringValue("DescribeStoreConfigResponse.StoreConfigInfo.SubscribeContents["+ i +"].Threshold"));
subscribeContent.setAtAll(_ctx.booleanValue("DescribeStoreConfigResponse.StoreConfigInfo.SubscribeContents["+ i +"].AtAll"));
subscribeContent.setAtMobileList(_ctx.stringValue("DescribeStoreConfigResponse.StoreConfigInfo.SubscribeContents["+ i +"].AtMobileList"));
subscribeContents.add(subscribeContent);
}
storeConfigInfo.setSubscribeContents(subscribeContents);
describeStoreConfigResponse.setStoreConfigInfo(storeConfigInfo);
return describeStoreConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DescribeStoresResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.DescribeStoresResponse;
import com.aliyuncs.cloudesl.model.v20200201.DescribeStoresResponse.StoreInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeStoresResponseUnmarshaller {
public static DescribeStoresResponse unmarshall(DescribeStoresResponse describeStoresResponse, UnmarshallerContext _ctx) {
describeStoresResponse.setRequestId(_ctx.stringValue("DescribeStoresResponse.RequestId"));
describeStoresResponse.setErrorMessage(_ctx.stringValue("DescribeStoresResponse.ErrorMessage"));
describeStoresResponse.setErrorCode(_ctx.stringValue("DescribeStoresResponse.ErrorCode"));
describeStoresResponse.setTotalCount(_ctx.integerValue("DescribeStoresResponse.TotalCount"));
describeStoresResponse.setMessage(_ctx.stringValue("DescribeStoresResponse.Message"));
describeStoresResponse.setPageSize(_ctx.integerValue("DescribeStoresResponse.PageSize"));
describeStoresResponse.setDynamicCode(_ctx.stringValue("DescribeStoresResponse.DynamicCode"));
describeStoresResponse.setCode(_ctx.stringValue("DescribeStoresResponse.Code"));
describeStoresResponse.setPageNumber(_ctx.integerValue("DescribeStoresResponse.PageNumber"));
describeStoresResponse.setDynamicMessage(_ctx.stringValue("DescribeStoresResponse.DynamicMessage"));
describeStoresResponse.setSuccess(_ctx.booleanValue("DescribeStoresResponse.Success"));
List<StoreInfo> stores = new ArrayList<StoreInfo>();
for (int i = 0; i < _ctx.lengthValue("DescribeStoresResponse.Stores.Length"); i++) {
StoreInfo storeInfo = new StoreInfo();
storeInfo.setStoreName(_ctx.stringValue("DescribeStoresResponse.Stores["+ i +"].StoreName"));
storeInfo.setStoreId(_ctx.stringValue("DescribeStoresResponse.Stores["+ i +"].StoreId"));
storeInfo.setGmtCreate(_ctx.stringValue("DescribeStoresResponse.Stores["+ i +"].GmtCreate"));
storeInfo.setParentId(_ctx.stringValue("DescribeStoresResponse.Stores["+ i +"].ParentId"));
storeInfo.setUserStoreCode(_ctx.stringValue("DescribeStoresResponse.Stores["+ i +"].UserStoreCode"));
storeInfo.setGmtModified(_ctx.stringValue("DescribeStoresResponse.Stores["+ i +"].GmtModified"));
storeInfo.setPhone(_ctx.stringValue("DescribeStoresResponse.Stores["+ i +"].Phone"));
storeInfo.setLevel(_ctx.stringValue("DescribeStoresResponse.Stores["+ i +"].Level"));
storeInfo.setTemplateVersion(_ctx.stringValue("DescribeStoresResponse.Stores["+ i +"].TemplateVersion"));
storeInfo.setTimeZone(_ctx.stringValue("DescribeStoresResponse.Stores["+ i +"].TimeZone"));
stores.add(storeInfo);
}
describeStoresResponse.setStores(stores);
return describeStoresResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DescribeTemplateByModelResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.DescribeTemplateByModelResponse;
import com.aliyuncs.cloudesl.model.v20200201.DescribeTemplateByModelResponse.SelectItemInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeTemplateByModelResponseUnmarshaller {
public static DescribeTemplateByModelResponse unmarshall(DescribeTemplateByModelResponse describeTemplateByModelResponse, UnmarshallerContext _ctx) {
describeTemplateByModelResponse.setRequestId(_ctx.stringValue("DescribeTemplateByModelResponse.RequestId"));
describeTemplateByModelResponse.setErrorMessage(_ctx.stringValue("DescribeTemplateByModelResponse.ErrorMessage"));
describeTemplateByModelResponse.setSuccess(_ctx.booleanValue("DescribeTemplateByModelResponse.Success"));
describeTemplateByModelResponse.setErrorCode(_ctx.stringValue("DescribeTemplateByModelResponse.ErrorCode"));
describeTemplateByModelResponse.setCode(_ctx.stringValue("DescribeTemplateByModelResponse.Code"));
describeTemplateByModelResponse.setMessage(_ctx.stringValue("DescribeTemplateByModelResponse.Message"));
describeTemplateByModelResponse.setDynamicMessage(_ctx.stringValue("DescribeTemplateByModelResponse.DynamicMessage"));
describeTemplateByModelResponse.setDynamicCode(_ctx.stringValue("DescribeTemplateByModelResponse.DynamicCode"));
describeTemplateByModelResponse.setTotalCount(_ctx.integerValue("DescribeTemplateByModelResponse.TotalCount"));
describeTemplateByModelResponse.setPageSize(_ctx.integerValue("DescribeTemplateByModelResponse.PageSize"));
describeTemplateByModelResponse.setPageNumber(_ctx.integerValue("DescribeTemplateByModelResponse.PageNumber"));
List<SelectItemInfo> items = new ArrayList<SelectItemInfo>();
for (int i = 0; i < _ctx.lengthValue("DescribeTemplateByModelResponse.Items.Length"); i++) {
SelectItemInfo selectItemInfo = new SelectItemInfo();
selectItemInfo.setBasePicture(_ctx.stringValue("DescribeTemplateByModelResponse.Items["+ i +"].BasePicture"));
selectItemInfo.setTemplateId(_ctx.stringValue("DescribeTemplateByModelResponse.Items["+ i +"].TemplateId"));
selectItemInfo.setTemplateName(_ctx.stringValue("DescribeTemplateByModelResponse.Items["+ i +"].TemplateName"));
selectItemInfo.setEslSize(_ctx.stringValue("DescribeTemplateByModelResponse.Items["+ i +"].EslSize"));
selectItemInfo.setEslType(_ctx.stringValue("DescribeTemplateByModelResponse.Items["+ i +"].EslType"));
selectItemInfo.setWidth(_ctx.longValue("DescribeTemplateByModelResponse.Items["+ i +"].Width"));
selectItemInfo.setHeight(_ctx.longValue("DescribeTemplateByModelResponse.Items["+ i +"].Height"));
selectItemInfo.setTemplateVersion(_ctx.stringValue("DescribeTemplateByModelResponse.Items["+ i +"].TemplateVersion"));
selectItemInfo.setLayout(_ctx.stringValue("DescribeTemplateByModelResponse.Items["+ i +"].Layout"));
selectItemInfo.setScene(_ctx.stringValue("DescribeTemplateByModelResponse.Items["+ i +"].Scene"));
selectItemInfo.setBrand(_ctx.stringValue("DescribeTemplateByModelResponse.Items["+ i +"].Brand"));
selectItemInfo.setTemplateSceneId(_ctx.stringValue("DescribeTemplateByModelResponse.Items["+ i +"].TemplateSceneId"));
items.add(selectItemInfo);
}
describeTemplateByModelResponse.setItems(items);
return describeTemplateByModelResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DescribeUserLogResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.DescribeUserLogResponse;
import com.aliyuncs.cloudesl.model.v20200201.DescribeUserLogResponse.UserLogInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeUserLogResponseUnmarshaller {
public static DescribeUserLogResponse unmarshall(DescribeUserLogResponse describeUserLogResponse, UnmarshallerContext _ctx) {
describeUserLogResponse.setRequestId(_ctx.stringValue("DescribeUserLogResponse.RequestId"));
describeUserLogResponse.setErrorMessage(_ctx.stringValue("DescribeUserLogResponse.ErrorMessage"));
describeUserLogResponse.setSuccess(_ctx.booleanValue("DescribeUserLogResponse.Success"));
describeUserLogResponse.setErrorCode(_ctx.stringValue("DescribeUserLogResponse.ErrorCode"));
describeUserLogResponse.setCode(_ctx.stringValue("DescribeUserLogResponse.Code"));
describeUserLogResponse.setMessage(_ctx.stringValue("DescribeUserLogResponse.Message"));
describeUserLogResponse.setDynamicMessage(_ctx.stringValue("DescribeUserLogResponse.DynamicMessage"));
describeUserLogResponse.setPageSize(_ctx.integerValue("DescribeUserLogResponse.PageSize"));
describeUserLogResponse.setPageNumber(_ctx.integerValue("DescribeUserLogResponse.PageNumber"));
describeUserLogResponse.setTotalCount(_ctx.integerValue("DescribeUserLogResponse.TotalCount"));
describeUserLogResponse.setDynamicCode(_ctx.stringValue("DescribeUserLogResponse.DynamicCode"));
List<UserLogInfo> userLogs = new ArrayList<UserLogInfo>();
for (int i = 0; i < _ctx.lengthValue("DescribeUserLogResponse.UserLogs.Length"); i++) {
UserLogInfo userLogInfo = new UserLogInfo();
userLogInfo.setEslBarCode(_ctx.stringValue("DescribeUserLogResponse.UserLogs["+ i +"].EslBarCode"));
userLogInfo.setOperationSendTime(_ctx.stringValue("DescribeUserLogResponse.UserLogs["+ i +"].OperationSendTime"));
userLogInfo.setActionPrice(_ctx.stringValue("DescribeUserLogResponse.UserLogs["+ i +"].ActionPrice"));
userLogInfo.setUserId(_ctx.stringValue("DescribeUserLogResponse.UserLogs["+ i +"].UserId"));
userLogInfo.setPriceUnit(_ctx.stringValue("DescribeUserLogResponse.UserLogs["+ i +"].PriceUnit"));
userLogInfo.setResultCode(_ctx.stringValue("DescribeUserLogResponse.UserLogs["+ i +"].ResultCode"));
userLogInfo.setItemId(_ctx.stringValue("DescribeUserLogResponse.UserLogs["+ i +"].ItemId"));
userLogInfo.setGmtModified(_ctx.stringValue("DescribeUserLogResponse.UserLogs["+ i +"].GmtModified"));
userLogInfo.setOperationType(_ctx.stringValue("DescribeUserLogResponse.UserLogs["+ i +"].OperationType"));
userLogInfo.setOperationResponseTime(_ctx.stringValue("DescribeUserLogResponse.UserLogs["+ i +"].OperationResponseTime"));
userLogInfo.setOperationStatus(_ctx.stringValue("DescribeUserLogResponse.UserLogs["+ i +"].OperationStatus"));
userLogInfo.setStoreId(_ctx.stringValue("DescribeUserLogResponse.UserLogs["+ i +"].StoreId"));
userLogInfo.setItemShortTitle(_ctx.stringValue("DescribeUserLogResponse.UserLogs["+ i +"].ItemShortTitle"));
userLogInfo.setLogId(_ctx.stringValue("DescribeUserLogResponse.UserLogs["+ i +"].LogId"));
userLogInfo.setBePromotion(_ctx.booleanValue("DescribeUserLogResponse.UserLogs["+ i +"].BePromotion"));
userLogInfo.setGmtCreate(_ctx.stringValue("DescribeUserLogResponse.UserLogs["+ i +"].GmtCreate"));
userLogInfo.setEslSignal(_ctx.integerValue("DescribeUserLogResponse.UserLogs["+ i +"].EslSignal"));
userLogInfo.setSpendTime(_ctx.stringValue("DescribeUserLogResponse.UserLogs["+ i +"].SpendTime"));
userLogInfo.setItemBarCode(_ctx.stringValue("DescribeUserLogResponse.UserLogs["+ i +"].ItemBarCode"));
userLogInfo.setI18nResultKey(_ctx.stringValue("DescribeUserLogResponse.UserLogs["+ i +"].I18nResultKey"));
userLogs.add(userLogInfo);
}
describeUserLogResponse.setUserLogs(userLogs);
return describeUserLogResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/DescribeUsersResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.DescribeUsersResponse;
import com.aliyuncs.cloudesl.model.v20200201.DescribeUsersResponse.UserInfo;
import com.aliyuncs.cloudesl.model.v20200201.DescribeUsersResponse.UserInfo.DingTalkInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class DescribeUsersResponseUnmarshaller {
public static DescribeUsersResponse unmarshall(DescribeUsersResponse describeUsersResponse, UnmarshallerContext _ctx) {
describeUsersResponse.setRequestId(_ctx.stringValue("DescribeUsersResponse.RequestId"));
describeUsersResponse.setErrorMessage(_ctx.stringValue("DescribeUsersResponse.ErrorMessage"));
describeUsersResponse.setErrorCode(_ctx.stringValue("DescribeUsersResponse.ErrorCode"));
describeUsersResponse.setMessage(_ctx.stringValue("DescribeUsersResponse.Message"));
describeUsersResponse.setPageNumber(_ctx.integerValue("DescribeUsersResponse.PageNumber"));
describeUsersResponse.setDynamicCode(_ctx.stringValue("DescribeUsersResponse.DynamicCode"));
describeUsersResponse.setCode(_ctx.stringValue("DescribeUsersResponse.Code"));
describeUsersResponse.setTotalCount(_ctx.integerValue("DescribeUsersResponse.TotalCount"));
describeUsersResponse.setDynamicMessage(_ctx.stringValue("DescribeUsersResponse.DynamicMessage"));
describeUsersResponse.setSuccess(_ctx.booleanValue("DescribeUsersResponse.Success"));
describeUsersResponse.setPageSize(_ctx.integerValue("DescribeUsersResponse.PageSize"));
List<UserInfo> users = new ArrayList<UserInfo>();
for (int i = 0; i < _ctx.lengthValue("DescribeUsersResponse.Users.Length"); i++) {
UserInfo userInfo = new UserInfo();
userInfo.setStores(_ctx.stringValue("DescribeUsersResponse.Users["+ i +"].Stores"));
userInfo.setUserName(_ctx.stringValue("DescribeUsersResponse.Users["+ i +"].UserName"));
userInfo.setUserId(_ctx.stringValue("DescribeUsersResponse.Users["+ i +"].UserId"));
userInfo.setUserType(_ctx.stringValue("DescribeUsersResponse.Users["+ i +"].UserType"));
userInfo.setOwnerId(_ctx.stringValue("DescribeUsersResponse.Users["+ i +"].OwnerId"));
userInfo.setBid(_ctx.stringValue("DescribeUsersResponse.Users["+ i +"].Bid"));
List<DingTalkInfo> dingTalkInfos = new ArrayList<DingTalkInfo>();
for (int j = 0; j < _ctx.lengthValue("DescribeUsersResponse.Users["+ i +"].DingTalkInfos.Length"); j++) {
DingTalkInfo dingTalkInfo = new DingTalkInfo();
dingTalkInfo.setDingTalkCompanyId(_ctx.stringValue("DescribeUsersResponse.Users["+ i +"].DingTalkInfos["+ j +"].DingTalkCompanyId"));
dingTalkInfo.setDingTalkUserId(_ctx.stringValue("DescribeUsersResponse.Users["+ i +"].DingTalkInfos["+ j +"].DingTalkUserId"));
dingTalkInfos.add(dingTalkInfo);
}
userInfo.setDingTalkInfos(dingTalkInfos);
users.add(userInfo);
}
describeUsersResponse.setUsers(users);
return describeUsersResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/ExportEslDevicesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.ExportEslDevicesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class ExportEslDevicesResponseUnmarshaller {
public static ExportEslDevicesResponse unmarshall(ExportEslDevicesResponse exportEslDevicesResponse, UnmarshallerContext _ctx) {
exportEslDevicesResponse.setRequestId(_ctx.stringValue("ExportEslDevicesResponse.RequestId"));
exportEslDevicesResponse.setErrorMessage(_ctx.stringValue("ExportEslDevicesResponse.ErrorMessage"));
exportEslDevicesResponse.setSuccess(_ctx.booleanValue("ExportEslDevicesResponse.Success"));
exportEslDevicesResponse.setErrorCode(_ctx.stringValue("ExportEslDevicesResponse.ErrorCode"));
exportEslDevicesResponse.setCode(_ctx.stringValue("ExportEslDevicesResponse.Code"));
exportEslDevicesResponse.setMessage(_ctx.stringValue("ExportEslDevicesResponse.Message"));
exportEslDevicesResponse.setDynamicMessage(_ctx.stringValue("ExportEslDevicesResponse.DynamicMessage"));
exportEslDevicesResponse.setDynamicCode(_ctx.stringValue("ExportEslDevicesResponse.DynamicCode"));
exportEslDevicesResponse.setDownloadAddress(_ctx.stringValue("ExportEslDevicesResponse.DownloadAddress"));
return exportEslDevicesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/GetAddMaterialStatusResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.GetAddMaterialStatusResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetAddMaterialStatusResponseUnmarshaller {
public static GetAddMaterialStatusResponse unmarshall(GetAddMaterialStatusResponse getAddMaterialStatusResponse, UnmarshallerContext _ctx) {
getAddMaterialStatusResponse.setRequestId(_ctx.stringValue("GetAddMaterialStatusResponse.RequestId"));
return getAddMaterialStatusResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/GetCompanyTemplatePictureByJobResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.GetCompanyTemplatePictureByJobResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetCompanyTemplatePictureByJobResponseUnmarshaller {
public static GetCompanyTemplatePictureByJobResponse unmarshall(GetCompanyTemplatePictureByJobResponse getCompanyTemplatePictureByJobResponse, UnmarshallerContext _ctx) {
getCompanyTemplatePictureByJobResponse.setRequestId(_ctx.stringValue("GetCompanyTemplatePictureByJobResponse.RequestId"));
getCompanyTemplatePictureByJobResponse.setBase64Picture(_ctx.stringValue("GetCompanyTemplatePictureByJobResponse.Base64Picture"));
getCompanyTemplatePictureByJobResponse.setJobId(_ctx.stringValue("GetCompanyTemplatePictureByJobResponse.JobId"));
getCompanyTemplatePictureByJobResponse.setType(_ctx.stringValue("GetCompanyTemplatePictureByJobResponse.Type"));
getCompanyTemplatePictureByJobResponse.setUrl(_ctx.stringValue("GetCompanyTemplatePictureByJobResponse.Url"));
getCompanyTemplatePictureByJobResponse.setSuccess(_ctx.booleanValue("GetCompanyTemplatePictureByJobResponse.Success"));
getCompanyTemplatePictureByJobResponse.setMessage(_ctx.stringValue("GetCompanyTemplatePictureByJobResponse.Message"));
getCompanyTemplatePictureByJobResponse.setErrorCode(_ctx.stringValue("GetCompanyTemplatePictureByJobResponse.ErrorCode"));
getCompanyTemplatePictureByJobResponse.setErrorMessage(_ctx.stringValue("GetCompanyTemplatePictureByJobResponse.ErrorMessage"));
getCompanyTemplatePictureByJobResponse.setCode(_ctx.stringValue("GetCompanyTemplatePictureByJobResponse.Code"));
getCompanyTemplatePictureByJobResponse.setDynamicCode(_ctx.stringValue("GetCompanyTemplatePictureByJobResponse.DynamicCode"));
getCompanyTemplatePictureByJobResponse.setDynamicMessage(_ctx.stringValue("GetCompanyTemplatePictureByJobResponse.DynamicMessage"));
return getCompanyTemplatePictureByJobResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/GetCompanyTemplatePictureNewResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.GetCompanyTemplatePictureNewResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetCompanyTemplatePictureNewResponseUnmarshaller {
public static GetCompanyTemplatePictureNewResponse unmarshall(GetCompanyTemplatePictureNewResponse getCompanyTemplatePictureNewResponse, UnmarshallerContext _ctx) {
getCompanyTemplatePictureNewResponse.setRequestId(_ctx.stringValue("GetCompanyTemplatePictureNewResponse.RequestId"));
getCompanyTemplatePictureNewResponse.setBase64Picture(_ctx.stringValue("GetCompanyTemplatePictureNewResponse.Base64Picture"));
getCompanyTemplatePictureNewResponse.setJobId(_ctx.stringValue("GetCompanyTemplatePictureNewResponse.JobId"));
getCompanyTemplatePictureNewResponse.setType(_ctx.stringValue("GetCompanyTemplatePictureNewResponse.Type"));
getCompanyTemplatePictureNewResponse.setUrl(_ctx.stringValue("GetCompanyTemplatePictureNewResponse.Url"));
getCompanyTemplatePictureNewResponse.setSuccess(_ctx.booleanValue("GetCompanyTemplatePictureNewResponse.Success"));
getCompanyTemplatePictureNewResponse.setMessage(_ctx.stringValue("GetCompanyTemplatePictureNewResponse.Message"));
getCompanyTemplatePictureNewResponse.setErrorCode(_ctx.stringValue("GetCompanyTemplatePictureNewResponse.ErrorCode"));
getCompanyTemplatePictureNewResponse.setErrorMessage(_ctx.stringValue("GetCompanyTemplatePictureNewResponse.ErrorMessage"));
getCompanyTemplatePictureNewResponse.setCode(_ctx.stringValue("GetCompanyTemplatePictureNewResponse.Code"));
getCompanyTemplatePictureNewResponse.setDynamicCode(_ctx.stringValue("GetCompanyTemplatePictureNewResponse.DynamicCode"));
getCompanyTemplatePictureNewResponse.setDynamicMessage(_ctx.stringValue("GetCompanyTemplatePictureNewResponse.DynamicMessage"));
return getCompanyTemplatePictureNewResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/GetCompanyTemplatePictureResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.GetCompanyTemplatePictureResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetCompanyTemplatePictureResponseUnmarshaller {
public static GetCompanyTemplatePictureResponse unmarshall(GetCompanyTemplatePictureResponse getCompanyTemplatePictureResponse, UnmarshallerContext _ctx) {
getCompanyTemplatePictureResponse.setRequestId(_ctx.stringValue("GetCompanyTemplatePictureResponse.RequestId"));
getCompanyTemplatePictureResponse.setErrorMessage(_ctx.stringValue("GetCompanyTemplatePictureResponse.ErrorMessage"));
getCompanyTemplatePictureResponse.setSuccess(_ctx.booleanValue("GetCompanyTemplatePictureResponse.Success"));
getCompanyTemplatePictureResponse.setErrorCode(_ctx.stringValue("GetCompanyTemplatePictureResponse.ErrorCode"));
getCompanyTemplatePictureResponse.setCode(_ctx.stringValue("GetCompanyTemplatePictureResponse.Code"));
getCompanyTemplatePictureResponse.setBase64Picture(_ctx.stringValue("GetCompanyTemplatePictureResponse.Base64Picture"));
getCompanyTemplatePictureResponse.setMessage(_ctx.stringValue("GetCompanyTemplatePictureResponse.Message"));
getCompanyTemplatePictureResponse.setDynamicMessage(_ctx.stringValue("GetCompanyTemplatePictureResponse.DynamicMessage"));
getCompanyTemplatePictureResponse.setDynamicCode(_ctx.stringValue("GetCompanyTemplatePictureResponse.DynamicCode"));
return getCompanyTemplatePictureResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/GetEslDevicesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.GetEslDevicesResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetEslDevicesResponseUnmarshaller {
public static GetEslDevicesResponse unmarshall(GetEslDevicesResponse getEslDevicesResponse, UnmarshallerContext _ctx) {
getEslDevicesResponse.setRequestId(_ctx.stringValue("GetEslDevicesResponse.RequestId"));
getEslDevicesResponse.setSuccess(_ctx.booleanValue("GetEslDevicesResponse.Success"));
getEslDevicesResponse.setMessage(_ctx.stringValue("GetEslDevicesResponse.Message"));
getEslDevicesResponse.setErrorCode(_ctx.stringValue("GetEslDevicesResponse.ErrorCode"));
getEslDevicesResponse.setErrorMessage(_ctx.stringValue("GetEslDevicesResponse.ErrorMessage"));
getEslDevicesResponse.setCode(_ctx.stringValue("GetEslDevicesResponse.Code"));
getEslDevicesResponse.setDynamicCode(_ctx.stringValue("GetEslDevicesResponse.DynamicCode"));
getEslDevicesResponse.setDynamicMessage(_ctx.stringValue("GetEslDevicesResponse.DynamicMessage"));
getEslDevicesResponse.setEslBarCode(_ctx.stringValue("GetEslDevicesResponse.EslBarCode"));
getEslDevicesResponse.setType(_ctx.stringValue("GetEslDevicesResponse.Type"));
return getEslDevicesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/GetItemMaterialResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.GetItemMaterialResponse;
import com.aliyuncs.cloudesl.model.v20200201.GetItemMaterialResponse.MaterialInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetItemMaterialResponseUnmarshaller {
public static GetItemMaterialResponse unmarshall(GetItemMaterialResponse getItemMaterialResponse, UnmarshallerContext _ctx) {
getItemMaterialResponse.setRequestId(_ctx.stringValue("GetItemMaterialResponse.RequestId"));
getItemMaterialResponse.setSuccess(_ctx.booleanValue("GetItemMaterialResponse.Success"));
getItemMaterialResponse.setMessage(_ctx.stringValue("GetItemMaterialResponse.Message"));
getItemMaterialResponse.setErrorCode(_ctx.stringValue("GetItemMaterialResponse.ErrorCode"));
getItemMaterialResponse.setErrorMessage(_ctx.stringValue("GetItemMaterialResponse.ErrorMessage"));
getItemMaterialResponse.setCode(_ctx.stringValue("GetItemMaterialResponse.Code"));
getItemMaterialResponse.setDynamicCode(_ctx.stringValue("GetItemMaterialResponse.DynamicCode"));
getItemMaterialResponse.setDynamicMessage(_ctx.stringValue("GetItemMaterialResponse.DynamicMessage"));
MaterialInfo materialInfo = new MaterialInfo();
materialInfo.setItemName(_ctx.stringValue("GetItemMaterialResponse.MaterialInfo.ItemName"));
materialInfo.setBarCode(_ctx.stringValue("GetItemMaterialResponse.MaterialInfo.BarCode"));
materialInfo.setGmtCreate(_ctx.stringValue("GetItemMaterialResponse.MaterialInfo.GmtCreate"));
materialInfo.setMaterialName(_ctx.stringValue("GetItemMaterialResponse.MaterialInfo.MaterialName"));
materialInfo.setMaterialId(_ctx.stringValue("GetItemMaterialResponse.MaterialInfo.MaterialId"));
materialInfo.setMaterialFeatureA(_ctx.stringValue("GetItemMaterialResponse.MaterialInfo.MaterialFeatureA"));
materialInfo.setMaterialFeatureB(_ctx.stringValue("GetItemMaterialResponse.MaterialInfo.MaterialFeatureB"));
materialInfo.setMaterialFeatureC(_ctx.stringValue("GetItemMaterialResponse.MaterialInfo.MaterialFeatureC"));
materialInfo.setMaterialFeatureD(_ctx.stringValue("GetItemMaterialResponse.MaterialInfo.MaterialFeatureD"));
getItemMaterialResponse.setMaterialInfo(materialInfo);
return getItemMaterialResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/GetUserResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.GetUserResponse;
import com.aliyuncs.cloudesl.model.v20200201.GetUserResponse.User;
import com.aliyuncs.cloudesl.model.v20200201.GetUserResponse.User.DingTalkInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class GetUserResponseUnmarshaller {
public static GetUserResponse unmarshall(GetUserResponse getUserResponse, UnmarshallerContext _ctx) {
getUserResponse.setRequestId(_ctx.stringValue("GetUserResponse.RequestId"));
getUserResponse.setErrorMessage(_ctx.stringValue("GetUserResponse.ErrorMessage"));
getUserResponse.setErrorCode(_ctx.stringValue("GetUserResponse.ErrorCode"));
getUserResponse.setMessage(_ctx.stringValue("GetUserResponse.Message"));
getUserResponse.setDynamicCode(_ctx.stringValue("GetUserResponse.DynamicCode"));
getUserResponse.setCode(_ctx.stringValue("GetUserResponse.Code"));
getUserResponse.setDynamicMessage(_ctx.stringValue("GetUserResponse.DynamicMessage"));
getUserResponse.setSuccess(_ctx.booleanValue("GetUserResponse.Success"));
User user = new User();
user.setStores(_ctx.stringValue("GetUserResponse.User.Stores"));
user.setUserName(_ctx.stringValue("GetUserResponse.User.UserName"));
user.setUserId(_ctx.stringValue("GetUserResponse.User.UserId"));
user.setUserType(_ctx.stringValue("GetUserResponse.User.UserType"));
user.setOwnerId(_ctx.stringValue("GetUserResponse.User.OwnerId"));
user.setBid(_ctx.stringValue("GetUserResponse.User.Bid"));
List<DingTalkInfo> dingTalkInfos = new ArrayList<DingTalkInfo>();
for (int i = 0; i < _ctx.lengthValue("GetUserResponse.User.DingTalkInfos.Length"); i++) {
DingTalkInfo dingTalkInfo = new DingTalkInfo();
dingTalkInfo.setDingTalkCompanyId(_ctx.stringValue("GetUserResponse.User.DingTalkInfos["+ i +"].DingTalkCompanyId"));
dingTalkInfo.setDingTalkUserId(_ctx.stringValue("GetUserResponse.User.DingTalkInfos["+ i +"].DingTalkUserId"));
dingTalkInfos.add(dingTalkInfo);
}
user.setDingTalkInfos(dingTalkInfos);
getUserResponse.setUser(user);
return getUserResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/QueryContainerListResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.QueryContainerListResponse;
import com.aliyuncs.cloudesl.model.v20200201.QueryContainerListResponse.Container;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryContainerListResponseUnmarshaller {
public static QueryContainerListResponse unmarshall(QueryContainerListResponse queryContainerListResponse, UnmarshallerContext _ctx) {
queryContainerListResponse.setRequestId(_ctx.stringValue("QueryContainerListResponse.RequestId"));
queryContainerListResponse.setSuccess(_ctx.booleanValue("QueryContainerListResponse.Success"));
queryContainerListResponse.setMessage(_ctx.stringValue("QueryContainerListResponse.Message"));
queryContainerListResponse.setErrorCode(_ctx.stringValue("QueryContainerListResponse.ErrorCode"));
queryContainerListResponse.setErrorMessage(_ctx.stringValue("QueryContainerListResponse.ErrorMessage"));
queryContainerListResponse.setCode(_ctx.stringValue("QueryContainerListResponse.Code"));
queryContainerListResponse.setDynamicCode(_ctx.stringValue("QueryContainerListResponse.DynamicCode"));
queryContainerListResponse.setDynamicMessage(_ctx.stringValue("QueryContainerListResponse.DynamicMessage"));
queryContainerListResponse.setPageSize(_ctx.integerValue("QueryContainerListResponse.PageSize"));
queryContainerListResponse.setPageNumber(_ctx.integerValue("QueryContainerListResponse.PageNumber"));
queryContainerListResponse.setTotalCount(_ctx.integerValue("QueryContainerListResponse.TotalCount"));
List<Container> containerList = new ArrayList<Container>();
for (int i = 0; i < _ctx.lengthValue("QueryContainerListResponse.ContainerList.Length"); i++) {
Container container = new Container();
container.setContainerId(_ctx.stringValue("QueryContainerListResponse.ContainerList["+ i +"].ContainerId"));
container.setContainerName(_ctx.stringValue("QueryContainerListResponse.ContainerList["+ i +"].ContainerName"));
container.setDescription(_ctx.stringValue("QueryContainerListResponse.ContainerList["+ i +"].Description"));
container.setTopPx(_ctx.integerValue("QueryContainerListResponse.ContainerList["+ i +"].TopPx"));
container.setLeftPx(_ctx.integerValue("QueryContainerListResponse.ContainerList["+ i +"].LeftPx"));
container.setWidthPx(_ctx.integerValue("QueryContainerListResponse.ContainerList["+ i +"].WidthPx"));
container.setHeightPx(_ctx.integerValue("QueryContainerListResponse.ContainerList["+ i +"].HeightPx"));
container.setGroupId(_ctx.stringValue("QueryContainerListResponse.ContainerList["+ i +"].GroupId"));
container.setGroupName(_ctx.stringValue("QueryContainerListResponse.ContainerList["+ i +"].GroupName"));
container.setDemoTemplateId(_ctx.stringValue("QueryContainerListResponse.ContainerList["+ i +"].DemoTemplateId"));
container.setDemoTemplateName(_ctx.stringValue("QueryContainerListResponse.ContainerList["+ i +"].DemoTemplateName"));
containerList.add(container);
}
queryContainerListResponse.setContainerList(containerList);
return queryContainerListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/QueryLayoutByDeviceResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.QueryLayoutByDeviceResponse;
import com.aliyuncs.cloudesl.model.v20200201.QueryLayoutByDeviceResponse.Layout;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryLayoutByDeviceResponseUnmarshaller {
public static QueryLayoutByDeviceResponse unmarshall(QueryLayoutByDeviceResponse queryLayoutByDeviceResponse, UnmarshallerContext _ctx) {
queryLayoutByDeviceResponse.setRequestId(_ctx.stringValue("QueryLayoutByDeviceResponse.RequestId"));
queryLayoutByDeviceResponse.setSuccess(_ctx.booleanValue("QueryLayoutByDeviceResponse.Success"));
queryLayoutByDeviceResponse.setMessage(_ctx.stringValue("QueryLayoutByDeviceResponse.Message"));
queryLayoutByDeviceResponse.setErrorCode(_ctx.stringValue("QueryLayoutByDeviceResponse.ErrorCode"));
queryLayoutByDeviceResponse.setErrorMessage(_ctx.stringValue("QueryLayoutByDeviceResponse.ErrorMessage"));
queryLayoutByDeviceResponse.setCode(_ctx.stringValue("QueryLayoutByDeviceResponse.Code"));
queryLayoutByDeviceResponse.setDynamicCode(_ctx.stringValue("QueryLayoutByDeviceResponse.DynamicCode"));
queryLayoutByDeviceResponse.setDynamicMessage(_ctx.stringValue("QueryLayoutByDeviceResponse.DynamicMessage"));
queryLayoutByDeviceResponse.setPageNumber(_ctx.integerValue("QueryLayoutByDeviceResponse.PageNumber"));
queryLayoutByDeviceResponse.setPageSize(_ctx.integerValue("QueryLayoutByDeviceResponse.PageSize"));
queryLayoutByDeviceResponse.setTotalCount(_ctx.integerValue("QueryLayoutByDeviceResponse.TotalCount"));
List<Layout> layoutList = new ArrayList<Layout>();
for (int i = 0; i < _ctx.lengthValue("QueryLayoutByDeviceResponse.LayoutList.Length"); i++) {
Layout layout = new Layout();
layout.setLayoutId(_ctx.stringValue("QueryLayoutByDeviceResponse.LayoutList["+ i +"].LayoutId"));
layout.setLayoutName(_ctx.stringValue("QueryLayoutByDeviceResponse.LayoutList["+ i +"].LayoutName"));
layout.setDescription(_ctx.stringValue("QueryLayoutByDeviceResponse.LayoutList["+ i +"].Description"));
layout.setLayoutTemplateId(_ctx.stringValue("QueryLayoutByDeviceResponse.LayoutList["+ i +"].LayoutTemplateId"));
layout.setIsBind(_ctx.booleanValue("QueryLayoutByDeviceResponse.LayoutList["+ i +"].IsBind"));
layout.setBrand(_ctx.stringValue("QueryLayoutByDeviceResponse.LayoutList["+ i +"].Brand"));
layout.setBasePic(_ctx.stringValue("QueryLayoutByDeviceResponse.LayoutList["+ i +"].BasePic"));
layoutList.add(layout);
}
queryLayoutByDeviceResponse.setLayoutList(layoutList);
return queryLayoutByDeviceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/QueryLayoutDetailResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.QueryLayoutDetailResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryLayoutDetailResponseUnmarshaller {
public static QueryLayoutDetailResponse unmarshall(QueryLayoutDetailResponse queryLayoutDetailResponse, UnmarshallerContext _ctx) {
queryLayoutDetailResponse.setRequestId(_ctx.stringValue("QueryLayoutDetailResponse.RequestId"));
queryLayoutDetailResponse.setSuccess(_ctx.booleanValue("QueryLayoutDetailResponse.Success"));
queryLayoutDetailResponse.setMessage(_ctx.stringValue("QueryLayoutDetailResponse.Message"));
queryLayoutDetailResponse.setErrorCode(_ctx.stringValue("QueryLayoutDetailResponse.ErrorCode"));
queryLayoutDetailResponse.setErrorMessage(_ctx.stringValue("QueryLayoutDetailResponse.ErrorMessage"));
queryLayoutDetailResponse.setCode(_ctx.stringValue("QueryLayoutDetailResponse.Code"));
queryLayoutDetailResponse.setDynamicCode(_ctx.stringValue("QueryLayoutDetailResponse.DynamicCode"));
queryLayoutDetailResponse.setDynamicMessage(_ctx.stringValue("QueryLayoutDetailResponse.DynamicMessage"));
queryLayoutDetailResponse.setLayoutId(_ctx.longValue("QueryLayoutDetailResponse.LayoutId"));
queryLayoutDetailResponse.setLayoutName(_ctx.stringValue("QueryLayoutDetailResponse.LayoutName"));
queryLayoutDetailResponse.setDescription(_ctx.stringValue("QueryLayoutDetailResponse.Description"));
queryLayoutDetailResponse.setLayoutTemplateId(_ctx.longValue("QueryLayoutDetailResponse.LayoutTemplateId"));
queryLayoutDetailResponse.setEslModelId(_ctx.stringValue("QueryLayoutDetailResponse.EslModelId"));
queryLayoutDetailResponse.setTemplateVersion(_ctx.stringValue("QueryLayoutDetailResponse.TemplateVersion"));
queryLayoutDetailResponse.setBrandId(_ctx.stringValue("QueryLayoutDetailResponse.BrandId"));
return queryLayoutDetailResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/QueryTemplateGroupListResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.QueryTemplateGroupListResponse;
import com.aliyuncs.cloudesl.model.v20200201.QueryTemplateGroupListResponse.TemplateGroup;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryTemplateGroupListResponseUnmarshaller {
public static QueryTemplateGroupListResponse unmarshall(QueryTemplateGroupListResponse queryTemplateGroupListResponse, UnmarshallerContext _ctx) {
queryTemplateGroupListResponse.setRequestId(_ctx.stringValue("QueryTemplateGroupListResponse.RequestId"));
queryTemplateGroupListResponse.setSuccess(_ctx.booleanValue("QueryTemplateGroupListResponse.Success"));
queryTemplateGroupListResponse.setMessage(_ctx.stringValue("QueryTemplateGroupListResponse.Message"));
queryTemplateGroupListResponse.setErrorCode(_ctx.stringValue("QueryTemplateGroupListResponse.ErrorCode"));
queryTemplateGroupListResponse.setErrorMessage(_ctx.stringValue("QueryTemplateGroupListResponse.ErrorMessage"));
queryTemplateGroupListResponse.setCode(_ctx.stringValue("QueryTemplateGroupListResponse.Code"));
queryTemplateGroupListResponse.setDynamicCode(_ctx.stringValue("QueryTemplateGroupListResponse.DynamicCode"));
queryTemplateGroupListResponse.setDynamicMessage(_ctx.stringValue("QueryTemplateGroupListResponse.DynamicMessage"));
queryTemplateGroupListResponse.setPageSize(_ctx.integerValue("QueryTemplateGroupListResponse.PageSize"));
queryTemplateGroupListResponse.setPageNumber(_ctx.integerValue("QueryTemplateGroupListResponse.PageNumber"));
queryTemplateGroupListResponse.setTotalCount(_ctx.integerValue("QueryTemplateGroupListResponse.TotalCount"));
List<TemplateGroup> templateGroupList = new ArrayList<TemplateGroup>();
for (int i = 0; i < _ctx.lengthValue("QueryTemplateGroupListResponse.TemplateGroupList.Length"); i++) {
TemplateGroup templateGroup = new TemplateGroup();
templateGroup.setGroupId(_ctx.stringValue("QueryTemplateGroupListResponse.TemplateGroupList["+ i +"].GroupId"));
templateGroup.setGroupName(_ctx.stringValue("QueryTemplateGroupListResponse.TemplateGroupList["+ i +"].GroupName"));
templateGroup.setDescription(_ctx.stringValue("QueryTemplateGroupListResponse.TemplateGroupList["+ i +"].Description"));
templateGroup.setWidthPx(_ctx.integerValue("QueryTemplateGroupListResponse.TemplateGroupList["+ i +"].WidthPx"));
templateGroup.setHeightPx(_ctx.integerValue("QueryTemplateGroupListResponse.TemplateGroupList["+ i +"].HeightPx"));
templateGroup.setRelation(_ctx.stringValue("QueryTemplateGroupListResponse.TemplateGroupList["+ i +"].Relation"));
templateGroupList.add(templateGroup);
}
queryTemplateGroupListResponse.setTemplateGroupList(templateGroupList);
return queryTemplateGroupListResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/QueryTemplateListByGroupIdResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.QueryTemplateListByGroupIdResponse;
import com.aliyuncs.cloudesl.model.v20200201.QueryTemplateListByGroupIdResponse.Template;
import com.aliyuncs.transform.UnmarshallerContext;
public class QueryTemplateListByGroupIdResponseUnmarshaller {
public static QueryTemplateListByGroupIdResponse unmarshall(QueryTemplateListByGroupIdResponse queryTemplateListByGroupIdResponse, UnmarshallerContext _ctx) {
queryTemplateListByGroupIdResponse.setRequestId(_ctx.stringValue("QueryTemplateListByGroupIdResponse.RequestId"));
queryTemplateListByGroupIdResponse.setErrorMessage(_ctx.stringValue("QueryTemplateListByGroupIdResponse.ErrorMessage"));
queryTemplateListByGroupIdResponse.setSuccess(_ctx.booleanValue("QueryTemplateListByGroupIdResponse.Success"));
queryTemplateListByGroupIdResponse.setErrorCode(_ctx.stringValue("QueryTemplateListByGroupIdResponse.ErrorCode"));
queryTemplateListByGroupIdResponse.setCode(_ctx.stringValue("QueryTemplateListByGroupIdResponse.Code"));
queryTemplateListByGroupIdResponse.setMessage(_ctx.stringValue("QueryTemplateListByGroupIdResponse.Message"));
queryTemplateListByGroupIdResponse.setDynamicMessage(_ctx.stringValue("QueryTemplateListByGroupIdResponse.DynamicMessage"));
queryTemplateListByGroupIdResponse.setDynamicCode(_ctx.stringValue("QueryTemplateListByGroupIdResponse.DynamicCode"));
queryTemplateListByGroupIdResponse.setTotalCount(_ctx.integerValue("QueryTemplateListByGroupIdResponse.TotalCount"));
queryTemplateListByGroupIdResponse.setPageSize(_ctx.integerValue("QueryTemplateListByGroupIdResponse.PageSize"));
queryTemplateListByGroupIdResponse.setPageNumber(_ctx.integerValue("QueryTemplateListByGroupIdResponse.PageNumber"));
List<Template> templateList = new ArrayList<Template>();
for (int i = 0; i < _ctx.lengthValue("QueryTemplateListByGroupIdResponse.TemplateList.Length"); i++) {
Template template = new Template();
template.setBasePicture(_ctx.stringValue("QueryTemplateListByGroupIdResponse.TemplateList["+ i +"].BasePicture"));
template.setTemplateId(_ctx.stringValue("QueryTemplateListByGroupIdResponse.TemplateList["+ i +"].TemplateId"));
template.setTemplateName(_ctx.stringValue("QueryTemplateListByGroupIdResponse.TemplateList["+ i +"].TemplateName"));
template.setEslSize(_ctx.stringValue("QueryTemplateListByGroupIdResponse.TemplateList["+ i +"].EslSize"));
template.setEslType(_ctx.stringValue("QueryTemplateListByGroupIdResponse.TemplateList["+ i +"].EslType"));
template.setWidth(_ctx.longValue("QueryTemplateListByGroupIdResponse.TemplateList["+ i +"].Width"));
template.setHeight(_ctx.longValue("QueryTemplateListByGroupIdResponse.TemplateList["+ i +"].Height"));
template.setTemplateVersion(_ctx.stringValue("QueryTemplateListByGroupIdResponse.TemplateList["+ i +"].TemplateVersion"));
template.setLayout(_ctx.stringValue("QueryTemplateListByGroupIdResponse.TemplateList["+ i +"].Layout"));
template.setScene(_ctx.stringValue("QueryTemplateListByGroupIdResponse.TemplateList["+ i +"].Scene"));
template.setBrand(_ctx.stringValue("QueryTemplateListByGroupIdResponse.TemplateList["+ i +"].Brand"));
template.setGroupId(_ctx.stringValue("QueryTemplateListByGroupIdResponse.TemplateList["+ i +"].GroupId"));
template.setTemplateSceneId(_ctx.stringValue("QueryTemplateListByGroupIdResponse.TemplateList["+ i +"].TemplateSceneId"));
template.setRelation(_ctx.booleanValue("QueryTemplateListByGroupIdResponse.TemplateList["+ i +"].Relation"));
templateList.add(template);
}
queryTemplateListByGroupIdResponse.setTemplateList(templateList);
return queryTemplateListByGroupIdResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/SaveLayoutResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.SaveLayoutResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SaveLayoutResponseUnmarshaller {
public static SaveLayoutResponse unmarshall(SaveLayoutResponse saveLayoutResponse, UnmarshallerContext _ctx) {
saveLayoutResponse.setRequestId(_ctx.stringValue("SaveLayoutResponse.RequestId"));
saveLayoutResponse.setSuccess(_ctx.booleanValue("SaveLayoutResponse.Success"));
saveLayoutResponse.setMessage(_ctx.stringValue("SaveLayoutResponse.Message"));
saveLayoutResponse.setErrorCode(_ctx.stringValue("SaveLayoutResponse.ErrorCode"));
saveLayoutResponse.setErrorMessage(_ctx.stringValue("SaveLayoutResponse.ErrorMessage"));
saveLayoutResponse.setCode(_ctx.stringValue("SaveLayoutResponse.Code"));
saveLayoutResponse.setDynamicCode(_ctx.stringValue("SaveLayoutResponse.DynamicCode"));
saveLayoutResponse.setDynamicMessage(_ctx.stringValue("SaveLayoutResponse.DynamicMessage"));
return saveLayoutResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/SaveTemplateGroupResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.SaveTemplateGroupResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class SaveTemplateGroupResponseUnmarshaller {
public static SaveTemplateGroupResponse unmarshall(SaveTemplateGroupResponse saveTemplateGroupResponse, UnmarshallerContext _ctx) {
saveTemplateGroupResponse.setRequestId(_ctx.stringValue("SaveTemplateGroupResponse.RequestId"));
saveTemplateGroupResponse.setSuccess(_ctx.booleanValue("SaveTemplateGroupResponse.Success"));
saveTemplateGroupResponse.setMessage(_ctx.stringValue("SaveTemplateGroupResponse.Message"));
saveTemplateGroupResponse.setErrorCode(_ctx.stringValue("SaveTemplateGroupResponse.ErrorCode"));
saveTemplateGroupResponse.setErrorMessage(_ctx.stringValue("SaveTemplateGroupResponse.ErrorMessage"));
saveTemplateGroupResponse.setCode(_ctx.stringValue("SaveTemplateGroupResponse.Code"));
saveTemplateGroupResponse.setDynamicCode(_ctx.stringValue("SaveTemplateGroupResponse.DynamicCode"));
saveTemplateGroupResponse.setDynamicMessage(_ctx.stringValue("SaveTemplateGroupResponse.DynamicMessage"));
return saveTemplateGroupResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/SyncAddMaterialResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.SyncAddMaterialResponse;
import com.aliyuncs.cloudesl.model.v20200201.SyncAddMaterialResponse.Result;
import com.aliyuncs.transform.UnmarshallerContext;
public class SyncAddMaterialResponseUnmarshaller {
public static SyncAddMaterialResponse unmarshall(SyncAddMaterialResponse syncAddMaterialResponse, UnmarshallerContext _ctx) {
syncAddMaterialResponse.setRequestId(_ctx.stringValue("SyncAddMaterialResponse.RequestId"));
syncAddMaterialResponse.setSuccess(_ctx.booleanValue("SyncAddMaterialResponse.Success"));
syncAddMaterialResponse.setMessage(_ctx.stringValue("SyncAddMaterialResponse.Message"));
syncAddMaterialResponse.setErrorCode(_ctx.stringValue("SyncAddMaterialResponse.ErrorCode"));
syncAddMaterialResponse.setErrorMessage(_ctx.stringValue("SyncAddMaterialResponse.ErrorMessage"));
syncAddMaterialResponse.setCode(_ctx.stringValue("SyncAddMaterialResponse.Code"));
syncAddMaterialResponse.setDynamicCode(_ctx.stringValue("SyncAddMaterialResponse.DynamicCode"));
syncAddMaterialResponse.setDynamicMessage(_ctx.stringValue("SyncAddMaterialResponse.DynamicMessage"));
Result result = new Result();
result.setSuccess(_ctx.booleanValue("SyncAddMaterialResponse.Result.Success"));
result.setMessage(_ctx.stringValue("SyncAddMaterialResponse.Result.Message"));
result.setDynamicMessage(_ctx.stringValue("SyncAddMaterialResponse.Result.DynamicMessage"));
result.setDynamicCode(_ctx.stringValue("SyncAddMaterialResponse.Result.DynamicCode"));
result.setErrorCode(_ctx.stringValue("SyncAddMaterialResponse.Result.ErrorCode"));
syncAddMaterialResponse.setResult(result);
return syncAddMaterialResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/UnassignUserResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.UnassignUserResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UnassignUserResponseUnmarshaller {
public static UnassignUserResponse unmarshall(UnassignUserResponse unassignUserResponse, UnmarshallerContext _ctx) {
unassignUserResponse.setRequestId(_ctx.stringValue("UnassignUserResponse.RequestId"));
unassignUserResponse.setErrorMessage(_ctx.stringValue("UnassignUserResponse.ErrorMessage"));
unassignUserResponse.setErrorCode(_ctx.stringValue("UnassignUserResponse.ErrorCode"));
unassignUserResponse.setMessage(_ctx.stringValue("UnassignUserResponse.Message"));
unassignUserResponse.setDynamicCode(_ctx.stringValue("UnassignUserResponse.DynamicCode"));
unassignUserResponse.setCode(_ctx.stringValue("UnassignUserResponse.Code"));
unassignUserResponse.setDynamicMessage(_ctx.stringValue("UnassignUserResponse.DynamicMessage"));
unassignUserResponse.setSuccess(_ctx.booleanValue("UnassignUserResponse.Success"));
return unassignUserResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/UnbindEslDeviceResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.UnbindEslDeviceResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UnbindEslDeviceResponseUnmarshaller {
public static UnbindEslDeviceResponse unmarshall(UnbindEslDeviceResponse unbindEslDeviceResponse, UnmarshallerContext _ctx) {
unbindEslDeviceResponse.setRequestId(_ctx.stringValue("UnbindEslDeviceResponse.RequestId"));
unbindEslDeviceResponse.setErrorMessage(_ctx.stringValue("UnbindEslDeviceResponse.ErrorMessage"));
unbindEslDeviceResponse.setSuccess(_ctx.booleanValue("UnbindEslDeviceResponse.Success"));
unbindEslDeviceResponse.setErrorCode(_ctx.stringValue("UnbindEslDeviceResponse.ErrorCode"));
unbindEslDeviceResponse.setCode(_ctx.stringValue("UnbindEslDeviceResponse.Code"));
unbindEslDeviceResponse.setMessage(_ctx.stringValue("UnbindEslDeviceResponse.Message"));
unbindEslDeviceResponse.setDynamicMessage(_ctx.stringValue("UnbindEslDeviceResponse.DynamicMessage"));
unbindEslDeviceResponse.setDynamicCode(_ctx.stringValue("UnbindEslDeviceResponse.DynamicCode"));
return unbindEslDeviceResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/UpdateCompanyTemplateResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.UpdateCompanyTemplateResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateCompanyTemplateResponseUnmarshaller {
public static UpdateCompanyTemplateResponse unmarshall(UpdateCompanyTemplateResponse updateCompanyTemplateResponse, UnmarshallerContext _ctx) {
updateCompanyTemplateResponse.setRequestId(_ctx.stringValue("UpdateCompanyTemplateResponse.RequestId"));
updateCompanyTemplateResponse.setErrorMessage(_ctx.stringValue("UpdateCompanyTemplateResponse.ErrorMessage"));
updateCompanyTemplateResponse.setSuccess(_ctx.booleanValue("UpdateCompanyTemplateResponse.Success"));
updateCompanyTemplateResponse.setErrorCode(_ctx.stringValue("UpdateCompanyTemplateResponse.ErrorCode"));
updateCompanyTemplateResponse.setCode(_ctx.stringValue("UpdateCompanyTemplateResponse.Code"));
updateCompanyTemplateResponse.setMessage(_ctx.stringValue("UpdateCompanyTemplateResponse.Message"));
updateCompanyTemplateResponse.setDynamicMessage(_ctx.stringValue("UpdateCompanyTemplateResponse.DynamicMessage"));
updateCompanyTemplateResponse.setDynamicCode(_ctx.stringValue("UpdateCompanyTemplateResponse.DynamicCode"));
return updateCompanyTemplateResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/UpdateCompanyTemplateViewResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.UpdateCompanyTemplateViewResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateCompanyTemplateViewResponseUnmarshaller {
public static UpdateCompanyTemplateViewResponse unmarshall(UpdateCompanyTemplateViewResponse updateCompanyTemplateViewResponse, UnmarshallerContext _ctx) {
updateCompanyTemplateViewResponse.setRequestId(_ctx.stringValue("UpdateCompanyTemplateViewResponse.RequestId"));
updateCompanyTemplateViewResponse.setErrorMessage(_ctx.stringValue("UpdateCompanyTemplateViewResponse.ErrorMessage"));
updateCompanyTemplateViewResponse.setSuccess(_ctx.booleanValue("UpdateCompanyTemplateViewResponse.Success"));
updateCompanyTemplateViewResponse.setErrorCode(_ctx.stringValue("UpdateCompanyTemplateViewResponse.ErrorCode"));
updateCompanyTemplateViewResponse.setCode(_ctx.stringValue("UpdateCompanyTemplateViewResponse.Code"));
updateCompanyTemplateViewResponse.setMessage(_ctx.stringValue("UpdateCompanyTemplateViewResponse.Message"));
updateCompanyTemplateViewResponse.setDynamicMessage(_ctx.stringValue("UpdateCompanyTemplateViewResponse.DynamicMessage"));
updateCompanyTemplateViewResponse.setDynamicCode(_ctx.stringValue("UpdateCompanyTemplateViewResponse.DynamicCode"));
return updateCompanyTemplateViewResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/UpdateEslDeviceLightResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudesl.model.v20200201.UpdateEslDeviceLightResponse;
import com.aliyuncs.cloudesl.model.v20200201.UpdateEslDeviceLightResponse.LightFailEslInfo;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateEslDeviceLightResponseUnmarshaller {
public static UpdateEslDeviceLightResponse unmarshall(UpdateEslDeviceLightResponse updateEslDeviceLightResponse, UnmarshallerContext _ctx) {
updateEslDeviceLightResponse.setRequestId(_ctx.stringValue("UpdateEslDeviceLightResponse.RequestId"));
updateEslDeviceLightResponse.setErrorMessage(_ctx.stringValue("UpdateEslDeviceLightResponse.ErrorMessage"));
updateEslDeviceLightResponse.setErrorCode(_ctx.stringValue("UpdateEslDeviceLightResponse.ErrorCode"));
updateEslDeviceLightResponse.setMessage(_ctx.stringValue("UpdateEslDeviceLightResponse.Message"));
updateEslDeviceLightResponse.setSuccessCount(_ctx.integerValue("UpdateEslDeviceLightResponse.SuccessCount"));
updateEslDeviceLightResponse.setFailCount(_ctx.integerValue("UpdateEslDeviceLightResponse.FailCount"));
updateEslDeviceLightResponse.setDynamicCode(_ctx.stringValue("UpdateEslDeviceLightResponse.DynamicCode"));
updateEslDeviceLightResponse.setCode(_ctx.stringValue("UpdateEslDeviceLightResponse.Code"));
updateEslDeviceLightResponse.setDynamicMessage(_ctx.stringValue("UpdateEslDeviceLightResponse.DynamicMessage"));
updateEslDeviceLightResponse.setSuccess(_ctx.booleanValue("UpdateEslDeviceLightResponse.Success"));
List<LightFailEslInfo> lightFailEslInfos = new ArrayList<LightFailEslInfo>();
for (int i = 0; i < _ctx.lengthValue("UpdateEslDeviceLightResponse.LightFailEslInfos.Length"); i++) {
LightFailEslInfo lightFailEslInfo = new LightFailEslInfo();
lightFailEslInfo.setErrorMessage(_ctx.stringValue("UpdateEslDeviceLightResponse.LightFailEslInfos["+ i +"].ErrorMessage"));
lightFailEslInfo.setEslBarCode(_ctx.stringValue("UpdateEslDeviceLightResponse.LightFailEslInfos["+ i +"].EslBarCode"));
lightFailEslInfos.add(lightFailEslInfo);
}
updateEslDeviceLightResponse.setLightFailEslInfos(lightFailEslInfos);
return updateEslDeviceLightResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/UpdateItemMaterialResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.UpdateItemMaterialResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateItemMaterialResponseUnmarshaller {
public static UpdateItemMaterialResponse unmarshall(UpdateItemMaterialResponse updateItemMaterialResponse, UnmarshallerContext _ctx) {
updateItemMaterialResponse.setRequestId(_ctx.stringValue("UpdateItemMaterialResponse.RequestId"));
updateItemMaterialResponse.setSuccess(_ctx.booleanValue("UpdateItemMaterialResponse.Success"));
updateItemMaterialResponse.setMessage(_ctx.stringValue("UpdateItemMaterialResponse.Message"));
updateItemMaterialResponse.setErrorCode(_ctx.stringValue("UpdateItemMaterialResponse.ErrorCode"));
updateItemMaterialResponse.setErrorMessage(_ctx.stringValue("UpdateItemMaterialResponse.ErrorMessage"));
updateItemMaterialResponse.setCode(_ctx.stringValue("UpdateItemMaterialResponse.Code"));
updateItemMaterialResponse.setDynamicCode(_ctx.stringValue("UpdateItemMaterialResponse.DynamicCode"));
updateItemMaterialResponse.setDynamicMessage(_ctx.stringValue("UpdateItemMaterialResponse.DynamicMessage"));
return updateItemMaterialResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/UpdateNotificationConfigResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.UpdateNotificationConfigResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateNotificationConfigResponseUnmarshaller {
public static UpdateNotificationConfigResponse unmarshall(UpdateNotificationConfigResponse updateNotificationConfigResponse, UnmarshallerContext _ctx) {
updateNotificationConfigResponse.setRequestId(_ctx.stringValue("UpdateNotificationConfigResponse.RequestId"));
updateNotificationConfigResponse.setErrorMessage(_ctx.stringValue("UpdateNotificationConfigResponse.ErrorMessage"));
updateNotificationConfigResponse.setSuccess(_ctx.booleanValue("UpdateNotificationConfigResponse.Success"));
updateNotificationConfigResponse.setErrorCode(_ctx.stringValue("UpdateNotificationConfigResponse.ErrorCode"));
updateNotificationConfigResponse.setCode(_ctx.stringValue("UpdateNotificationConfigResponse.Code"));
updateNotificationConfigResponse.setMessage(_ctx.stringValue("UpdateNotificationConfigResponse.Message"));
updateNotificationConfigResponse.setDynamicMessage(_ctx.stringValue("UpdateNotificationConfigResponse.DynamicMessage"));
updateNotificationConfigResponse.setDynamicCode(_ctx.stringValue("UpdateNotificationConfigResponse.DynamicCode"));
return updateNotificationConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/UpdateStoreConfigResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.UpdateStoreConfigResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateStoreConfigResponseUnmarshaller {
public static UpdateStoreConfigResponse unmarshall(UpdateStoreConfigResponse updateStoreConfigResponse, UnmarshallerContext _ctx) {
updateStoreConfigResponse.setRequestId(_ctx.stringValue("UpdateStoreConfigResponse.RequestId"));
updateStoreConfigResponse.setErrorMessage(_ctx.stringValue("UpdateStoreConfigResponse.ErrorMessage"));
updateStoreConfigResponse.setSuccess(_ctx.booleanValue("UpdateStoreConfigResponse.Success"));
updateStoreConfigResponse.setErrorCode(_ctx.stringValue("UpdateStoreConfigResponse.ErrorCode"));
updateStoreConfigResponse.setCode(_ctx.stringValue("UpdateStoreConfigResponse.Code"));
updateStoreConfigResponse.setMessage(_ctx.stringValue("UpdateStoreConfigResponse.Message"));
updateStoreConfigResponse.setDynamicMessage(_ctx.stringValue("UpdateStoreConfigResponse.DynamicMessage"));
updateStoreConfigResponse.setDynamicCode(_ctx.stringValue("UpdateStoreConfigResponse.DynamicCode"));
return updateStoreConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/UpdateStoreResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.UpdateStoreResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class UpdateStoreResponseUnmarshaller {
public static UpdateStoreResponse unmarshall(UpdateStoreResponse updateStoreResponse, UnmarshallerContext _ctx) {
updateStoreResponse.setRequestId(_ctx.stringValue("UpdateStoreResponse.RequestId"));
updateStoreResponse.setErrorMessage(_ctx.stringValue("UpdateStoreResponse.ErrorMessage"));
updateStoreResponse.setErrorCode(_ctx.stringValue("UpdateStoreResponse.ErrorCode"));
updateStoreResponse.setMessage(_ctx.stringValue("UpdateStoreResponse.Message"));
updateStoreResponse.setDynamicCode(_ctx.stringValue("UpdateStoreResponse.DynamicCode"));
updateStoreResponse.setCode(_ctx.stringValue("UpdateStoreResponse.Code"));
updateStoreResponse.setDynamicMessage(_ctx.stringValue("UpdateStoreResponse.DynamicMessage"));
updateStoreResponse.setSuccess(_ctx.booleanValue("UpdateStoreResponse.Success"));
return updateStoreResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudesl/2.1.2/com/aliyuncs/cloudesl/transform/v20200201/VerifyNotificationConfigResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudesl.transform.v20200201;
import com.aliyuncs.cloudesl.model.v20200201.VerifyNotificationConfigResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class VerifyNotificationConfigResponseUnmarshaller {
public static VerifyNotificationConfigResponse unmarshall(VerifyNotificationConfigResponse verifyNotificationConfigResponse, UnmarshallerContext _ctx) {
verifyNotificationConfigResponse.setRequestId(_ctx.stringValue("VerifyNotificationConfigResponse.RequestId"));
verifyNotificationConfigResponse.setErrorMessage(_ctx.stringValue("VerifyNotificationConfigResponse.ErrorMessage"));
verifyNotificationConfigResponse.setSuccess(_ctx.booleanValue("VerifyNotificationConfigResponse.Success"));
verifyNotificationConfigResponse.setErrorCode(_ctx.stringValue("VerifyNotificationConfigResponse.ErrorCode"));
verifyNotificationConfigResponse.setCode(_ctx.stringValue("VerifyNotificationConfigResponse.Code"));
verifyNotificationConfigResponse.setMessage(_ctx.stringValue("VerifyNotificationConfigResponse.Message"));
verifyNotificationConfigResponse.setDynamicMessage(_ctx.stringValue("VerifyNotificationConfigResponse.DynamicMessage"));
verifyNotificationConfigResponse.setDynamicCode(_ctx.stringValue("VerifyNotificationConfigResponse.DynamicCode"));
verifyNotificationConfigResponse.setResult(_ctx.booleanValue("VerifyNotificationConfigResponse.Result"));
verifyNotificationConfigResponse.setSendTime(_ctx.stringValue("VerifyNotificationConfigResponse.SendTime"));
verifyNotificationConfigResponse.setExceptionMessage(_ctx.stringValue("VerifyNotificationConfigResponse.ExceptionMessage"));
return verifyNotificationConfigResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudfw/1.0.0/com/aliyuncs/cloudfw/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudfw/1.0.0/com/aliyuncs/cloudfw/model/v20171207/MoveMachineToOtherRoleRequest.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudfw.model.v20171207;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class MoveMachineToOtherRoleRequest extends RpcAcsRequest<MoveMachineToOtherRoleResponse> {
public MoveMachineToOtherRoleRequest() {
super("Cloudfw", "2017-12-07", "MoveMachineToOtherRole", "cloudfirewall");
}
private Long resourceOwnerId;
private String instanceId;
private String bizName;
private String roleName;
private String tag;
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putQueryParameter("InstanceId", instanceId);
}
}
public String getBizName() {
return this.bizName;
}
public void setBizName(String bizName) {
this.bizName = bizName;
if(bizName != null){
putQueryParameter("BizName", bizName);
}
}
public String getRoleName() {
return this.roleName;
}
public void setRoleName(String roleName) {
this.roleName = roleName;
if(roleName != null){
putQueryParameter("RoleName", roleName);
}
}
public String getTag() {
return this.tag;
}
public void setTag(String tag) {
this.tag = tag;
if(tag != null){
putQueryParameter("Tag", tag);
}
}
@Override
public Class<MoveMachineToOtherRoleResponse> getResponseClass() {
return MoveMachineToOtherRoleResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudfw/1.0.0/com/aliyuncs/cloudfw/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudfw/1.0.0/com/aliyuncs/cloudfw/model/v20171207/MoveMachineToOtherRoleResponse.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudfw.model.v20171207;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudfw.transform.v20171207.MoveMachineToOtherRoleResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class MoveMachineToOtherRoleResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public MoveMachineToOtherRoleResponse getInstance(UnmarshallerContext context) {
return MoveMachineToOtherRoleResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudfw/1.0.0/com/aliyuncs/cloudfw/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudfw/1.0.0/com/aliyuncs/cloudfw/model/v20171207/PutMachineToRoleRequest.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudfw.model.v20171207;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class PutMachineToRoleRequest extends RpcAcsRequest<PutMachineToRoleResponse> {
public PutMachineToRoleRequest() {
super("Cloudfw", "2017-12-07", "PutMachineToRole", "cloudfirewall");
}
private Long resourceOwnerId;
private String instanceId;
private String bizName;
private String roleName;
private String tag;
public Long getResourceOwnerId() {
return this.resourceOwnerId;
}
public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putQueryParameter("InstanceId", instanceId);
}
}
public String getBizName() {
return this.bizName;
}
public void setBizName(String bizName) {
this.bizName = bizName;
if(bizName != null){
putQueryParameter("BizName", bizName);
}
}
public String getRoleName() {
return this.roleName;
}
public void setRoleName(String roleName) {
this.roleName = roleName;
if(roleName != null){
putQueryParameter("RoleName", roleName);
}
}
public String getTag() {
return this.tag;
}
public void setTag(String tag) {
this.tag = tag;
if(tag != null){
putQueryParameter("Tag", tag);
}
}
@Override
public Class<PutMachineToRoleResponse> getResponseClass() {
return PutMachineToRoleResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudfw/1.0.0/com/aliyuncs/cloudfw/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudfw/1.0.0/com/aliyuncs/cloudfw/model/v20171207/PutMachineToRoleResponse.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudfw.model.v20171207;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudfw.transform.v20171207.PutMachineToRoleResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class PutMachineToRoleResponse extends AcsResponse {
private String requestId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
@Override
public PutMachineToRoleResponse getInstance(UnmarshallerContext context) {
return PutMachineToRoleResponseUnmarshaller.unmarshall(this, context);
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudfw/1.0.0/com/aliyuncs/cloudfw/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudfw/1.0.0/com/aliyuncs/cloudfw/transform/v20171207/MoveMachineToOtherRoleResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudfw.transform.v20171207;
import com.aliyuncs.cloudfw.model.v20171207.MoveMachineToOtherRoleResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class MoveMachineToOtherRoleResponseUnmarshaller {
public static MoveMachineToOtherRoleResponse unmarshall(MoveMachineToOtherRoleResponse moveMachineToOtherRoleResponse, UnmarshallerContext context) {
moveMachineToOtherRoleResponse.setRequestId(context.stringValue("MoveMachineToOtherRoleResponse.RequestId"));
return moveMachineToOtherRoleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudfw/1.0.0/com/aliyuncs/cloudfw/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudfw/1.0.0/com/aliyuncs/cloudfw/transform/v20171207/PutMachineToRoleResponseUnmarshaller.java
|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package com.aliyuncs.cloudfw.transform.v20171207;
import com.aliyuncs.cloudfw.model.v20171207.PutMachineToRoleResponse;
import com.aliyuncs.transform.UnmarshallerContext;
public class PutMachineToRoleResponseUnmarshaller {
public static PutMachineToRoleResponse unmarshall(PutMachineToRoleResponse putMachineToRoleResponse, UnmarshallerContext context) {
putMachineToRoleResponse.setRequestId(context.stringValue("PutMachineToRoleResponse.RequestId"));
return putMachineToRoleResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgame/1.0.0/com/aliyuncs
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgame/1.0.0/com/aliyuncs/cloudgame/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.cloudgame;
import java.util.HashMap;
public class Endpoint {
public static HashMap<String, String> endpointMap = new HashMap<String, String>() {
{
put("cn-shanghai-internal-test-1", "cloudgame.aliyuncs.com");
put("cn-beijing-gov-1", "cloudgame.aliyuncs.com");
put("cn-shenzhen-su18-b01", "cloudgame.aliyuncs.com");
put("cn-wulanchabu", "cloudgame.aliyuncs.com");
put("ap-south-1", "cloudgame.aliyuncs.com");
put("cn-shanghai-inner", "cloudgame.aliyuncs.com");
put("cn-shenzhen-st4-d01", "cloudgame.aliyuncs.com");
put("cn-haidian-cm12-c01", "cloudgame.aliyuncs.com");
put("cn-hangzhou-internal-prod-1", "cloudgame.aliyuncs.com");
put("cn-north-2-gov-1", "cloudgame.aliyuncs.com");
put("cn-yushanfang", "cloudgame.aliyuncs.com");
put("cn-hongkong-finance-pop", "cloudgame.aliyuncs.com");
put("cn-qingdao-nebula", "cloudgame.aliyuncs.com");
put("cn-shanghai-finance-1", "cloudgame.aliyuncs.com");
put("cn-hongkong", "cloudgame.aliyuncs.com");
put("cn-beijing-finance-pop", "cloudgame.aliyuncs.com");
put("cn-wuhan", "cloudgame.aliyuncs.com");
put("eu-central-1", "cloudgame.aliyuncs.com");
put("us-west-1", "cloudgame.aliyuncs.com");
put("cn-zhengzhou-nebula-1", "cloudgame.aliyuncs.com");
put("rus-west-1-pop", "cloudgame.aliyuncs.com");
put("cn-shanghai-et15-b01", "cloudgame.aliyuncs.com");
put("cn-hangzhou-bj-b01", "cloudgame.aliyuncs.com");
put("eu-west-1", "cloudgame.aliyuncs.com");
put("cn-hangzhou-internal-test-1", "cloudgame.aliyuncs.com");
put("eu-west-1-oxs", "cloudgame.aliyuncs.com");
put("cn-zhangbei-na61-b01", "cloudgame.aliyuncs.com");
put("cn-beijing-finance-1", "cloudgame.aliyuncs.com");
put("cn-hangzhou-internal-test-3", "cloudgame.aliyuncs.com");
put("ap-northeast-1", "cloudgame.aliyuncs.com");
put("cn-hangzhou-internal-test-2", "cloudgame.aliyuncs.com");
put("cn-shenzhen-finance-1", "cloudgame.aliyuncs.com");
put("me-east-1", "cloudgame.aliyuncs.com");
put("cn-hangzhou-test-306", "cloudgame.aliyuncs.com");
put("cn-huhehaote-nebula-1", "cloudgame.aliyuncs.com");
put("cn-shanghai-et2-b01", "cloudgame.aliyuncs.com");
put("cn-hangzhou-finance", "cloudgame.aliyuncs.com");
put("ap-southeast-1", "cloudgame.aliyuncs.com");
put("cn-beijing-nu16-b01", "cloudgame.aliyuncs.com");
put("cn-edge-1", "cloudgame.aliyuncs.com");
put("ap-southeast-2", "cloudgame.aliyuncs.com");
put("ap-southeast-3", "cloudgame.aliyuncs.com");
put("ap-southeast-5", "cloudgame.aliyuncs.com");
put("cn-fujian", "cloudgame.aliyuncs.com");
put("us-east-1", "cloudgame.aliyuncs.com");
put("ap-northeast-2-pop", "cloudgame.aliyuncs.com");
put("cn-shenzhen-inner", "cloudgame.aliyuncs.com");
put("cn-zhangjiakou-na62-a01", "cloudgame.aliyuncs.com");
}
};
public static String endpointRegionalType = "regional";
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgame/1.0.0/com/aliyuncs/cloudgame/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgame/1.0.0/com/aliyuncs/cloudgame/model/v20200429/ListGamesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgame.model.v20200429;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cloudgame.Endpoint;
/**
* @author auto create
* @version
*/
public class ListGamesRequest extends RpcAcsRequest<ListGamesResponse> {
private String orderKey;
private String sortType;
private Integer pageNumber;
private Integer pageSize;
public ListGamesRequest() {
super("cloudgame", "2020-04-29", "ListGames");
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 getOrderKey() {
return this.orderKey;
}
public void setOrderKey(String orderKey) {
this.orderKey = orderKey;
if(orderKey != null){
putQueryParameter("OrderKey", orderKey);
}
}
public String getSortType() {
return this.sortType;
}
public void setSortType(String sortType) {
this.sortType = sortType;
if(sortType != null){
putQueryParameter("SortType", sortType);
}
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
@Override
public Class<ListGamesResponse> getResponseClass() {
return ListGamesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgame/1.0.0/com/aliyuncs/cloudgame/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgame/1.0.0/com/aliyuncs/cloudgame/model/v20200429/ListGamesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgame.model.v20200429;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudgame.transform.v20200429.ListGamesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListGamesResponse extends AcsResponse {
private String count;
private Integer pageSize;
private Integer currentPage;
private String requestId;
private List<DataListItem> dataList;
public String getCount() {
return this.count;
}
public void setCount(String count) {
this.count = count;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<DataListItem> getDataList() {
return this.dataList;
}
public void setDataList(List<DataListItem> dataList) {
this.dataList = dataList;
}
public static class DataListItem {
private String gameId;
private String gameName;
private String installPath;
private String savePath;
private String resolution;
private String frameRate;
private String inputType;
private String device;
private String status;
private String curVersion;
public String getGameId() {
return this.gameId;
}
public void setGameId(String gameId) {
this.gameId = gameId;
}
public String getGameName() {
return this.gameName;
}
public void setGameName(String gameName) {
this.gameName = gameName;
}
public String getInstallPath() {
return this.installPath;
}
public void setInstallPath(String installPath) {
this.installPath = installPath;
}
public String getSavePath() {
return this.savePath;
}
public void setSavePath(String savePath) {
this.savePath = savePath;
}
public String getResolution() {
return this.resolution;
}
public void setResolution(String resolution) {
this.resolution = resolution;
}
public String getFrameRate() {
return this.frameRate;
}
public void setFrameRate(String frameRate) {
this.frameRate = frameRate;
}
public String getInputType() {
return this.inputType;
}
public void setInputType(String inputType) {
this.inputType = inputType;
}
public String getDevice() {
return this.device;
}
public void setDevice(String device) {
this.device = device;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getCurVersion() {
return this.curVersion;
}
public void setCurVersion(String curVersion) {
this.curVersion = curVersion;
}
}
@Override
public ListGamesResponse getInstance(UnmarshallerContext context) {
return ListGamesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgame/1.0.0/com/aliyuncs/cloudgame/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgame/1.0.0/com/aliyuncs/cloudgame/model/v20200429/ListProjectsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgame.model.v20200429;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cloudgame.Endpoint;
/**
* @author auto create
* @version
*/
public class ListProjectsRequest extends RpcAcsRequest<ListProjectsResponse> {
private String projectName;
private Integer pageNumber;
private Integer pageSize;
public ListProjectsRequest() {
super("cloudgame", "2020-04-29", "ListProjects");
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 getProjectName() {
return this.projectName;
}
public void setProjectName(String projectName) {
this.projectName = projectName;
if(projectName != null){
putQueryParameter("ProjectName", projectName);
}
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
@Override
public Class<ListProjectsResponse> getResponseClass() {
return ListProjectsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgame/1.0.0/com/aliyuncs/cloudgame/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgame/1.0.0/com/aliyuncs/cloudgame/model/v20200429/ListProjectsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgame.model.v20200429;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudgame.transform.v20200429.ListProjectsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListProjectsResponse extends AcsResponse {
private Integer count;
private Integer currentPage;
private Integer pageSize;
private String requestId;
private List<DataListItem> dataList;
public Integer getCount() {
return this.count;
}
public void setCount(Integer count) {
this.count = count;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<DataListItem> getDataList() {
return this.dataList;
}
public void setDataList(List<DataListItem> dataList) {
this.dataList = dataList;
}
public static class DataListItem {
private String standardCodeRate;
private String highDefinitionResolution;
private String highDefinitionCodeRate;
private String standardResolution;
private String projectId;
private Integer concurrencyLimitNumber;
private String highestCodeRate;
private String projectName;
private String highestResolution;
public String getStandardCodeRate() {
return this.standardCodeRate;
}
public void setStandardCodeRate(String standardCodeRate) {
this.standardCodeRate = standardCodeRate;
}
public String getHighDefinitionResolution() {
return this.highDefinitionResolution;
}
public void setHighDefinitionResolution(String highDefinitionResolution) {
this.highDefinitionResolution = highDefinitionResolution;
}
public String getHighDefinitionCodeRate() {
return this.highDefinitionCodeRate;
}
public void setHighDefinitionCodeRate(String highDefinitionCodeRate) {
this.highDefinitionCodeRate = highDefinitionCodeRate;
}
public String getStandardResolution() {
return this.standardResolution;
}
public void setStandardResolution(String standardResolution) {
this.standardResolution = standardResolution;
}
public String getProjectId() {
return this.projectId;
}
public void setProjectId(String projectId) {
this.projectId = projectId;
}
public Integer getConcurrencyLimitNumber() {
return this.concurrencyLimitNumber;
}
public void setConcurrencyLimitNumber(Integer concurrencyLimitNumber) {
this.concurrencyLimitNumber = concurrencyLimitNumber;
}
public String getHighestCodeRate() {
return this.highestCodeRate;
}
public void setHighestCodeRate(String highestCodeRate) {
this.highestCodeRate = highestCodeRate;
}
public String getProjectName() {
return this.projectName;
}
public void setProjectName(String projectName) {
this.projectName = projectName;
}
public String getHighestResolution() {
return this.highestResolution;
}
public void setHighestResolution(String highestResolution) {
this.highestResolution = highestResolution;
}
}
@Override
public ListProjectsResponse getInstance(UnmarshallerContext context) {
return ListProjectsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgame/1.0.0/com/aliyuncs/cloudgame/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgame/1.0.0/com/aliyuncs/cloudgame/transform/v20200429/ListGamesResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgame.transform.v20200429;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudgame.model.v20200429.ListGamesResponse;
import com.aliyuncs.cloudgame.model.v20200429.ListGamesResponse.DataListItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListGamesResponseUnmarshaller {
public static ListGamesResponse unmarshall(ListGamesResponse listGamesResponse, UnmarshallerContext _ctx) {
listGamesResponse.setRequestId(_ctx.stringValue("ListGamesResponse.RequestId"));
listGamesResponse.setCount(_ctx.stringValue("ListGamesResponse.Count"));
listGamesResponse.setPageSize(_ctx.integerValue("ListGamesResponse.PageSize"));
listGamesResponse.setCurrentPage(_ctx.integerValue("ListGamesResponse.CurrentPage"));
List<DataListItem> dataList = new ArrayList<DataListItem>();
for (int i = 0; i < _ctx.lengthValue("ListGamesResponse.DataList.Length"); i++) {
DataListItem dataListItem = new DataListItem();
dataListItem.setGameId(_ctx.stringValue("ListGamesResponse.DataList["+ i +"].GameId"));
dataListItem.setGameName(_ctx.stringValue("ListGamesResponse.DataList["+ i +"].GameName"));
dataListItem.setInstallPath(_ctx.stringValue("ListGamesResponse.DataList["+ i +"].InstallPath"));
dataListItem.setSavePath(_ctx.stringValue("ListGamesResponse.DataList["+ i +"].SavePath"));
dataListItem.setResolution(_ctx.stringValue("ListGamesResponse.DataList["+ i +"].Resolution"));
dataListItem.setFrameRate(_ctx.stringValue("ListGamesResponse.DataList["+ i +"].FrameRate"));
dataListItem.setInputType(_ctx.stringValue("ListGamesResponse.DataList["+ i +"].InputType"));
dataListItem.setDevice(_ctx.stringValue("ListGamesResponse.DataList["+ i +"].Device"));
dataListItem.setStatus(_ctx.stringValue("ListGamesResponse.DataList["+ i +"].Status"));
dataListItem.setCurVersion(_ctx.stringValue("ListGamesResponse.DataList["+ i +"].CurVersion"));
dataList.add(dataListItem);
}
listGamesResponse.setDataList(dataList);
return listGamesResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgame/1.0.0/com/aliyuncs/cloudgame/transform
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgame/1.0.0/com/aliyuncs/cloudgame/transform/v20200429/ListProjectsResponseUnmarshaller.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgame.transform.v20200429;
import java.util.ArrayList;
import java.util.List;
import com.aliyuncs.cloudgame.model.v20200429.ListProjectsResponse;
import com.aliyuncs.cloudgame.model.v20200429.ListProjectsResponse.DataListItem;
import com.aliyuncs.transform.UnmarshallerContext;
public class ListProjectsResponseUnmarshaller {
public static ListProjectsResponse unmarshall(ListProjectsResponse listProjectsResponse, UnmarshallerContext _ctx) {
listProjectsResponse.setRequestId(_ctx.stringValue("ListProjectsResponse.RequestId"));
listProjectsResponse.setCount(_ctx.integerValue("ListProjectsResponse.Count"));
listProjectsResponse.setCurrentPage(_ctx.integerValue("ListProjectsResponse.CurrentPage"));
listProjectsResponse.setPageSize(_ctx.integerValue("ListProjectsResponse.PageSize"));
List<DataListItem> dataList = new ArrayList<DataListItem>();
for (int i = 0; i < _ctx.lengthValue("ListProjectsResponse.DataList.Length"); i++) {
DataListItem dataListItem = new DataListItem();
dataListItem.setStandardCodeRate(_ctx.stringValue("ListProjectsResponse.DataList["+ i +"].StandardCodeRate"));
dataListItem.setHighDefinitionResolution(_ctx.stringValue("ListProjectsResponse.DataList["+ i +"].HighDefinitionResolution"));
dataListItem.setHighDefinitionCodeRate(_ctx.stringValue("ListProjectsResponse.DataList["+ i +"].HighDefinitionCodeRate"));
dataListItem.setStandardResolution(_ctx.stringValue("ListProjectsResponse.DataList["+ i +"].StandardResolution"));
dataListItem.setProjectId(_ctx.stringValue("ListProjectsResponse.DataList["+ i +"].ProjectId"));
dataListItem.setConcurrencyLimitNumber(_ctx.integerValue("ListProjectsResponse.DataList["+ i +"].ConcurrencyLimitNumber"));
dataListItem.setHighestCodeRate(_ctx.stringValue("ListProjectsResponse.DataList["+ i +"].HighestCodeRate"));
dataListItem.setProjectName(_ctx.stringValue("ListProjectsResponse.DataList["+ i +"].ProjectName"));
dataListItem.setHighestResolution(_ctx.stringValue("ListProjectsResponse.DataList["+ i +"].HighestResolution"));
dataList.add(dataListItem);
}
listProjectsResponse.setDataList(dataList);
return listProjectsResponse;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/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.cloudgameapi;
import java.util.HashMap;
public class Endpoint {
public static HashMap<String, String> endpointMap = new HashMap<String, String>() {};
public static String endpointRegionalType = "regional";
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/BatchDispatchGameSlotRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cloudgameapi.Endpoint;
/**
* @author auto create
* @version
*/
public class BatchDispatchGameSlotRequest extends RpcAcsRequest<BatchDispatchGameSlotResponse> {
private String queueUserList;
public BatchDispatchGameSlotRequest() {
super("CloudGameAPI", "2020-07-28", "BatchDispatchGameSlot");
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 getQueueUserList() {
return this.queueUserList;
}
public void setQueueUserList(String queueUserList) {
this.queueUserList = queueUserList;
if(queueUserList != null){
putBodyParameter("QueueUserList", queueUserList);
}
}
@Override
public Class<BatchDispatchGameSlotResponse> getResponseClass() {
return BatchDispatchGameSlotResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/BatchDispatchGameSlotResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudgameapi.transform.v20200728.BatchDispatchGameSlotResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class BatchDispatchGameSlotResponse extends AcsResponse {
private String requestId;
private List<DataList> queueResultList;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<DataList> getQueueResultList() {
return this.queueResultList;
}
public void setQueueResultList(List<DataList> queueResultList) {
this.queueResultList = queueResultList;
}
public static class DataList {
private String gameId;
private String gameSession;
private String message;
private Integer queueCode;
private Integer queueState;
private String regionName;
private String userId;
public String getGameId() {
return this.gameId;
}
public void setGameId(String gameId) {
this.gameId = gameId;
}
public String getGameSession() {
return this.gameSession;
}
public void setGameSession(String gameSession) {
this.gameSession = gameSession;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public Integer getQueueCode() {
return this.queueCode;
}
public void setQueueCode(Integer queueCode) {
this.queueCode = queueCode;
}
public Integer getQueueState() {
return this.queueState;
}
public void setQueueState(Integer queueState) {
this.queueState = queueState;
}
public String getRegionName() {
return this.regionName;
}
public void setRegionName(String regionName) {
this.regionName = regionName;
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
}
@Override
public BatchDispatchGameSlotResponse getInstance(UnmarshallerContext context) {
return BatchDispatchGameSlotResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/BatchStopGameSessionsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cloudgameapi.Endpoint;
/**
* @author auto create
* @version
*/
public class BatchStopGameSessionsRequest extends RpcAcsRequest<BatchStopGameSessionsResponse> {
private String gameId;
private String reason;
private String projectId;
private String token;
private String tags;
private String trackInfo;
public BatchStopGameSessionsRequest() {
super("CloudGameAPI", "2020-07-28", "BatchStopGameSessions");
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 getGameId() {
return this.gameId;
}
public void setGameId(String gameId) {
this.gameId = gameId;
if(gameId != null){
putQueryParameter("GameId", gameId);
}
}
public String getReason() {
return this.reason;
}
public void setReason(String reason) {
this.reason = reason;
if(reason != null){
putQueryParameter("Reason", reason);
}
}
public String getProjectId() {
return this.projectId;
}
public void setProjectId(String projectId) {
this.projectId = projectId;
if(projectId != null){
putQueryParameter("ProjectId", projectId);
}
}
public String getToken() {
return this.token;
}
public void setToken(String token) {
this.token = token;
if(token != null){
putQueryParameter("Token", token);
}
}
public String getTags() {
return this.tags;
}
public void setTags(String tags) {
this.tags = tags;
if(tags != null){
putQueryParameter("Tags", tags);
}
}
public String getTrackInfo() {
return this.trackInfo;
}
public void setTrackInfo(String trackInfo) {
this.trackInfo = trackInfo;
if(trackInfo != null){
putQueryParameter("TrackInfo", trackInfo);
}
}
@Override
public Class<BatchStopGameSessionsResponse> getResponseClass() {
return BatchStopGameSessionsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/BatchStopGameSessionsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudgameapi.transform.v20200728.BatchStopGameSessionsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class BatchStopGameSessionsResponse extends AcsResponse {
private String requestId;
private Boolean success;
private Integer queueState;
private String message;
private String gameId;
private String projectId;
private String trackInfo;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public Integer getQueueState() {
return this.queueState;
}
public void setQueueState(Integer queueState) {
this.queueState = queueState;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getGameId() {
return this.gameId;
}
public void setGameId(String gameId) {
this.gameId = gameId;
}
public String getProjectId() {
return this.projectId;
}
public void setProjectId(String projectId) {
this.projectId = projectId;
}
public String getTrackInfo() {
return this.trackInfo;
}
public void setTrackInfo(String trackInfo) {
this.trackInfo = trackInfo;
}
@Override
public BatchStopGameSessionsResponse getInstance(UnmarshallerContext context) {
return BatchStopGameSessionsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/CloseOrderRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cloudgameapi.Endpoint;
/**
* @author auto create
* @version
*/
public class CloseOrderRequest extends RpcAcsRequest<CloseOrderResponse> {
private String accountDomain;
private String orderId;
private String buyerAccountId;
public CloseOrderRequest() {
super("CloudGameAPI", "2020-07-28", "CloseOrder");
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 getAccountDomain() {
return this.accountDomain;
}
public void setAccountDomain(String accountDomain) {
this.accountDomain = accountDomain;
if(accountDomain != null){
putQueryParameter("AccountDomain", accountDomain);
}
}
public String getOrderId() {
return this.orderId;
}
public void setOrderId(String orderId) {
this.orderId = orderId;
if(orderId != null){
putQueryParameter("OrderId", orderId);
}
}
public String getBuyerAccountId() {
return this.buyerAccountId;
}
public void setBuyerAccountId(String buyerAccountId) {
this.buyerAccountId = buyerAccountId;
if(buyerAccountId != null){
putQueryParameter("BuyerAccountId", buyerAccountId);
}
}
@Override
public Class<CloseOrderResponse> getResponseClass() {
return CloseOrderResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/CloseOrderResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudgameapi.transform.v20200728.CloseOrderResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CloseOrderResponse extends AcsResponse {
private String requestId;
private Boolean data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Boolean getData() {
return this.data;
}
public void setData(Boolean data) {
this.data = data;
}
@Override
public CloseOrderResponse getInstance(UnmarshallerContext context) {
return CloseOrderResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/CreateOrderRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cloudgameapi.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateOrderRequest extends RpcAcsRequest<CreateOrderResponse> {
private String accountDomain;
private String itemId;
private Long settlementPrice;
private Long amount;
private Long originPrice;
private String idempotentCode;
private String buyerAccountId;
private String skuId;
public CreateOrderRequest() {
super("CloudGameAPI", "2020-07-28", "CreateOrder");
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 getAccountDomain() {
return this.accountDomain;
}
public void setAccountDomain(String accountDomain) {
this.accountDomain = accountDomain;
if(accountDomain != null){
putQueryParameter("AccountDomain", accountDomain);
}
}
public String getItemId() {
return this.itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
if(itemId != null){
putQueryParameter("ItemId", itemId);
}
}
public Long getSettlementPrice() {
return this.settlementPrice;
}
public void setSettlementPrice(Long settlementPrice) {
this.settlementPrice = settlementPrice;
if(settlementPrice != null){
putQueryParameter("SettlementPrice", settlementPrice.toString());
}
}
public Long getAmount() {
return this.amount;
}
public void setAmount(Long amount) {
this.amount = amount;
if(amount != null){
putQueryParameter("Amount", amount.toString());
}
}
public Long getOriginPrice() {
return this.originPrice;
}
public void setOriginPrice(Long originPrice) {
this.originPrice = originPrice;
if(originPrice != null){
putQueryParameter("OriginPrice", originPrice.toString());
}
}
public String getIdempotentCode() {
return this.idempotentCode;
}
public void setIdempotentCode(String idempotentCode) {
this.idempotentCode = idempotentCode;
if(idempotentCode != null){
putQueryParameter("IdempotentCode", idempotentCode);
}
}
public String getBuyerAccountId() {
return this.buyerAccountId;
}
public void setBuyerAccountId(String buyerAccountId) {
this.buyerAccountId = buyerAccountId;
if(buyerAccountId != null){
putQueryParameter("BuyerAccountId", buyerAccountId);
}
}
public String getSkuId() {
return this.skuId;
}
public void setSkuId(String skuId) {
this.skuId = skuId;
if(skuId != null){
putQueryParameter("SkuId", skuId);
}
}
@Override
public Class<CreateOrderResponse> getResponseClass() {
return CreateOrderResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/CreateOrderResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudgameapi.transform.v20200728.CreateOrderResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateOrderResponse extends AcsResponse {
private String requestId;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String orderId;
private String itemId;
private String skuId;
private Long createTime;
private Long applyDeliveryTime;
private Long finishTime;
private Long originPrice;
private Long settlementPrice;
private Long amount;
private String status;
private String buyerAccountId;
private Long autoUnlockTime;
private String accountDomain;
public String getOrderId() {
return this.orderId;
}
public void setOrderId(String orderId) {
this.orderId = orderId;
}
public String getItemId() {
return this.itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
}
public String getSkuId() {
return this.skuId;
}
public void setSkuId(String skuId) {
this.skuId = skuId;
}
public Long getCreateTime() {
return this.createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public Long getApplyDeliveryTime() {
return this.applyDeliveryTime;
}
public void setApplyDeliveryTime(Long applyDeliveryTime) {
this.applyDeliveryTime = applyDeliveryTime;
}
public Long getFinishTime() {
return this.finishTime;
}
public void setFinishTime(Long finishTime) {
this.finishTime = finishTime;
}
public Long getOriginPrice() {
return this.originPrice;
}
public void setOriginPrice(Long originPrice) {
this.originPrice = originPrice;
}
public Long getSettlementPrice() {
return this.settlementPrice;
}
public void setSettlementPrice(Long settlementPrice) {
this.settlementPrice = settlementPrice;
}
public Long getAmount() {
return this.amount;
}
public void setAmount(Long amount) {
this.amount = amount;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getBuyerAccountId() {
return this.buyerAccountId;
}
public void setBuyerAccountId(String buyerAccountId) {
this.buyerAccountId = buyerAccountId;
}
public Long getAutoUnlockTime() {
return this.autoUnlockTime;
}
public void setAutoUnlockTime(Long autoUnlockTime) {
this.autoUnlockTime = autoUnlockTime;
}
public String getAccountDomain() {
return this.accountDomain;
}
public void setAccountDomain(String accountDomain) {
this.accountDomain = accountDomain;
}
}
@Override
public CreateOrderResponse getInstance(UnmarshallerContext context) {
return CreateOrderResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/CreateTokenRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cloudgameapi.Endpoint;
/**
* @author auto create
* @version
*/
public class CreateTokenRequest extends RpcAcsRequest<CreateTokenResponse> {
private String clientToken;
private String session;
private String currentToken;
public CreateTokenRequest() {
super("CloudGameAPI", "2020-07-28", "CreateToken");
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 getClientToken() {
return this.clientToken;
}
public void setClientToken(String clientToken) {
this.clientToken = clientToken;
if(clientToken != null){
putQueryParameter("ClientToken", clientToken);
}
}
public String getSession() {
return this.session;
}
public void setSession(String session) {
this.session = session;
if(session != null){
putQueryParameter("Session", session);
}
}
public String getCurrentToken() {
return this.currentToken;
}
public void setCurrentToken(String currentToken) {
this.currentToken = currentToken;
if(currentToken != null){
putQueryParameter("CurrentToken", currentToken);
}
}
@Override
public Class<CreateTokenResponse> getResponseClass() {
return CreateTokenResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/CreateTokenResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudgameapi.transform.v20200728.CreateTokenResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class CreateTokenResponse extends AcsResponse {
private String requestId;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String token;
public String getToken() {
return this.token;
}
public void setToken(String token) {
this.token = token;
}
}
@Override
public CreateTokenResponse getInstance(UnmarshallerContext context) {
return CreateTokenResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/DeliveryOrderRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cloudgameapi.Endpoint;
/**
* @author auto create
* @version
*/
public class DeliveryOrderRequest extends RpcAcsRequest<DeliveryOrderResponse> {
private String accountDomain;
private String orderId;
private String buyerAccountId;
public DeliveryOrderRequest() {
super("CloudGameAPI", "2020-07-28", "DeliveryOrder");
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 getAccountDomain() {
return this.accountDomain;
}
public void setAccountDomain(String accountDomain) {
this.accountDomain = accountDomain;
if(accountDomain != null){
putQueryParameter("AccountDomain", accountDomain);
}
}
public String getOrderId() {
return this.orderId;
}
public void setOrderId(String orderId) {
this.orderId = orderId;
if(orderId != null){
putQueryParameter("OrderId", orderId);
}
}
public String getBuyerAccountId() {
return this.buyerAccountId;
}
public void setBuyerAccountId(String buyerAccountId) {
this.buyerAccountId = buyerAccountId;
if(buyerAccountId != null){
putQueryParameter("BuyerAccountId", buyerAccountId);
}
}
@Override
public Class<DeliveryOrderResponse> getResponseClass() {
return DeliveryOrderResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/DeliveryOrderResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudgameapi.transform.v20200728.DeliveryOrderResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DeliveryOrderResponse extends AcsResponse {
private String requestId;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String deliveryStatus;
public String getDeliveryStatus() {
return this.deliveryStatus;
}
public void setDeliveryStatus(String deliveryStatus) {
this.deliveryStatus = deliveryStatus;
}
}
@Override
public DeliveryOrderResponse getInstance(UnmarshallerContext context) {
return DeliveryOrderResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/DispatchGameSlotRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cloudgameapi.Endpoint;
/**
* @author auto create
* @version
*/
public class DispatchGameSlotRequest extends RpcAcsRequest<DispatchGameSlotResponse> {
private String gameId;
private Boolean cancel;
private String gameSession;
private String systemInfo;
private String userId;
private Boolean reconnect;
private String accessKey;
private String clientIp;
private String regionName;
private String gameCommand;
private String tags;
private String bizParam;
private String gameStartParam;
public DispatchGameSlotRequest() {
super("CloudGameAPI", "2020-07-28", "DispatchGameSlot");
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 getGameId() {
return this.gameId;
}
public void setGameId(String gameId) {
this.gameId = gameId;
if(gameId != null){
putBodyParameter("GameId", gameId);
}
}
public Boolean getCancel() {
return this.cancel;
}
public void setCancel(Boolean cancel) {
this.cancel = cancel;
if(cancel != null){
putBodyParameter("Cancel", cancel.toString());
}
}
public String getGameSession() {
return this.gameSession;
}
public void setGameSession(String gameSession) {
this.gameSession = gameSession;
if(gameSession != null){
putBodyParameter("GameSession", gameSession);
}
}
public String getSystemInfo() {
return this.systemInfo;
}
public void setSystemInfo(String systemInfo) {
this.systemInfo = systemInfo;
if(systemInfo != null){
putBodyParameter("SystemInfo", systemInfo);
}
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
if(userId != null){
putBodyParameter("UserId", userId);
}
}
public Boolean getReconnect() {
return this.reconnect;
}
public void setReconnect(Boolean reconnect) {
this.reconnect = reconnect;
if(reconnect != null){
putBodyParameter("Reconnect", reconnect.toString());
}
}
public String getAccessKey() {
return this.accessKey;
}
public void setAccessKey(String accessKey) {
this.accessKey = accessKey;
if(accessKey != null){
putBodyParameter("AccessKey", accessKey);
}
}
public String getClientIp() {
return this.clientIp;
}
public void setClientIp(String clientIp) {
this.clientIp = clientIp;
if(clientIp != null){
putBodyParameter("ClientIp", clientIp);
}
}
public String getRegionName() {
return this.regionName;
}
public void setRegionName(String regionName) {
this.regionName = regionName;
if(regionName != null){
putBodyParameter("RegionName", regionName);
}
}
public String getGameCommand() {
return this.gameCommand;
}
public void setGameCommand(String gameCommand) {
this.gameCommand = gameCommand;
if(gameCommand != null){
putBodyParameter("GameCommand", gameCommand);
}
}
public String getTags() {
return this.tags;
}
public void setTags(String tags) {
this.tags = tags;
if(tags != null){
putBodyParameter("Tags", tags);
}
}
public String getBizParam() {
return this.bizParam;
}
public void setBizParam(String bizParam) {
this.bizParam = bizParam;
if(bizParam != null){
putBodyParameter("BizParam", bizParam);
}
}
public String getGameStartParam() {
return this.gameStartParam;
}
public void setGameStartParam(String gameStartParam) {
this.gameStartParam = gameStartParam;
if(gameStartParam != null){
putBodyParameter("GameStartParam", gameStartParam);
}
}
@Override
public Class<DispatchGameSlotResponse> getResponseClass() {
return DispatchGameSlotResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/DispatchGameSlotResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudgameapi.transform.v20200728.DispatchGameSlotResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class DispatchGameSlotResponse extends AcsResponse {
private String requestId;
private String gameId;
private String gameSession;
private Integer queueState;
private Integer queueCode;
private String message;
private String regionName;
private String userId;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getGameId() {
return this.gameId;
}
public void setGameId(String gameId) {
this.gameId = gameId;
}
public String getGameSession() {
return this.gameSession;
}
public void setGameSession(String gameSession) {
this.gameSession = gameSession;
}
public Integer getQueueState() {
return this.queueState;
}
public void setQueueState(Integer queueState) {
this.queueState = queueState;
}
public Integer getQueueCode() {
return this.queueCode;
}
public void setQueueCode(Integer queueCode) {
this.queueCode = queueCode;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public String getRegionName() {
return this.regionName;
}
public void setRegionName(String regionName) {
this.regionName = regionName;
}
public String getUserId() {
return this.userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
@Override
public DispatchGameSlotResponse getInstance(UnmarshallerContext context) {
return DispatchGameSlotResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/GetGameCcuRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cloudgameapi.Endpoint;
/**
* @author auto create
* @version
*/
public class GetGameCcuRequest extends RpcAcsRequest<GetGameCcuResponse> {
private String gameId;
private String accessKey;
private String regionName;
public GetGameCcuRequest() {
super("CloudGameAPI", "2020-07-28", "GetGameCcu");
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 getGameId() {
return this.gameId;
}
public void setGameId(String gameId) {
this.gameId = gameId;
if(gameId != null){
putQueryParameter("GameId", gameId);
}
}
public String getAccessKey() {
return this.accessKey;
}
public void setAccessKey(String accessKey) {
this.accessKey = accessKey;
if(accessKey != null){
putQueryParameter("AccessKey", accessKey);
}
}
public String getRegionName() {
return this.regionName;
}
public void setRegionName(String regionName) {
this.regionName = regionName;
if(regionName != null){
putQueryParameter("RegionName", regionName);
}
}
@Override
public Class<GetGameCcuResponse> getResponseClass() {
return GetGameCcuResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/GetGameCcuResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudgameapi.transform.v20200728.GetGameCcuResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetGameCcuResponse extends AcsResponse {
private String requestId;
private List<DataListItem> dataList;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public List<DataListItem> getDataList() {
return this.dataList;
}
public void setDataList(List<DataListItem> dataList) {
this.dataList = dataList;
}
public static class DataListItem {
private Long ccu;
private String gameId;
private String regionId;
public Long getCcu() {
return this.ccu;
}
public void setCcu(Long ccu) {
this.ccu = ccu;
}
public String getGameId() {
return this.gameId;
}
public void setGameId(String gameId) {
this.gameId = gameId;
}
public String getRegionId() {
return this.regionId;
}
public void setRegionId(String regionId) {
this.regionId = regionId;
}
}
@Override
public GetGameCcuResponse getInstance(UnmarshallerContext context) {
return GetGameCcuResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/GetGameStockRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cloudgameapi.Endpoint;
/**
* @author auto create
* @version
*/
public class GetGameStockRequest extends RpcAcsRequest<GetGameStockResponse> {
private String gameId;
private String accessKey;
private Long userLevel;
public GetGameStockRequest() {
super("CloudGameAPI", "2020-07-28", "GetGameStock");
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 getGameId() {
return this.gameId;
}
public void setGameId(String gameId) {
this.gameId = gameId;
if(gameId != null){
putQueryParameter("GameId", gameId);
}
}
public String getAccessKey() {
return this.accessKey;
}
public void setAccessKey(String accessKey) {
this.accessKey = accessKey;
if(accessKey != null){
putQueryParameter("AccessKey", accessKey);
}
}
public Long getUserLevel() {
return this.userLevel;
}
public void setUserLevel(Long userLevel) {
this.userLevel = userLevel;
if(userLevel != null){
putQueryParameter("UserLevel", userLevel.toString());
}
}
@Override
public Class<GetGameStockResponse> getResponseClass() {
return GetGameStockResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/GetGameStockResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudgameapi.transform.v20200728.GetGameStockResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetGameStockResponse extends AcsResponse {
private String requestId;
private String gameId;
private String message;
private List<DataList> instanceStockList;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getGameId() {
return this.gameId;
}
public void setGameId(String gameId) {
this.gameId = gameId;
}
public String getMessage() {
return this.message;
}
public void setMessage(String message) {
this.message = message;
}
public List<DataList> getInstanceStockList() {
return this.instanceStockList;
}
public void setInstanceStockList(List<DataList> instanceStockList) {
this.instanceStockList = instanceStockList;
}
public static class DataList {
private String instanceId;
private String reginName;
private Long userLevel;
private String instanceSpec;
private Long availableSlots;
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
}
public String getReginName() {
return this.reginName;
}
public void setReginName(String reginName) {
this.reginName = reginName;
}
public Long getUserLevel() {
return this.userLevel;
}
public void setUserLevel(Long userLevel) {
this.userLevel = userLevel;
}
public String getInstanceSpec() {
return this.instanceSpec;
}
public void setInstanceSpec(String instanceSpec) {
this.instanceSpec = instanceSpec;
}
public Long getAvailableSlots() {
return this.availableSlots;
}
public void setAvailableSlots(Long availableSlots) {
this.availableSlots = availableSlots;
}
}
@Override
public GetGameStockResponse getInstance(UnmarshallerContext context) {
return GetGameStockResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/GetItemRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cloudgameapi.Endpoint;
/**
* @author auto create
* @version
*/
public class GetItemRequest extends RpcAcsRequest<GetItemResponse> {
private String itemId;
public GetItemRequest() {
super("CloudGameAPI", "2020-07-28", "GetItem");
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 getItemId() {
return this.itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
if(itemId != null){
putQueryParameter("ItemId", itemId);
}
}
@Override
public Class<GetItemResponse> getResponseClass() {
return GetItemResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/GetItemResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudgameapi.transform.v20200728.GetItemResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetItemResponse extends AcsResponse {
private String requestId;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String itemId;
private Long createTime;
private Long modifyTime;
private String sellerId;
private Long categoryId;
private String title;
private Long originPrice;
private Long salePrice;
private Integer status;
private String description;
private String supplier;
private List<GamesItem> games;
private List<Units> skus;
public String getItemId() {
return this.itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
}
public Long getCreateTime() {
return this.createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public Long getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(Long modifyTime) {
this.modifyTime = modifyTime;
}
public String getSellerId() {
return this.sellerId;
}
public void setSellerId(String sellerId) {
this.sellerId = sellerId;
}
public Long getCategoryId() {
return this.categoryId;
}
public void setCategoryId(Long categoryId) {
this.categoryId = categoryId;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public Long getOriginPrice() {
return this.originPrice;
}
public void setOriginPrice(Long originPrice) {
this.originPrice = originPrice;
}
public Long getSalePrice() {
return this.salePrice;
}
public void setSalePrice(Long salePrice) {
this.salePrice = salePrice;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public String getSupplier() {
return this.supplier;
}
public void setSupplier(String supplier) {
this.supplier = supplier;
}
public List<GamesItem> getGames() {
return this.games;
}
public void setGames(List<GamesItem> games) {
this.games = games;
}
public List<Units> getSkus() {
return this.skus;
}
public void setSkus(List<Units> skus) {
this.skus = skus;
}
public static class GamesItem {
private String gameId;
private String name;
public String getGameId() {
return this.gameId;
}
public void setGameId(String gameId) {
this.gameId = gameId;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
public static class Units {
private String skuId;
private Long createTime;
private Long modifyTime;
private String itemId;
private Long originPrice;
private Long salePrice;
private Integer status;
private List<SalePropsItem> saleProps;
public String getSkuId() {
return this.skuId;
}
public void setSkuId(String skuId) {
this.skuId = skuId;
}
public Long getCreateTime() {
return this.createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public Long getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(Long modifyTime) {
this.modifyTime = modifyTime;
}
public String getItemId() {
return this.itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
}
public Long getOriginPrice() {
return this.originPrice;
}
public void setOriginPrice(Long originPrice) {
this.originPrice = originPrice;
}
public Long getSalePrice() {
return this.salePrice;
}
public void setSalePrice(Long salePrice) {
this.salePrice = salePrice;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public List<SalePropsItem> getSaleProps() {
return this.saleProps;
}
public void setSaleProps(List<SalePropsItem> saleProps) {
this.saleProps = saleProps;
}
public static class SalePropsItem {
private Long propertyId;
private String propertyName;
private Long valueId;
private String value;
public Long getPropertyId() {
return this.propertyId;
}
public void setPropertyId(Long propertyId) {
this.propertyId = propertyId;
}
public String getPropertyName() {
return this.propertyName;
}
public void setPropertyName(String propertyName) {
this.propertyName = propertyName;
}
public Long getValueId() {
return this.valueId;
}
public void setValueId(Long valueId) {
this.valueId = valueId;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
}
}
@Override
public GetItemResponse getInstance(UnmarshallerContext context) {
return GetItemResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/GetOutAccountBindDetailRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cloudgameapi.Endpoint;
/**
* @author auto create
* @version
*/
public class GetOutAccountBindDetailRequest extends RpcAcsRequest<GetOutAccountBindDetailResponse> {
private String accountDomain;
private String outAccountType;
private String accountId;
public GetOutAccountBindDetailRequest() {
super("CloudGameAPI", "2020-07-28", "GetOutAccountBindDetail");
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 getAccountDomain() {
return this.accountDomain;
}
public void setAccountDomain(String accountDomain) {
this.accountDomain = accountDomain;
if(accountDomain != null){
putQueryParameter("AccountDomain", accountDomain);
}
}
public String getOutAccountType() {
return this.outAccountType;
}
public void setOutAccountType(String outAccountType) {
this.outAccountType = outAccountType;
if(outAccountType != null){
putQueryParameter("OutAccountType", outAccountType);
}
}
public String getAccountId() {
return this.accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
if(accountId != null){
putQueryParameter("AccountId", accountId);
}
}
@Override
public Class<GetOutAccountBindDetailResponse> getResponseClass() {
return GetOutAccountBindDetailResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/GetOutAccountBindDetailResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudgameapi.transform.v20200728.GetOutAccountBindDetailResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetOutAccountBindDetailResponse 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 Integer bindStatus;
private String outAccountType;
private String outAccountId;
private String token;
private Long tokenExpireTime;
public Integer getBindStatus() {
return this.bindStatus;
}
public void setBindStatus(Integer bindStatus) {
this.bindStatus = bindStatus;
}
public String getOutAccountType() {
return this.outAccountType;
}
public void setOutAccountType(String outAccountType) {
this.outAccountType = outAccountType;
}
public String getOutAccountId() {
return this.outAccountId;
}
public void setOutAccountId(String outAccountId) {
this.outAccountId = outAccountId;
}
public String getToken() {
return this.token;
}
public void setToken(String token) {
this.token = token;
}
public Long getTokenExpireTime() {
return this.tokenExpireTime;
}
public void setTokenExpireTime(Long tokenExpireTime) {
this.tokenExpireTime = tokenExpireTime;
}
}
@Override
public GetOutAccountBindDetailResponse getInstance(UnmarshallerContext context) {
return GetOutAccountBindDetailResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/GetSessionRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cloudgameapi.Endpoint;
/**
* @author auto create
* @version
*/
public class GetSessionRequest extends RpcAcsRequest<GetSessionResponse> {
private String token;
public GetSessionRequest() {
super("CloudGameAPI", "2020-07-28", "GetSession");
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 getToken() {
return this.token;
}
public void setToken(String token) {
this.token = token;
if(token != null){
putQueryParameter("Token", token);
}
}
@Override
public Class<GetSessionResponse> getResponseClass() {
return GetSessionResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/GetSessionResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudgameapi.transform.v20200728.GetSessionResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetSessionResponse extends AcsResponse {
private String requestId;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String session;
public String getSession() {
return this.session;
}
public void setSession(String session) {
this.session = session;
}
}
@Override
public GetSessionResponse getInstance(UnmarshallerContext context) {
return GetSessionResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/GetStopGameTokenRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cloudgameapi.Endpoint;
/**
* @author auto create
* @version
*/
public class GetStopGameTokenRequest extends RpcAcsRequest<GetStopGameTokenResponse> {
private String gameId;
private String accessKey;
public GetStopGameTokenRequest() {
super("CloudGameAPI", "2020-07-28", "GetStopGameToken");
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 getGameId() {
return this.gameId;
}
public void setGameId(String gameId) {
this.gameId = gameId;
if(gameId != null){
putQueryParameter("GameId", gameId);
}
}
public String getAccessKey() {
return this.accessKey;
}
public void setAccessKey(String accessKey) {
this.accessKey = accessKey;
if(accessKey != null){
putQueryParameter("AccessKey", accessKey);
}
}
@Override
public Class<GetStopGameTokenResponse> getResponseClass() {
return GetStopGameTokenResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/GetStopGameTokenResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudgameapi.transform.v20200728.GetStopGameTokenResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class GetStopGameTokenResponse extends AcsResponse {
private String requestId;
private String token;
private Long expireTime;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getToken() {
return this.token;
}
public void setToken(String token) {
this.token = token;
}
public Long getExpireTime() {
return this.expireTime;
}
public void setExpireTime(Long expireTime) {
this.expireTime = expireTime;
}
@Override
public GetStopGameTokenResponse getInstance(UnmarshallerContext context) {
return GetStopGameTokenResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/ListBoughtGamesRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cloudgameapi.Endpoint;
/**
* @author auto create
* @version
*/
public class ListBoughtGamesRequest extends RpcAcsRequest<ListBoughtGamesResponse> {
private String accountDomain;
private Integer pageNumber;
private String accountId;
private Integer pageSize;
public ListBoughtGamesRequest() {
super("CloudGameAPI", "2020-07-28", "ListBoughtGames");
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 getAccountDomain() {
return this.accountDomain;
}
public void setAccountDomain(String accountDomain) {
this.accountDomain = accountDomain;
if(accountDomain != null){
putQueryParameter("AccountDomain", accountDomain);
}
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}
public String getAccountId() {
return this.accountId;
}
public void setAccountId(String accountId) {
this.accountId = accountId;
if(accountId != null){
putQueryParameter("AccountId", accountId);
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
@Override
public Class<ListBoughtGamesResponse> getResponseClass() {
return ListBoughtGamesResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/ListBoughtGamesResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudgameapi.transform.v20200728.ListBoughtGamesResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class ListBoughtGamesResponse extends AcsResponse {
private String requestId;
private Integer pageNumber;
private Integer pageSize;
private Integer totalCount;
private List<ItemsItem> items;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public List<ItemsItem> getItems() {
return this.items;
}
public void setItems(List<ItemsItem> items) {
this.items = items;
}
public static class ItemsItem {
private String gameId;
private String gameName;
private Long startTime;
private Long endTime;
public String getGameId() {
return this.gameId;
}
public void setGameId(String gameId) {
this.gameId = gameId;
}
public String getGameName() {
return this.gameName;
}
public void setGameName(String gameName) {
this.gameName = gameName;
}
public Long getStartTime() {
return this.startTime;
}
public void setStartTime(Long startTime) {
this.startTime = startTime;
}
public Long getEndTime() {
return this.endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
}
}
@Override
public ListBoughtGamesResponse getInstance(UnmarshallerContext context) {
return ListBoughtGamesResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/QueryGameRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cloudgameapi.Endpoint;
/**
* @author auto create
* @version
*/
public class QueryGameRequest extends RpcAcsRequest<QueryGameResponse> {
private Integer pageNo;
private Integer pageSize;
private Long tenantId;
private Long projectId;
public QueryGameRequest() {
super("CloudGameAPI", "2020-07-28", "QueryGame");
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 Integer getPageNo() {
return this.pageNo;
}
public void setPageNo(Integer pageNo) {
this.pageNo = pageNo;
if(pageNo != null){
putQueryParameter("PageNo", pageNo.toString());
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putQueryParameter("TenantId", tenantId.toString());
}
}
public Long getProjectId() {
return this.projectId;
}
public void setProjectId(Long projectId) {
this.projectId = projectId;
if(projectId != null){
putQueryParameter("ProjectId", projectId.toString());
}
}
@Override
public Class<QueryGameResponse> getResponseClass() {
return QueryGameResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/QueryGameResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudgameapi.transform.v20200728.QueryGameResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QueryGameResponse extends AcsResponse {
private String requestId;
private Integer pageNumber;
private Integer pageSize;
private Integer totalCount;
private List<Items> data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Integer getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
}
public List<Items> getData() {
return this.data;
}
public void setData(List<Items> data) {
this.data = data;
}
public static class Items {
private Long tenantId;
private String name;
private String gmtCreate;
private Long projectId;
private Long gameId;
private String version;
public Long getTenantId() {
return this.tenantId;
}
public void setTenantId(Long tenantId) {
this.tenantId = tenantId;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getGmtCreate() {
return this.gmtCreate;
}
public void setGmtCreate(String gmtCreate) {
this.gmtCreate = gmtCreate;
}
public Long getProjectId() {
return this.projectId;
}
public void setProjectId(Long projectId) {
this.projectId = projectId;
}
public Long getGameId() {
return this.gameId;
}
public void setGameId(Long gameId) {
this.gameId = gameId;
}
public String getVersion() {
return this.version;
}
public void setVersion(String version) {
this.version = version;
}
}
@Override
public QueryGameResponse getInstance(UnmarshallerContext context) {
return QueryGameResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/QueryItemsRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cloudgameapi.Endpoint;
/**
* @author auto create
* @version
*/
public class QueryItemsRequest extends RpcAcsRequest<QueryItemsResponse> {
private Integer pageNumber;
private Integer pageSize;
public QueryItemsRequest() {
super("CloudGameAPI", "2020-07-28", "QueryItems");
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 Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
@Override
public Class<QueryItemsResponse> getResponseClass() {
return QueryItemsResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/QueryItemsResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import java.util.List;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudgameapi.transform.v20200728.QueryItemsResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QueryItemsResponse extends AcsResponse {
private Boolean success;
private String requestId;
private Long httpStatusCode;
private Data data;
public Boolean getSuccess() {
return this.success;
}
public void setSuccess(Boolean success) {
this.success = success;
}
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public Long getHttpStatusCode() {
return this.httpStatusCode;
}
public void setHttpStatusCode(Long httpStatusCode) {
this.httpStatusCode = httpStatusCode;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private Integer pageNumber;
private Integer pageSize;
private Long totalCount;
private List<ItemsItem> items;
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public Long getTotalCount() {
return this.totalCount;
}
public void setTotalCount(Long totalCount) {
this.totalCount = totalCount;
}
public List<ItemsItem> getItems() {
return this.items;
}
public void setItems(List<ItemsItem> items) {
this.items = items;
}
public static class ItemsItem {
private Long modifyTime;
private Long salePrice;
private String description;
private Long originPrice;
private Long createTime;
private String title;
private String itemId;
private String sellerId;
private String supplier;
private Long categoryId;
private Integer status;
private List<Units> skus;
private List<GamesItem> games;
public Long getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(Long modifyTime) {
this.modifyTime = modifyTime;
}
public Long getSalePrice() {
return this.salePrice;
}
public void setSalePrice(Long salePrice) {
this.salePrice = salePrice;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description) {
this.description = description;
}
public Long getOriginPrice() {
return this.originPrice;
}
public void setOriginPrice(Long originPrice) {
this.originPrice = originPrice;
}
public Long getCreateTime() {
return this.createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getItemId() {
return this.itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
}
public String getSellerId() {
return this.sellerId;
}
public void setSellerId(String sellerId) {
this.sellerId = sellerId;
}
public String getSupplier() {
return this.supplier;
}
public void setSupplier(String supplier) {
this.supplier = supplier;
}
public Long getCategoryId() {
return this.categoryId;
}
public void setCategoryId(Long categoryId) {
this.categoryId = categoryId;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public List<Units> getSkus() {
return this.skus;
}
public void setSkus(List<Units> skus) {
this.skus = skus;
}
public List<GamesItem> getGames() {
return this.games;
}
public void setGames(List<GamesItem> games) {
this.games = games;
}
public static class Units {
private String itemId;
private Long modifyTime;
private Long salePrice;
private Long originPrice;
private Long createTime;
private String skuId;
private Integer status;
private List<SalePropsItem> saleProps;
public String getItemId() {
return this.itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
}
public Long getModifyTime() {
return this.modifyTime;
}
public void setModifyTime(Long modifyTime) {
this.modifyTime = modifyTime;
}
public Long getSalePrice() {
return this.salePrice;
}
public void setSalePrice(Long salePrice) {
this.salePrice = salePrice;
}
public Long getOriginPrice() {
return this.originPrice;
}
public void setOriginPrice(Long originPrice) {
this.originPrice = originPrice;
}
public Long getCreateTime() {
return this.createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public String getSkuId() {
return this.skuId;
}
public void setSkuId(String skuId) {
this.skuId = skuId;
}
public Integer getStatus() {
return this.status;
}
public void setStatus(Integer status) {
this.status = status;
}
public List<SalePropsItem> getSaleProps() {
return this.saleProps;
}
public void setSaleProps(List<SalePropsItem> saleProps) {
this.saleProps = saleProps;
}
public static class SalePropsItem {
private Long valueId;
private String propertyName;
private Long propertyId;
private String value;
public Long getValueId() {
return this.valueId;
}
public void setValueId(Long valueId) {
this.valueId = valueId;
}
public String getPropertyName() {
return this.propertyName;
}
public void setPropertyName(String propertyName) {
this.propertyName = propertyName;
}
public Long getPropertyId() {
return this.propertyId;
}
public void setPropertyId(Long propertyId) {
this.propertyId = propertyId;
}
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
}
}
public static class GamesItem {
private String gameId;
private String name;
public String getGameId() {
return this.gameId;
}
public void setGameId(String gameId) {
this.gameId = gameId;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
}
}
}
@Override
public QueryItemsResponse getInstance(UnmarshallerContext context) {
return QueryItemsResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/QueryOrderRequest.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.cloudgameapi.Endpoint;
/**
* @author auto create
* @version
*/
public class QueryOrderRequest extends RpcAcsRequest<QueryOrderResponse> {
private String accountDomain;
private String orderId;
private String buyerAccountId;
public QueryOrderRequest() {
super("CloudGameAPI", "2020-07-28", "QueryOrder");
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 getAccountDomain() {
return this.accountDomain;
}
public void setAccountDomain(String accountDomain) {
this.accountDomain = accountDomain;
if(accountDomain != null){
putQueryParameter("AccountDomain", accountDomain);
}
}
public String getOrderId() {
return this.orderId;
}
public void setOrderId(String orderId) {
this.orderId = orderId;
if(orderId != null){
putQueryParameter("OrderId", orderId);
}
}
public String getBuyerAccountId() {
return this.buyerAccountId;
}
public void setBuyerAccountId(String buyerAccountId) {
this.buyerAccountId = buyerAccountId;
if(buyerAccountId != null){
putQueryParameter("BuyerAccountId", buyerAccountId);
}
}
@Override
public Class<QueryOrderResponse> getResponseClass() {
return QueryOrderResponse.class;
}
}
|
0
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model
|
java-sources/com/aliyun/aliyun-java-sdk-cloudgameapi/1.4.7/com/aliyuncs/cloudgameapi/model/v20200728/QueryOrderResponse.java
|
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.aliyuncs.cloudgameapi.model.v20200728;
import com.aliyuncs.AcsResponse;
import com.aliyuncs.cloudgameapi.transform.v20200728.QueryOrderResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;
/**
* @author auto create
* @version
*/
public class QueryOrderResponse extends AcsResponse {
private String requestId;
private String deliveryStatus;
private String refundStatus;
private Data data;
public String getRequestId() {
return this.requestId;
}
public void setRequestId(String requestId) {
this.requestId = requestId;
}
public String getDeliveryStatus() {
return this.deliveryStatus;
}
public void setDeliveryStatus(String deliveryStatus) {
this.deliveryStatus = deliveryStatus;
}
public String getRefundStatus() {
return this.refundStatus;
}
public void setRefundStatus(String refundStatus) {
this.refundStatus = refundStatus;
}
public Data getData() {
return this.data;
}
public void setData(Data data) {
this.data = data;
}
public static class Data {
private String orderId;
private String itemId;
private String skuId;
private Long createTime;
private Long applyDeliveryTime;
private Long finishTime;
private Long originPrice;
private Long settlementPrice;
private Long amount;
private String status;
private String buyerAccountId;
private Long autoUnlockTime;
private String accountDomain;
public String getOrderId() {
return this.orderId;
}
public void setOrderId(String orderId) {
this.orderId = orderId;
}
public String getItemId() {
return this.itemId;
}
public void setItemId(String itemId) {
this.itemId = itemId;
}
public String getSkuId() {
return this.skuId;
}
public void setSkuId(String skuId) {
this.skuId = skuId;
}
public Long getCreateTime() {
return this.createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public Long getApplyDeliveryTime() {
return this.applyDeliveryTime;
}
public void setApplyDeliveryTime(Long applyDeliveryTime) {
this.applyDeliveryTime = applyDeliveryTime;
}
public Long getFinishTime() {
return this.finishTime;
}
public void setFinishTime(Long finishTime) {
this.finishTime = finishTime;
}
public Long getOriginPrice() {
return this.originPrice;
}
public void setOriginPrice(Long originPrice) {
this.originPrice = originPrice;
}
public Long getSettlementPrice() {
return this.settlementPrice;
}
public void setSettlementPrice(Long settlementPrice) {
this.settlementPrice = settlementPrice;
}
public Long getAmount() {
return this.amount;
}
public void setAmount(Long amount) {
this.amount = amount;
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
}
public String getBuyerAccountId() {
return this.buyerAccountId;
}
public void setBuyerAccountId(String buyerAccountId) {
this.buyerAccountId = buyerAccountId;
}
public Long getAutoUnlockTime() {
return this.autoUnlockTime;
}
public void setAutoUnlockTime(Long autoUnlockTime) {
this.autoUnlockTime = autoUnlockTime;
}
public String getAccountDomain() {
return this.accountDomain;
}
public void setAccountDomain(String accountDomain) {
this.accountDomain = accountDomain;
}
}
@Override
public QueryOrderResponse getInstance(UnmarshallerContext context) {
return QueryOrderResponseUnmarshaller.unmarshall(this, context);
}
@Override
public boolean checkShowJsonItemName() {
return false;
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.